Add new comment
Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
|
If you have installed PHP 5.2.6 from the test repo
/etc/yum.repos.d/centos-test.repo: [c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/5/testing/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testinginstead of the default 5.1.6, some aditional changes have to be made in order to compile properly. In php.spec: Original: Patch0: php-5.2.6-suhosin.patch Patch1: php-5.2.4-gnusrc.patch ..... %patch0 -p1 -b .suhosin %patch1 -p1 -b .gnusrcReplace with: Patch0: php-5.2.6-suhosin.patch #Patch1: php-5.2.4-gnusrc.patch ..... %patch0 -p1 -b .suhosin #%patch1 -p1 -b .gnusrcI had to comment out the php-5.2.4-gnusrc.patch because of a tip found here. After that, libiconv wasn't found; so i changed in "php.spec" line 398: --with-iconv \ to: --with-iconv=/usr/local/lib/libiconv.so \ And than it compiled correctly: ![]() @falko: Thanks for your GREAT guides! It really helps a lot :D
Reply |







Recent comments
9 hours 27 min ago
15 hours 15 min ago
17 hours 6 min ago
18 hours 51 min ago
22 hours 42 min ago
1 day 4 hours ago
1 day 4 hours ago
1 day 8 hours ago
1 day 14 hours ago
1 day 19 hours ago