From: | "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk> |
---|---|
To: | <jm(dot)poure(at)freesurf(dot)fr>, <pgadmin-hackers(at)postgresql(dot)org> |
Cc: | "Andreas Pflug" <Andreas(dot)Pflug(at)web(dot)de> |
Subject: | Re: Linking error (same old story) |
Date: | 2003-06-09 14:36:09 |
Message-ID: | 03AF4E498C591348A42FC93DEA9661B83AF104@mail.vale-housing.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
> -----Original Message-----
> From: Jean-Michel POURE [mailto:jm(dot)poure(at)freesurf(dot)fr]
> Sent: 09 June 2003 06:59
> To: pgadmin-hackers(at)postgresql(dot)org
> Cc: Dave Page; Andreas Pflug
> Subject: Re: [pgadmin-hackers] Linking error (same old story)
>
>
> > I've tried to help you a couple of times with this but you never
> > replied to any of my emails.
>
> Thanks Dave for your various emails which helped. I read your
> emails ... By
> the way, wxGTK 2.4 does not even ./configure under RedHat 9.
> So, wxGTK 2.5 is
> the only solution...
>
> > I too cannot link under Linux - after discussion with Andreas, we
> > should be using the 2003-06-07 CVS snapshot so we're at least all
> > running the same version. In your case though, it looks like you
> > didn't compile debug version of wx (--enable-debug).
>
> I would like to create a wxGTK 2.5 rpm to be sure we use the
> same environment.
>
> Could someone confirm the required configuration options
> (Andreas?): --enable-debug --with-gtk --enable-gtk2
> --enable-unicode --disable-shared
OK, I've run:
./configure --enable-debug --with-gtk --enable-gtk2 --enable-unicode
./configure --with-gtk --enable-gtk2 --enable-unicode
And compiled and installed wx, src and stc (the 20030607 CVS release,
with Andreas' patch).
I then configured pgAdmin with:
./configure --wit-wx=/usr/local/wx25 --with-pgsql=/usr/local/pgsql
--enable-unicode --enable-gtk2
Which gets me the following:
root(at)snake:/usr/local/src/pgadmin3# make all
make all-recursive
make[1]: Entering directory `/usr/local/src/pgadmin3'
Making all in src
make[2]: Entering directory `/usr/local/src/pgadmin3/src'
g++ -DDATA_DIR=\"/usr/local/pgadmin3/share/pgadmin3/\" -Wall -g
-I./include/ -I -g -O2 -L/usr/local/pgsql/lib -L/usr/local/wx25/lib -o
pgAdmin3 pgAdmin3.o pgConn.o pgSet.o pgAggregate.o pgCast.o pgCheck.o
pgCollection.o pgColumn.o pgConstraints.o pgConversion.o pgDatabase.o
pgDomain.o pgForeignKey.o pgFunction.o pgGroup.o pgIndex.o
pgIndexConstraint.o pgLanguage.o pgObject.o pgOperator.o
pgOperatorClass.o pgRule.o pgSchema.o pgSequence.o pgServer.o pgTable.o
pgTrigger.o pgType.o pgUser.o pgView.o pgDatatype.o ctlSQLBox.o
ctlSQLResult.o dlgAddTableView.o events.o frmAbout.o
frmChildTableViewFrame.o frmConnect.o frmMain.o frmOptions.o
frmPassword.o frmQuery.o frmQueryBuilder.o frmHelp.o frmQBJoin.o
frmSplash.o frmVacuum.o frmEditGrid.o dlgProperty.o dlgUser.o dlgGroup.o
dlgDatabase.o dlgLanguage.o dlgSchema.o dlgDomain.o dlgTable.o
dlgColumn.o dlgIndex.o dlgFunction.o dlgView.o dlgRule.o dlgOperator.o
dlgAggregate.o dlgCast.o dlgConversion.o dlgIndexConstraint.o
dlgForeignKey.o dlgSequence.o dlgTrigger.o dlgType.o dlgCheck.o
frmStatus.o misc.o sysLogger.o sysSettings.o -lssl -lcrypto -lpq
-lwx_gtk2ud_stc-2.5 -lwx_gtk2ud_xrc-2.5 -L/usr/local/wx25/lib -pthread
/usr/local/wx25/lib/libwx_gtk2u-2.5.a -Wl,--export-dynamic -pthread
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
-lgthread-2.0 -lglib-2.0 -lpng -ljpeg -ltiff -lz -Wl,--export-dynamic
-lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
-lm
pgSet.o(.text+0xa27): In function `pgQueryThread::execute()':
/usr/local/include/wx/wxchar.h:573: undefined reference to
`wxString::ConcatSelf(int, wchar_t const*)'
pgDatatype.o(.text+0xc4): In function
`pgDatatype::pgDatatype[not-in-charge](wxString const&, long, long)':
/usr/local/include/wx/wxchar.h:573: undefined reference to
`wxString::ConcatSelf(int, wchar_t const*)'
pgDatatype.o(.text+0x133): In function
`pgDatatype::pgDatatype[not-in-charge](wxString const&, long, long)':
/usr/local/include/wx/string.h:343: undefined reference to
`wxString::ConcatSelf(int, wchar_t const*)'
pgDatatype.o(.text+0x179): In function
`pgDatatype::pgDatatype[not-in-charge](wxString const&, long, long)':
/usr/local/include/wx/wxchar.h:573: undefined reference to
`wxString::ConcatSelf(int, wchar_t const*)'
pgDatatype.o(.text+0x1b8): In function
`pgDatatype::pgDatatype[not-in-charge](wxString const&, long, long)':
/usr/local/include/wx/string.h:343: undefined reference to
`wxString::ConcatSelf(int, wchar_t const*)'
pgDatatype.o(.text+0x24c):/usr/local/include/wx/string.h:343: more
undefined references to `wxString::ConcatSelf(int, wchar_t const*)'
follow
sysLogger.o(.text+0x787): In function `sysLogger::WriteLog(wxString
const&)':
/usr/local/include/wx/string.h:448: undefined reference to
`wxFFile::wxFFile[in-charge](wchar_t const*, char const*)'
sysSettings.o(.text+0x6c): In function
`sysSettings::sysSettings[not-in-charge](wxString const&)':
/usr/local/include/wx/string.h:308: undefined reference to
`wxFileConfig::wxFileConfig[not-in-charge](wxString const&, wxString
const&, wxString const&, wxString const&, long)'
sysSettings.o(.text+0xd20): In function
`sysSettings::sysSettings[in-charge](wxString const&)':
/usr/local/include/wx/string.h:308: undefined reference to
`wxFileConfig::wxFileConfig[not-in-charge](wxString const&, wxString
const&, wxString const&, wxString const&, long)'
collect2: ld returned 1 exit status
make[2]: *** [pgAdmin3] Error 1
make[2]: Leaving directory `/usr/local/src/pgadmin3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/pgadmin3'
make: *** [all] Error 2
Any ideas anyone? As Jean-Michel asked, what options are you guys
configuring with?
Regards, Dave.
BTW: Works fine under Win32 with wx25...
From | Date | Subject | |
---|---|---|---|
Next Message | Jean-Michel POURE | 2003-06-09 17:38:20 | Successfull build |
Previous Message | Dave Page | 2003-06-09 10:02:02 | Re: pga2: fix select when schena is not selected |