POV-Ray : Newsgroups : povray.unix : Install on Solaris 8 Server Time
31 Oct 2024 14:10:12 EDT (-0400)
  Install on Solaris 8 (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: Paul Lyons
Subject: Install on Solaris 8
Date: 5 Jun 2001 11:40:48
Message: <3b1cfd80$1@news.povray.org>
Hi does any one have any information/guide on installing Pov-Ray on a
Solaris 8 machine?

Paul Lyons

--
----------------------------------------------------
Distributor Systems International
+44(0)1322 407891
+44(0) 1322 407900
email - pau### [at] dsiwebcouk
web -  http://www.dsiweb.co.uk
----------------------------------------------------


Post a reply to this message

From: Dennis Clarke
Subject: Re: Install on Solaris 8
Date: 10 Jun 2001 16:08:25
Message: <3B23D3C2.473B266E@interlog.com>
Have a look at http://redman.livewire.ca/povray/povray.html

The package that you need is at
http://redman.livewire.ca/povray/povray31g.sparc.tgz

A sample scene file to test with is at
http://redman.livewire.ca/povray/scene/tet5.pov

The kit includes three binaries for both povray and x-povray.  They are : 

   1 ) Generic Sparc - no optimizations - workshop 5.0 compiler
   2 ) Sparc Version 1 - compiled with gcc 2.95.3, tweaked a bit
   3 ) UltraSparc Version 1 - optimized with -fast - workshop 5.0 compiler

Typical run times for each are as follows : 


$ psrinfo -v
Status of processor 0 as of: 06/10/01 15:16:18
  Processor has been on-line since 06/04/01 19:07:28.
  The sparcv9 processor operates at 296 MHz,
        and has a sparcv9 floating point processor.
Status of processor 1 as of: 06/10/01 15:16:18
  Processor has been on-line since 06/04/01 19:07:34.
  The sparcv9 processor operates at 296 MHz,
        and has a sparcv9 floating point processor.

$ netstat -k | grep pp_kernel
desscan 25 pp_kernel 3779 pagesfree 38061 pageslocked 4131 pagestotal 62642

Generic Sparc binary

$ /usr/local/povray31/povray_sparc_generic -I./scene/tet5.pov -O./tet5.tga \
> +W320 +H240 -D +FT +GA +Q9 +V +B512 +X320
Persistence of Vision(tm) Ray Tracer Version 3.1g.SunOS.cc
  This is an unofficial version compiled by:
   Dennis M. Clarke   dcl### [at] blastwavecom
  The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1999 POV-Ray Team(tm)
Parsing Options
  Input file: ./scene/tet5.pov (compatible to version 3.1)
  Remove bounds........On  Split unions........Off
  Library paths:
Output Options
  Image resolution 320 by 240 (rows 1 to 240, columns 1 to 320).
  Output file: ./tet5.tga, 24 bpp Targa, 512 KByte buffer
  Graphic display.....Off
  Mosaic preview......Off
  CPU usage histogram.Off
  Continued trace.....Off  Allow interruption...On  Pause when done.....Off
  Verbose messages.....On
Tracing Options
  Quality:  9
  Bounding boxes.......On  Bounding threshold: 25
  Light Buffer.........On  Vista Buffer.........On
  Antialiasing........Off
  Radiosity...........Off
Animation Options
  Clock value....   0.000  (Animation off)
Redirecting Options
  All Streams to console..........On
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On


Parsing......No pigment type given.
.

Creating bounding slabs.
Scene contains 15 frame level objects; 4 infinite.      

  0:03:00 Rendering line  240 of  240.
