Diego wrote:
>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.
>
Try configure's --with-wx=/usr/local/wx2.5 or wherever your wx.
installation went.
Regards,
Andreas