| View previous topic :: View next topic |
| Author |
Message |
sentaku n00b

Joined: 23 Sep 2004 Posts: 9
|
Posted: Thu Sep 23, 2004 2:00 pm Post subject: Emerge Pearl, or don't. |
|
|
Hello their, I'm having a bit of a problem with the emerge system step for installing gentoo.
I'm on an athon xp processer
I'm installing from Knoppix (which is misssing tux racer)
I started at stage 1 using the 2004.2 tarball for the x86
This is from the last part when I use emerge system:
| Quote: |
GDBM_File.xs:5:18: gdbm.h: No such file or directory
GDBM_File.xs:9: error: syntax error before "GDBM_FILE"
GDBM_File.xs:9: warning: no semicolon at end of struct or union
GDBM_File.xs:15: error: syntax error before '}' token
GDBM_File.xs:15: warning: data definition has no type or storage class
GDBM_File.xs:17: error: syntax error before '*' token
GDBM_File.xs:17: warning: data definition has no type or storage class
GDBM_File.xs:18: error: syntax error before "datum_key"
GDBM_File.xs:18: warning: data definition has no type or storage class
GDBM_File.xs:19: error: syntax error before "datum_value"
GDBM_File.xs:19: warning: data definition has no type or storage class
GDBM_File.xs:20: error: syntax error before "datum_key_copy"
GDBM_File.xs:20: warning: data definition has no type or storage class
GDBM_File.c: In function `XS_GDBM_File_TIEHASH':
GDBM_File.c:190: error: syntax error before "RETVAL"
GDBM_File.xs:75: error: `GDBM_FILE' undeclared (first use in this function)
GDBM_File.xs:75: error: (Each undeclared identifier is reported only once
GDBM_File.xs:75: error: for each function it appears in.)
GDBM_File.xs:75: error: syntax error before "dbp"
GDBM_File.xs:77: error: `RETVAL' undeclared (first use in this function)
GDBM_File.xs:78: error: `dbp' undeclared (first use in this function)
GDBM_File.xs:79: error: syntax error before "Perl_safesysmalloc"
GDBM_File.c: In function `XS_GDBM_File_close':
GDBM_File.c:224: error: syntax error before "db"
GDBM_File.c:228: error: `db' undeclared (first use in this function)
GDBM_File.c:228: error: called object is not a function
GDBM_File.c: In function `XS_GDBM_File_DESTROY':
GDBM_File.c:247: error: syntax error before "db"
GDBM_File.c:251: error: `db' undeclared (first use in this function)
GDBM_File.c:251: error: called object is not a function
GDBM_File.c: In function `XS_GDBM_File_FETCH':
GDBM_File.c:271: error: syntax error before "db"
GDBM_File.c:277: error: `db' undeclared (first use in this function)
GDBM_File.c:277: error: called object is not a function
GDBM_File.c:283: error: `key' undeclared (first use in this function)
GDBM_File.c:286: error: `RETVAL' undeclared (first use in this function)
GDBM_File.c: In function `XS_GDBM_File_STORE':
GDBM_File.c:302: error: syntax error before "db"
GDBM_File.c:311: error: `db' undeclared (first use in this function)
GDBM_File.c:311: error: called object is not a function
GDBM_File.c:317: error: `key' undeclared (first use in this function)
GDBM_File.c:322: error: `value' undeclared (first use in this function)
GDBM_File.c:331: error: `GDBM_REPLACE' undeclared (first use in this function)
GDBM_File.c: In function `XS_GDBM_File_DELETE':
GDBM_File.c:358: error: syntax error before "db"
GDBM_File.c:365: error: `db' undeclared (first use in this function)
GDBM_File.c:365: error: called object is not a function
GDBM_File.c:371: error: `key' undeclared (first use in this function)
GDBM_File.c: In function `XS_GDBM_File_FIRSTKEY':
GDBM_File.c:388: error: syntax error before "db"
GDBM_File.c:393: error: `db' undeclared (first use in this function)
GDBM_File.c:393: error: called object is not a function
GDBM_File.c:398: error: `RETVAL' undeclared (first use in this function)
GDBM_File.c: In function `XS_GDBM_File_NEXTKEY':
GDBM_File.c:414: error: syntax error before "db"
GDBM_File.c:420: error: `db' undeclared (first use in this function)
GDBM_File.c:420: error: called object is not a function
GDBM_File.c:426: error: `key' undeclared (first use in this function)
GDBM_File.c:429: error: `RETVAL' undeclared (first use in this function)
GDBM_File.c: In function `XS_GDBM_File_reorganize':
GDBM_File.c:445: error: syntax error before "db"
GDBM_File.c:451: error: `db' undeclared (first use in this function)
GDBM_File.c:451: error: called object is not a function
GDBM_File.c:462:1: warning: "gdbm_sync" redefined
GDBM_File.xs:56:1: warning: this is the location of the previous definition
GDBM_File.c: In function `XS_GDBM_File_sync':
GDBM_File.c:470: error: syntax error before "db"
GDBM_File.c:474: error: `db' undeclared (first use in this function)
GDBM_File.c:474: error: called object is not a function
GDBM_File.c: In function `XS_GDBM_File_EXISTS':
GDBM_File.c:492: error: syntax error before "db"
GDBM_File.c:499: error: `db' undeclared (first use in this function)
GDBM_File.c:499: error: called object is not a function
GDBM_File.c:505: error: `key' undeclared (first use in this function)
GDBM_File.c:514:1: warning: "gdbm_setopt" redefined
GDBM_File.xs:57:1: warning: this is the location of the previous definition
GDBM_File.c: In function `XS_GDBM_File_setopt':
GDBM_File.c:522: error: syntax error before "db"
GDBM_File.c:531: error: `db' undeclared (first use in this function)
GDBM_File.c:531: error: called object is not a function
GDBM_File.c: In function `XS_GDBM_File_filter_fetch_key':
GDBM_File.c:549: error: syntax error before "db"
GDBM_File.c:555: error: `db' undeclared (first use in this function)
GDBM_File.c:555: error: called object is not a function
GDBM_File.c: In function `XS_GDBM_File_filter_store_key':
GDBM_File.c:573: error: syntax error before "db"
GDBM_File.c:579: error: `db' undeclared (first use in this function)
GDBM_File.c:579: error: called object is not a function
GDBM_File.c: In function `XS_GDBM_File_filter_fetch_value':
GDBM_File.c:597: error: syntax error before "db"
GDBM_File.c:603: error: `db' undeclared (first use in this function)
GDBM_File.c:603: error: called object is not a function
GDBM_File.c: In function `XS_GDBM_File_filter_store_value':
GDBM_File.c:621: error: syntax error before "db"
GDBM_File.c:627: error: `db' undeclared (first use in this function)
GDBM_File.c:627: error: called object is not a function
make[1]: *** [GDBM_File.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/perl-5.8.4-r1/work/perl-5.8.4/ext/GDBM_File'
make: *** [lib/auto/GDBM_File/GDBM_File.so] Error 2
!!! ERROR: dev-lang/perl-5.8.4-r1 failed.
!!! Function src_compile, Line 215, Exitcode 2
!!! Unable to make
|
I tried to emerge perl by it self but that also fails.
| Quote: |
Knoppix distfiles # emerge perl
Calculating dependencies ...done!
>>> emerge (1 of 6) sys-devel/autoconf-2.59-r4 to /
>>> md5 src_uri ;-) autoconf-2.59.tar.bz2
>>> md5 src_uri ;-) autoconf-2.13.tar.gz
>>> Unpacking source...
>>> Unpacking autoconf-2.59.tar.bz2 to /var/tmp/portage/autoconf-2.59-r4/work
>>> Unpacking autoconf-2.13.tar.gz to /var/tmp/portage/autoconf-2.59-r4/work
* Applying autoconf-2.13-configure-gentoo.diff... [ ok ]
* Applying autoconf-2.13-configure.in-gentoo.diff... [ ok ]
* Applying autoconf-2.58-infopage-namechange.patch... [ ok ]
>>> Source unpacked.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for expr... /bin/expr
checking for gm4... no
checking for gnum4... no
checking for m4... /usr/bin/m4
checking whether m4 supports frozen files... yes
checking for perl... no
configure: error: perl is not found
!!! ERROR: sys-devel/autoconf-2.59-r4 failed.
!!! Function src_compile, Line 46, Exitcode 1
!!! (no error message)
Knoppix distfiles # emerge system
|
|
|
| Back to top |
|
 |
