php5 +postgresql install
Matt Kane's Brain
mkb at dirty.org
Mon Oct 9 06:25:21 PDT 2006
Sure,
I am using OS 10.4.8 powerpc, apache version 1.3.37, php version
5.1.6, postgresql 8.1.4.
I eventually fixed the problem by changing the portfile to use /opt/
local/sbin/apxs instead of /usr/sbin/apxs. I don't know enough about
Portfiles to figure out how to fix it for the macosx variant. Here's
the portfile:
variant apache conflicts apache2 fastcgi {
if { ! [variant_isset macosx] } {
depends_lib-append path:${prefix}/sbin/apxs:apache
configure.args-append --with-apxs=${prefix}/sbin/apxs
} else {
configure.args-append --with-apxs=${prefix}/sbin/apxs
}
}
Maybe something like this?
variant apache conflicts apache2 fastcgi {
if { ! [variant_isset macosx] } {
depends_lib-append path:${prefix}/sbin/apxs:apache
configure.args-append --with-apxs=${prefix}/sbin/apxs
} else {
# if apache is installed {
configure.args-append --with-apxs=${prefix}/sbin/apxs
} else {
configure.args-append --with-apxs=/usr/sbin/apxs
}
configure.env CFLAGS="-DBIND_8_COMPAT=1 -DEAPI -O3"
}
}
On Oct 9, 2006, at 6:13, Jyrki Wahlstedt wrote:
> Hi,
> regarding ticket # 2750 it would nice to know the particulars of
> your set-up: OS version, apache version &c. I'd like to close the
> ticket, but I don't use apache1 (that is indicated in php.net's
> installation instructions).
>
> On 7.10.2006, at 23.50, Matt Kane's Brain wrote:
>
>> OK, that almost worked :)
>>
>> It looks like this bug is also affecting me: http://
>> trac.macports.org/projects/macports/ticket/2750
>>
>> I applied the diff and I'm rebuilding now.
>>
>> On Oct 7, 2006, at 14:59, Mark Duling wrote:
>>
>>> José Tiburcio Ribeiro Netto <jtibunetto at gmail.com> on Saturday,
>>> October 7,
>>> 2006 at 9:00 AM -0800 wrote:
>>>> there's already a ticket on MacPorts Trac: <[
>>>> http://trac.macports.org/projects/macports/ticket/10677
>>>> ]http://trac.macports.org/projects/macports/ticket/10677>.
>>>>
>>>>
>>>> Use the Portfile.diff that is attached to this bug by [
>>>> mailto:wyuenho at gmail.com ]wyuenho at gmail.com to patch you local
>>>> installation of MacPorts.
>>>>
>>>>
>>>> Once you downloaded the Portfile.diff, go to the folder
>>>> "/opt/local/var/db/dports/sources/
>>>> rsync.rsync.darwinports.org_dpupdate_dports/www/php5"
>>>> and run the following command:
>>>>
>>>>
>>>> $ sudo patch -p0 < /path/to/Portfile.diff
>>>>
>>>>
>>>> Then you can install php5 with postgresql81 dependency.
>>>>
>>>
>>> The maintainer applied the patches just hours ago as revision 2
>>> to the
>>> php5 port so you don't need to do it manually now.
>>>
>>> Mark
>>>
>
>
> !
> ! Jyrki Wahlstedt
> ! Kolmas linja 12 A 18 mob. +358-400-347 015
> skype:jyrkiwahlstedt
> ! FI-00530 Helsinki www.wahlstedt.fi
> !
> ! Our life is no dream; but it ought to become one and perhaps will.
> ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0
> A780 6366 EFD9 139C C386
>
>
--
matt kane's brain
http://hydrogenproject.com
aim -> mkbatwerk
mkb at dirty.org
More information about the macports-users
mailing list