Title: Re: [pgadmin-hackers] Buildproblems on OSX 10.3 due to libxml2



On 28/2/06 03:30, "OpenMacNews" <[EMAIL PROTECTED]> 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.

Reply via email to