Re: Buildproblems on OSX 10.3 due to libxml2

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: <openmacnews(at)gmail(dot)com>
Cc: <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Buildproblems on OSX 10.3 due to libxml2
Date: 2006-02-27 23:13:30
Message-ID: C029381A.6AD2%dpage@vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On 27/2/06 21:57, "OpenMacNews" <openmacnews(at)gmail(dot)com> wrote:

> (doncha jus LUV autotools!)

Err, nope.

>> I just upgraded to:
>>
>> raptor:~/pgadmin3 dpage$ glibtool --version
>> ltmain.sh (GNU libtool) 1.5 (1.1220.2.1 2003/04/14 22:48:00)
>>
>> Now though, I get:
>>
>> raptor:~/pgadmin3 dpage$ sh bootstrap
>> + '[' -x config ']'
>> + autoreconf -i
>> Can't exec "libtoolize": No such file or directory at
>> /opt/local/share/autoconf/Autom4te/FileUtils.pm line 288, <GEN3> line 4.
>> autoreconf: failed to run libtoolize: No such file or directory
>
> ??? hrm.
>
> 1st,
>
> on my sys,
>
> % ls -al /usr/local/share/autoconf/Autom4te/FileUtils.pm
> -rw-r--r-- 1 root wheel 6670 Oct 22 22:51 FileUtils.pm

No, it's in /opt/local/share/autoconf/Autom4te.

> are you sure your FileUtils.pm is *in* your perl @INC path?

No, it's not. It wouldn't be if it were in /usr/local/ either. From what I
can gather that is compiled into perl?

> also, did you 'roll your own' autotools & libtool, or install from rpm?
> i've built mine from src, so know where everything goes on OSX ...
> dunno abt rpm installs.

It's from DarwinPorts

> also, run "locate.updatedb" and look for libtoolize ... is it in your
> exec $PATH?

raptor:~ root# locate libtoolize
/private/opt/local/bin/glibtoolize
/private/opt/local/var/db/dports/software/libtool/1.5.20_0/opt/local/bin/glb
toolize
/usr/bin/glibtoolize

Adding a symlink to /usr/bin/glibtoolize actually allows autoreconf to work
without any errors, but to be honest, I somewhat dubious about changing the
existing bootstrap script given the fun I've just have (between other work -
I have been doing other things!!)

> on my box its:
>
> % ls -al /usr/local/bin/*libtool*
> -rwxr-xr-x 1 root wheel 217609 Feb 10 11:10 /usr/local/bin/glibtool
> -rwxr-xr-x 1 root wheel 10775 Feb 10 11:10 /usr/local/bin/glibtoolize
>
> NOTE: of course, on OSX, libtoolXXX is sed'd to glibtoolXXX, as ther is
> an Apple-spec'd libtool which has other function.

Hmm.

> if/when you find it, what's
>
> % libtoolize --version
>
> report?

raptor:~ root# libtoolize --version
libtoolize (GNU libtool) 1.5

Cheers, Dave

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message OpenMacNews 2006-02-27 23:34:53 Re: Buildproblems on OSX 10.3 due to libxml2
Previous Message OpenMacNews 2006-02-27 21:57:36 Re: Buildproblems on OSX 10.3 due to libxml2