hal build error.....

Dan Nicholson dbn.lists at gmail.com
Wed Mar 18 07:45:35 PDT 2009


On Wed, Mar 18, 2009 at 3:16 AM, apoorvag <apoorvag at tataelxsi.co.in> wrote:
> Hi..
>
>    I am trying to build hal (0.5.11) on Mac OS X  after installing
> expat...but the following errors are coming..
>
> checking expat.h usability... yes
> checking expat.h presence... yes
> checking for expat.h... yes
> checking for XML_ParserCreate in -lexpat... no
> configure: error: Can't find expat library. Please install expat.

You probably need to set CPPFLAGS and LDFLAGS so that the compiler can
find the expat headers and library. If you have expat in /usr/local,
you probably need to do:

export CPPFLAGS="-I/usr/local/include"
export LDFLAGS="-L/usr/local/lib"

Take a look at config.log to see more details about what is failing.

--
Dan


More information about the hal mailing list