Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge nspr
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
asommer
n00b
n00b


Joined: 15 Nov 2005
Posts: 36

PostPosted: Mon Aug 07, 2006 2:34 pm    Post subject: emerge nspr Reply with quote

Hello,

I keep getting this error when I try to emerge nspr:

Quote:
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-libs/nspr-4.6.1-r2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking nspr-4.6.1.tar.gz ;-)
>>> checking nspr-4.6.1-disable-gcc-ansi.patch.bz2 ;-)
>>> Unpacking source...
>>> Unpacking nspr-4.6.1.tar.gz to /var/tmp/portage/nspr-4.6.1-r2/work
>>> Unpacking nspr-4.6.1-disable-gcc-ansi.patch.bz2 to /var/tmp/portage/nspr-4.6.1-r2/work
* Applying nspr-4.6.1-gcc-visibility.patch ... [ ok ] * Applying nspr-4.6.1-disable-gcc-ansi.patch.bz2 ... [ ok ] * Applying nspr-4.6.1-config.patch ... [ ok ] * Applying nspr-4.6.1-config-1.patch ... [ ok ] * Applying nspr-4.6.1-lang.patch ... [ ok ] * Using GNU config files from /usr/share/libtool
* Updating mozilla/nsprpub/build/autoconf/config.sub [ ok ] * Updating mozilla/nsprpub/build/autoconf/config.guess [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/nspr-4.6.1-r2/work/nspr-4.6.1 ...
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for whoami... /bin/whoami
checking for c++... c++
checking whether the C++ compiler (c++ {-march=pentium3 -O2 -pipe -fomit-frame-pointer} ) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

!!! ERROR: dev-libs/nspr-4.6.1-r2 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
nspr-4.6.1-r2.ebuild, line 52: Called die


I'm not sure why this is happening. The ultimate goal is to emerge mozilla-firefox, but it keeps erroring on nspr. The machine specs are:
Quote:
model name : Pentium III (Coppermine)
MemTotal: 125676 kB


I've searched the for this issue on the forum and google and didn't find a resolution. Any solutions or ideas will be greatly appreciated.

Thanks.
_________________
Party On!
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 564

PostPosted: Mon Aug 07, 2006 2:48 pm    Post subject: Reply with quote

try to execute "c++", if "command not found" appears, re-emerge gcc with the use-flag nocxx not set (check with emerge -pv sys-devel/gcc => '[ebuild R ] sys-devel/gcc-x.x.x USE="... -nocxx ..."')
Back to top
View user's profile Send private message
asommer
n00b
n00b


Joined: 15 Nov 2005
Posts: 36

PostPosted: Mon Aug 07, 2006 2:54 pm    Post subject: Reply with quote

I actually did re-emerge gcc and did a revdep-rebuild, but it didn't come back with anything to rebuild. Here's the output from c++ -v

Quote:
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
Configured with: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)


In case that helps.

Thanks for the replay.
_________________
Party On!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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