Re: Build PHP 4.2.1 on OS X: "Multiple Definitions"
| From: | Frank Bitterlich | Date: | Tue, 23 Jul 2002 12:36:25 +0000 |
| Subject: | Re: Build PHP 4.2.1 on OS X: "Multiple Definitions" | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7875@lists.php.net to get a copy of this message | ||
Steve,
I first tried the instruction in php.net's "INSTALL" document, and then
the one from the book "Professional PHP4", which is specific to OS X.
I've looked at the hints on developer.apple.com, but they're somewhat
outdated (for PHP 4.0.6), they tell me to modify a "ltconfig" file, but
I have no such beast. It says I need to enter something like this:
archive_cmds='$CC -force_flat_namespace ...
Sounds like it has something to do with the namespace problem you
mentioned... but I can't find such a file.
AFAICS the entropy.ch site only offers a pre-built PHP module, but I
need FrontBase support, so (I guess) I have to build my own...
A call to ./buildconf keeps telling me I have no "automake"; might that
be the problem? I know where I can D/L the source for it, but I have no
clue how to compile _that_ again... sigh...
I would be really thankful for your recipe, maybe it gets me going.
TIA,
Frank+++
In article <7935CD16-9DCB-11D6-9C22-003065ECC2BC@unioncab.com>,
steve_cayford@unioncab.com (Steve Cayford) wrote:
> On Monday, July 22, 2002, at 02:10 PM, Frank Bitterlich wrote:
>
> > Hi,
> >
> > newbie alert! I've never built anything on OS X, so I thought I'd better
> > follow the docs by the letter. Still, no go...
>
> Building PHP on OSX is tricky, at least the last time I did it (a couple
> months ago). What directions were you following?
>
> You have to work around OSX's two namespace issues, and I believe a
> different version of libtool.
>
> Start by looking at http://www.entropy.ch/software/macosx/php.
>
> If that doesn't help, I can send you my step-by-step recipe, but I don't
> know if it works with the current php and osx.
>
> -Steve
>