[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: php4 + postgresql



> Compile sha1.c without the optimization flag -O2.

Indeed you're right. However, I ran into some problems with PEAR being 
completely FUBAR. I ran into the same problem on Solaris 9/Sparc64, 
which was fixed by compiling a snapshot. I'm doing this now, and I 
guess I'll summarize.

> Also don't bother trying to get php to work on sparc64 if you need zlib
> in any shape or form. I wrote some bug reports on it but no one ever 
> did
> anything useful with it from the php side. It's not Linux and i386 you
> know...

Yeah. This has been a recurring problem with both the PHP crowd and the 
OpenBSD crowd. One doesn't support 64-bitness, the other doesn't care 
what hardware or software you're using as long as their machine works.

> I think I wrote some messages on this on the sparc@ list.

Well, and you sent in a bug report. I figure if enough people write in 
a bug report, somebody will notice and patch something. I'm not 
familiar enough with ports myself, but the dropping of -O2 (for lha1.c) 
would be real easy, as would running a newer flavor of php in the port.

There was mention in the bug report you sent in that they were trying 
to make the ports with chrooted httpd and propolice more friendly, I 
guess more work needs to be done. Still, with a bug report sent in and 
an easy fix, you'd think somebody could make the patch.

Alex