Hackworth, Keith A wrote:

No, I couldn't get the package to install, so I installed from source.

I went to sleepycat.com and downloaded the source.  I did the
configure/make/make install thing.

Then I created the BerkeleyDB link in /usr/local to link to the
BerkeleyDB.3.3 directory under there (it's required for DB_File).

After that, I went to search.cpan.org and downloaded the DB_File-1.808
module and installed it.

Keith

-----Original Message-----
Hackworth, Keith A wrote:



I had the same problem on my SuSe machine. Your Berkeley DB is too new. Try installing 3.3.11 instead - I was able to get that working with DB_File 1.808.

Keith

Matthias Keller wrote:


I just tried to get some stuff owrking on another System (same OS (SuSE 9.0)). But when trying to install DB_File as described in the INSTALL file, I get:

[...]
Writing Makefile for DB_File
cp DB_File.pm blib/lib/DB_File.pm
AutoSplitting blib/lib/DB_File.pm (blib/lib/auto/DB_File)
cc -c -I/usr/local/BerkeleyDB/include -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -pipe -DVERSION=\"1.808\" -DXS_VERSION=\"1.808\" -fPIC "-I/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE" -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t version.c
version.c:30:16: db.h: No such file or directory
make: *** [version.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible






Hi Keith

Well, to my understanding the one that gets installed by install DB_File IS actually 1.808 ?
I issued a search using i /DB_File/ and the only one I found was 1.808


and an explicit install of that failed with the same error.
Was that exactly what you did?

Thanks

Matt




Hi Keith

I finally did it, after searching a lot around I found that some users
had similiar problems with other applications.
The solution was to install db-devel 2.41.25-70 from the CD
After that the install DB_File worked like a charm :)

Thanks for everybodys help

Matt

Reply via email to