Hi Emad,
What works for me on Ubuntu:
tar xzf infomap-nlp-0.8.6.tar.gz
cd infomap-nlp-0.8.6/
find . -type f -exec sed -e 's/gdbm\/ndbm.h/gdbm-ndbm.h/' -i {} \;
./configure
make
make install
You, of course, may want to set your own flags to this as well. Also, you'll need the libgdbm and libgdbm-dev packages installed.
The problem is that the ndbm.h file is put in different places under different flavors of linux. Furthermore these two places happen to conflict in ways that make trouble for autoconf. The solution I suggested here will tell configure to look in the right place for your flavor of linux.
Cheers,
Albert Bertram
________________________________
From: Emad Nawfal (???? ????) [mailto:ema...@gm...]
Sent: Wed 9/24/2008 6:37 PM
To: inf...@li...
Subject: [infomap-nlp-users] n
Hi,
I'm trying to install infomap on my machine, but I get the following message:
configure has detected that you do not have an
appropriate ndbm header file installed on your
system. Compilation cannot proceed. Please install
ndbm.h or gdbm/ndbm.h on your system, or write to
inf...@li... for advice.
Is there any way this can be solved? I tried looking for the missing thing but could not find it. I have an Ubuntu Linux and I'm not a professional unix user.
Thank you
--
?? ???? ?????? ????? ????? ??? ???? ??? ????? ?? ?????? ????????.....???? ???????
"No victim has ever been more repressed and alienated than the truth"
Emad Soliman Nawfal
Indiana University, Bloomington
http://emnawfal.googlepages.com <http://emnawfal.googlepages.com/>
--------------------------------------------------------
|