Not sure if this will help but here goes:
Add -L/usr/local/lib -static to the last step, i.e.:
g++ `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -O3
-I/usr/X11R6/include -o povray atmosph.o bbox.o bcyl.o benchmark.o
bezier.o blob.o boxes.o bsphere.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 gif.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 normal.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 pov_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 spheres.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 vlbuffer.o
warps.o unix.o povxlib.o -L/usr/X11R6/lib -lz -lm -lX11
-L/usr/local/lib -static
Rob
Post a reply to this message
|