On Fri, 1 Feb 2008, Milen A. Radev wrote:
> Scott Ehrlich =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0:
>> I've been fighting to get the latest source of pgadmin compiled on
Cento=
s 5=20
>> 64-bit.
>>=20
>> I obtained gnu-c++ (so it was happy with g++). It then complained
about=
=20
>> wxWidgets, so I obtained the source for that, compiled and installed,
an=
d=20
>> ./configure for pgadmin saw wxWidgets and was happy with that. Go
to=20
>> make...
>>=20
>> Starts to compile fine, then...
>>=20
>> In file included from ../pgadmin/include/pgAdmin3.h:23,
>> from ./pgAdmin3.cpp:13:
>> ../pgadmin/include/ctl/ctlSQLBox.h:17:69: error:=20
>> /home/scott/Desktop/wxGTK-2.8.7/contrib/include/stc/stc.h: No such file
=
or=20
>> 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:
>>=20
>>=20
> [...]
>
>
> Most probably you've missed the following part of the build
instructions=
=20
>
(http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/branches/REL-1_8_0_PATCHES/pg=
admin3/INSTALL?view=3Dmarkup):
>
>
> # 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=
=20
const*, wxMBConv const&, unsigned long)'
macros.cpp:(.text+0x1c20): undefined reference to
`wxString::wxString(char=
=20
const*, wxMBConv const&, unsigned long)'
macros.cpp:(.text+0x1c51): undefined reference to
`wxString::wxString(char=
=20
const*, wxMBConv const&, unsigned long)'
macros.cpp:(.text+0x1c67): undefined reference to
`wxString::Cmp(wchar_t=20
const*) const'
macros.cpp:(.text+0x1cfa): undefined reference to
`wxString::wxString(char=
=20
const*, wxMBConv const&, unsigned long)'
/usr/local/lib/libwx_gtk2u_ogl-2.8.so: undefined reference to=20
`wxStringList::Add(wchar_t const*)'
/usr/local/lib/libwx_gtk2u_ogl-2.8.so: undefined reference to=20
`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
[root@[EMAIL PROTECTED]
pgadmin3-1.8.1]#
Thanks.
Scott
>
> --=20
> 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


|