Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gcc]C++ preprocessor "/lib/cpp" fails sanity check (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
Overpeer
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 200
Location: Valencia

PostPosted: Mon Apr 10, 2006 12:20 pm    Post subject: [gcc]C++ preprocessor "/lib/cpp" fails sanity chec Reply with quote

Esto es un infierno, tenia mejor recuerdo de Gentoo xD

Code:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/pkgconfig-0.20/work/pkg-config-0.20/config.log

!!! ERROR: dev-util/pkgconfig-0.20 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


He probado con el lib_fixtool, ha cambiar los perfiles de gcc, ... varias cosas ... lo que no entiendo es esto:

Code:

livecd / # fix_libtool_files.sh `gcc -dumpversion`
 * Scanning libtool files for hardcoded gcc library paths...

livecd / # gcc-config -l
 [1] i386-gentoo-linux-uclibc-3.3.5-20050130 *
 [2] i386-gentoo-linux-uclibc-3.3.5-20050130-hardened
 [3] i386-gentoo-linux-uclibc-3.3.5-20050130-hardenednopie
 [4] i386-gentoo-linux-uclibc-3.3.5-20050130-hardenednossp

livecd / # gcc-config -c
 * /usr/bin/gcc-config: No gcc profile is active!

livecd / # gcc-config 1
 * Switching cross-compiler to i386-gentoo-linux-uclibc-3.3.5-20050130...
>>> Regenerating /etc/ld.so.cache...                                                              [ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile

livecd / # source /etc/profile

livecd / # gcc-config -c
 * /usr/bin/gcc-config: No gcc profile is active!


Que de hacer para activar un perfil? :S No se si es la causa del error de pkg-config pero ... me raya :|

Un saludo.


Last edited by Overpeer on Mon Apr 10, 2006 4:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
Overpeer
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 200
Location: Valencia

PostPosted: Mon Apr 10, 2006 3:59 pm    Post subject: Reply with quote

gringo wrote:
tienes que recompilar gcc y uclibc y nuevamente gcc y asegurarte de que usas el compilador adecuado ( ya que tendrás dos en tu sistema: uno para 386 y otro para 586 y te interesará el último). Esto debería solucionar tu otro problema del hilo de mas arriba tb.

saluetes


Solucionado :)

Un saludo.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum