Compiling PHP on openSUSE
From Zanecorpwiki
Why compile PHP when it comes with SUSE? Because it's a good idea.
TODO: this list is not complete. By the time I got to PHP, other prerequisites had been pulled in by other processes.
Install the right package for your distro/machine type.
openSUSE 11.1 64 bit:
sudo zypper install libjpeg-devel-32bit libpng-devel-32bit libdb-4_5-devel gdbm-devel
openSUSE 11.1 32 bit:
sudo zypper install libjpeg-devel libpng-devel libdb-4_5-devel gdbm-devel
The 'libdb-4_5-devel' packages seems to frequently change names from distro to distro. On the 10.X branch, you also needed 'pkconfig', which is now 'pk-config', which may also be necessary but was already installed by the time I got around to PHP.


