Welcome! Log In Create A New Profile

Advanced

Compiling against Ubuntu 5.3.2

Posted by nabeel 
Compiling against Ubuntu 5.3.2
April 30, 2010 10:52AM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 220
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready