Gerhard Gleixner | 14 Aug 20:57

stage 0: libtool and file pkg not built


hello everybody,

I made my first try with T2.
I'm working with Xubuntu 8.04 and downloaded t2-7.0-rc2 and started building a live CD for a "minimal desktop".

At stage 0 the packages "libtool" and "file" refuses to build:

from 0-file.err:
checking for i686-nocross-linux-gnu-g++... CXX_not_available_in_stage_0
checking whether we are using the GNU C++ compiler... no
checking whether CXX_not_available_in_stage_0 accepts -g... no
checking dependency style of CXX_not_available_in_stage_0... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Due to previous errors, no 0-file.log file!

from 0-libtool.err:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Due to previous errors, no 0-libtool.log file!

Can somebody provide help ?

Thanks

Gerd
_____________________________________________________________________
(Continue reading)

René Rebe | 15 Aug 10:18
Favicon

Re: stage 0: libtool and file pkg not built


Gerhard Gleixner wrote:
> hello everybody,
>
> I made my first try with T2.
> I'm working with Xubuntu 8.04 and downloaded t2-7.0-rc2 and started building a live CD for a "minimal desktop".
>
> At stage 0 the packages "libtool" and "file" refuses to build:
>
> from 0-file.err:
> checking for i686-nocross-linux-gnu-g++... CXX_not_available_in_stage_0
> checking whether we are using the GNU C++ compiler... no
> checking whether CXX_not_available_in_stage_0 accepts -g... no
> checking dependency style of CXX_not_available_in_stage_0... none
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> Due to previous errors, no 0-file.log file!
>
> from 0-libtool.err:
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
> Due to previous errors, no 0-libtool.log file!
>
> Can somebody provide help ?
>   
Looks like your host system does not provide /lib/cpp (or a defect one).

What does ls -l /lib/cpp tell you?
(Continue reading)

gx-turbo | 15 Aug 11:30

Re: stage 0: libtool and file pkg not built


seems there is a link to cpp-4.2:

gerd <at> gerd-laptop:/lib$ ls -la /lib/cpp
lrwxrwxrwx 1 root root 21 2008-06-14 16:32 /lib/cpp -> /etc/alternatives/cpp
gerd <at> gerd-laptop:/lib$ ls -la /etc/alternatives/cpp
lrwxrwxrwx 1 root root 12 2008-06-14 16:32 /etc/alternatives/cpp ->
/usr/bin/cpp
gerd <at> gerd-laptop:/lib$ ls -la /usr/bin/cpp
lrwxrwxrwx 1 root root 7 2008-06-14 16:16 /usr/bin/cpp -> cpp-4.2

René Rebe wrote:
> 
> 
> Gerhard Gleixner wrote:
>> hello everybody,
>>
>> I made my first try with T2.
>> I'm working with Xubuntu 8.04 and downloaded t2-7.0-rc2 and started
>> building a live CD for a "minimal desktop".
>>
>> At stage 0 the packages "libtool" and "file" refuses to build:
>>
>> from 0-file.err:
>> checking for i686-nocross-linux-gnu-g++... CXX_not_available_in_stage_0
>> checking whether we are using the GNU C++ compiler... no
>> checking whether CXX_not_available_in_stage_0 accepts -g... no
>> checking dependency style of CXX_not_available_in_stage_0... none
>> checking how to run the C++ preprocessor... /lib/cpp
>> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
(Continue reading)

gx-turbo | 15 Aug 11:36

Re: stage 0: libtool and file pkg not built


forgot this:

gerd <at> gerd-laptop:~$ ls -la /usr/bin/cpp-4.2
-rwxr-xr-x 1 root root 194492 2008-04-01 20:15 /usr/bin/cpp-4.2

gx-turbo wrote:
> 
> seems there is a link to cpp-4.2:
> 
> gerd <at> gerd-laptop:/lib$ ls -la /lib/cpp
> lrwxrwxrwx 1 root root 21 2008-06-14 16:32 /lib/cpp ->
> /etc/alternatives/cpp
> gerd <at> gerd-laptop:/lib$ ls -la /etc/alternatives/cpp
> lrwxrwxrwx 1 root root 12 2008-06-14 16:32 /etc/alternatives/cpp ->
> /usr/bin/cpp
> gerd <at> gerd-laptop:/lib$ ls -la /usr/bin/cpp
> lrwxrwxrwx 1 root root 7 2008-06-14 16:16 /usr/bin/cpp -> cpp-4.2
> 
> 
> 
> 
> 
> René Rebe wrote:
>> 
>> 
>> Gerhard Gleixner wrote:
>>> hello everybody,
>>>
>>> I made my first try with T2.
(Continue reading)

gx-turbo | 15 Aug 13:16

Re: stage 0: libtool and file pkg not built


guess I fixed it:
just installed g++,  :jumping:
don't know why it could build that many packages without g++ 

cu at next stage =^D

thanks

Gerd

gx-turbo wrote:
> 
> forgot this:
> 
> gerd <at> gerd-laptop:~$ ls -la /usr/bin/cpp-4.2
> -rwxr-xr-x 1 root root 194492 2008-04-01 20:15 /usr/bin/cpp-4.2
> 
> 
> 
> gx-turbo wrote:
>> 
>> seems there is a link to cpp-4.2:
>> 
>> gerd <at> gerd-laptop:/lib$ ls -la /lib/cpp
>> lrwxrwxrwx 1 root root 21 2008-06-14 16:32 /lib/cpp ->
>> /etc/alternatives/cpp
>> gerd <at> gerd-laptop:/lib$ ls -la /etc/alternatives/cpp
>> lrwxrwxrwx 1 root root 12 2008-06-14 16:32 /etc/alternatives/cpp ->
>> /usr/bin/cpp
(Continue reading)

René Rebe | 18 Aug 12:52
Favicon

Re: stage 0: libtool and file pkg not built


Hi,

yeah, the not T2 related, but original configure scripts in the various 
package
sources check for different things - thus one package configure might 
complain
about something few other packages check and care about.

Usually one can get a clue from the config.log those configure scripts write
out, and on T2 build usually resists in 
src.$pkg.<uuid>.../.../config.log, or
sub-directories if the package contains multiple configures to be run (like
gcc, openoffice and other huge packages).

Yours,

gx-turbo wrote:
> guess I fixed it:
> just installed g++,  :jumping:
> don't know why it could build that many packages without g++ 
>
> cu at next stage =^D
>
> thanks
>
> Gerd
>
>
>
(Continue reading)


Gmane