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

From: Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr>
To: Vaclav Slavik <vaclav(dot)slavik(at)matfyz(dot)cz>
Cc: pgadmin-hackers(at)postgresql(dot)org, poedit-users(at)lists(dot)sourceforge(dot)net
Subject: Re: [poedit-users] poEdit compilation with Unicode/debug linked against GTK2
Date: 2003-07-02 10:56:20
Message-ID: 200307021256.20407.jm.poure@freesurf.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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:

[root(at)linus 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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Adam H. Pendleton 2003-07-02 11:29:33 Re: [pgadmin-support] copy paste ?
Previous Message Jean-Michel POURE 2003-07-02 10:33:09 Re: Request for translation of pgAdmin3 into Norvegian