Gentoo Archives: gentoo-dev

From: Jonathan Kelly <j0n@×××××××.au>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Povray 3.5 Testing
Date: Wed, 07 Aug 2002 23:53:19
Message-Id: 20020808145110.40890e08.j0n@tpg.com.au
1 On Mon, 5 Aug 2002 08:32:50 -0700
2 Ryan Phillips <rphillips@g.o> wrote:
3
4 > * Jonathan Kelly <j0n@×××××××.au> [2002-08-05 08:22]:
5 > > On Sun, 4 Aug 2002 20:21:06 -0700
6 > > Ryan Phillips <rphillips@g.o> wrote:
7 > >
8 > > > I have included a masked version of the new povray 3.5 ebuild into
9 > > > the portage tree. Povray's package has changed to an autoconf
10 > > > system, and the source needs to be patched for gcc 3.1 to get it to
11 > > > compile correctly (atleast on my machine).
12 > > >
13 > > I'm getting this error on compiling ...
14 > > <snip>
15 > > g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\"
16 > > -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -march=i686 -O3
17 > > -pipe -finline-functions -ffast-math -ansi -c `if [ "Xgcc" =
18 > > "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c file_pov.cpp
19 > > express.cpp: In function `void Parse_Num_Factor(double *, int *)':
20 > > express.cpp:724: implicit declaration of function `int acosh(...)'
21 > > express.cpp:727: implicit declaration of function `int asinh(...)'
22 > > express.cpp:730: implicit declaration of function `int atanh(...)'
23 > > express.cpp:1023: warning: assignment to `int' from `double'
24 > > g++ -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\"
25 > > -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -march=i686 -O3
26 > > -pipe -finline-functions -ffast-math -ansi -c `if [ "Xgcc" =
27 > > "Xgcc" ]; then echo "-Wno-multichar"; fi ` -c fncode.cpp
28 > > make: *** [express.o] Error 1
29 > > make: *** Waiting for unfinished jobs....
30 > >
31 > > !!! ERROR: The ebuild did not complete successfully.
32 > > !!! Function src_compile, Line 90, Exitcode 2
33 > > !!! (no error message)
34 > >
35 > > !!! emerge aborting on
36 > > /usr/portage/media-gfx/povray/povray-3.50a.ebuild.
37 > >
38 >
39 > Hi Jonathan,
40 >
41 > which version of gcc and USE flags?
42 >
43 > -ryan
44 >
45
46 I'm using 2.95.3-r7
47
48 I found the problem ... I removed the -ansi from CPPFLAGS in the ebuild
49 script and it compiled.
50
51 Could I also suggest you remove the -static from LDFLAGS?
52
53 Cheers.
54 Jonathan Kelly.

Replies

Subject Author
Re: [gentoo-dev] Povray 3.5 Testing Ryan Phillips <rphillips@g.o>