Why is mmdb dependency failing in configure?

Asked by Morten Kjeldgaard

I just downloaded and untarred your gpp4 tar file.

 ./configure chokes on mmdb requirements. So I installed mmdb-1.19-2.fc9.i386.rpm and configure still chokes on mmdb.

Any idea of what could be going wrong?

Question information

Language:
English Edit question
Status:
Solved
For:
gpp4 Edit question
Assignee:
No assignee Edit question
Solved by:
Morten Kjeldgaard
Solved:
Last query:
Last reply:
Revision history for this message
Morten Kjeldgaard (mok0) said :
#1

The configure script for gpp4 expects mmdb to use the pkg-config system to describe where its library and header files can be found.

Only the very newest package installations of mmdb include that file, but you can add it your self. Place the following text in a file in pkg-configs directory. Probably, it will be something like:

  /usr/lib/pkgconfig/mmdb.pc

Adjust the values of prefix, version, etc. to match your version of the mmdb library.

--- 8< ----
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include

Name: mmdb
Description: Macromolecular coordinate library
Version: 1.19
Requires:
Conflicts:
Libs: -L${libdir} -lmmdb
Cflags: -I${includedir}

Revision history for this message
Morten Kjeldgaard (mok0) said :
#2

After creating the file, test that it works:

  pkg-config --libs mmdb