LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-25-2003, 10:59 AM   #1
ThA-B
LQ Newbie
 
Registered: Sep 2003
Location: Riga
Distribution: Slackware 9.0
Posts: 4

Rep: Reputation: 0
Slack [PHP/GD + Freetype] easy way?


Please help me somehow!
I've been using slackware for a while due to it's packages which adjusts my demands and are just perfect.

But there is still a problem with PHP, as i install php and GD packages, freetype libraries are not included and i really hate messing up all the beautiful Slackware system by recompiling php and GD with --with-freetype.

Are there any easier way or already precompiled packages, which can be used by "installpkg'?

re5tepa!
 
Old 09-25-2003, 11:06 AM   #2
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Rep: Reputation: 30
Here's what I use to install PHP/Apache from source... keep in mind the latest versions of PHP come with GD built in ;-)

1. cd apache_1.3.27
2. ./configure --prefix=/usr/local/apache --enable-module=rewrite
3. cd ../php-4.3.0
4. ./configure --with-apache=../apache_1.3.28 --with- mysql=/usr/local/mysql --enable-track-vars \
--with-png-dir=/usr --with-jpeg-dir=/usr --with-tiff-dir=/usr --with-freetype-dir \
--with-openssl --with-gd --enable-sockets --enable-bcmath --enable-ftp --enable-exif \
--enable-ctype --with-zlib-dir=/usr --with-curl --with-pear --with-pcre-regex --enable-calander \
--with-snmp
5. make
6. make install
7. cp libs/libphp4.a ../apache_1.3.28/src/modules/php4/
8. cd ../apache_1.3.28
9. ./configure --activate-module=src/modules/php4/libphp4.a --activate-module=src/modules/standard/mod_rewrite.o
10. make
11. make install
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy PHP question zuessh Programming 10 06-14-2005 03:53 PM
PHP - Easy one pk_fox Linux - General 8 02-11-2005 08:22 AM
Slack to debian is it easy ninadb Debian 1 05-27-2004 04:55 AM
can't use some functions in php - freetype problems? andrew001 Linux - Software 0 06-25-2003 11:51 PM
Freetype-devel for freetype-2.1.4-1 (redhat 9) Goog Linux - Distributions 0 05-05-2003 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration