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-28 20:45:39
Message-ID: C02A66F3.6C06%dpage@vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On 28/2/06 03:30, "OpenMacNews" <openmacnews(at)gmail(dot)com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> dave,
>
> fwiw, starting w/ r5035
>
> noting that you've removed AC_PROG_RANLIB from configure.ac.in, i don't
> replace/add AC_PROG_LIBTOOL.
>
> mod'ing "bootstrap":
>
> =========================================================
> ${EDITOR} /usr/ports/pgadmin3/pgadmin3dyn_wxdyn_262/bootstrap
>
> set -x
> if ! ([ -x config ]); then
> mkdir config
> fi
> - --- aclocal-1.9 && \
> - --- autoheader && \
> - --- automake-1.9 --foreign --add-missing --copy && \
> - --- autoconf
> +++ AUTOMAKE='automake --foreign' autoreconf --force --install --verbose
> =========================================================
>
> remembering that, on my OSX:
>
> % echo $LIBTOOLIZE
> glibtoolize
>
> % which glibtoolize
> /usr/local/bin/glibtoolize
>
> then, exec'ing reports:
>
> % sh bootstrap
> ...
> ...
> /usr/local/share/aclocal-1.9/libmcrypt.m4:17: warning: underquoted
> definition of AM_PATH_LIBMCRYPT
> run info '(automake)Extending aclocal'
> or see
> http://sources.redhat.com/automake/automake.html#Extending-aclocal
> /usr/local/share/aclocal/libmcrypt.m4:17: warning: underquoted
> definition of AM_PATH_LIBMCRYPT
> ...
> ...
> %
>
> which given:
>
> % aclocal --version
> aclocal (GNU automake) 1.9.6
>
> and per cref:
>
> http://tinyurl.com/lbldu
>
> mod'ing:
>
> =========================================================
> ${EDITOR} /usr/local/share/aclocal-1.9/libmcrypt.m4
> @17
> - --- AC_DEFUN(AM_PATH_LIBMCRYPT,
> +++ AC_DEFUN([AM_PATH_LIBMCRYPT],
> =========================================================
>
> then, trying again:
>
> % rm -rf config/
> % sh bootstrap
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal --force
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /usr/local/bin/autoconf --force
> autoreconf: running: /usr/local/bin/autoheader --force
> autoreconf: running: automake --foreign --add-missing --copy
> - --force-missing
> configure.ac: installing `config/install-sh'
> configure.ac: installing `config/missing'
> src/Makefile.am: installing `config/depcomp'
> configure.ac:8: installing `config/config.guess'
> configure.ac:8: installing `config/config.sub'
> autoreconf: Leaving directory `.'
> %
>
> which looks 'clean'.
>
> continuing on, as before with:
>
> ./configure ...
> make
> make all-recursive
> make install
>
> i see *no* errors, and get the expected:
>
> - -rwxr-xr-x 1 root admin 4865988 Feb 27 19:21
> /usr/ports/pgadmin3/pgadmin3dyn_wxdyn_262/pgAdmin3.app/Contents/MacOS/pgAdmin3
>
> which launches/functions ok.
>
Hi Richard,

Thanks for that. Given the fun I¹ve had getting it to work, I¹ve decided not
to change the bootstrap script at the moment, to avoid causing others the
same pain. I have added AC_PROG_LIBTOOL to configure.ac.in (yes, I know you
say you don¹t need it at the moment, but it won¹t hurt as far as I¹m aware)
as well as the automake Œforeign¹ option in Makefile.am which will hopefully
help anyone who prefers to use autoreconf as you do. Please let me know if
there¹s anything else that might help without breaking the bootstrap.

Cheers, Dave.

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2006-02-28 21:13:29 Re: Query results in grid, new patch
Previous Message svn 2006-02-28 20:37:52 SVN Commit by dpage: r5036 - trunk/pgadmin3