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
3 hours 23 min ago
5 hours 6 min ago
7 hours 31 min ago
7 hours 38 min ago
12 hours 12 min ago
14 hours 12 min ago
17 hours 36 min ago
19 hours 42 min ago
19 hours 53 min ago
22 hours 20 min ago