Re: [PHP] Config Problems

2001-12-22 Thread Ben Ocean

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

2001-12-22 Thread Brian Clark

* 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

2001-12-22 Thread Ben Ocean

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

2001-12-22 Thread Brian Clark

* 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

2001-12-22 Thread Ben Ocean

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

2001-12-22 Thread Brian Clark

* 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]




Re: [PHP] Config Problems

2001-12-21 Thread Brian Clark

* 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

2001-12-21 Thread Brian Clark

* 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]