php-general Digest 2 Nov 2006 15:09:16 -0000 Issue 4436

Topics (messages 244079 through 244085):

PHP 5.1.6 on Mac OSX 10.4.8 w/MySQL 5.0.27 support
        244079 by: Ed Lazor
        244082 by: Colin Guthrie
        244084 by: Ed Lazor
        244085 by: tim.stiles.icomex.com

Re: Microsoft Partners With Zend
        244080 by: Rasmus Lerdorf
        244081 by: Rasmus Lerdorf

Re: why so slow?
        244083 by: John Nichel

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Any ideas on how to get this PHP configure / compile to work?

Apache 2.2.3 is installed and working from source.
MySQL 5.0.27 is installed and working from the Mac OSX package available on the MySQL site. PHP 5.1.6 will configure and make if I don't worry about MySQL support. The configure fails if I try to add MySQL support.

Here's the first configure attempt:

./configure \
--with-axps2=/usr/local/apache2/bin/axps \
--with-mysql=/usr/local/mysql



This will error out saying the zlib library is missing, so I add the zlib parameter:

./configure \
--with-axps2=/usr/local/apache2/bin/axps \
--with-mysql=/usr/local/mysql \
--with-zlib=/usr


This configure fails with the config.log output at the end of this email. I have the Mac fully updated and the Developer package is installed.

I Googled for answers, found a few examples of others who've had success and tried to use the same configure as them, but I end up with the same error. Well, I found some stuff on entropy.ch that I didn't try, mainly because they were using Apache 1.3 and I'm using Apache 2.2.3.

Thanks in advance for any ideas you have.

-Ed







configure:58552: gcc -o conftest -I/usr/include -g -O2 -no-cpp- precomp -L/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/ lib conftest.c -lmysqlclient -liconv -lz -lm -lxml2 -lz -liconv - lm -lxml2 -lz -liconv -lm 1>&5
ld: Undefined symbols:
_fprintf$LDBLStub
_sprintf$LDBLStub
_printf$LDBLStub
configure: failed program was:
#line 58541 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_close();

int main() {
mysql_close()
; return 0; }
configure:58773: checking for mysql_error in -lmysqlclient
configure:58792: gcc -o conftest -I/usr/include -g -O2 -no-cpp- precomp -L/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/ lib -L/usr -L/usr conftest.c -lmysqlclient -lz -liconv -lz -lm - lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm 1>&5
ld: Undefined symbols:
_fprintf$LDBLStub
_sprintf$LDBLStub
_printf$LDBLStub
configure: failed program was:
#line 58781 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char mysql_error();

int main() {
mysql_error()
; return 0; }

--- End Message ---
--- Begin Message ---
Ed Lazor wrote:
> Any ideas on how to get this PHP configure / compile to work?

My colleague recommends this site which he was able to consult to get a
similar setup working.

Hope it helps.

http://www.entropy.ch/software/macosx/php/

Col.

--- End Message ---
--- Begin Message --- Thanks Colin. I'd seen that site and noticed in their forums that people were reporting problems with PHP 5.1.6. I also noted that they use Apache 1.3 and I'm trying to use 2.2.

On Nov 2, 2006, at 6:02 AM, Colin Guthrie wrote:

Ed Lazor wrote:
Any ideas on how to get this PHP configure / compile to work?

My colleague recommends this site which he was able to consult to get a
similar setup working.

Hope it helps.

http://www.entropy.ch/software/macosx/php/

Col.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message --- Read through the forums. The default packages are meant for default installs of OSX, not roll your own installs. There are instructions on getting it configured for Apache2. All the pieces you need are there.

Tim Stiles
Watchmaker,
Icomex.com

On Nov 2, 2006, at 9:02 AM, Ed Lazor wrote:

Thanks Colin. I'd seen that site and noticed in their forums that people were reporting problems with PHP 5.1.6. I also noted that they use Apache 1.3 and I'm trying to use 2.2.

On Nov 2, 2006, at 6:02 AM, Colin Guthrie wrote:

