Hi all,
I'm having trouble compiling/merging into the Ubuntu PHP source now,
included 5.3.2 with 10.04.
Here's what I'm doing:
sudo aptitude install fakeroot
apt-get source php5-common
apt-get build-dep php5-common
cd php5.3-x
svn co http://svn.php.net/repository/php/php-src/trunk/sapi/fpm sapi/
fpm
../buildconf --force
nano debian/rules
Added:
--enable-fpm --with-fpm-conf=/etc/php5/fpm/php-fpm.conf --enable-
fastcgi --with-libevent=/usr/lib
To the config rules. Then I proceed to build it:
sudo dpkg-buildpackage -rfakeroot -b
But I end up with:
Whole bunch of compiling messages, then:
collect2: ld returned 1 exit status
make[1]: *** [sapi/fpm/php-fpm] Error 1
make[1]: Leaving directory `/home/nabeel/sources/php5-5.3.2/apache2-
build'
make: *** [build-apache2-stamp] Error 2
From this point, I'm not quite sure how to proceed. Any ideas? I'm
using spawn-fcgi for now until I can get this working.
Thanks all