pgadmin 1.0.1 fails to build

From: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: pgadmin 1.0.1 fails to build
Date: 2003-10-17 21:40:50
Message-ID: 3F9061E2.7040105@club-internet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi all,

I'm sorry, I'm really late in producing packages for the 1.0.1.
I tried the build tonight after I saw dave's announce and pgA3 fails to
build with the following error (at the end of the build):

g++ -DDATA_DIR=\"/usr/share/pgadmin3/\" -Wall -g -I../src/include -I/usr
-g -O2 -L/usr/local/pgsql/lib -L/usr/lib -o pgadmin3 pgAdmin3.o
pgConn.o pgSet.o keywords.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 frmExport.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 frmMaintenance.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 xrcDialogs.o -lssl -lcrypto -lpq
pgAdmin3.o: In function `pgAdmin3 type_info function':
/BUILD_BETA/MY_PGADMIN3/AUTO_PGADMIN/build/debian/pgadmin3-1.0.1/src/pgAdmin3.cpp(.text+0x15):
undefined reference to `wxAppConsole::CheckBuildOptions(char const
*, char const *)'
/BUILD_BETA/MY_PGADMIN3/AUTO_PGADMIN/build/debian/pgadmin3-1.0.1/src/pgAdmin3.cpp(.text+0x2d):
undefined reference to `wxApp::wxApp(void)'
pgAdmin3.o: In function `wxGetApp(void)':
/usr/include/wx/app.h:290: undefined reference to
`wxAppConsole::ms_appInstance'
pgAdmin3.o: In function `main':
/BUILD_BETA/MY_PGADMIN3/AUTO_PGADMIN/build/debian/pgadmin3-1.0.1/src/pgAdmin3.cpp:66:
undefined reference to `wxEntry(int &, char **)'
pgAdmin3.o: In function `pgAdmin3::OnInit(void)':
/usr/include/wx/string.h:316: undefined reference to `wxStringBase::npos'
/usr/include/wx/string.h:316: undefined reference to
`wxStringBase::InitWith(wchar_t const *, unsigned int, unsigned int)'
pgAdmin3.o: In function `pgAdmin3::OnInit(void)':
/BUILD_BETA/MY_PGADMIN3/AUTO_PGADMIN/build/debian/pgadmin3-1.0.1/src/pgAdmin3.cpp:75:
undefined reference to `wxPathOnly(wxString const &)'
and so on....

I use 20031010 wx snapshot.
It looks like the wx libs are not linked to pga3 (isn't it ?). I precise
that I do not give the --enable-static to configure (I'll have a try
with it tomorrow morning) and I also precise that I use exactly the same
build process for release stages and snapshots (latest snapshot
[20031014] built without any problem).

If anyone has an idea...

Regards,
Raphaël

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Hiroshi Saito 2003-10-17 21:48:08 Re: Font debugging code
Previous Message Adam H. Pendleton 2003-10-17 16:24:11 Re: acinclude Patch