View Single Post
  #22  
Old 6th September 2006, 11:18
adrenalinic adrenalinic is offline
Senior Member
 
Join Date: Jan 2006
Posts: 200
Thanks: 3
Thanked 4 Times in 4 Posts
Default

line 816 of setup2 file:
###### Prüfen, ob PHP korrekt funktioniert ######
ispconfig_tmp/php/bin/php -n -q check.php
if [ ! -f php_check ]; then
if [ "$install_art" == "upgrade" ]; then
`echo $dist_init_scripts`/ispconfig_server restart &> /dev/null
fi
error "$q_php_check";
fi

__________________________________________________ _____
In compile file i have tryed to add first /usr/include and after /usr
The Compile file:
if [ $ARCH == "x86_64" ]; then
WITH_OPENSSL="--with-openssl"
if echo "$dist" | grep -q "fedora" || echo "$dist" | grep -q "suse" || echo "$dist" | grep -q "centos" ; then
mkdir -p /usr/local/lib/mysql &> /dev/null
ln -s /usr/include/mysql /usr/local/lib/mysql/include &> /dev/null
ln -s /usr/lib64/mysql /usr/local/lib/mysql/lib &> /dev/null

WITH_MYSQL="--with-mysql=/usr/local/lib/mysql"
WITH_ZLIB_DIR="--with-zlib-dir=/usr/lib64"
elif echo "$dist" | grep -q "mdk" || echo "$dist" | grep -q "mdr" ; then
mkdir -p /usr/local/lib/mysql &> /dev/null
ln -s /usr/include/mysql /usr/local/lib/mysql/include &> /dev/null
ln -s /usr/lib64 /usr/local/lib/mysql/lib &> /dev/null

WITH_MYSQL="--with-mysql=/usr/local/lib/mysql"
WITH_ZLIB_DIR="--with-zlib-dir=/usr/lib64"
else
WITH_MYSQL="--with-mysql=/usr"
WITH_ZLIB_DIR=""
fi
else
WITH_OPENSSL="--with-openssl=${INSTALL_ROOT}/openssl"
WITH_MYSQL="--with-mysql=/usr"
WITH_ZLIB_DIR=""
fi
__________________________________________________ __________
After this test, have tryed to reinstall manualy zlib and recompile using new secondary path of zlib /usr/local/include/ but with no success!...
Reply With Quote