[PHP-DEV] Re: PHP 4.0 Bug #9918 Updated: cannot compile php4 with pdflib

2001-03-27 Thread Jim Balcomb

On Mon, Mar 26, 2001 at 09:31:48AM -, Bug Database wrote:
> ID: 9918
> Updated by: sniper
> Reported By: [EMAIL PROTECTED]
> Old-Status: Feedback
> Status: Closed
> Bug Type: Compile Failure
> Assigned To: 
> Comments:
> 
> User feedback:
> --
> ok, i uninstalled libjpeg, recompiled it with --enable-shared, rm config.cache, 
>recompiled php
> including the --with-jpeg-dir=/usr/local and it worked.  however, this brings up 
>another question. 
> how do i get php with pdflib without libjpeg? i do not intend to use libjpeg 
>therefore i dont want
> installed.  additionally if it must be there why isnt it listed as a dependancy of 
>sorts?
> ---
> 
> 1. Did you notice that little text in the end of the email
> sent to you by this bug system? (DO NOT REPLY by email!)
> 
> 2. The libtiff needs libjpeg. Compile pdflib without tiff
> support and you don't need libjpeg.
> 
> 3. Ask more install related support questions on [EMAIL PROTECTED] as this 
>bug system is for reporting BUGS in PHP and NOT for asking support questions.
> 
> Thank you,
> 
> --Jani

1. no.  maybe you should put it at the top.  i tend not to read footers.

2. thank you.

3. i consider it a bug that the php install says that it need pdflib 3.x even though i 
have pdflib 3.0.1 installed.  the fact that its actually a problem with libjpge which 
is a problem becuase of libitff makes it all the more a bug.

jim
ps sorry, but i had to.

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: PHP 4.0 Bug #9918 Updated: cannot compile php4 with pdflib

2001-03-23 Thread Jim Balcomb

On Fri, Mar 23, 2001 at 10:23:44PM -, Bug Database wrote:
> ID: 9918
> Updated by: sniper
> Reported By: [EMAIL PROTECTED]
> Status: Feedback
> Bug Type: Compile Failure
> Assigned To: 
> Comments:
> 
> User feedback:
> --
> /usr/bin/ld: cannot find -ljpeg
> collect2: ld returned 1 exit status
> configure: failed program was:
> 
> now what i am supposed to do with that, i dont know.
> i dont see an option for pdflib or php to specify no libjpeg.
> --
> 
> It might still need the libjpeg. Try adding e.g. --with-jpeg-dir=/usr/local into 
>your configure line.
> 
> 1. delete config.cache
> 2. configure (with your options + the --with-jpeg-dir)
> 3. 'make clean ; make ; make install
> 
> --Jani

ok, i uninstalled libjpeg, recompiled it with --enable-shared, rm config.cache, 
recompiled php including the --with-jpeg-dir=/usr/local and it worked.  however, this 
brings up another question.  how do i get php with pdflib without libjpeg? i do not 
intend to use libjpeg therefore i dont want installed.  additionally if it must be 
there why isnt it listed as a dependancy of sorts?

Jim

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: PHP 4.0 Bug #9918 Updated: cannot compile php4 with pdflib

2001-03-22 Thread Jim Balcomb

i dont have cvs nor have i ever used it so it will be a bit on that but the log says:

configure:34674: checking for PDF_show_boxed in -lpdf
configure:34693: gcc -o conftest -g -O2  -DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX 
-DEAPI -DUSE_EXPAT  -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib 
-Wl,-rpath,/usr/local/src/imap-2001.BETA.SNAP-0103201637/c-client 
-L/usr/local/src/imap-2001.BETA.SNAP-0103201637/c-client -Wl,-rpath,/usr/local/lib 
-L/usr/local/lib -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql 
conftest.c -lpdf  -ltiff -lpng -ljpeg -lmysqlclient -lldap -llber -lz -lpng -lgd 
-lcrypto -lssl -lresolv -lm -ldl -lcrypt -lnsl  -lresolv -lz -ljpeg -lpng -ltiff 
-L/usr/local/lib 1>&5
/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
configure: failed program was:

now what i am supposed to do with that, i dont know.
i dont see an option for pdflib or php to specify no libjpeg.

Jim


On Thu, Mar 22, 2001 at 01:01:03PM -, Bug Database wrote:
> ID: 9918
> Updated by: sniper
> Reported By: [EMAIL PROTECTED]
> Old-Status: Open
> Status: Feedback
> Bug Type: Compile Failure
> Assigned To: 
> Comments:
> 
> Could you please try with latest CVS snapshot from http://snaps.php.net/ ?
> 
> And also, check your config.log as this might not be
> PDF extension that causes the configure to fail.
> 
> --Jani
> 
> 
> Previous Comments:
> ---
> 
> [2001-03-22 07:54:16] [EMAIL PROTECTED]
> i am trying to compile php4 with pdflib support and am recieving the error 'pdflib 
>extension requires pdflib 3.'
> 
> i have installed pdflib 3.0.3 with:
> --enable-shared-pdflib 
> --with-perl=no 
> --with-tcl=no 
> --with-zlib 
> --with-pnglib
> 
> i added /usr/local to my /etc/ld.so.conf and have rerun ldconfig.
> 
> i configure php with:
> --with-apxs=/usr/local/apache/bin/apxs 
> --with-calendar=shared 
> --enable-ftp 
> --with-gd 
> --with-imap=../imap-2001.BETA.SNAP-0103201637 
> --with-ldap 
> --with-mm=../mm-1.1.3 
> --with-mysql=/usr/local/mysql 
> --with-openssl 
> --with-pdflib=/usr/local 
> --with-pgsql=/usr/local/pgsql 
> --with-snmp 
> --enable-ucd-snmp-hack 
> --with-system-regex 
> --enable-debug=yes 
> --enable-memory-limit=yes 
> --enable-track-vars 
> --enable-versioning 
> --enable-xml 
> --with-zlib
> 
> i have seen many posting on this but they all seem to say the same thing, compile 
>pdflib as shared, add /usr/local to ld.so.conf, specify --with-pdf=/usr/local for php 
>(which seems sorta redundant).
> 
> thanks for any help you can give.
> 
> Jim Balcomb
> [EMAIL PROTECTED]
> 
> ---
> 
> 
> 
> ATTENTION! Do NOT reply to this email!
> To reply, use the web interface found at http://bugs.php.net/?id=9918&edit=2

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]