Ed Lazor wrote:
Any ideas on how to get this PHP configure / compile to work?

My colleague recommends this site which he was able to consult to get a
similar setup working.

Hope it helps.

http://www.entropy.ch/software/macosx/php/

Col.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Daevid Vincent wrote:
>> -----Original Message-----
>> From: Ed Lazor [mailto:[EMAIL PROTECTED] 
>> Sent: Wednesday, November 01, 2006 12:05 PM
>> Cc: Daevid Vincent; PHP General
>> Subject: Re: [PHP] Microsoft Partners With Zend 
>>
>> ps...  I wonder if .NET will ever support PHP *GRIN*
> 
> I guess that's sorta what I'm afraid of... PHP# 
> (like the did to Java -> J++ -> C# )
> 
> Don't get me wrong. C# is a great language (probably one of the few things
> that M$ did right), and I'd LOOOOOVE to use a real IDE like Visual Studio to
> dev in... 
> 
> But I'm also terrified they'll pervert PHP.

How?  Microsoft's only weapon here is to make PHP work better on
Windows.  They can't in any way make it worse on non-Windows platforms.
This is the sort of involvement we want from Microsoft.  We want them to
compete technologically as opposed to some of the crap we have seen from
them over the years.

And don't forget that press releases and partnerships mean very little
to an open source project.  They didn't partner with us, they partnered
with Zend.  That's not going to give them better access to commit code
to PHP.

The only slight negative as far as you are concerned could be that they
may divert some Zend resources to work on Windows issues that aren't
interesting to you.  But consider that there are 1133 people with PHP
cvs accounts.  Only 11 work for Zend, and out of those 11 only 3 have
committed anything substantial in the past year.  Zend resources are
already diverted to their various commercial projects.  And some of that
will most likely result in some contributions to PHP funneled through
one of the 3 active people, so that might be a bit low, but still.

The point is that PHP is a large open source project with broad support
from a number of companies and even more stubborn open source
developers.  No one company can "pervert PHP".

-Rasmus

--- End Message ---
--- Begin Message ---
Rasmus Lerdorf wrote:
> The only slight negative as far as you are concerned could be that they
> may divert some Zend resources to work on Windows issues that aren't
> interesting to you.  But consider that there are 1133 people with PHP
> cvs accounts.  Only 11 work for Zend, and out of those 11 only 3 have
> committed anything substantial in the past year.  Zend resources are
> already diverted to their various commercial projects.  And some of that
> will most likely result in some contributions to PHP funneled through
> one of the 3 active people, so that might be a bit low, but still.


Actually make that 5 active people in the past year.  I did an actual
cvs log check this time instead of just going from memory.  Not that
this was the point.

-Rasmus

--- End Message ---
--- Begin Message ---
Mel wrote:
Your advice is well taken and thank you.

I do have a book with the help of which I made this site and I have been working on it for many many weeks. (ashamed to say exactly how many!) Remember your first ever php site?


Yep, it was for a Fortune 500 company, but that's not the point.

I truly do appreciate all the help I got and it did lead me to validate my html, change my links ...


Which is beyond the scope of this list, and something you should have done even before coming to this list (this being one of the points: troubleshooting).

I am sure there are things even you don't know or understand and that you can use help from other more experienced and generous people who are willing to share.


There are, and I have, but this list, as well as others like it, are not my first stop (this being the other point: there are resources available which should be utilized before coming to the list).

On Nov 1, 2006, at 12:20 PM, John Nichel wrote:

Mel wrote:
I have
this is the page I am working on right now and it is valid html 4.01
http://www.squareinch.net/client_testing_html401.php


Bzzzzzzttttttt.  No, it isn't.

The people here have been pretty accommodating of you so far, but if you continue to *not* do any research yourself, continue to *not* understand the basics of what you are trying to do, the accommodation will end quickly.

Buy a book. Read some online manuals. Google. Learn how to troubleshoot.


--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]

--- End Message ---

Reply via email to