I was getting the following, though I've since remove it, it would be easy 
for me to unzip again..

libmysql.c: In function 'connect2':
libmysql.c:179: warning: passing arg 5 of 'getsockopt' from incompatible 
pointer type
make: 1254-004 The error code from the last command is 1.

Line 179 is the following:

if (getsockopt(s, SOL_SOCKET, SO_ERROR, (char*) &s_err, &s_err_size) != 0)

I was also getting a few errors about int8,16,32 but the make at least it 
got past those. This is were it died.

Jacob

At 12:25 AM 4/27/01 +0200, Andi Gutmans wrote:
>What error messages did you get when trying to compile PHP?
>
>Andi
>
>At 04:25 PM 4/26/2001 -0500, Jacob Steinberger wrote:
>>Alas, I do not have this file.
>>
>>Thanks for the idea though.
>>
>>At 12:18 AM 4/27/01 +0200, Andi Gutmans wrote:
>>>Try and see if your pre-compiled binaries include a file called 
>>>php_mysql.so.
>>>If so you could load it via your php.ini.
>>>
>>>Andi
>>>
>>>At 03:29 PM 4/26/2001 -0500, Jacob Steinberger wrote:
>>>>Andi, Steve. I should have added that everything I have managed to get 
>>>>installed are pre-compiled binaries. I haven't been able to get PHP to 
>>>>compile, so I had to use pre-compiled Apache that has built in support 
>>>>for PHP. The MySql client wouldn't even work correctly.
>>>>
>>>>Apache 1.3.19
>>>>PHP4.0.4pl1
>>>>MySql client is 9.27 3.22.14b-gamma, for ibm-aix4.1.5.0 (As the only 
>>>>other pre-compiled version was for 4.3.3 which wouldn't work, I am 
>>>>running 4.3.2)
>>>>MySql server is 3.23.37 on NT (the pre-compiled version for AIX is 
>>>>going to take a bit of time to hammer out)
>>>>
>>>>I'll take any suggestions at this point =)
>>>>
>>>>Thanks for the replys.
>>>>
>>>>Jacob
>>>>
>>>>At 01:15 PM 4/26/01 -0700, Steve Brazill wrote:
>>>>>What version of MySQL did you install,  and what version does 
>>>>>"phpinfo" say is
>>>>>installed ?? (remember,  PHP comes with an old 'generic' version 
>>>>>pre-builtin)
>>>>>
>>>>>Also, did you install MySQL using RPM's ?  If you used the 'source' 
>>>>>method (as
>>>>>I did) the line from "phpinfo" might say something like
>>>>>"--with-mysql=/usr/local/mysql"
>>>>>
>>>>>Jacob Steinberger wrote:
>>>>>
>>>>> > Slowly but surely I was able to install PHP4, Apache, and MySql. All of
>>>>> > which work, just not together. MySql is working fine, PHP4+Apache 
>>>>> works,
>>>>> > though when I try and have PHP access MySql I get:
>>>>> >
>>>>> > Fatal error: Call to undefined function: mysql_pconnect() in
>>>>> > /usr/local/share/apache/htdocs/mainfile.php on line 17
>>>>> >
>>>>> > Most of the sites I find this error on say that my PHP doesn't have 
>>>>> support
>>>>> > for MySql compiled in. Though, under phpinfo, I find this:
>>>>> >
>>>>> > --with-mysql=shared,/usr/local
>>>>> >
>>>>> > I've found numerous sites that have Linux RPMs that have a PHP4-MySql
>>>>> > Package. Obviously, I can't make use of this because I'm running on 
>>>>> AIX.
>>>>> >
>>>>> > I'm just curious if anyone knows what is correct? Do I need an added
>>>>> > package to run PHP with MySQL? Or is the configuration of PHP with the
>>>>> > MySql switch enough?
>>>>> >
>>>>> > Oy!
>>>>> >
>>>>> > Thanks...
>>>>> >
>>>>> > Jacob
>>>>> >
>>>>> > --
>>>>> > 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]
>>>>
>>>>
>>>>--
>>>>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]
>>
>>
>>--
>>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]


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