Skip site navigation (1) Skip section navigation (2)

Re: compiling problem

From: Raphaël Enrici <blacknoz(at)club-internet(dot)fr>
To: Dirk Dil <mejerdil(at)pt(dot)lu>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: compiling problem
Date: 2004-02-22 10:56:04
Message-ID: 40388AC4.9000009@club-internet.fr (view raw or flat)
Thread:
Lists: pgadmin-support
Hi Dirk,

can you also precise the distribution you are building on ?
If rpm or deb based isn't it possible for you to use binary packages or 
rebuild from source packages with some hack to suite your needs ?

Regards,
Raphaël

Dirk Dil wrote:

>Hello people,
>
>After having downloaded PostgreSQL, wxWindows-pgAdmin3-20031010-7 and
>pgadmin3-1.0.2, I'm stuck on the following error:
>
>during make for pgadmin3-1.0.2:
>
>xrcDialogs.o: In function
>`wxMemoryFSHandler::wxMemoryFSHandler[in-charge]()':
>/home/setup/dirk/pgadmin3-1.0.2/src/ui/common/xrcDialogs.cpp:6058:
>undefined reference to
>`wxMemoryFSHandlerBase::wxMemoryFSHandlerBase[not-in-charge]()'
>xrcDialogs.o: In function
>`wxMemoryFSHandler::wxMemoryFSHandler[in-charge]()':
>/opt/wxwindows/include/wx/string.h:702: undefined reference to `vtable
>for wxMemoryFSHandler'
>collect2: ld returned 1 exit status
>make[2]: *** [pgadmin3] Error 1
>make[2]: Leaving directory `/home/setup/dirk/pgadmin3-1.0.2/src'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/home/setup/dirk/pgadmin3-1.0.2'
>make: *** [all] Error 2
>
>I installed PostgreSQL with 
>../configure --prefix=/opt/postgresql-7.4.1
>
>wxWindows-pgAdmin3-20031010-7
>/configure --prefix=/opt/wxwindows --with-gtk --enable-gtk2 \
>--enable-unicode --disable-shared --enable-debug
>
>and pgadmin3-1.0.2 with
>../configure --prefix=/opt/postgresql-7.4.1/ --enable-static
>--enable-debug --with-pgsql=/opt/postgresql-7.4.1/
>--with-wx=/opt/wxwindows
>
>I seem to get lots of the following messages during the make stage:
>
>home/setup/dirk/pgadmin3-1.0.2/src/ui/common/xrcDialogs.cpp:6128:
>undefined reference to `wxString::wxString[in-charge](wchar_t const*)'
>/home/setup/dirk/pgadmin3-1.0.2/src/ui/common/xrcDialogs.cpp:6128:
>undefined reference to `wxXmlResource::Get()'
>
>They all make reference to wxString and wxXmlResource.  So I suppose
>something went wrong in the second and third compilations of wxwindows.
>I have checked the makefile's in contrib/src/stc and xrc and they prefix
>/opt/wxindows and I used the commands as prescibed.  I can't figure out 
>what went wrong then.....
>
>my system uses:
>gcc 3.2.1
>glibc 2.3.1
>linux 2.4.20
>
>Any pointers?
>
>Dirk
>  
>


In response to

Responses

pgadmin-support by date

Next:From: Raphaël EnriciDate: 2004-02-22 11:20:28
Subject: Re: compiling problem
Previous:From: Dirk DilDate: 2004-02-22 10:24:46
Subject: compiling problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group