From: Bertram, A. <ber...@um...> - 2009-03-26 13:00:07
|
Hi Maria, It looks like your problem is that you're using Slackware. Which isn't in and of itself a bad thing, but it doesn't provide the headers you need in its gdbm package, and it doesn't provide them in a gdbm-devel package like other distributions do. You do have a few options available though. Option 1) Find a slackware package that supplies the libgdbm-compat library and ndbm.h header Option 2) Find an rpm package that supplies the above, and maybe you'll need to find a matching gdbm package as well, but you'd use rpm2targz to make a slackware compatible package from it Option 3) Recompile gdbm on your own, and when you do so, run "make install-compat" as described in gdbm's README Cheers, Albert ________________________________________ From: Maria I. Tchalakova [mar...@gm...] Sent: Thursday, March 26, 2009 7:03 AM To: inf...@li... Cc: mar...@gm... Subject: [infomap-nlp-users] Problem with installing Infomap - DBM libraries not found Hello, I am trying to install the Infomap NLP software, which I downloaded from here: http://sourceforge.net/project/showfiles.php?group_id=99109 but I have problems. I am using Slackware. After I ran ./configure, I got the following message: configure: WARNING: configure could not find all of the necessary DBM functions. (dbm_open, dbm_close, dbm_fetch, dbm_store). This probably means that configure could not find your DBM library, or that you do not have a DBM library installed. (See above output for the results of library checks.) Please install a DBM-compatible library (such as GNU DBM). I have tried several things to solve the problem (to make configure find the necessary DBM functions/libraries), and I am listing what I have done below. Unfortunately, I still get the same error message, when I run ./configure. After I run 'set', I get: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig which looks Ok. After I type: find / | grep -i dbm I got lots of matches, among other: /var/log/packages/gdbm-1.8.3-i486-4 /var/log/scripts/gdbm-1.8.3-i486-4 /usr/lib/libgdbm.so.2.0.0 which means that I have gdbm already installed. I have added the paths of the dbm libraries in my PATH in the .bash_profile file (not sure whether it was necessary, but wouldn't hurt, I guess). Now the PATH variable looks like this: PATH=$PATH:$HOME/bin:/home/gemm/my_programs/jdk1.6.0._07/:/var/log/packages/gdbm-1.8.3-i486-4/:/var/log/scripts/gdbm-1.8.3-i486-4/:/usr/lib/libgdbm.so.2.0.0/:/usr/lib/ I have also tried: ./configure LDFLAGS=-L/usr/lib and ./configure LDFLAGS=-L/usr/lib CPPFLAGS=-I/usr/include What should I do? Do I have to change something in the configure script? Any comments and suggestions would be appreciated. Thank you. Maria Tchalakova ------------------------------------------------------------------------------ _______________________________________________ infomap-nlp-users mailing list inf...@li... https://lists.sourceforge.net/lists/listinfo/infomap-nlp-users |