View previous topic :: View next topic |
Author |
Message |
carlo Guest
|
Posted: Mon Aug 12, 2002 10:52 pm Post subject: from one problem to another |
|
|
Hi!
I thought this posting would come from a gentoo os, but...
...emerge system fails!!!
I used v.1.2-stage2, chrooted and rsynced, but now I have no chance to get further with my small knowledge.
Code: | Function src_compile, line 8 Exitcode 1
...
/usr/portage/sys-libs/db/db-3.2.9-r1.ebuild |
Kind Linux/Gentoo wizards are asked... (redirected stdout available)
Carlo |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Mon Aug 12, 2002 11:12 pm Post subject: |
|
|
~ regged now ~
Code: |
Calculating system dependencies \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / ->>> Unpacking source...
>>> Unpacking db-3.2.9.tar.gz
patching file include/log.h
patching file log/log.c
patching file log/log_rec.c
>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking host system type... i686-pc-linux-gnu
checking if building in the top-level directory... no
checking if --disable-bigfile option specified... no
checking if --enable-compat185 option specified... yes
checking if --enable-cxx option specified... yes
checking if --enable-debug option specified... no
checking if --enable-debug_rop option specified... no
checking if --enable-debug_wop option specified... no
checking if --enable-diagnostic option specified... no
checking if --enable-dump185 option specified... yes
checking if --enable-dynamic option specified... no
checking if --enable-java option specified... no
checking if --enable-posixmutexes option specified... no
checking if --enable-rpc option specified... no
checking if --enable-shared option specified... yes
checking if --enable-tcl option specified... no
checking if --enable-test option specified... no
checking if --enable-uimutexes option specified... no
checking if --enable-umrw option specified... no
checking if --with-tcl option specified... no
checking for cc... cc
checking for gcc... (cached) cc
checking for gcc... (cached) cc
checking whether the C compiler (cc -D_GNU_SOURCE ) works... yes
checking whether the C compiler (cc -D_GNU_SOURCE ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc -O2 -mcpu=i686 -pipe ) works... no
...done!
>>> emerge sys-libs/db-3.2.9-r1 to /
>>> md5 ;-) db-3.2.9.tar.gz
!!! emerge aborting on /usr/portage/sys-libs/db/db-3.2.9-r1.ebuild .
|
Carlo |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon Aug 12, 2002 11:37 pm Post subject: |
|
|
What are your USE variables and CFLAGS set for? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 12, 2002 11:50 pm Post subject: |
|
|
This thread has gained its independence from here. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Pigeon Guru
Joined: 21 Jun 2002 Posts: 307
|
Posted: Tue Aug 13, 2002 12:26 am Post subject: |
|
|
what are your CHOST/CFLAGS/CXXFLAGS? what does gcc -v give? Did you remember to bootstrap? |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Tue Aug 13, 2002 9:40 am Post subject: |
|
|
I didn't bootstrap. Read that Stage 2 is bootstrapped already.
I just use the defaults in the *.defaults files, here are the values
CHOST=i686-pc-linux-gnu
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS=${CFLAGS}
use.defaults:
Code: |
3dnow
#fbcon
#ldap
#libg++
#mitshm
mmx
#objprelink
#odbc
#oss
#qtmt
#sse
gnome-libs gnome-base/gnome-libs
aalib media-libs/aalib
alsa media-libs/alsa-lib
arts kde-base/kdelibs
berkdb sys-libs/db
bonobo gnome-base/bonobo
directfb dev-libs/DirectFB
esd media-sound/esound
gdbm sys-libs/gdbm
ggi media-libs/libggi
gif media-libs/giflib
gnome gnome-base/gnome
gpm sys-libs/gpm
gtk x11-libs/gtk+
gtkhtml gnome-extra/gtkhtml
guile dev-util/guile
imlib media-libs/imlib
java virtual/jre
kde kde-base/kde
libwww net-libs/libwww
motif x11-libs/openmotif
mozilla net-www/mozilla
mysql dev-db/mysql
nas media-libs/nas
nls sys-devel/gettext
oggvorbis media-libs/libvorbis
opengl virtual/opengl
pam sys-libs/pam
perl sys-devel/perl
png media-libs/libpng
postgres dev-db/postgresql
python dev-lang/python
qt x11-libs/qt
readline sys-libs/readline
ruby dev-lang/ruby
sdl media-libs/libsdl
slang sys-libs/slang
ssl dev-libs/openssl
svga media-libs/svgalib
tcltk dev-lang/tcl dev-lang/tk
tcpd sys-apps/tcp-wrappers
tex app-text/tetex
tiff media-libs/tiff
X x11-base/xfree
|
The make.conf isn't touched, each line is commented out. (proper english?)
The gcc version is 2.95.3
I think the flags should apply, the processor is a Duron.
Carlo |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Aug 13, 2002 9:54 am Post subject: |
|
|
When emerge aborts when trying to compile db, there should be a directory /var/tmp/portage/db-3.2.9-r1/work/. Somewhere under there you should find a file name "config.log"; you can use the "find" command to find it if you are having trouble locating it. At the end of that file should be a detailed message explaining what exactly failed when trying to run the c++ compiler. Maybe this will explain things to you; if not, please post the error. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Tue Aug 13, 2002 2:22 pm Post subject: |
|
|
@rac: These are the lines.
Code: |
...
configure:1465: checking for gcc
configure:1497: checking whether the C++ compiler (gcc -O2 -mcpu=i686 -pipe ) works
configure:1513: gcc -o conftest -O2 -mcpu=i686 -pipe -D_REENTRANT conftest.C 1>&5
gcc: conftest.C: C++ compiler not installed on this system
gcc: installation problem, cannot exec `#C++collect2': No such file or directory
configure: failed program was:
#line 1508 "configure"
#include "confdefs.h"
int main(){return(0);}
|
gcc exists, but there is no conftest.C at all. I never was a C/C++ freak, therefore I need help again...
(Doesn't thought a gentoo install needs delving into the code. )
Carlo |
|
Back to top |
|
|
CopShootCop Guest
|
Posted: Fri Aug 16, 2002 12:14 am Post subject: Fixed problem |
|
|
I managed to fix it right now, just run emerge gcc and emerge glibc and it will run fine. Hope this will help you too |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Aug 16, 2002 12:20 am Post subject: |
|
|
Carlo wrote: | gcc exists, but there is no conftest.C at all. |
Don't worry about conftest.C not existing; it's a temporary file created for testing by the configure script. I was hoping that a better idea would come along that would not require you to do something so time-consuming, but it looks like you may have to emerge gcc. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Aug 22, 2002 9:18 pm Post subject: |
|
|
Carlo's suggestions for improving sandbox documentation have moved here. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|