On Fri, 1 Feb 2008, Milen A. Radev wrote:

Scott Ehrlich написа:
I've been fighting to get the latest source of pgadmin compiled on Centos 5 64-bit.

I obtained gnu-c++ (so it was happy with g++). It then complained about wxWidgets, so I obtained the source for that, compiled and installed, and ./configure for pgadmin saw wxWidgets and was happy with that. Go to make...

Starts to compile fine, then...

In file included from ../pgadmin/include/pgAdmin3.h:23,
                 from ./pgAdmin3.cpp:13:
../pgadmin/include/ctl/ctlSQLBox.h:17:69: error: /home/scott/Desktop/wxGTK-2.8.7/contrib/include/stc/stc.h: No such file or directory
./pgAdmin3.cpp:28:24: error: wx/ogl/ogl.h: No such file or directory
In file included from ../pgadmin/include/pgAdmin3.h:23,
                 from ./pgAdmin3.cpp:13:


[...]


Most probably you've missed the following part of the build instructions (http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/branches/REL-1_8_0_PATCHES/pgadmin3/INSTALL?view=markup):


# Install wxWidgets contrib modules.
cd contrib/
make
sudo make install


I certainly got further along, but then hit:

macros.o: In function `queryMacroList::queryMacroList(_xmlTextReader*)':
macros.cpp:(.text+0x1bf4): undefined reference to `wxString::wxString(char const*, wxMBConv const&, unsigned long)' macros.cpp:(.text+0x1c20): undefined reference to `wxString::wxString(char const*, wxMBConv const&, unsigned long)' macros.cpp:(.text+0x1c51): undefined reference to `wxString::wxString(char const*, wxMBConv const&, unsigned long)' macros.cpp:(.text+0x1c67): undefined reference to `wxString::Cmp(wchar_t const*) const' macros.cpp:(.text+0x1cfa): undefined reference to `wxString::wxString(char const*, wxMBConv const&, unsigned long)' /usr/local/lib/libwx_gtk2u_ogl-2.8.so: undefined reference to `wxStringList::Add(wchar_t const*)' /usr/local/lib/libwx_gtk2u_ogl-2.8.so: undefined reference to `wxFopen(wchar_t const*, wchar_t const*)'
collect2: ld returned 1 exit status
make[2]: *** [pgadmin3] Error 1
make[2]: Leaving directory `/home/scott/Desktop/pgadmin3-1.8.1/pgadmin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/scott/Desktop/pgadmin3-1.8.1'
make: *** [all] Error 2
[EMAIL PROTECTED] pgadmin3-1.8.1]#

Thanks.

Scott


--
Milen A. Radev


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

             http://archives.postgresql.org

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to