Done Tracing
./scene/tet5.pov Statistics, Resolution 320 x 240
----------------------------------------------------------------------------
Pixels:           76800   Samples:           76800   Smpls/Pxl: 1.00
Rays:            337892   Saved:             41599   Max Level: 20/20
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Box                           13403065         3677382     27.44
Cone/Cylinder                  2062010          130791      6.34
CSG Intersection              15465075          784543      5.07
CSG Union                      3093015          197788      6.39
Plane                         20620100         8506101     41.25
Sphere                         8248040         5116201     62.03
Torus                          3093015            7597      0.25
Torus Bound                    3093015            9029      0.29
----------------------------------------------------------------------------
Roots tested:                 9029   eliminated:                2303
Calls to Noise:             854262   Calls to DNoise:         886760
----------------------------------------------------------------------------
Shadow Ray Tests:         11020815   Succeeded:               319484
Reflected Rays:             178280   Total Internal:           72017
Refracted Rays:              82812
----------------------------------------------------------------------------
Smallest Alloc:                 12 bytes   Largest:           524296
Peak memory used:           672040 bytes
----------------------------------------------------------------------------
Time For Trace:    0 hours  3 minutes   0.0 seconds (180 seconds)
    Total Time:    0 hours  3 minutes   0.0 seconds (180 seconds)



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

Version 1 Sparc Binary Compiled with gcc 2.95.3

$ /usr/local/povray31/povray_sparc_v1 -I./scene/tet5.pov -O./tet5.tga \
> +W320 +H240 -D +FT +GA +Q9 +V +B512 +X320
Persistence of Vision(tm) Ray Tracer Version 3.1g.SunOS.gcc
  This is an unofficial version compiled by:
  Dennis M. Clarke  dcl### [at] interlogcom
  The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1999 POV-Ray Team(tm)
Parsing Options
  Input file: ./scene/tet5.pov (compatible to version 3.1)
  Remove bounds........On  Split unions........Off
  Library paths:
Output Options
  Image resolution 320 by 240 (rows 1 to 240, columns 1 to 320).
  Output file: ./tet5.tga, 24 bpp Targa, 512 KByte buffer
  Graphic display.....Off
  Mosaic preview......Off
  CPU usage histogram.Off
  Continued trace.....Off  Allow interruption...On  Pause when done.....Off
  Verbose messages.....On
Tracing Options
  Quality:  9
  Bounding boxes.......On  Bounding threshold: 25
  Light Buffer.........On  Vista Buffer.........On
  Antialiasing........Off
  Radiosity...........Off
Animation Options
  Clock value....   0.000  (Animation off)
Redirecting Options
  All Streams to console..........On
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On


Parsing......No pigment type given.
.

Creating bounding slabs.
Scene contains 15 frame level objects; 4 infinite. 


  0:01:44 Rendering line  240 of  240.
Done Tracing
./scene/tet5.pov Statistics, Resolution 320 x 240
----------------------------------------------------------------------------
Pixels:           76800   Samples:           76800   Smpls/Pxl: 1.00
Rays:            337892   Saved:             41599   Max Level: 20/20
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Box                           13403065         3677382     27.44
Cone/Cylinder                  2062010          130791      6.34
CSG Intersection              15465075          784543      5.07
CSG Union                      3093015          197788      6.39
Plane                         20620100         8506101     41.25
Sphere                         8248040         5116201     62.03
Torus                          3093015            7597      0.25
Torus Bound                    3093015            9029      0.29
----------------------------------------------------------------------------
Roots tested:                 9029   eliminated:                2303
Calls to Noise:             854262   Calls to DNoise:         886760
----------------------------------------------------------------------------
Shadow Ray Tests:         11020815   Succeeded:               319484
Reflected Rays:             178280   Total Internal:           72017
Refracted Rays:              82812
----------------------------------------------------------------------------
Smallest Alloc:                 12 bytes   Largest:           524296
Peak memory used:           672040 bytes
----------------------------------------------------------------------------
Time For Trace:    0 hours  1 minutes  44.0 seconds (104 seconds)
    Total Time:    0 hours  1 minutes  44.0 seconds (104 seconds)



-----------

Version 8a UltraSparc Binary compiled with Sun WorkShop 5.0

$ /usr/local/povray31/povray_sparc_v8 -I./scene/tet5.pov -O./tet5.tga \
> +W320 +H240 -D +FT +GA +Q9 +V +B512 +X320
Persistence of Vision(tm) Ray Tracer Version 3.1g.SunOS.cc
  This is an unofficial version compiled by:
   Dennis M. Clarke   dcl### [at] blastwavecom
  The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1999 POV-Ray Team(tm)
