POV-Ray : Newsgroups : povray.unix : Problems compiling povray on solaris. Server Time
27 Dec 2024 06:19:19 EST (-0500)
  Problems compiling povray on solaris. (Message 1 to 6 of 6)  
From: Haim Ashkenazi
Subject: Problems compiling povray on solaris.
Date: 8 Sep 2002 06:51:16
Message: <3d7b2ba4@news.povray.org>
Hi

I'm trying to compile povray 3.5b (does b mean BETA? I've downloaded 
the latest) and I'm having some problems. two of them I've solved 
(I'll put them in the end)
but I can't get around the third one. here's the error I get:

-----------------------------------------------------------------

++  `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi 
` -O3 -I/usr/openwin/include -o povray  atmosph.o bbox.o 
bcyl.o benchmark.o bezier.o blob.o boxes.o bs
phere.o camera.o chi2.o colour.o colutils.o cones.o csg.o 
discs.o express.o file_pov.o fncode.o fnintern.o fnpovfpu.o 
fnsyntax.o fpmetric.o fractal.o function.o g
if.o gifdecod.o hcmplx.o hfield.o histogra.o iff.o image.o 
interior.o isosurf.o jpeg_pov.o lathe.o lbuffer.o lightgrp.o 
lighting.o matrices.o media.o mesh.o norma
l.o objects.o octree.o optin.o optout.o parse.o parsestr.o 
parstxtr.o pattern.o pgm.o photons.o pigment.o planes.o 
png_pov.o point.o poly.o polygon.o polysolv.o p
ov_mem.o povms.o povmscpp.o povmsend.o povmsrec.o povray.o 
pov_util.o ppm.o prism.o quadrics.o quatern.o rad_data.o 
radiosit.o ray.o render.o renderio.o sor.o sph
eres.o sphsweep.o splines.o statspov.o super.o targa.o 
texture.o tiff_pov.o tokenize.o torus.o triangle.o truetype.o 
txttest.o userdisp.o userio.o vbuffer.o vlbuf
fer.o warps.o unix.o povxlib.o -L/usr/openwin/lib 
-R/usr/openwin/lib -ltiff -ljpeg -lpng -lz -lm  -lX11
Undefined                       first referenced
 symbol                             in file
TIFFGetVersion                      optout.o
ld: fatal: Symbol referencing errors. No output written to povray
collect2: ld returned 1 exit status
gmake[1]: *** [povray] Error 1
gmake[1]: Leaving directory `/home/haim/src/povray-3.50b/src'
gmake: *** [all-recursive] Error 1

-----------------------------------------------------------------

I've tried compiling against various versions of libtiff (the 
one that comes with solaris-gnome-1.4, solaris-gnome-2BETA, 
ximian-gnome, and solaris freeware). sin
ce I'm not a programmer I can't figure out what it means.
I'm using solaris 8 on sparc with gcc 2.95.

As for the other two, one was the optout.h error (which I've 
found an answer in this news group), and a wierd error in the 
doc/html/images directory (which I've s
olved by removing the doc entry in the SUBDIRS definition in the 
main Makefile). here's the error:

-----------------------------------------------
Making all in doc
make[1]: Entering directory `/home/haim/src/povray-3.50b/doc'
Making all in html
make[2]: Entering directory `/home/haim/src/povray-3.50b/doc/html'
Making all in images
make[3]: Entering directory `/home/haim/src/povray-3.50b/doc/html/images'
Making all in vfaq
make[4]: Entering directory `/home/haim/src/povray-3.50b/doc/html/images/vfaq'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/haim/src/povray-3.50b/doc/html/images/vfaq'
make[4]: Entering directory `/home/haim/src/povray-3.50b/doc/html/images'
make[4]: *** No rule to make target `skysphe', needed by `all-am'.  Stop.
make[4]: Leaving directory `/home/haim/src/povray-3.50b/doc/html/images'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/haim/src/povray-3.50b/doc/html/images'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/haim/src/povray-3.50b/doc/html'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/haim/src/povray-3.50b/doc'
make: *** [all-recursive] Error 1

-------------------------------------------------

any ideas?

thanx
-- 
Haim


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Problems compiling povray on solaris.
Date: 8 Sep 2002 10:26:07
Message: <3d7b5dff@news.povray.org>
In article <3d7b2ba4@news.povray.org> , hai### [at] consonetcom (Haim Ashkenazi)
wrote:

> I'm trying to compile povray 3.5b (does b mean BETA? I've downloaded

The POV-Team does not and never has since pre-3.0 times, distributed beta or
alpha source code.  All source code on povray.org is exactly the source code
used to build the official binary versions of POV-Ray.

> the latest) and I'm having some problems. two of them I've solved
> (I'll put them in the end)
> but I can't get around the third one. here's the error I get:

There have been various threads about compiling for Solaris in the past six
weeks in this group.  Just look for "Solaris" in the subject line.

If you have problems with a library I would recommend to either get the
latest from the source website (Google will tell you where that is), or to
use the version of the library source code included in the POV-Ray source
code distribution.

Of course, keep in mind that when using shared libraries rather than
statically linked ones that the shared library has to be placed such that
your operating system can find it.

    Thorsten


____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Warp
Subject: Re: Problems compiling povray on solaris.
Date: 8 Sep 2002 18:00:48
Message: <3d7bc88f@news.povray.org>
Haim Ashkenazi <hai### [at] consonetcom> wrote:
> ` -O3 -I/usr/openwin/include -o povray  atmosph.o bbox.o 
[snip]
> fer.o warps.o unix.o povxlib.o -L/usr/openwin/lib 
> -R/usr/openwin/lib -ltiff -ljpeg -lpng -lz -lm  -lX11
> Undefined                       first referenced
>  symbol                             in file
> TIFFGetVersion                      optout.o
> ld: fatal: Symbol referencing errors. No output written to povray

  I had this problem as well in Solaris. For some reason libtiff.a works ok
(ie. when you have -static as compiling option) but libtiff.so produces
that linking error (seems like it lacks an object file). Of course the
problem is that if you add -static, then it won't compile because there
are no static versions of the X libraries.

  The solution is to replace '-ltiff' with an explicit path to the libtiff.a
in your system. For example, supposing that libtiff.a is installed in
/usr/lib/ then that one line would look like this:

-R/usr/openwin/lib /usr/lib/libtiff.a -ljpeg -lpng -lz -lm  -lX11

  (That is, you have to find the line in the Makefile where '-ltiff' is
specified and replace it with '/usr/lib/libtiff.a')

  In order to find where libtiff.a is installed, run 'locate libtiff.a'

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Haim Ashkenazi
Subject: Re: Problems compiling povray on solaris.
Date: 9 Sep 2002 11:51:46
Message: <3d7cc392$1@news.povray.org>
In article <3d7bc88f@news.povray.org>,
>   The solution is to replace '-ltiff' with an explicit path to the libtiff.a
> in your system. For example, supposing that libtiff.a is installed in
> /usr/lib/ then that one line would look like this:
Thanx, this one solved the problem. I've just finished compiling it
and it went ok. I forgot to compile it with X support, but I hope it
won't be a problem.

Thanx for the help (this one goes to everybody).

Bye
-- 
Haim


Post a reply to this message

From: Thomas Willhalm
Subject: Re: Problems compiling povray on solaris.
Date: 9 Sep 2002 14:01:01
Message: <3d7ce1dd@news.povray.org>
Thorsten Froehlich wrote:

> In article <3d7b2ba4@news.povray.org> , hai### [at] consonetcom (Haim Ashkenazi)
> wrote:
> 
>> I'm trying to compile povray 3.5b (does b mean BETA? I've downloaded
>
> The POV-Team does not and never has since pre-3.0 times, distributed beta
> or alpha source code.  All source code on povray.org is exactly the source
> code used to build the official binary versions of POV-Ray.

Is there any special reason why this isn't something like 3.5.2?

Thomas


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Problems compiling povray on solaris.
Date: 9 Sep 2002 14:33:33
Message: <3d7ce97d@news.povray.org>
In article <3d7ce1dd@news.povray.org> , Thomas Willhalm 
<tho### [at] uni-konstanzde>  wrote:

>>> I'm trying to compile povray 3.5b (does b mean BETA? I've downloaded
>>
>> The POV-Team does not and never has since pre-3.0 times, distributed beta
>> or alpha source code.  All source code on povray.org is exactly the source
>> code used to build the official binary versions of POV-Ray.
>
> Is there any special reason why this isn't something like 3.5.2?

Yes, the changes are platform specific.  The source code is version 3.5.
The little 'b' just denotes that it is the third Unix version, after all
there has to be some way to distingush them, and changing the minor version
number would not be correct.

    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

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