[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] Problems with ranlib while compiling XaraLX

On 11/04/06, Andy Davison <andydavison@xxxxxxxxx> wrote:
> On 11/04/06, Ben Fowler <ben.the.mole@xxxxxxxxx> wrote:
> > On 10/04/06, Andy Davison <andydavison@xxxxxxxxx> wrote:
> > >
> > > [ snip ]
> However, it still breaks down, this time with:
> .././wxOil/outputpng.h:109:17: error: png.h: No such file or directory

I added the path to my installed png library, using CFLAGS. (Whilst I
think that this is right, and I would hope that the autoconf for Xara
LX is developed to make this more effective), I have a little niggle
in the back of my mind that telling wx to use the fink png libraries
is responsible for part of the badness in Bug 929 "Failure reading PNG
bitmap on Mac".

You probably have png.h in /sw/include/libpng12 and the libraries in
/sw/lib : If you don't, you might want to install png independently
(the instruction to use fink came from me, and I am not sure whether
it is entirely correct - but I don't see how we can expect developers
to remove chunks of their fink installation just to compile Xara). I
really would like to see some clarity on this, and I fear that it may
mean some work doing that there is nobody yet available to do!

If you do decide to install png on a different path, you will have to
choose a PREFIX for it; whilst /usr/local is appealing, I could only
wholeheartedly recommend this on a machine that you are not using for
any other development, which is not a likely state of affairs. You
could try somewhere in your home directory, as with the wx libraries.

You may have the same problem with the JPEG libraries, and you can
assuredly work on the same lines.