[PHP] Config problems
Been using PHP for some time but never have actually compiled my own, the version my provider compiled always sufficed, anyway, I I'm having some issues. config fails here: checking for GD support... yes checking for the location of libjpeg... yes checking for the location of libpng... yes checking for the location of libXpm... yes checking for FreeType 1.x support... yes checking for FreeType 2... yes checking for T1lib support... yes checking whether to enable truetype string function in GD... yes checking for jpeg_read_header in -ljpeg... yes checking for png_write_image in -lpng... yes If configure fails try --with-xpm-dir=DIR configure: error: freetype2 not found! %locate freetype /usr/local/include/freetype /usr/local/include/freetype/freetype.h /usr/local/include/freetype/fterrid.h /usr/local/include/freetype/ftnameid.h /usr/local/include/freetype/ftxcmap.h /usr/local/include/freetype/ftxerr18.h /usr/local/include/freetype/ftxgasp.h /usr/local/include/freetype/ftxgdef.h /usr/local/include/freetype/ftxgpos.h /usr/local/include/freetype/ftxgsub.h /usr/local/include/freetype/ftxkern.h /usr/local/include/freetype/ftxopen.h /usr/local/include/freetype/ftxpost.h /usr/local/include/freetype/ftxsbit.h /usr/local/include/freetype/ftxwidth.h /usr/local/include/freetype.h /var/db/pkg/freetype-1.3.1 /var/db/pkg/freetype-1.3.1/+COMMENT /var/db/pkg/freetype-1.3.1/+CONTENTS /var/db/pkg/freetype-1.3.1/+DESC /var/db/pkg/freetype-1.3.1/+REQUIRED_BY %locate xpm /usr/X11R6/bin/cxpm /usr/X11R6/bin/sxpm /usr/X11R6/include/X11/xpm.h /usr/X11R6/man/man1/cxpm.1.gz /usr/X11R6/man/man1/sxpm.1.gz /usr/share/man/man3/expm1.3.gz /usr/share/man/man3/expm1f.3.gz /var/db/pkg/xpm-3.4k /var/db/pkg/xpm-3.4k/+COMMENT /var/db/pkg/xpm-3.4k/+CONTENTS /var/db/pkg/xpm-3.4k/+DESC Currently installed module (4.0.6) was configures with: './configure' '--with-apxs=/usr/local/www/bin/apxs' '--with-config-file-path=/usr/local/www/etc' '--enable-versioning' '--with-system-regex' '--disable-debug' '--enable-track-vars' '--with-gd=/usr/local' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-zlib' '--with-imap=/usr/local' '--with-mysql=/usr/local' '--with-imap=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4' which is exactly what I'm trying to duplicate with the new install (4.3.0) Not sure what to do here... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Config Problems
None of these suggestions worked. So...what's wrong with this config script that it throws these errors? configure: error: Cannot find OpenSSL's evp.h /usr/local/bin/config_php: --with-kerberos=/usr/krb5-1.2.2: No such file or directory /usr/local/bin/config_php: --with-ldap=/usr/local/openldap-2.0.18: No such file or directory Here's my config script: #!/bin/sh cd /usr/local/php ./configure --with-apache=/usr/src/redhat/SOURCES/apache \ --with-openssl=/usr/include/openssl \ --with-kerberos=/usr/krb/ \ --with-imap-ssl=/usr/include/openssl \ --with-ldap=/usr/local/openldap/ \ --with-mysql=/usr/local/mysql exit 0 At 12:07 AM 12/22/01 -0500, you wrote: * Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 00:01]: Hi; Howdy. I'm installing php from source and I've run into these config errors: [...] Here's my config script: #!/bin/sh cd /usr/local/php ./configure --with-apache=/usr/src/redhat/SOURCES/apache \ --with-openssl=/usr/share/doc/openssl \ Try --with-openssl=/usr or --with-openssl=/usr/local --with-kerberos=/usr/krb/ \ Try --with-kerberos=/usr --with-imap-ssl=/usr/share/doc/openssl \ --with-imap-ssl=/usr or --with-openssl=/usr/local --with-ldap=/usr/local/openldap/ \ Probably --with-ldap=/usr here --with-mysql=/usr/local/mysql --with-mysql=/usr/local exit 0 I've also tried the *openssl* part pointing to /usr/include/openssl which is where evp.h lives. Why these bizarre errors when the pointers point to For that, =/usr is probably what you want. It just wants to base path usually; it should know to look in include. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 All civilizations become either spacefaring or extinct. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Config Problems
* Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 03:22]: None of these suggestions worked. So...what's wrong with this config script that it throws these errors? This may make no difference what so ever, but try removing config.cache, then use my suggestions and see if you get a different result. (No need to CC me this time) -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 English is my second language, gibberish is my first. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Config Problems
Well, that got me headed in the right direction. I ended up combining all the commands on one line and removing the references to openssl (I'll mess with that later) and it worked. I have no_idea why... Thanks, BenO At 09:03 AM 12/22/01 -0500, you wrote: * Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 03:22]: None of these suggestions worked. So...what's wrong with this config script that it throws these errors? This may make no difference what so ever, but try removing config.cache, then use my suggestions and see if you get a different result. (No need to CC me this time) -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 English is my second language, gibberish is my first. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Config Problems
* Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 11:54]: Well, that got me headed in the right direction. I ended up combining all the commands on one line and removing the references to openssl (I'll mess with that later) and it worked. I have no_idea why... If you installed openssl from something like an rpm or deb package, you may need to get the -dev version which contains all the libraries configure is looking for. You may only have the shared libraries and configure is looking for the header files, etc. If you install those, configure might properly pick up openssl. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 $ mount -t neuro /dev/brain /mnt/head -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Config Problems
At 12:24 PM 12/22/01 -0500, you wrote: * Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 11:54]: Well, that got me headed in the right direction. I ended up combining all the commands on one line and removing the references to openssl (I'll mess with that later) and it worked. I have no_idea why... If you installed openssl from something like an rpm or deb package, you may need to get the -dev version which contains all the libraries configure is looking for. You may only have the shared libraries and configure is looking for the header files, etc. If you install those, configure might properly pick up openssl. Yeah, I know. It's not an urgent matter, but I'll probably do with that what I'm doing with php and mysql, etc.: rip out the rpms (rpm -e) and install from source with my own config files, then symlink openssl-whatever openssl. Just so much more control that way :)) Thanks! BenO -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 $ mount -t neuro /dev/brain /mnt/head -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Config Problems
* Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 12:38]: Yeah, I know. It's not an urgent matter, but I'll probably do with that what I'm doing with php and mysql, etc.: rip out the rpms (rpm -e) and install from source with my own config files, then symlink openssl-whatever openssl. Just so much more control that way :)) Wise choice. :) -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 STATUS QUO is Latin for the mess we're in. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Config Problems
Hi; I'm installing php from source and I've run into these config errors: configure: error: Cannot find OpenSSL's evp.h /usr/local/bin/config_php: --with-kerberos=/usr/krb5-1.2.2: No such file or directory /usr/local/bin/config_php: --with-ldap=/usr/local/openldap-2.0.18: No such file or directory Here's my config script: #!/bin/sh cd /usr/local/php ./configure --with-apache=/usr/src/redhat/SOURCES/apache \ --with-openssl=/usr/share/doc/openssl \ --with-kerberos=/usr/krb/ \ --with-imap-ssl=/usr/share/doc/openssl \ --with-ldap=/usr/local/openldap/ \ --with-mysql=/usr/local/mysql exit 0 I've also tried the *openssl* part pointing to /usr/include/openssl which is where evp.h lives. Why these bizarre errors when the pointers point to files that exist? TIA, BenO -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Config Problems
* Ben Ocean ([EMAIL PROTECTED]) [Dec 22. 2001 00:01]: Hi; Howdy. I'm installing php from source and I've run into these config errors: [...] Here's my config script: #!/bin/sh cd /usr/local/php ./configure --with-apache=/usr/src/redhat/SOURCES/apache \ --with-openssl=/usr/share/doc/openssl \ Try --with-openssl=/usr or --with-openssl=/usr/local --with-kerberos=/usr/krb/ \ Try --with-kerberos=/usr --with-imap-ssl=/usr/share/doc/openssl \ --with-imap-ssl=/usr or --with-openssl=/usr/local --with-ldap=/usr/local/openldap/ \ Probably --with-ldap=/usr here --with-mysql=/usr/local/mysql --with-mysql=/usr/local exit 0 I've also tried the *openssl* part pointing to /usr/include/openssl which is where evp.h lives. Why these bizarre errors when the pointers point to For that, =/usr is probably what you want. It just wants to base path usually; it should know to look in include. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 All civilizations become either spacefaring or extinct. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Config Problems
* Brian Clark ([EMAIL PROTECTED]) [Dec 22. 2001 00:09]: --with-ldap=/usr/local/openldap/ \ Probably --with-ldap=/usr here Whoops. For ldap, I meant --with-ldap=/usr/local according to what you said. [...] For that, =/usr is probably what you want. It just wants to base path usually; it should know to look in include. ...it just wants THE base path.. The. The base path. g -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 All you will ever be you are now becoming. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]