Re: [pgadmin-hackers] [poedit-users] poEdit compilation with Unicode/debug linked against GTK2

2003-07-02 Thread Vaclav Slavik
Hi,

[please either mail to me or to poedit-users, but don't send same 
message to both addresses]

Jean-Michel POURE wrote:
 If you could help us compiling poEdit against our wxGTK2ud
 packages, we could provide you with semistatic builds of poEdit.
 Information about our snapshots can be found here:

 http://cvs.pgadmin.org/cgi-bin/viewcvs.cgi/*checkout*/pgadmin3/docs
/en_US/snapshots.html

 Do you think it is possible?

You *can* compile poEdit against wx-2.5 without any problems. I 
already told you what you are doing wrong: if you tell 
rpmbuild/configure to build semistatic binary, then it obeys. Of 
course it fails if you are forcing it to do something that requires 
libraries that you didn't install. Either don't use 
--enable-semistatic or install static libdb, it's really that simple. 
You *don't* have to use --enable-semistatic if you don't want to use 
shared library version of wxGTK -- all you have to do is to install 
static version of wxGTK and use it.

Regards,
Vaclav

-- 
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x465264C9


pgp0.pgp
Description: signature


Re: [pgadmin-hackers] [poedit-users] poEdit compilation with Unicode/debug linked against GTK2

2003-07-02 Thread Jean-Michel POURE
Dear Vaclav ,

Thank you very much for your answer. I thank you in advance for your time and 
help.

 You *can* compile poEdit against wx-2.5 without any problems. I
 already told you what you are doing wrong: if you tell
 rpmbuild/configure to build semistatic binary, then it obeys. Of
 course it fails if you are forcing it to do something that requires
 libraries that you didn't install.

I have the necessary wxGTK2 libraries installed with Unicode and Debug options 
and linked against GTK2.

I told the rpm to rebuild with semistatic, but it fails during linking. Some 
library is missing.

 Either don't use
 --enable-semistatic or install static libdb, it's really that simple.
 You *don't* have to use --enable-semistatic if you don't want to use
 shared library version of wxGTK -- all you have to do is to install
 static version of wxGTK and use it.

Under RedHat 9, static libdb is available from db4-devel, probably without 
debug:

[EMAIL PROTECTED] root]# rpm -ql db4-devel
/usr/include/cxx_common.h
/usr/include/cxx_except.h
/usr/include/db.h
/usr/include/db4
/usr/include/db4/cxx_common.h
/usr/include/db4/cxx_except.h
/usr/include/db4/db.h
/usr/include/db4/db_185.h
/usr/include/db4/db_cxx.h
/usr/include/db_185.h
/usr/include/db_cxx.h
/usr/lib/libdb-4.0.a
/usr/lib/libdb-4.0.la
/usr/lib/libdb.so
/usr/lib/libdb_cxx-4.0.a
/usr/lib/libdb_cxx-4.0.la
/usr/lib/libdb_cxx.so

Any help or idea is welcome.

Cheers,
Jean-Michel


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html