Compilation problems

From: "Diego" <diegoman(at)usuarios(dot)retecal(dot)es>
To: <pgadmin-support(at)postgresql(dot)org>
Subject: Compilation problems
Date: 2004-03-19 23:56:12
Message-ID: 00b801c40e0d$c25a5480$8720ac51@diegou0v9nqnij
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Hi everyone! I'm having problems while compiling pgadmin3 1.0.2. I've
followed step
by step the compilation instructions on the web.

First of all, I compiled and installed Postgresql 7.4 without any problem.
Later I compiled and installed wxWindows 2.5 as stated on the web:

./configure --with-gtk --enable-gtk2 --enable-unicode --disable-shared --ena
ble-debug
make
make install

I also compiled and installed stc and xrc. Again, no problems.

Then, I tried to compile pgadmin. I wrote:

./configure --enable-static --enable-debug

And apparently, all went fine. But when I try to compile it, I get
*hundreds* of lines like these (the compilation log is almost 3 megs):

/temp/pgadmin3-1.0.2/src/pgAdmin3.cpp(.text+0x16): undefined reference to
`wxAppConsole::CheckBuildOptions(char const *, char const *)'
pgAdmin3.o: In function `wxGetApp(void)':
/temp/pgadmin3-1.0.2/src/pgAdmin3.cpp:66: undefined reference to
`wxAppConsole::GetInstance(void)'
pgAdmin3.o: In function `main':
/temp/pgadmin3-1.0.2/src/pgAdmin3.cpp:66: undefined reference to
`wxEntry(int &, char **)'
pgAdmin3.o: In function `pgAdmin3::OnInit(void)':
/temp/pgadmin3-1.0.2/src/pgAdmin3.cpp:75: undefined reference to
`wxString::wxString(wchar_t const *)'
/temp/pgadmin3-1.0.2/src/pgAdmin3.cpp:75: undefined reference to
`wxPathOnly(wxString const &)'

It looks like linking problems with wxWindows libraries. I know what to do
when a configure script fails, but this problem exceeds my knowledge and I
want a statically compiled version of pgadmin3 to be able to execute it on
other Linux machines without library dependencies problems.

I have tried to compile it on Debian Woody and Mandrake 9.1 and the same
problem occurs. With pgadmin3 1.0.1 the same problem arises. With 1.0.0, the
configure script complains about xrc not being installed, though it is.

What can I do to get it compiled?

Thanks a lot in advance.

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2004-03-20 08:49:06 Re: Compilation problems
Previous Message Adam H.Pendleton 2004-03-19 21:11:56 Error

Browse pgadmin-support by date

  From Date Subject
Next Message Andreas Pflug 2004-03-20 08:49:06 Re: Compilation problems
Previous Message Dave Page 2004-03-18 21:13:30 Re: pgadmin not responding