POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 0.4 Now Available (Linux/Unix) : Re: MegaPov 0.4 Now Available (Linux/Unix) Server Time
2 Sep 2024 12:14:02 EDT (-0400)
  Re: MegaPov 0.4 Now Available (Linux/Unix)  
From: Nieminen Juha
Date: 31 Jan 2000 04:40:18
Message: <38955882@news.povray.org>
I have a problem with the makefile (I don't know if this is specific to
this makefile or if it happens with the official version too; I haven't
tried).
  Since I noticed that libz and libpng are installed in this system, I decided
to perform dynamical linking of them to reduce the size of the executable.
  However, it seems impossible with the current makefile.
  The header files are located in the directory /share/local5/include/ and
the libraries are located at /share/local5/lib/
  However, the makefile seems to suppose that they are both located in the
same directory. Both LIBPNGINC and LIBPNGLIB use the same directory
(ie. PNGDIR). Setting them this way:

PNGDIR = /share/local5
LIBPNGINC = -I$(PNGDIR)/include
LIBPNGLIB = -L$(PNGDIR)/lib -lpng

doesn't help. The compilation fails with the message:

make: Fatal error: Don't know how to make target `/share/local5/png.h'


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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