Re: bad links for mirrors - Mailing list pgadmin-hackers

From Dave Page
Subject Re: bad links for mirrors
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B844B6C9@mail.vale-housing.co.uk
Whole thread Raw
List pgadmin-hackers
Hi Joost,

Thanks for the detail - I've CC'd this to Adam who is our configure
expert.

Regards, Dave.

> -----Original Message-----
> From: Joost Helberg [mailto:joost@snow.nl]
> Sent: 29 September 2003 09:23
> To: Dave Page
> Subject: Re: bad links for mirrors
>
>
> Dave,
>
> thanks again for responding so swiftly!
>
> >>>>> "Dave" == Dave Page <dpage@vale-housing.co.uk> writes:
>     > Subject: RE: bad links for mirrors
>     > Date: Sun, 28 Sep 2003 22:28:01 +0100
>     > From: "Dave Page" <dpage@vale-housing.co.uk>
>     > To: "Joost Helberg" <joost@snow.nl>
> ...........
>     >> You better use -lw_gtk_stc-2.5 -lw_gtk_xrc-2.5 as this works
>     >> for both static and shared objects versions.
>
>     > The build system adjusts those paths based on whether
> you want a shared
>     > or static build. For static (--enable-static) it will
> explicitly use the
>     > .a static libs, otherwise it will use the shared ones
> as you suggest.
>     > The code that does this is in /acinclude.m4. ..............
>
> I call configure using:
>     sh -x ./configure --prefix=/usr --sysconfdir=/etc
> --localstatedir=/var \
>                     --with-pgsql=/usr
> --with-pgsql-include=/usr/include/postgresql \
>                 --enable-dynamic --disable-static
>
> Then the log (from sh -x) tells me:
> ...............
> ++ echo dynamic
> ++ sed s/-/_/g
> + ac_feature=dynamic
> + ac_optarg=yes
> + eval 'enable_dynamic='\''yes'\'''
> ++ enable_dynamic=yes
> + test -n ''
> ++ expr x--disable-static : 'x[^=]*=\(.*\)'
> + ac_optarg=
> ++ expr x--disable-static : 'x-*disable-\(.*\)'
> + ac_feature=static
> + expr xstatic :
> +
> '.*[^-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ012
> 3456789]'
> ++ echo static
> ++ sed s/-/_/g
> + ac_feature=static
> + eval enable_static=no
> ++ enable_static=no
> + test -n ''
> ++ expr x--build=i686-linux : 'x[^=]*=\(.*\)'
> + ac_optarg=i686-linux
> + build_alias=i686-linux
> ...............
> + withval=/usr/include/postgresql
> + test /usr/include/postgresql '!=' no
> + echo 'configure:4497: result: yes'
> + echo yes
> yes
> + pgsql_include=/usr/include/postgresql
> + echo 'configure:4508: result: yes'
> + echo yes
> yes
> + test '' = set
> + pg_debug_build=no
> + test set = set
> + enableval=no
> + pg_static_build=yes
> + echo 'configure:4529: checking for pgsql'
> + echo -n 'checking for pgsql... '
> checking for pgsql... + test set = set
> + withval=/usr
> + test /usr '!=' no
> + echo 'configure:4537: result: yes'
> + echo yes
> yes
> + LIBPQ_HOME=/usr
> ................
>
> Which seems wrong to me, as static is disabled.
>
> When I remove the --disable-static option, things work fine:
>
> + pgsql_include=/usr/include/postgresql
> + echo 'configure:4508: result: yes'
> + echo yes
> yes
> + test '' = set
> + pg_debug_build=no
> + test '' = set
> + pg_static_build=no
> + echo 'configure:4529: checking for pgsql'
> + echo -n 'checking for pgsql... '
>
> So The're seems to be a bug in configure while evaluating
> options which are not valid.
>
> I'll leave out the option for now.
>
> Regards,
>
> Joost Helberg
>
> --
> Joost Helberg
> Snow B.V.        http://snow.nl Tel 0418-653333 Fax 0418-653666
> Voorzitter VOSN  http://www.vosn.nl Tel 0418-653336 Fax 0418-653666
>

pgadmin-hackers by date:

Previous
From: "Stefan Csomor"
Date:
Subject: Re: xrc Fonts / resizing
Next
From: Jean-Michel POURE
Date:
Subject: Re: pgAdmin3 Turkish lang file...