Hallo Leute,
ich verzweifle. Ich versuche seit Wochen mir einen Apache mit PHP/Freetype Support zu backen (speziell für Typo3). Ich habe schon das 10te Lamp-Tutorial studiert. Jetzt bin ich zwar schon ein ganzes Stück weiter, habe aber immer noch das Problem das ich keinen Freetype-Support in mein PHP bekomme. Unten habe ich mal meine Anweisungen angehängt und darunter die PHP Fehlermeldung. Bitte helft mir.
Gruß, Matthias !
cd /home/knauff/Downloads/lamp/openssl-0.9.6c
./config
make
make test
make install
cd /home/knauff/Downloads/lamp/mysql-3.23.49/
./configure --prefix=/usr/local/mysql \
--enable-assembler \
--with-innodb
make
make install
/usr/local/mysql/bin/mysql_install_db
echo /usr/local/mysql/lib/mysql >> /etc/ld.so.conf
ldconfig
cd /home/knauff/Downloads/lamp/mm-1.1.3
./configure
make
make test
make install
cd /home/knauff/Downloads/lamp/mod_ssl-2.8.7-1.3.23
./configure --with-apache=/home/knauff/Downloads/lamp/apache_1.3.23 \
--with-ssl=/usr/local/ssl \
--enable-shared=ssl \
--with-mm=/home/knauff/Downloads/lamp/mm-1.1.3
cd /home/knauff/Downloads/lamp/mod_perl-1.26
perl Makefile.PL \
EVERYTHING=1 \
APACHE_SRC=../apache_1.3.23/src \
USE_APACI=1 \
PREP_HTTPD=1 \
DO_HTTPD=1
make
make install
cd /home/knauff/Downloads/lamp/apache_1.3.23
./configure --prefix=/usr/local/apache \
--enable-module=all \
--enable-module=so
make
cd /home/knauff/Downloads/lamp/apache_1.3.23
EAPI_MM="/home/knauff/Downloads/lamp/mm-1.1.3" SSL_BASE="/usr/local/ssl" \
./configure \
--enable-module=unique_id \
--enable-module=rewrite \
--enable-module=speling \
--enable-module=expires \
--enable-module=info \
--enable-module=log_agent \
--enable-module=log_referer \
--enable-module=usertrack \
--enable-module=proxy \
--enable-module=userdir \
--enable-module=so \
--enable-shared=ssl \
--enable-module=ssl \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl
make
make install
cd /usr/local/ssl/bin
./openssl req -new > new.cert.csr
./openssl rsa -in privkey.pem -out new.cert.key
./openssl x509 -in new.cert.csr -out new.cert.cert -req -signkey new.cert.key -days 999
cp new.cert.key /usr/local/apache/conf/ssl.key/server.key
cp new.cert.cert /usr/local/apache/conf/ssl.crt/server.crt
cd /home/knauff/Downloads/lamp/auth_ldap-1.6.0
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-sdk=openldap
make
make install
"gunzip mod_auth_mysql.c.gz"
/usr/local/apache/bin/apxs \
-c -I/usr/local/mysql/include \
-L/usr/local/mysql/lib/mysql \
-lmysqlclient -lm mod_auth_mysql.c
cp mod_auth_mysql.so /usr/local/apache/libexec/
Folgendes muss in httpd.conf zugefügt werden:
LoadModule mysql_auth_module libexec/mod_auth_mysql.so
Und dort wo auch die anderen module geladen werden:
AddModule mod_auth_mysql.c
Es ist darauf zu achten, das die Mysql libs and includes richtig angegeben wurden!
cd /home/knauff/Downloads/lamp/
tar -xzf imap.tar.Z
cd imap2001a
make slx SSLTYPE=unix
cd /home/knauff/Downloads/lamp/pdflib-4.0.1
./configure --enable-shared-pdflib --enable-cxx
make
make install
ldconfig
cd /home/knauff/Downloads/lamp/gettext-0.10.40
./configure
make
make check
make install
cd /home/knauff/Downloads/lamp/zlib-1.1.3
./configure
make
make check
make install
ldconfig
cd /home/knauff/Downloads/lamp/freetype-1.3.1
./configure --prefix=/usr/local
make
make install
ldconfig
cd /home/knauff/Downloads/lamp/jpeg-6b
./configure --enable-shared \
--enable-static \
--prefix=/usr/local
make
make test
make install
ldconfig
cd /home/knauff/Downloads/lamp/gd-1.8.4
make
make install
ldconfig
cd /home/knauff/Downloads/lamp/php-4.1.1
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--enable-track-vars \
--with-openssl=/usr/local/ssl \
--with-imap-ssl=/home/knauff/Downloads/lamp/imap-2001a \
--with-gd --with-ldap \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--with-pdflib=/usr/local \
--with-gettext \
--with-mm=/home/knauff/Downloads/lamp/mm-1.1.3 \
--with-jpeg-dir=/usr/lib \
--with-zlib-dir=/usr/local
make
make install
---------------------------------------------------
lo zend_indent.lo zend_builtin_functions.lo zend_sprintf.lo zend_ini.lo
grep: /usr/lib/libfreetype.la: No such file or directory
sed: can't read /usr/lib/libfreetype.la: No such file or directory
libtool: link: `/usr/lib/libfreetype.la' is not a valid libtool archive
make[1]: *** [libZend.la] Error 1
make[1]: Leaving directory `/home/knauff/Downloads/lamp/php-4.1.1/Zend'
make: *** [all-recursive] Error 1
Lesezeichen