Hi All
I did the HOWTO from
*
http://www.howtoforge.com/installing...sql_centos5.0*
Now I i got some problems by compiling the php.spec....
here is the error:
Code:
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing'
+ CPPFLAGS=-DLDAP_DEPRECATED=1
+ export CFLAGS CPPFLAGS
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.24067
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd php-5.1.6
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' /var/tmp/php-root '!=' / ']'
+ rm -rf /var/tmp/php-root
+ pushd build-cgi
/usr/src/redhat/BUILD/php-5.1.6/build-cgi /usr/src/redhat/BUILD/php-5.1.6
+ make install INSTALL_ROOT=/var/tmp/php-root
make: *** No rule to make target `install'. Stop.
error: Bad exit status from /var/tmp/rpm-tmp.24067 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.24067 (%install)
I changed also something in the php.spec, before i could start compiling. I had to ad %package mssql like this:
Code:
%package mssql
Group: Development/Languages
Requires: php = %{version}-%{release}, php-pdo
Summary: A module for PHP applications that use the MSSQL database.
provides: php_database
BuildRequires: freetds-devel
%description mssql
#The MSSQL package contains a dynamic shared object that will add support for accessing MSSQL databases to php.
If I would not add the package it will produce an other error..
Can someone please help me? i need the PHP-MSSQL connection..
Thx for your Help.
Greetings
Xloouch
Recent comments
17 hours 11 min ago
22 hours 16 min ago
1 day 2 hours ago
1 day 4 hours ago
1 day 18 hours ago
1 day 18 hours ago
1 day 23 hours ago
2 days 6 hours ago
2 days 7 hours ago
2 days 8 hours ago