Hello Erik, All,
 read on...
> 
> On Tuesday, November 27, 2001, at 12:01  AM, Chris wrote:
> 
>> I had a similar *mis*understanding when I attempted to install
>> *other* modules with the PHP /configure/install.
>>
>> Your line (where mysql is concerned) should read:
>> --with-mysql=/usr/local *not*
>> --with-mysql=/usr/local/mysql as you used.
>>
>> That *should* get it for you. :-)
>>
>>
>> Best wishes,
>>  Chris
>>
> 
> Chris,
> 
> I tried it.  For some reason, it error'd during the ./configure
> command.
> 
> localhost:~/tmp/apache_mod_php-6-2/php$ ./configure --with-xml 
> --with-zlib --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local
> creating cache ./config.cache
> ... ( ./configure output omitted ) ...
> checking for MySQL support... yes
> configure: error: Cannot find header files under /usr/local
> localhost:~/tmp/apache_mod_php-6-2/php$
> 
> 
> This is strange, because here is what I get when I choose '--with-
> mysql=/usr/local/mysql':
> 
> 
> localhost:~/tmp/apache_mod_php-6-2/php$ rm config.cache
> localhost:~/tmp/apache_mod_php-6-2/php$ make clean
> make: *** No rule to make target `clean'.  Stop.

This should send up a red flag up in your head. As all the
previously compiled libs and much of the other stuff is *still*
there (didn't clean out all the *old* stuff). Try ./make distclean .

> localhost:~/tmp/apache_mod_php-6-2/php$ ./configure --with-xml 
> --with-zlib --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql
> creating cache ./config.cache
> ... ( ./configure output omitted ) ...
> checking for MySQL support... yes
> checking for MySQL UNIX socket... /tmp/mysql.sock
> ... ( more ./configure output omitted ) ...
> updating cache ./config.cache
> loading cache ./config.cache
> 
> Generating files
> checking for working mkdir -p... yes
> creating config_vars.mk
> updating cache ./config.cache
> creating ./config.status
> creating php4.spec
------8<---[snip]----8<---[snip]-----
> creating number.h
> creating main/internal_functions.c
> +--------------------------------------------------------------------+
> | License:                                                           |
> | This software is subject to the PHP License, available in this     |
> | distribution in the file LICENSE.  By continuing this installation |
> | process, you are bound by the terms of this license agreement.     |
> | If you do not agree with the terms of this license, you must abort |
> | the installation process at this point.                            |
> +--------------------------------------------------------------------+
> 
> Thank you for using PHP.
> 
> localhost:~/tmp/apache_mod_php-6-2/php$
> 
> 
> See that?  It recognized the MySQL headers, and successfully completed 
> the ./configure operation, which is great.  But my problem, which is 
> that the 'make' operation does not create the libphp4.so file (or 
> whatever), still exists.

See above...

> 
> Does anyone have any advice?

Maybe you already mentioned this... but what OS are we building this
on? If it's a *BSD machine, everything you need to create this thing
is in the ports tree. The "make" comes with a *really nice* menu of
options to choose what you want included in the build and works like
a champ -- just wondering.


Best wishes,
 Chris

> 
> Thanks,
> Erik
--
end


............................................
This email was sent using DNSWATCH WebMail.
   "Get an account today!"
http://www.dnswatch.com/dnswm112/



-- 
PHP Install 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]

Reply via email to