crazy-bee Apprentice


Joined: 03 Jan 2003 Posts: 170
|
Posted: Thu Sep 23, 2004 3:19 pm Post subject: |
|
|
Exactly the same problem in the same situation - emerge system from stage1 x86  |
|
| Back to top |
|
 |
crazy-bee Apprentice


Joined: 03 Jan 2003 Posts: 170
|
Posted: Thu Sep 23, 2004 3:34 pm Post subject: |
|
|
OK. I fixed that with USE="-gdbm" emerge system. I have no idea if that will lead to further problems, but at least emerge system continues  |
|
| Back to top |
|
 |
blackdog n00b


Joined: 26 Feb 2004 Posts: 64 Location: Wake Forest
|
Posted: Thu Sep 23, 2004 3:35 pm Post subject: |
|
|
| Same here. My friend and I are both stuck on our home systems with the same problem. The systems we emerged last night here at work are both fine. |
|
| Back to top |
|
 |
taylorad n00b

Joined: 20 Jun 2003 Posts: 28
|
Posted: Thu Sep 23, 2004 3:40 pm Post subject: |
|
|
I'm having the same problem as well. I searched elsewhere in the forums and found this, so I tried to find a way to install autoconf first (though it should already be installed from the bootstrap script ... right?).
Consequently, I usually install ufed on new systems, which requires perl. So I tried that.
| Code: | livecd / # emerge -p ufed
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] sys-devel/autoconf-2.59-r4
[ebuild N ] sys-devel/automake-1.8.5-r1
[ebuild N ] sys-devel/libtool-1.5.2-r5
[ebuild N ] sys-libs/db-1.85-r1
[ebuild N ] sys-libs/gdbm-1.8.0-r5
[ebuild N ] dev-lang/perl-5.8.4-r1
[ebuild N ] dev-perl/TermReadKey-2.21
[ebuild N ] dev-util/dialog-0.9_beta20031002
[ebuild N ] app-portage/ufed-0.34
|
However, when I tried emerge ufed, autoconf craps out.
| Code: | configure: error: perl is not found
!!! ERROR: sys-devel/autoconf-2.59-r4 failed.
!!! Function src_compile, Line 46, Exitcode 1
!!! (no error message)
|
I am installing Gentoo on a Pentium 4 540 (3.2 GHz). Here is emerge info.
| Code: | Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.4.16
Autoconf:
Automake:
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mcpu=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts crypt cups encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib" |
Did you two above also install NPTL?
Edited for poor grammar.  _________________ "To err is human. To really screw up you need a computer." |
|
| Back to top |
|
 |
