Re: Compilation problems

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Diego <diegoman(at)usuarios(dot)retecal(dot)es>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Compilation problems
Date: 2004-03-20 08:49:06
Message-ID: 405C0582.6060208@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Raphaël Enrici 2004-03-20 17:03:49 pgadmin3 accepted into Debian
Previous Message Diego 2004-03-19 23:56:12 Compilation problems

Browse pgadmin-support by date

  From Date Subject
Next Message Diego 2004-03-20 21:02:36 Re: Compilation problems
Previous Message Diego 2004-03-19 23:56:12 Compilation problems