POV-Ray : Newsgroups : povray.unix : compiling problems pov-3.5-c linux gcc Server Time
5 Jul 2024 13:29:46 EDT (-0400)
  compiling problems pov-3.5-c linux gcc (Message 11 to 20 of 20)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Nicolas Calimet
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 19 Apr 2004 17:10:37
Message: <4084404d$1@news.povray.org>
> The gcc version you are using is extremely outdated.  [snip]  You
> absolutely have to upgrade gcc in order to be able to compile POV-Ray
> without random problems.

	In fact gcc-2.95.4 is able to compile the current development source of 
povray (I also faced this gcc relic on a not-so-old-debian
release, what I shock it was...).
	Now I'm not sure how the images produced will look like  ;-)

	- NC


Post a reply to this message

From: marabou
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 19 Apr 2004 17:12:59
Message: <408440db@news.povray.org>
Christoph Hormann wrote:

> 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.
> 

i am not sure that there is no interference, because there happened
same error as i posted first. old gcc-versions were left on system.

installation was done in /usr/local and softlink was created:
agun@xxx:~$ ll /usr/bin/gcc*
lrwxrwxrwx    1 root     root           24 19. Apr 22:52 /usr/bin/gcc
-> /usr/local/bin/gcc-3.3.2
[..]
agun@xxx:~$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2
specs
Konfiguriert mit: ./configure  : (reconfigured) ./configure
--program-suffix=-3.3.2 --enable-threads : (reconfigured) ./configure
--program-suffix=-3.3.2 --enable-threads --enable-languages=c,c++

normal configure had this failure, following configure, too:
agun@xxx:~/prog/povray-3.50c$ ./configure --prefix=/opt/povray-3.5c
--includedir=/usr/local/include/c++/3.3.2/ --libdir=/usr/local/lib
gcc-lib/i686-pc-linux-gnu/3.3.2/

