[PHP] Running ./configure multiple times
Well my RedHat system got hosed, so I reinstalled everything. I'm back to installing PHP now, and I'm wondering if it's safe for me to run ./configure multiple times. Here's the situation: I want to compile with gd support, and pdflib, and a bunch of other options. Instead of running a whole huge 5 line ./configure, can I run one at a time to make sure they all work, then run the whole thing? Also, just noticed this: I have gd installed, and libgd.so in /usr/lib, so I tried ./configure --with-apxs --with-gd=/usr/lib/ (also tried without the trailing /), but it gives: configure: error: Unable to find libgd.(a|so) anywhere under /usr/lib/ What gives? (in this ouptut, the stuff that's not important is cut out -- dates, etc) [root@saturn php-4.2.2]# ls -l /usr/lib/libgd.* lrwxrwxrwx /usr/lib/libgd.so - libgd.so.1.8.3 lrwxrwxrwx /usr/lib/libgd.so.1 - libgd.so.1.8.3 lrwxrwxrwx /usr/lib/libgd.so.1.8 - libgd.so.1.8.3 lrwxrwxrwx /usr/lib/libgd.so.1.8.3 [root@saturn php-4.2.2]# TIA, c. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Running ./configure multiple times
Hi, Thursday, July 25, 2002, 1:41:25 AM, you wrote: CG Well my RedHat system got hosed, so I reinstalled everything. I'm back to CG installing PHP now, and I'm wondering if it's safe for me to run ./configure CG multiple times. Here's the situation: CG I want to compile with gd support, and pdflib, and a bunch of other options. CG Instead of running a whole huge 5 line ./configure, can I run one at a time CG to make sure they all work, then run the whole thing? CG Also, just noticed this: I have gd installed, and libgd.so in /usr/lib, so I CG tried ./configure --with-apxs --with-gd=/usr/lib/ (also tried without the CG trailing /), but it gives: configure: error: Unable to find libgd.(a|so) CG anywhere under /usr/lib/ CG What gives? CG (in this ouptut, the stuff that's not important is cut out -- dates, etc) CG [root@saturn php-4.2.2]# ls -l /usr/lib/libgd.* CG lrwxrwxrwx /usr/lib/libgd.so - libgd.so.1.8.3 CG lrwxrwxrwx /usr/lib/libgd.so.1 - libgd.so.1.8.3 CG lrwxrwxrwx /usr/lib/libgd.so.1.8 - libgd.so.1.8.3 CG lrwxrwxrwx /usr/lib/libgd.so.1.8.3 CG [root@saturn php-4.2.2]# CG TIA, CG c. CG -- CG PHP General Mailing List (http://www.php.net/) CG To unsubscribe, visit: http://www.php.net/unsub.php it may be looking for libgd.a in the gd directory do a make libgd.a then copy it to /usr/lib -- Best regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Running ./configure multiple times
Yes, it is pretty safe to run ./configure more than once. The 1st time, it create the config.cache and so on. The 2nd time, it use the config.cache and other stuffs instead of starting from scratch. To redo everything from scratch. I believe one of those config.* files need to be removed so you can start again from scratch, not sure which files that need to be delete. But don't delete the original file, config or configure. Second of all, the list you provided to me. I noticed it is a link file, not a source file because of hte L before rwx. The first three links that point to the 4th file. The fouth file is a link that aren't pointed to anything, so it meant it is a link without a file. That may be why you got the error. FletchSOD Tom Rogers [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, Thursday, July 25, 2002, 1:41:25 AM, you wrote: CG Well my RedHat system got hosed, so I reinstalled everything. I'm back to CG installing PHP now, and I'm wondering if it's safe for me to run ./configure CG multiple times. Here's the situation: CG I want to compile with gd support, and pdflib, and a bunch of other options. CG Instead of running a whole huge 5 line ./configure, can I run one at a time CG to make sure they all work, then run the whole thing? CG Also, just noticed this: I have gd installed, and libgd.so in /usr/lib, so I CG tried ./configure --with-apxs --with-gd=/usr/lib/ (also tried without the CG trailing /), but it gives: configure: error: Unable to find libgd.(a|so) CG anywhere under /usr/lib/ CG What gives? CG (in this ouptut, the stuff that's not important is cut out -- dates, etc) CG [root@saturn php-4.2.2]# ls -l /usr/lib/libgd.* CG lrwxrwxrwx S /usr/lib/libgd.so - libgd.so.1.8.3 CG lrwxrwxrwx S /usr/lib/libgd.so.1 - libgd.so.1.8.3 CG lrwxrwxrwx S /usr/lib/libgd.so.1.8 - libgd.so.1.8.3 CG lrwxrwxrwx S /usr/lib/libgd.so.1.8.3 CG [root@saturn php-4.2.2]# CG TIA, CG c. CG -- CG PHP General Mailing List (http://www.php.net/) CG To unsubscribe, visit: http://www.php.net/unsub.php it may be looking for libgd.a in the gd directory do a make libgd.a then copy it to /usr/lib -- Best regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Running ./configure multiple times
On Wednesday 24 July 2002 23:41, Chris Garaffa wrote: Well my RedHat system got hosed, so I reinstalled everything. I'm back to installing PHP now, and I'm wondering if it's safe for me to run ./configure multiple times. Here's the situation: I want to compile with gd support, and pdflib, and a bunch of other options. Instead of running a whole huge 5 line ./configure, can I run one at a time to make sure they all work, then run the whole thing? Also, just noticed this: I have gd installed, and libgd.so in /usr/lib, so I tried ./configure --with-apxs --with-gd=/usr/lib/ (also tried without the trailing /), but it gives: configure: error: Unable to find libgd.(a|so) anywhere under /usr/lib/ What gives? Use: --with-gd=/usr -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* There can be no daily democracy without daily citizenship. -- Ralph Nader */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Running ./configure multiple times
From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 2:53 PM Subject: Re: [PHP] Running ./configure multiple times Yes, it is pretty safe to run ./configure more than once. The 1st time, it create the config.cache and so on. The 2nd time, it use the config.cache and other stuffs instead of starting from scratch. To redo everything from scratch. I believe one of those config.* files need to be removed so you can start again from scratch, not sure which files that need to be delete. I always rm config.cache before rebuilding with new options so the configure script will pick up the right libraries and new options. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php