POV-Ray : Newsgroups : povray.unix : Compiling 3.5 source on Linux also fails : Re: Compiling 3.5 source on Linux also fails Server Time
28 Jul 2024 16:17:13 EDT (-0400)
  Re: Compiling 3.5 source on Linux also fails  
From: Joshua Nye
Date: 2 Aug 2002 15:48:24
Message: <3d4ae208$1@news.povray.org>
I just commented out the IO checks.. didn't want to deal with them. POV is
installed as me and not root or anything, so why bother?

Search for POV_ALLOW_FILE_ in file_pov.cpp and comment out the if statement.

Might be an easier way with a #define somewhere but I didn't really look
that well.

--josh

"Chris Jeppesen" <chr### [at] digiquillcom> wrote in message
news:3D4### [at] digiquillcom...
> Sebastian H. wrote:
>  >> Thanx for releasing the sources anyway !!
>  >
>  > Yes thanks, too.
>  >
>  > But I got an other problem here. When compiling without any
>  > optimization (just ./configure, make) I got:
>  >
>  > g++  `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi `
>  > -static -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 -ltiff -ljpeg
>  > -lpng -lz -lm  -lX11 /usr/X11R6/lib/libX11.a(XlcDL.o): In function
>  > `try_both_dlsym': XlcDL.o(.text+0x111): undefined reference to
>  > `dlsym' XlcDL.o(.text+0x136): undefined reference to `dlsym'
>  > /usr/X11R6/lib/libX11.a(XlcDL.o): In function `open_object':
>  > XlcDL.o(.text+0x60e): undefined reference to `dlopen'
>  > /usr/X11R6/lib/libX11.a(XlcDL.o): In function `close_object':
>  > XlcDL.o(.text+0x684): undefined reference to `dlclose' collect2: ld
>  > returned 1 exit status make[1]: *** [povray] Fehler 1
>  >
>  > Please don't kill me I'am no programmer but can anyone give me a
>  > hint? (When using --without-x I get even more errors...)
>  >
>  > Sebastian H.
>  >
>  >
>  >
> Open up src/Makefile, find the line
>
> LDFLAGS = -static -I/usr/X11R6/include
>
> and change it to
>
> LDFLAGS = -rdynamic -I/usr/X11R6/include
>
> I was having the same problem and this fixed it for me. Now if I could
> just get it to parse my files... (I/O restriction prohibits read access
> to file 'kwancircle.pov')
>
> Chris
>


Post a reply to this message

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