On Thu, 8 Nov 2001, Steven Farrier wrote:

> I been building the stuff I need to build Abiword on Mac OS X

On MacOSX you need to build libpng & libiconv. Personally I install them
in /oss/abideps (or /Users/fjf/fjf, depending).

> But when I ./configure wv, it says that libpng is missing and libpng is 
> important.

Next you should change to the abi directory and run autogen.sh, preferably
using bash, as in

/oss/bin/bash autogen.sh

though

./autogen.sh

*usually* works okay. You will, of course, need automake and it's best not
to get automake-1.5 because this has problems.

Then you need to configure. If you have autoconf-2.13 then

CPPFLAGS="-I/oss/abideps/include" LDFLAGS="-L/oss/abideps/lib" configure [OPTIONS]

should do the trick; personally I use autoconf-2.52 and bash always and
find it useful to do

export SHELL=/oss/bin/bash
export CONFIG_SHELL=/oss/bin/bash
/oss/bin/bash configure CPPFLAGS="-I/oss/abideps/include" LDFLAGS="-L/oss/abideps/lib 
[OPTIONS]

In fact, since I build for XDarwin rather than Aqua, the last line is

PLATFORM=NetBSD /oss/bin/bash configure CPPFLAGS="-I/oss/abideps/include" 
LDFLAGS="-L/oss/abideps/lib [OPTIONS]

Whichever.

This will run configure in the peer directories: psiconv, expat, wv
and libpng should be found okay. 'make' should then build everything...

Frank

ps. Just use default system zlib.

Francis James Franklin
[EMAIL PROTECTED]

Deep in the human unconsciousness is a pervasive need for a logical
universe that makes sense. But the real universe is always one step
beyond logic.
          --- from `The Sayings of Muad'dib' by the Princess Irulan



Reply via email to