[PHP] STILL having Troubles getting GD support with jpegs, possiblity:PHP with GD jpeg support prebuilt?

2002-04-30 Thread Peter Revill


=
CC all Replies to [EMAIL PROTECTED]
=
Ok, im STILL having problems, im close to tears here that this is not 
working, its INFURIATING

so basically, I was hoping php 4.2 has support for Jpeg GD OR if someone 
has a prebuilt GD with JPEG they could send me? i would not ask normally 
but this just plain is NOT working and its getting to the point where im 
giving up in frustration
Here is the error, but i seriously doubt much can be done:

(p.s no response from the GD developer when i asked about installation 
issues)


[root gd-1.8.4]# make
gcc -I. -I/usr/include/freetype2 -I/usr/include/X11 
-I/usr/X11R6/include/X11 -I/usr/local/include 
-I/home/sites/www.gni.ms/users/develop/jpeg-6b 
-I/usr/local/include/libpng -I/usr/local/bin pngtogd.o -o pngtogd  
-L. -L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib -lm -lgd -lz -jpeg
gcc: unrecognized option `-jpeg'
pngtogd.o: In function `main':
pngtogd.o(.text+0x6b): undefined reference to `gdImageCreateFromPng'
collect2: ld returned 1 exit status
make: *** [pngtogd] Error 1


Anyone could help it would be greatly appreciated
=
CC all Replies to [EMAIL PROTECTED]
=


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




[PHP] argh please help! starting PHP error: Cannot load into server, uncompressis undefineed symbol

2002-04-30 Thread Peter Revill

I just finished recompiling PHP, and attempt to start the webserver 
agian, but i get the following error:
Setting up Web Service: Syntax error on line 58 of 
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: 
/etc/httpd/modules/libphp4.so: undefined symbol: uncompress
/usr/sbin/httpd

Please help!



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




[PHP] Re: Please CC all replies to arevill@bigpond.net.au for my last (andbelow) msg

2002-04-30 Thread Peter Revill

Peter Revill wrote:

 I just finished recompiling PHP, and attempt to start the webserver 
 agian, but i get the following error:
 Setting up Web Service: Syntax error on line 58 of 
 /etc/httpd/conf/httpd.conf:
 Cannot load /etc/httpd/modules/libphp4.so into server: 
 /etc/httpd/modules/libphp4.so: undefined symbol: uncompress
 /usr/sbin/httpd

 Please help!







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




[PHP] image generation Problems (jpeg)

2002-04-29 Thread Peter Revill

=
PLEASE CC ALL AWNSERS TO [EMAIL PROTECTED]
==


hi, im having a few problems installing GD, ill start from the top:

I need Jpeg support in my PHP installation, and unfortunatly, GD (the 
verison i have) does not support them, so i figure, ill install it, 
installing the libary jpeg-6b works easily
however, i attempt to compile from there GD, but the following error is 
produced:

[root gd-1.8.4]# make
gcc -I. -I/usr/include/freetype2 -I/usr/include/X11 
-I/usr/X11R6/include/X11 -I/usr/local/include -c -o gd_gd2.o gd_gd2.c
In file included from /usr/include/errno.h:36,
   from gd_gd2.c:14:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [gd_gd2.o] Error 1

I also tried recompiling PHP and got a similar error, which is very 
worrying, i think i might be missing some files


Basically, waht i would really like, is a way to modify my CURRENT php 
config or my CURRENT gd config to take advantage of my shiny new jpeg 
libary, is there any method u can recommend to accomplish this?

Thanks
Peter
=
PLEASE CC ALL AWNSERS TO [EMAIL PROTECTED]
==


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




Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread Peter Revill

Jason Wong wrote:

On Monday 29 April 2002 20:02, Peter Revill wrote:

  

hi, im having a few problems installing GD, ill start from the top:

I need Jpeg support in my PHP installation, and unfortunatly, GD (the
verison i have) does not support them, so i figure, ill install it,
installing the libary jpeg-6b works easily
however, i attempt to compile from there GD, but the following error is
produced:



It's usually a good idea to state what kind of setup you have (OS, version 
etc).
  

Im not even sure myself, linux on 2.2.14 on what should be a redhat box
i know theres a command something like dsmod to get the info, hmm..

  

oot gd-1.8.4]# make
gcc -I. -I/usr/include/freetype2 -I/usr/include/X11
-I/usr/X11R6/include/X11 -I/usr/local/include -c -o gd_gd2.o gd_gd2.c
In file included from /usr/include/errno.h:36,
   from gd_gd2.c:14:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
make: *** [gd_gd2.o] Error 1



Have you checked that you have the file linux/errno.h anywhere in your 
system?
  


yes, but it wasnt around, errno.h was, but not errno.h like that


On my RH7.1 system, 

  /usr/include/linux/errno.h

is provided by kernel-headers, so if don't have it and you're using RH, 
install kernel-headers. If you're using something else check with your distro 
vendor.
  

i found the kernel-headers package, but it msut be damaged or something 
(rpm --query says it exists, but i have my doubts as to the files still 
existing)
is it OK to install kernel headers of a diffirent kernel number?
i.e. if i install kernel-headers 2.4.1 or wahtever is that ok? or will 
that cause problems?
(im betting money on it will cause problems)






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




Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread Peter Revill

Jason Wong wrote:

On Monday 29 April 2002 21:40, Peter Revill wrote:

  

Im not even sure myself, linux on 2.2.14 on what should be a redhat box
i know theres a command something like dsmod to get the info, hmm..



Never mind, as long as you're reasonably sure it's a RH system you're running 
on .
  

Its a colbat cube running some sort of modified linux, i think based on 
Redhat
i doint know what kind of colbat cube



  

Have you checked that you have the file linux/errno.h anywhere in your
system?
  

yes, but it wasnt around, errno.h was, but not errno.h like that



So there's your problem :)

Yer, i think that must be it




  

i found the kernel-headers package, but it msut be damaged or something
(rpm --query says it exists, but i have my doubts as to the files still
existing)



  rpm -ql kernel-headers

yep, returns kernel-headers-2.2.14C11-1



If there aren't any special reasons, I would just use the corresponding 
headers for your kernel.

  


There is a special reason, namely: i cant find:
kernel-headers-2.2.14C11-1.rpm
anywhere :~(







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




[PHP] Almost fixed, just one last Problem with GD installation, pleasehelp!

2002-04-29 Thread Peter Revill

===
CC ALL REPLIES TO [EMAIL PROTECTED]
==


Ok, almost got it, installed the header files, compiles fine, cept GD 
produces the following error:

gcc -I. -I/usr/include/freetype2 -I/usr/include/X11 
-I/usr/X11R6/include/X11 -I/usr/local/include 
-I/home/sites/www.gni.ms/users/develop/jpeg-6b 
-I/usr/local/include/libpng  pngtogd.o -o pngtogd  -L. 
-L/usr/local/lib -L/usr/lib/X11 -L/usr/X11R6/lib -lgd -lz -ljpeg -lm
/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
make: *** [pngtogd] Error 1


I'm not entirely sure what that means, any help would be appreiciated, 
is that a Linking error?
here is what my config file looks like:
(atleast, teh probably important bits)

#LIBS=-lgd -lpng -lz -lm

#If you do have FreeType, JPEG and/or Xpm fully installed, uncomment a
#variation of this and comment out the line above. Note that
#Xpm requires X11. See also CFLAGS above.

LIBS=-lgd -lz -ljpeg -lm

#Note: for Freetype 1.x, use DHAVE_LIBTTF and -lttf instead.

#Typical install locations for freetype, zlib, xpm, libjpeg and libpng 
header
#files. If yours are somewhere else, change this. -I. is important to
#ensure that the version of gd you are installing is used, and not an
#older release in your directory tree somewhere.

INCLUDEDIRS=-I. -I/usr/include/freetype2 -I/usr/include/X11 
-I/usr/X11R6/include/X11 -I/usr/local/include 
-I/home/sites/www.gni.ms/users/develop/jpeg-6b -I/usr/local/include/libpng


Cheers
nerv



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