POV-Ray : Newsgroups : povray.unix : AIX 4.3 compile prob. Server Time
31 Oct 2024 21:24:48 EDT (-0400)
  AIX 4.3 compile prob. (Message 1 to 3 of 3)  
From: Garage Inc 
Subject: AIX 4.3 compile prob.
Date: 15 Jun 1999 05:33:25
Message: <37661DF9.A0D564DD@ucalgary.ca>
While performing "make newunix" I receive this error message:

        make: 1254-002 Cannot find a rule to create target /png.h from
        dependencies.

Any help here would be greatly appreciated.

        E.K.Enwere


Post a reply to this message

From: Thomas Willhalm
Subject: Re: AIX 4.3 compile prob.
Date: 15 Jun 1999 07:33:20
Message: <qqmlndlem0v.fsf@goldach.fmi.uni-konstanz.de>
"Garage Inc." <eke### [at] ucalgaryca> writes:

> While performing "make newunix" I receive this error message:
> 
>         make: 1254-002 Cannot find a rule to create target /png.h from
>         dependencies.

POVRay uses two libraries: libpng and zlib. You have to create them before 
compiling and linking POVRay. The two libraries are included in the source 
code distribution of POVRay. They are located in the subdirectories "libpng"
and "zlib" of the directory that contains the *.c and *.h files.
If the libraries are already installed in your system, you can of course
use the installed versions.

When compiling POVRay, the compiler needs a header file that is part
of the library, namely "png.h". That's why you must modify the makefile 
to tell the compiler its location. The corresponding compiler option
is stored in the variable LIBPNGINC. Setting this variable in the makefile
should solve your problem.

I hope this helps.

Thomas

-- 
http://www.fmi.uni-konstanz.de/~willhalm


Post a reply to this message

From: Garage Inc 
Subject: Re: AIX 4.3 compile prob.
Date: 17 Jun 1999 19:23:31
Message: <37698392.ED7B6D58@ucalgary.ca>
The problem actually lay elsewhere (bad link to $PREFIX) but here,
thanks for the aid.


Post a reply to this message

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