Parsing Options
  Input file: ./scene/tet5.pov (compatible to version 3.1)
  Remove bounds........On  Split unions........Off
  Library paths:
Output Options
  Image resolution 320 by 240 (rows 1 to 240, columns 1 to 320).
  Output file: ./tet5.tga, 24 bpp Targa, 512 KByte buffer
  Graphic display.....Off
  Mosaic preview......Off
  CPU usage histogram.Off
  Continued trace.....Off  Allow interruption...On  Pause when done.....Off
  Verbose messages.....On
Tracing Options
  Quality:  9
  Bounding boxes.......On  Bounding threshold: 25
  Light Buffer.........On  Vista Buffer.........On
  Antialiasing........Off
  Radiosity...........Off
Animation Options
  Clock value....   0.000  (Animation off)
Redirecting Options
  All Streams to console..........On
  Debug Stream to console.........On
  Fatal Stream to console.........On
  Render Stream to console........On
  Statistics Stream to console....On
  Warning Stream to console.......On


Parsing......No pigment type given.
.

Creating bounding slabs.
Scene contains 15 frame level objects; 4 infinite.

  0:01:42 Rendering line  240 of  240.
Done Tracing
./scene/tet5.pov Statistics, Resolution 320 x 240
----------------------------------------------------------------------------
Pixels:           76800   Samples:           76800   Smpls/Pxl: 1.00
Rays:            337892   Saved:             41599   Max Level: 20/20
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Box                           13403065         3677382     27.44
Cone/Cylinder                  2062010          130791      6.34
CSG Intersection              15465075          784543      5.07
CSG Union                      3093015          197788      6.39
Plane                         20620100         8506101     41.25
Sphere                         8248040         5116201     62.03
Torus                          3093015            7597      0.25
Torus Bound                    3093015            9029      0.29
----------------------------------------------------------------------------
Roots tested:                 9029   eliminated:                2303
Calls to Noise:             854262   Calls to DNoise:         886760
----------------------------------------------------------------------------
Shadow Ray Tests:         11020815   Succeeded:               319484
Reflected Rays:             178280   Total Internal:           72017
Refracted Rays:              82812
----------------------------------------------------------------------------
Smallest Alloc:                 12 bytes   Largest:           524296
Peak memory used:           672040 bytes
----------------------------------------------------------------------------
Time For Trace:    0 hours  1 minutes  42.0 seconds (102 seconds)
    Total Time:    0 hours  1 minutes  42.0 seconds (102 seconds)


Dennis Clarke
Solaris Admin


Post a reply to this message

From: Tilly
Subject: Re: Install on Solaris 8
Date: 11 Jun 2001 16:38:15
Message: <3b252c37$1@news.povray.org>
There are some Benchmarkresults of Sparc-CPU's from SUN and HAL (Fujitsu) at
http://www.tabsnet.com/ , but only with the gcc compiled Version. I will try
it again with your binaries.

   Thanks,
       Tilly


Post a reply to this message

From: Dennis Clarke
Subject: Re: Install on Solaris 8
Date: 11 Jun 2001 20:52:15
Message: <3B2567C9.8793BA1E@interlog.com>
Tilly wrote:
> 
> There are some Benchmarkresults of Sparc-CPU's from SUN and HAL (Fujitsu) at
> http://www.tabsnet.com/ , but only with the gcc compiled Version. I will try
> it again with your binaries.
> 
>    Thanks,
>        Tilly

Thanks.  I am running the test now with chess2.pov thus : 

$ povray -d -q9 +w800 +h600 +b1000 +r3 +a0.300 +v1 +ft \
> +I/usr/local/povray31/scenes/advanced/chess2.pov \
> +O./chess2.tga +L/usr/local/povray31/include

I am running this test on a Sun Ultra2/2300 .  

I am really curious what affect, if any, there will be if I recompile the binary
while using the -autopar option that will automagically run parallel loops on
multiple CPUs.  I will post my results.

Dennis Clarke


Post a reply to this message

