[PHP] GD support on PHP 4.3.8

2004-10-23 Thread E SA

Hi,

I am trying to compile PHP with GD support.

My config line is:

./configure --prefix=/data/PHP\
  --with-config-file=/etc/php.ini\
  --disable-debug --enable-safe-mode\
  --with-mysql=/data/MySQL_4.0.21\
  --with-openssl=/data/OpenSSL\
  --with-apxs2=/data/Apache/bin/apxs\
  --with-gd\
  --with-jpeg-dir=/usr\
  --with-png-dir=/usr\
  i586-suse-linux

The libpng library is installed; however, I am 
getting the following error message:

checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
configure: error: libpng.(a|so) not found.

The files are in /usr/lib:

lrwxrwxrwx  1 root root 17 Aug 30 09:35
/usr/lib/libpng.so.3 - libpng.so.3.1.2.5
-rwxr-xr-x  1 root root 202905 Aug 13 15:03
/usr/lib/libpng.so.3.1.2.5
lrwxrwxrwx  1 root root 19 Aug 30 09:35
/usr/lib/libpng12.so.0 - libpng12.so.0.1.2.5
-rwxr-xr-x  1 root root 202905 Aug 13 15:03
/usr/lib/libpng12.so.0.1.2.5

Any ideas?

Beforehand, thank you for your help!



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Make cron file

2004-09-28 Thread E SA

Juan,

Are you trying to do so from inside a PHP script?

If that is the case, you could do:

$entry = $min $h $d $m $s $command $comment;

$added = system (echo $entry 
/var/spool/cron/tabs/$user, $retval);

if ($retval) {
echo success;
} else {
echo failure;
}

Please notice that the code is not tested!

Let us know if that helped!

-- ES


--- John Nichel [EMAIL PROTECTED] wrote:

 Juan Pablo Herrera wrote:
  Hi!
  I need make a cron file, for example a .job file:
  #mi  hodimeseq  job   
 comment
  45   11**  0-5 php -q
 /home/test/test.php  # Make backup
  How can make it?.
 
 How about asking on the proper list?  Or Google?
 
 Do we now add Cron to the list what this list
 supports?
 
 -- 
 John C. Nichel
 ÜberGeek
 KegWorks.com
 716.856.9675
 [EMAIL PROTECTED]
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 




__
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php