enabling xslt on php install
[as seen on php.net]
If you're on a new Linux machine (especially CentOS), you'll need to install all the *-devel versions of stuff you want to compile against. This takes care of a lot of 'em:
# yum install httpd-devel ===>httpd-devel-2.0.40-11.9.i386.rpm
# yum install bzip2-devel ===>bzip2-devel-1.0.2-5.i386.rpm
# yum install libjpeg-devel ===>libjpeg-devel-6b-21.i386.rpm
# yum install libpng-devel ===>libpng-devel-1.2.2-8.i386.rpm
# yum install freetype-devel ===>freetype-devel-2.1.2-7.i386.rpm
# yum install imap-devel ===>imap-devel-2001a-15.i386.rpm
# yum install mysql-devel ===>mysql-devel-3.23.58-1.80.i386.rpm
# yum install postgresql-devel ===>postgresql-devel-7.2.4-5.80.i386.rpm
# yum install pspell-devel ===>pspell-devel-0.12.2-14.i386.rpm
# yum install net-snmp-devel ===>net-snmp-devel-5.0.9-2.80.1.i386.rpm
# yum install unixODBC-devel ===>unixODBC-devel-2.2.2-3.i386.rpm
===>unixODBC-2.2.2-3.i386.rpm
===>cups-libs-1.1.17-0.9.i386.rpm
===>XFree86-Mesa-libGLU-4.2.1-23.i386.rpm
===>qt-3.0.5-17.i386.rpm
---on to original php posting---
If your 'make' is complaining about not finding -lstdc++, you'll need to install libstdc++-devel:
# yum install libstdc++-devel
Also, make sure you have the libstdc++, but that usually comes standard. You can check by doing: # yum info libstdc++
This is, of course, in addition to exporting:
# export LDFLAGS=-lstdc++
# export EXTRA_LDFLAGS=-lstdc++
The issue will be coming from the Makefile, so you could edit that file also to include these in their definitions instead.
Remember, if you have to run make again, you should start off fresh with:
# make clean
If you're on a new Linux machine (especially CentOS), you'll need to install all the *-devel versions of stuff you want to compile against. This takes care of a lot of 'em:
# yum install httpd-devel ===>httpd-devel-2.0.40-11.9.i386.rpm
# yum install bzip2-devel ===>bzip2-devel-1.0.2-5.i386.rpm
# yum install libjpeg-devel ===>libjpeg-devel-6b-21.i386.rpm
# yum install libpng-devel ===>libpng-devel-1.2.2-8.i386.rpm
# yum install freetype-devel ===>freetype-devel-2.1.2-7.i386.rpm
# yum install imap-devel ===>imap-devel-2001a-15.i386.rpm
# yum install mysql-devel ===>mysql-devel-3.23.58-1.80.i386.rpm
# yum install postgresql-devel ===>postgresql-devel-7.2.4-5.80.i386.rpm
# yum install pspell-devel ===>pspell-devel-0.12.2-14.i386.rpm
# yum install net-snmp-devel ===>net-snmp-devel-5.0.9-2.80.1.i386.rpm
# yum install unixODBC-devel ===>unixODBC-devel-2.2.2-3.i386.rpm
===>unixODBC-2.2.2-3.i386.rpm
===>cups-libs-1.1.17-0.9.i386.rpm
===>XFree86-Mesa-libGLU-4.2.1-23.i386.rpm
===>qt-3.0.5-17.i386.rpm
---on to original php posting---
If your 'make' is complaining about not finding -lstdc++, you'll need to install libstdc++-devel:
# yum install libstdc++-devel
Also, make sure you have the libstdc++, but that usually comes standard. You can check by doing: # yum info libstdc++
This is, of course, in addition to exporting:
# export LDFLAGS=-lstdc++
# export EXTRA_LDFLAGS=-lstdc++
The issue will be coming from the Makefile, so you could edit that file also to include these in their definitions instead.
Remember, if you have to run make again, you should start off fresh with:
# make clean
0 Comments:
Post a Comment
<< Home