From: Tilly
Subject: Re: Install on Solaris 8
Date: 12 Jun 2001 18:49:25
Message: <3b269c75$1@news.povray.org>
But, be carefull. There are different
chess2.pov in the UNIX and Win Distribution (The Unix-Version is faster). I
used the Windows-Version for the Benchmark.

Regards,

   Tilly

"Dennis Clarke" <dcl### [at] interlogcom> wrote in message
news:3B2567C9.8793BA1E@interlog.com...
> Thanks.  I am running the test now with chess2.pov thus :
>
> $ povray -d -q9 +w800 +h600 +b1000 +r3 +a0.300 +v1 +ft \
> > +I/usr/local/povray31/scenes/advanced/chess2.pov \
> > +O./chess2.tga +L/usr/local/povray31/include
>
> I am running this test on a Sun Ultra2/2300 .
>
> I am really curious what affect, if any, there will be if I recompile the
binary
> while using the -autopar option that will automagically run parallel loops
on
> multiple CPUs.  I will post my results.
>
> Dennis Clarke


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Install on Solaris 8
Date: 13 Jun 2001 09:07:27
Message: <3b27658f@news.povray.org>
In article <3b269c75$1@news.povray.org> , "Tilly" <web### [at] tabsnetde> 
wrote:

> But, be carefull. There are different
> chess2.pov in the UNIX and Win Distribution (The Unix-Version is faster). I
> used the Windows-Version for the Benchmark.

No, they are actually the same if you get them from POV-Ray 3.1.  however,
some Linux distributions (at least until recently) used to come with POV-Ray
3.02 which included a slightly different version of the scene.


     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: Dennis Clarke
Subject: Re: Install on Solaris 8
Date: 13 Jun 2001 19:22:11
Message: <3B27F5AD.C1B7ACDF@interlog.com>
Geez!  Thanks.  I thought I was going nuts when I tried to compare the two
files and they looked the same to me.  The system that I ran my test on was also
running a database server with about a Gig of data indexed on it.  I figured
that it was a dual CPU system so no harm in getting one CPU to do some work for
a while.  I ended up with a time that was slow by just a little bit.  There must
be a way to get POV-Ray to run a little faster.  What about a compile for the
Sparc V9a processor?  A completely 64bit binary.  Would that make any real
difference or just create a really large binary file.

Dennis

