Build problems with 1.2.2

From: Jyrki Wahlstedt <jyrki(dot)wahlstedt(at)hut(dot)fi>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Build problems with 1.2.2
Date: 2005-06-01 06:53:32
Message-ID: E20A07BE-365A-4A0A-BB64-47DD7616E174@hut.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,
I downloaded 1.2.2 source package (gzipped, could bzip2 perhaps be
added to options?). At least with me (OS X 10.4.1, gcc 4.0, wx from
darwinports) the configure process does not seem to be able to add
the correct wx library specs to Makefiles (the svn checkout'd is)
(the configuration is with --enable-appbundle --enable-static --with-
wx=/usr/local):
LIBS = /usr/local/pgsql/lib/libpq.a -lssl -lcrypto
instead of:
LIBS = -lssl -lcrypto -lpq -L/usr/local/lib -L/usr/local/lib -L/usr/
local/lib\
-framework QuickTime -framework IOKit -framework Carbon -framework
Cocoa -fram\
ework System -lwx_macu-2.6 -L/usr/local/lib -L/usr/local/lib -L/
usr/local/li\
b -framework QuickTime -framework IOKit -framework Carbon -framework
Cocoa -fra\
mework System -lwx_macu_stc-2.6 -lwx_macu_ogl-2.6 -lwx_macu-2.6

Actually, there seems to be a build type mismatch, because if I drop
--enable-static in 1.2.2, I get at least identical LIBS spec to
1.3.0. 1.3.0 configure seems to use wx-config just with --libs
stc,ogl (WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} --libs stc,ogl`), which
produces the correct result. 1.2.2 configure adds --static to that
(WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl`)
causing problems (wx-config is confused by --static, at least in my
configuration).

The other problem is that when one tries to install, the file
'complete-bundle.sh' seems to be missing (applies to debug-bundle.sh,
too)!?

With those changes (dropping static from wx-config and copying
complete-bundle.sh from 1.3.0) it seems to build ok.

!
! Jyrki Wahlstedt
! Itsenäisyydenkatu 43 as 1 mob. +358-40-502 0164
! FI-28100 Pori
!
! Our life is no dream; but it ought to become one and perhaps will.
! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780
6366 EFD9 139C C386

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message svn 2005-06-01 16:49:20 SVN Commit by andreas: r4270 - trunk/pgadmin3/i18n/de_DE
Previous Message Dave Page 2005-05-31 18:32:20 Re: Pgadmin Brazilian Portuguese Translation