[Evolution-hackers] Evolution 2.0.3: Compilation query



      Hello there,
              I had a small problem compiling Evolution 2.0.3. I have
worked-around it, but maybe someone knows what is going on?

My complete script is at the bottom of this post, and it works, but I
needed to explicitly add /opt/evo-openldap/lib/libldap.a because
while configure successfully inserted -L/opt/evo-openldap/lib -lldap
this did not result in the library being loaded.

I have  gcc (GCC) 3.4.2 on Fedora core 3.

  Have I done something stupid or does configure need tweaking?

    Bill


#!/bin/sh

area=/data/evolution
dest=/opt/evo-2.0.3

cd $area

echo 
echo Next: libsoup-2.2.1
echo 
pushd libsoup-2.2.1
./configure --prefix=$dest/ 
make
sudo make install
popd

echo 
echo Next: gtkhtml-3.2.4
echo 
pushd gtkhtml-3.2.4
PKG_CONFIG_PATH=$dest/lib/pkgconfig/ ./configure --prefix=$dest/
make
sudo make install
popd


echo 
echo Next: gal-2.2.4
echo 
pushd gal-2.2.4
./configure --prefix=$dest/
make
sudo make install
popd

echo 
echo Next: evolution-data-server-1.0.3
echo 
pushd evolution-data-server-1.0.3
./configure --prefix=$dest/ --with-openldap=/opt/evo-openldap
make
sudo make install
popd

echo 
echo Next: ximian-connector-2.0.3
echo 
pushd ximian-connector-2.0.3
PKG_CONFIG_PATH=$dest/lib/pkgconfig/ ./configure --prefix=$dest  --with-
openldap=/opt/evo-openldap
sed -i "s/-L\/opt\/evo-openldap\/lib -lldap/ \/opt\/evo-openldap\/lib
\/libldap.a -L\/opt\/evo-openldap\/lib -lldap/" lib/Makefile
sed -i "s/-L\/opt\/evo-openldap\/lib -lldap/ \/opt\/evo-openldap\/lib
\/libldap.a -L\/opt\/evo-openldap\/lib -lldap/" storage/Makefile
make
sudo make install
popd


echo 
echo Next: evolution-2.0.3
echo 
pushd evolution-2.0.3
PKG_CONFIG_PATH=$dest/lib/pkgconfig/ ./configure --prefix=$dest  --with-
openldap=/opt/evo-openldap --with-krb5=/usr
make
sudo make install
popd








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]