crazy-bee Apprentice


Joined: 03 Jan 2003 Posts: 170
|
Posted: Thu Sep 23, 2004 3:43 pm Post subject: |
|
|
| taylorad wrote: |
Did you two above also install NPTL? |
Yep! |
|
| Back to top |
|
 |
blackdog n00b


Joined: 26 Feb 2004 Posts: 64 Location: Wake Forest
|
Posted: Thu Sep 23, 2004 4:30 pm Post subject: |
|
|
I'm pretty new to this, so pardon if I don't format my statements correctly.
I'm ready to emerge system, and no matter what I try, I cannot pass the same perl failure as everyone else. I was wondering if the emerge process creates a file with an ordered list of what it wants to install. If I do emerge system -p, the first on my list is perl, followed my autoconf then automake. If there were a file generated with -p, wouldn't it be feasible to go in and edit this to put perl and the others further down the list? As I said, I'm fairly new, so I don't know how much the rest of my emerge relies on perl for requirements.
Thanks! |
|
| Back to top |
|
 |
Rubbertoe n00b


Joined: 23 Sep 2004 Posts: 5
|
Posted: Thu Sep 23, 2004 6:30 pm Post subject: |
|
|
On my system that is having this problem, doing an emerge automake seems to get the order correct (it's building perl right now and autoconf is next).
After that, I'm hoping that the rest of system will emerge fine.
HTH,
--Robert _________________ "With sufficient thrust, pigs fly just fine. ..."
--RFC 1925 |
|
| Back to top |
|
 |
pangloss n00b

Joined: 02 Aug 2002 Posts: 46 Location: Ithaca, NY
|
Posted: Thu Sep 23, 2004 9:12 pm Post subject: |
|
|
Did starting with automake solve the issue?
I haven't tried setting the USE="-gdbm" yet.
I have the same issue (stage1, nptl, kernel 2.6) borking on Perl/autoconf/gdbm. There are two other threads reporting the same issue:update: emerging automake appears to have done the trick. emerging system now. in any case, this behavior is rather broken. |
|
| Back to top |
|
 |
|