Posts Tagged ‘ centos ’
After doing all yesterday I realized that the buildrpm program recompiles based on the SPEC and ignores the binaries that i build so we need to edit the SPEC and try again. So we start with editing the SPEC #nano /usr/src/redhat/SPECS/php.spec Need to find the line that startswith %configure \ following are all the options we make what ever changes [ READ MORE ]
I need to have more options turned on than what the 5.4 distribution comes with like phpDOM XML mySQL GD to mention a few so… My current build looks like this (if you don’t know what your current build looks like google phpinf.cgi) ‘./configure’ ‘–host=x86_64-redhat-linux-gnu’ ‘–build=x86_64-redhat-linux-gnu’ ‘–target=x86_64-redhat-linux’ ‘–program-prefix=’ ‘–prefix=/usr’ ‘–exec-prefix=/usr’ ‘–bindir=/usr/bin’ ‘–sbindir=/usr/sbin’ ‘–sysconfdir=/etc’ ‘–datadir=/usr/share ‘ ‘–includedir=/usr/include’ ‘–libdir=/usr/lib64′ [ READ MORE ]