error (Fehler) was:
[..]
Making all in src
make[1]: Entering directory `/home/agun/prog/povray-3.50c/src'
c++ -DPREFIX=\"/opt/povray-3.5c\" -DPOV_LIB_DIR=\"/opt/povray-3.5c
share/povray-3.5\" -DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/opt
povray-3.5c/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    0m5.488s
[..]


Post a reply to this message

From: Christoph Hormann
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 19 Apr 2004 17:40:01
Message: <c61gpf$b0h$1@chho.imagico.de>
marabou wrote:
> 
> installation was done in /usr/local and softlink was created:
> agun@xxx:~$ ll /usr/bin/gcc*
> lrwxrwxrwx    1 root     root           24 19. Apr 22:52 /usr/bin/gcc
> -> /usr/local/bin/gcc-3.3.2

Creating such a link is not the right way [tm] to install a new version. 
  You simply have to configure you environment to use /usr/local in 
favor of /usr (which most people have by default anyway).

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: Edward Coffey
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 19 Apr 2004 18:12:36
Message: <40844ed4@news.povray.org>
marabou wrote:
<snip>
> 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

Do you really need to use a custom compile of GCC - why not just use the 
latest one from Debian? I'm not sure what's in 'stable' at the moment, 
but 'unstable' has had gcc-3.2 for quite a while (and Debian unstable 
seems as stable as any other distro). A "complete upgrade" of a Debian 
system should be as simple as "apt-get update" followed by "apt-get 
dist-upgrade", assuming your apt sources are correctly configured and 
you have a decent Internet connection (otherwise you can just get a new 
set of CDs, point your sources.list to them and use the same commands).


Post a reply to this message

From: marabou
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 19 Apr 2004 18:44:03
Message: <40845632@news.povray.org>
Edward Coffey wrote:

> Do you really need to use a custom compile of GCC - why not just use
> the latest one from Debian? I'm not sure what's in 'stable' at the
> moment, but 'unstable' has had gcc-3.2 for quite a while (and Debian
> unstable seems as stable as any other distro). A "complete upgrade"
> of a Debian system should be as simple as "apt-get update" followed
> by "apt-get dist-upgrade", assuming your apt sources are correctly
> configured and you have a decent Internet connection (otherwise you
> can just get a new set of CDs, point your sources.list to them and
> use the same commands).

of course "apt-get dist-upgrade" seems to be simple. i tried it in
december. and then my system was broken due package
incompatibilities: some needed packages were not upgraded so other
packages did not work. but mostly packages were upgraded without
needs.
then i burned a testing tree with jigdo. 12 cds. not with my inet
connection ;-) and what happened? installation was broken because
configuration files were written bad (no deb-installer). and of
course: depency problems with packages.
therefore i wait for the 3.1-version.
since then i try to compile by my own and try to make debs.
it is not the soft way, but increases experience.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 20 Apr 2004 07:14:37
Message: <4085061d$1@news.povray.org>
In article <4084404d$1@news.povray.org> , Nicolas Calimet 
<pov### [at] freefr>  wrote:

>  In fact gcc-2.95.4 is able to compile the current development source of
> povray (I also faced this gcc relic on a not-so-old-debian
> release, what I shock it was...).

This is very surprising in particular because it is not supposed to
understand all of the template constructs (according to what was added to
3.x compilers).  However, if you indeed used 2.95.x (and there wasn't some
obscure upgrade you didn't notice) this suggests 2.95.x can at least parse
those constructs, which is interesting - on the other hand, I wouldn't bet
on the code working correctly, if 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

From: Nicolas Calimet
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 20 Apr 2004 08:00:00
Message: <408510c0@news.povray.org>
> However, if you indeed used 2.95.x (and there wasn't some
> obscure upgrade you didn't notice)

        I'll check it again.  Yet I'm pretty sure it was indeed 2.95.4
(I remember the exact number because I could not believe having < 3.2
on the Debian I tried it).  Also the same compiler flags reported in
the initial message of this thread were not supported either.  Only
I didn't check the binary carefully, such started a benchmark run on
it without waiting for completion...
        In between I've quickly installed gcc-3.3.3, so I will need to
"obscure" this one in order to revert to the old gcc for confirmation  ;-)

        - NC


Post a reply to this message

From: marabou
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 27 Apr 2004 06:37:22
Message: <408e37e1@news.povray.org>
Christoph Hormann wrote:

> marabou wrote:
>> 
>> installation was done in /usr/local and softlink was created:
>> agun@xxx:~$ ll /usr/bin/gcc*
>> lrwxrwxrwx    1 root     root           24 19. Apr 22:52
>> /usr/bin/gcc -> /usr/local/bin/gcc-3.3.2
> 
> Creating such a link is not the right way [tm] to install a new
> version.
>   You simply have to configure you environment to use /usr/local in
> favor of /usr (which most people have by default anyway).
> 

your hint does not take effect.

my $PATH: /bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
my ld.so.conf: /usr/local/lib \0 /usr/X11R6/lib \0 /opt/libxml2/lib \0
and link /usr/bin/gcc was left alone.

are there other hints?

another question: is this the right group for posting?

thank you


Post a reply to this message

From: stephen parkinson
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 28 Apr 2004 01:25:46
Message: <408f405a$1@news.povray.org>
marabou wrote:
> Christoph Hormann wrote:
> 
> 
>>marabou wrote:
>>
>>>installation was done in /usr/local and softlink was created:
>>>agun@xxx:~$ ll /usr/bin/gcc*
>>>lrwxrwxrwx    1 root     root           24 19. Apr 22:52
>>>/usr/bin/gcc -> /usr/local/bin/gcc-3.3.2
>>
>>Creating such a link is not the right way [tm] to install a new
>>version.
>>  You simply have to configure you environment to use /usr/local in
>>favor of /usr (which most people have by default anyway).
>>
> 
> 
> your hint does not take effect.
> 
> my $PATH: /bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
> my ld.so.conf: /usr/local/lib \0 /usr/X11R6/lib \0 /opt/libxml2/lib \0
> and link /usr/bin/gcc was left alone.
> 
> are there other hints?
> 
> another question: is this the right group for posting?
> 
> thank you
> 
try
export PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
             ^^^^^^^^^^^^^^

search for executable in this sequence of directories

stephen


Post a reply to this message

From: Rafal 'Raf256' Maj
Subject: Re: compiling problems pov-3.5-c linux gcc
Date: 1 May 2004 18:45:30
Message: <Xns94DD77649346raf256com@203.29.75.35>
chr### [at] gmxde news:c60up4$7p4$1@chho.imagico.de

> Building a new gcc is extremely easy

What is URL of newest GCC (3.4.x) for RedHat?

What commend(s) exacly exectute to compile it?

-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.