Thorsten Froehlich wrote:
> 
> In article <3b269c75$1@news.povray.org> , "Tilly" <web### [at] tabsnetde>
> wrote:
> 
> > But, be carefull. There are different
> > chess2.pov in the UNIX and Win Distribution (The Unix-Version is faster). I
> > used the Windows-Version for the Benchmark.
> 
> No, they are actually the same if you get them from POV-Ray 3.1.  however,
> some Linux distributions (at least until recently) used to come with POV-Ray
> 3.02 which included a slightly different version of the scene.
> 
>      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: Install on Solaris 8
Date: 14 Jun 2001 05:31:48
Message: <3b288484@news.povray.org>
Dennis Clarke <dcl### [at] interlogcom> wrote:
: There must
: be a way to get POV-Ray to run a little faster.  What about a compile for the
: Sparc V9a processor?  A completely 64bit binary.  Would that make any real
: difference or just create a really large binary file.

  According to my tests (I haven't tested too extensively, though), compiling
povray to the V9 processor (with "cc -fast -xarch=v9") gives a 5-10% of speed
increase compared to an optimized gcc compile.
  As you guessed, the binary gets huge.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Dennis Clarke
Subject: Re: Install on Solaris 8
Date: 14 Jun 2001 09:28:41
Message: <3B28BC12.4794C081@blastwave.com>
Warp wrote:
> 
> Dennis Clarke <dcl### [at] interlogcom> wrote:
> : There must
> : be a way to get POV-Ray to run a little faster.  What about a compile for the
> : Sparc V9a processor?  A completely 64bit binary.  Would that make any real
> : difference or just create a really large binary file.
> 
>   According to my tests (I haven't tested too extensively, though), compiling
> povray to the V9 processor (with "cc -fast -xarch=v9") gives a 5-10% of speed
> increase compared to an optimized gcc compile.
>   As you guessed, the binary gets huge.

Well, I tried that but got this ...

$ pwd
/export/home/dclarke/pgm/c/povray/source/workshop/povray31/source
$ cd libpng
$ make clean
rm -f *.o libpng.a pngtest pngout.png
$ make libpng.a
cc -fast -xarch=v9 -I../zlib -O  -c  png.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngset.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngget.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngrutil.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngtrans.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngwutil.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngread.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngrio.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngwio.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngwrite.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngrtran.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngwtran.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngmem.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngerror.c
cc -fast -xarch=v9 -I../zlib -O  -c  pngpread.c
ar rc libpng.a  png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o  pngrea
d.o pngrio.o pngwio.o pngwrite.o pngrtran.o  pngwtran.o pngmem.o pngerror.o pngp
read.o
ranlib libpng.a
$ cd ../zlib
$ make clean
rm -f *.o *~ example minigzip libz.a libz.so* foo.gz so_locations \
   _match.s maketree
$ make libz.a
cc -fast -xarch=v9  -c  adler32.c
cc -fast -xarch=v9  -c  compress.c
cc -fast -xarch=v9  -c  crc32.c
cc -fast -xarch=v9  -c  gzio.c
cc -fast -xarch=v9  -c  uncompr.c
cc -fast -xarch=v9  -c  deflate.c
cc -fast -xarch=v9  -c  trees.c
cc -fast -xarch=v9  -c  zutil.c
cc -fast -xarch=v9  -c  inflate.c
cc -fast -xarch=v9  -c  infblock.c
cc -fast -xarch=v9  -c  inftrees.c
cc -fast -xarch=v9  -c  infcodes.c
cc -fast -xarch=v9  -c  infutil.c
cc -fast -xarch=v9  -c  inffast.c
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o  zu
til.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
$ cd ../unix
$ make newunix
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../atmosph.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../bbox.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../bcyl.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../bezier.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../blob.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../boxes.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../bsphere.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../camera.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../chi2.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../colour.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../cones.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../csg.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../discs.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../express.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../fractal.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../gif.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../gifdecod.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../hcmplx.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../hfield.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../iff.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../image.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../interior.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../lathe.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../lbuffer.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../lighting.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../matrices.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../media.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../mem.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../mesh.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../normal.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../objects.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../octree.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../optin.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../optout.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../parse.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../parstxtr.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../pattern.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../pgm.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../pigment.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../planes.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../png_pov.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../point.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../poly.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../polygon.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../polysolv.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../povray.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../ppm.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../prism.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../quadrics.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../quatern.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../rad_data.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../radiosit.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../ray.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../render.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../sor.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../spheres.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../super.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../targa.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../texture.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../tokenize.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../torus.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../triangle.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../truetype.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../txttest.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../userio.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../vbuffer.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../vlbuffer.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib ../warps.c
cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
lib/povray31\" -I. -I.. -I../libpng -I../zlib unix.c
cc ./atmosph.o   ./bbox.o      ./bcyl.o      ./bezier.o    ./blob.o      ./boxes
.o     ./bsphere.o   ./camera.o    ./chi2.o      ./colour.o    ./cones.o     ./c
sg.o       ./discs.o     ./express.o   ./fractal.o   ./gif.o       ./gifdecod.o
 ./hcmplx.o    ./hfield.o    ./iff.o       ./image.o     ./interior.o  ./lathe.o
     ./lbuffer.o   ./lighting.o  ./matrices.o  ./media.o     ./mem.o       ./mes
h.o      ./normal.o    ./objects.o   ./octree.o    ./optin.o     ./optout.o    .
/parse.o         ./parstxtr.o  ./pattern.o   ./pgm.o       ./pigment.o   ./plane
s.o    ./png_pov.o   ./point.o     ./poly.o      ./polygon.o   ./polysolv.o  ./p
ovray.o    ./ppm.o       ./prism.o     ./quadrics.o  ./quatern.o   ./rad_data.o
 ./radiosit.o  ./ray.o       ./render.o    ./sor.o       ./spheres.o   ./super.o
     ./targa.o     ./texture.o   ./tokenize.o  ./torus.o     ./triangle.o  ./tru
etype.o  ./txttest.o   ./userio.o    ./vbuffer.o   ./vlbuffer.o  ./warps.o
./unix.o -L../libpng -lpng -L../zlib -lz -lm -o povray
ld: fatal: file ./atmosph.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to povray
*** Error code 1
make: Fatal error: Command failed for target `povray'
Current working directory /export/home/dclarke/pgm/c/povray/source/workshop/povr
ay31/source/unix
*** Error code 1 (ignored)

Which seems to imply that the linker is having a fit because it doesn't want to
link the 64bit object files.  Perhaps I need to add another option on the ld
line?  I've checked the object files and they are all like so : 

$ ls -lapt *.o
-rw-r--r--   1 dclarke  staff       8384 Jun 14 09:13 unix.o
-rw-r--r--   1 dclarke  staff      10448 Jun 14 09:13 vlbuffer.o
-rw-r--r--   1 dclarke  staff      35544 Jun 14 09:13 vbuffer.o
-rw-r--r--   1 dclarke  staff      30928 Jun 14 09:13 userio.o
-rw-r--r--   1 dclarke  staff      54432 Jun 14 09:13 truetype.o
-rw-r--r--   1 dclarke  staff      16608 Jun 14 09:13 triangle.o
.
.
.
-rw-r--r--   1 dclarke  staff      26408 Jun 14 09:05 mesh.o
-rw-r--r--   1 dclarke  staff      13672 Jun 14 09:05 quatern.o
-rw-r--r--   1 dclarke  staff       7040 Jun 14 09:05 rad_data.o
-rw-r--r--   1 dclarke  staff       2792 Jun 14 09:05 txttest.o
-rw-r--r--   1 dclarke  staff       8064 Jun 14 09:05 warps.o

$ ls -lapt *.o | awk '{print $9}' | xargs file
unix.o:         ELF 64-bit MSB relocatable SPARCV9 Version 1
vlbuffer.o:     ELF 64-bit MSB relocatable SPARCV9 Version 1
vbuffer.o:      ELF 64-bit MSB relocatable SPARCV9 Version 1
userio.o:       ELF 64-bit MSB relocatable SPARCV9 Version 1
truetype.o:     ELF 64-bit MSB relocatable SPARCV9 Version 1
triangle.o:     ELF 64-bit MSB relocatable SPARCV9 Version 1
.
.
.
mesh.o:         ELF 64-bit MSB relocatable SPARCV9 Version 1
quatern.o:      ELF 64-bit MSB relocatable SPARCV9 Version 1
rad_data.o:     ELF 64-bit MSB relocatable SPARCV9 Version 1
txttest.o:      ELF 64-bit MSB relocatable SPARCV9 Version 1
warps.o:        ELF 64-bit MSB relocatable SPARCV9 Version 1

The ld linker could take the following option : 

OPTIONS
     The following options are supported:

     -64   Creates a 64-bit object. By default,the class  of  the
           object  being  generated  is determined from the first
           ELF object  processed  from  the  command  line.  This
           option is useful when creating an object directly with
           ld whose input is solely from a mapfile  (see  the  -M
           option).  

   Now why would I need that when all of the object files are ELF 64-bit ?


Any thoughts on this would be appreciated.

Dennis Clarke


Post a reply to this message

From: Jérôme Grimbert
Subject: Re: Install on Solaris 8
Date: 14 Jun 2001 09:41:18
Message: <3B28BF09.FE857536@atosorigin.com>
Dennis Clarke wrote:
[SNIP]

> cc -fast -xarch=v9 -c -DCOMPILER_VER=\".`uname`.cc\" -DPOV_LIB_DIR=\"/usr/local/
> lib/povray31\" -I. -I.. -I../libpng -I../zlib unix.c


> cc ./atmosph.o ....
[SNIP]

Did you notice that the last 'cc' was without -xarch=v9 ...
You should add it.


Post a reply to this message

Goto Latest 10 Messages Next 5 Messages >>>

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