|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hello,
to upgrade my Povray version from 3.5a to 3.5c i downloaded the
sources and tried to make a compile. but it failed.
are there any hints for me?
thank you in advance.
my system uses gcc-2.95.4 with libc-2.2.5 and libstdc++2.10 on PIII
with Deb.
configure was
time ./configure --prefix=/opt/povray-3.5-c --target=i586 --without-x
then simple make.
and this was my error (Fehler) message:
Making all in src
make[1]: Entering directory `/home/agun/prog/povray-3.50c/src'
c++ -DPREFIX=\"/opt/povray-3.5-c\" -DPOV_LIB_DIR=\"/opt/povray-3.5-c
share/povray-3.5\" -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/opt
povray-3.5-c/etc\" -DUSE_IO_RESTRICTIONS=\"\" `if [ "Xgcc" =
"Xgcc" ]; then echo "-Wno-multichar"; fi ` -O3 -finline-functions
-ffast-math -fomit-frame-pointer -funroll-loops
-fexpensive-optimizations -malign-double -foptimize-sibling-calls
-minline-all-stringops -Wno-multichar -c atmosph.cpp
cc1plus: Invalid option `inline-all-stringops'
cc1plus: Invalid option `-foptimize-sibling-calls'
make[1]: *** [atmosph.o] Fehler 1
make[1]: Leaving directory `/home/agun/prog/povray-3.50c/src'
make: *** [all-recursive] Fehler 1
real 0m9.412s
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
marabou wrote:
> [...]
>
> and this was my error (Fehler) message:
> Making all in src
> make[1]: Entering directory `/home/agun/prog/povray-3.50c/src'
> c++ -DPREFIX=\"/opt/povray-3.5-c\" -DPOV_LIB_DIR=\"/opt/povray-3.5-c
> share/povray-3.5\" -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/opt
> povray-3.5-c/etc\" -DUSE_IO_RESTRICTIONS=\"\" `if [ "Xgcc" =
> "Xgcc" ]; then echo "-Wno-multichar"; fi ` -O3 -finline-functions
> -ffast-math -fomit-frame-pointer -funroll-loops
> -fexpensive-optimizations -malign-double -foptimize-sibling-calls
> -minline-all-stringops -Wno-multichar -c atmosph.cpp
> cc1plus: Invalid option `inline-all-stringops'
> cc1plus: Invalid option `-foptimize-sibling-calls'
Apparently your gcc does not know those two options. You can remove
them manually or use a newer version of gcc or wait until POV-Ray 3.6
gets available as source (although this might also require a newer gcc
but for different reasons).
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 21 Mar. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
From: Thorsten Froehlich
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 19 Apr 2004 12:08:19
Message: <4083f973$1@news.povray.org>
|
|
|
| |
| |
|
|
In article <4083eb90@news.povray.org> , marabou <not### [at] availablenet> wrote:
> my system uses gcc-2.95.4 with libc-2.2.5 and libstdc++2.10 on PIII
> with Deb.
The gcc version you are using is extremely outdated. Use any of the 3.x
series versions which have been available for almost three years now. You
absolutely have to upgrade gcc in order to be able to compile POV-Ray
without random problems.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christoph Hormann wrote:
>
> Apparently your gcc does not know those two options. You can remove
> them manually or use a newer version of gcc or wait until POV-Ray
> 3.6 gets available as source (although this might also require a
> newer gcc but for different reasons).
>
> Christoph
>
you may know upgrading gcc is not as easy as it sounds (i did not find
any manual for using two compiler versions or library versions on
system at the same time for my Deb).
i do not know when next version of Povray will be released. maybe this
will take some months?
so i tried your first option. and went well!
maybe there is a way to compile it without X11?...
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
marabou wrote:
>
> you may know upgrading gcc is not as easy as it sounds (i did not find
> any manual for using two compiler versions or library versions on
> system at the same time for my Deb).
Building a new gcc is extremely easy, it of course takes some time but i
never had any problems with it (and the source package of gcc comes with
step by step instructions even my mom could follow). Just install into
/usr/local (which is default) and you will have no problem having two
gcc versions on the same system.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 21 Mar. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Christoph Hormann wrote:
> marabou wrote:
>>
>> you may know upgrading gcc is not as easy as it sounds (i did not
>> find any manual for using two compiler versions or library versions
>> on system at the same time for my Deb).
>
> Building a new gcc is extremely easy, it of course takes some time
> but i never had any problems with it (and the source package of gcc
> comes with
> step by step instructions even my mom could follow). Just install
> into /usr/local (which is default) and you will have no problem
> having two gcc versions on the same system.
>
but doesn't it kill my old gcc-libraries?
the headers are stored in different directories but there is only one
lib-dir with no soft-links.
maybe the connection is not clean between gcc, libc and libstdc++ to
me...
Post a reply to this message
|
|
| |
| |
|
|
From: Thorsten Froehlich
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 19 Apr 2004 13:29:29
Message: <40840c79$1@news.povray.org>
|
|
|
| |
| |
|
|
In article <4083fadf@news.povray.org> , marabou <not### [at] availablenet> wrote:
> you may know upgrading gcc is not as easy as it sounds (i did not find
> any manual for using two compiler versions or library versions on
> system at the same time for my Deb).
How old is your Debian system? They switched to gcc 3.2 in January last
year, so there so be sufficient support to use at least that version of gcc
by now....
> i do not know when next version of Povray will be released. maybe this
> will take some months?
You will not be able to build POV-Ray 3.6 with gcc 2.x as those versions of
gcc are far too far behind the ISO C++ standard (and far too buggy and
outdated in general) to accept the POV-Ray 3.6 source code at all.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thorsten Froehlich wrote:
>
> How old is your Debian system? They switched to gcc 3.2 in January
> last year, so there so be sufficient support to use at least that
> version of gcc by now....
>
it is from 2002, a 3.0. with gcc-2.95 and gcc-3.0.4.
i have tuned it up with some backports and self-compilations.
>
> You will not be able to build POV-Ray 3.6 with gcc 2.x as those
> versions of gcc are far too far behind the ISO C++ standard (and far
> too buggy and outdated in general) to accept the POV-Ray 3.6 source
> code at all.
>
some time ago gcc-3.? was too unstable to use. and then i disfollwed
the discussion.
then i have to make a complete upgrade of my system. sounds like much
work... *snief
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
marabou wrote:
>
> but doesn't it kill my old gcc-libraries?
> [...]
Why should it. The distribution won't put anything in /usr/local so
installing there should not interfere with it.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 21 Mar. 2004 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|
| |
| |
|
|
From: Thorsten Froehlich
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 19 Apr 2004 14:09:59
Message: <408415f7@news.povray.org>
|
|
|
| |
| |
|
|
In article <40841019@news.povray.org> , marabou <not### [at] availablenet> wrote:
> it is from 2002, a 3.0. with gcc-2.95 and gcc-3.0.4.
> i have tuned it up with some backports and self-compilations.
Supposedly their offical packages of gcc 3.2 are available since last year
for additional install on Debian 3.0. At least that is what I get from
reading the various announcements and mailing lists. However, I didn't find
any clear information how to add this additional install.
> some time ago gcc-3.? was too unstable to use. and then i disfollwed
> the discussion.
> then i have to make a complete upgrade of my system. sounds like much
> work... *snief
Well, the Debian definition of "unstable" is rather ridiculous in many
cases. After all, they consider everything except their heavily patched
POV-Ray 3.0 plus old macro patch and other ancient patches a "stable"
version, while neither the official POV-Ray 3.1 or POV-Ray 3.5 were ever
considered "stable"...
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |