Quote:
Code:
# Download Berkeley DB source (most up2date at time or writting)
/db-4.7.25.NC.zip
# Download Netatalk source (most up2date at time or writting)
/2.0.4/netatalk-2.0.4.tar.gz?use_mirror=kent
# unpkack BerkeleyDB
unzip -d db-4.7.25.NC
# Change to the unpacked source dir
cd db-4.7.25.NC/build_unix
# Install some pre-reqs (you may not need these?) these are for both BerkeleyDB and netatalk
sudo yum install cracklib2 openssl.x86_64 libssl-dev
# and compile and install the BerkeleyDB
../dist/configure
make
sudo make install
# go up directories and unpack netatalk
cd ../../
gunzip -d netatalk-2.0.4.tar.gz
tar -xf netatalk-2.0.4.tar
cd netatalk-2.0.4
# compile with the red hat options and then install
./compile --enable-redhat
make
sudo make install
# all done!
|
Hello - I tried to get this going on Centos 5.3, 64-bit. I basically followed r00tb00t's instructions, not exactly, but I did fail. Can anyone help?
What I did: used latest version of BerkeleyDB from Oracle, which was 4.8.24.NC and latest Netatalk, 2.0.4. Following the guide from the Netatalk site, I configured bdb:
Code:
# ../dist/configure --prefix=/usr/bdb --disable-shared --with-mutex=x86_64/gcc-assembly
That completed without error. Then I configured Netatalk:
Code:
# ./configure --enable-redhat --with-bdb=/usr/bdb
which produced the error below.
Code:
checking for Berkeley DB headers in /usr/bdb/include/... yes
checking /usr/bdb/include//db.h version >= 4.1.0... yes
checking Berkeley DB library (-ldb48)... no
checking Berkeley DB library (-ldb4.8)... no
checking Berkeley DB library (-ldb-48)... no
checking Berkeley DB library (-ldb-4.8)... no
checking for Berkeley DB headers in /usr/bdb/include/db4.7... no
checking for Berkeley DB headers in /usr/bdb/include/db47... no
checking for Berkeley DB headers in /usr/bdb/include/db4.6... no
checking for Berkeley DB headers in /usr/bdb/include/db46... no
checking for Berkeley DB headers in /usr/bdb/include/db4.5... no
checking for Berkeley DB headers in /usr/bdb/include/db45... no
checking for Berkeley DB headers in /usr/bdb/include/db4.4... no
checking for Berkeley DB headers in /usr/bdb/include/db44... no
checking for Berkeley DB headers in /usr/bdb/include/db4.3... no
checking for Berkeley DB headers in /usr/bdb/include/db43... no
checking for Berkeley DB headers in /usr/bdb/include/db4.2... no
checking for Berkeley DB headers in /usr/bdb/include/db42... no
checking for Berkeley DB headers in /usr/bdb/include/db4.1... no
checking for Berkeley DB headers in /usr/bdb/include/db41... no
checking for Berkeley DB headers in /usr/bdb/include/db4... no
Make sure you have the required Berkeley DB libraries AND headers installed.
You can download the latest version from -sleepycat
If you have installed BDB in a non standard location use the
--with-bdb=/path/to/bdb configure option and make sure
your linker is configured to check for libraries there.
configure: error: Berkeley DB library required but not found!
I feel it is close to working, or at least close to throwing up some even more problematic errors.. When I go to /usr/bdb/include this is what's there:
If I look in /use/bdb/lib there is:
Code:
libdb-4.8.a libdb.a
Perhaps those clues are enough for someone more experienced than me to pick out the problem and suggest a solution!
Oh, I do have openssl.x86_64 installed, but my stock YUM would not let me get cracklib2 or libssl-dev.
Thank you.