pgadmin 1.0.1 fails to build - Mailing list pgadmin-hackers

From Raphaël Enrici
Subject pgadmin 1.0.1 fails to build
Date
Msg-id 3F9061E2.7040105@club-internet.fr
Whole thread Raw
List 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


pgadmin-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: Font debugging code
Next
From: "Hiroshi Saito"
Date:
Subject: Re: Font debugging code