Gentoo Archives: gentoo-dev

From: Brandon Low <lostlogic@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Can`t compile Perl
Date: Tue, 11 Jun 2002 09:15:53
Message-Id: 20020611091552.B12968@lostlogicx.com
In Reply to: [gentoo-dev] Can`t compile Perl by Andreas Mellingen
1 The important question with perl issues is: Are you using gcc-3.1? And
2 if you are, please try compiling perl again with sandbox removed from the
3 FEATURES line of /etc/make.conf sandbox is NOT gcc-3.1 compatible at this
4 time.
5
6 --Brandon
7
8 On Thu, 06/13/02 at 13:33:04 +0200, Andreas Mellingen wrote:
9 > As the topic says, I can`t compile perl, which isn`t that much of a
10 > problem, except that every time I run emerge -u world, perl is one o the
11 > first to go, and then fails, making me have to update everything
12 > manuall. here is the "final output:
13 >
14 > (quote start)
15 > /usr/include/ndbm.h:21: unterminated string or character constant
16 > /usr/include/ndbm.h:4: possible real start of unterminated constant
17 > In file included from NDBM_File.xs:9:
18 > /usr/include/ndbm.h:1: parse error before character 0177
19 > /usr/include/ndbm.h:1: stray '\' in program
20 > /usr/include/ndbm.h:1: nondigits in number and not hexadecimal
21 > /usr/include/ndbm.h:1: nondigits in number and not hexadecimal
22 > /usr/include/ndbm.h:3: stray '\' in program
23 > /usr/include/ndbm.h:3: stray '\' in program
24 > /usr/include/ndbm.h:3: nondigits in number and not hexadecimal
25 > /usr/include/ndbm.h:3: nondigits in number and not hexadecimal
26 > /usr/include/ndbm.h:6: warning: unknown escape sequence `\$'
27 > /usr/include/ndbm.h:14: warning: unknown escape sequence: `\' followed
28 > by char code 0x16
29 > /usr/include/ndbm.h:181: stray '\' in program
30 > /usr/include/ndbm.h:181: stray '\' in program
31 > /usr/include/ndbm.h:448: Unterminated string constant
32 > make[1]: *** [NDBM_File.o] Error 1
33 > make[1]: Leaving directory
34 > `/var/tmp/portage/perl-5.6.1-r4/work/perl-5.6.1/ext/NDBM_File'
35 > make: *** [lib/auto/NDBM_File/NDBM_File.so] Error 2
36 > (quote end)
37 >
38 > What to do?
39 >
40 > --
41 > MvH / Best Regards
42 > Andreas Mellingen aka RaZieL