Compilation problems

Поиск
Список
Период
Сортировка
От Diego
Тема Compilation problems
Дата
Msg-id 00b801c40e0d$c25a5480$8720ac51@diegou0v9nqnij
обсуждение исходный текст
Ответы Re: Compilation problems  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список 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.




В списке pgadmin-support по дате отправления:

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: pgadmin not responding
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: Compilation problems