port install php5 fails on Leopard 10.5.4
Bryan Blackburn
0x62_0x6c_0x62 at pobox.com
Thu Jul 10 13:47:29 PDT 2008
On Jul 10, 2008, at 2:07 AM, kentozier at comcast.net wrote:
> Hi
>
> I just tried to install my first MacPorts using the following command
>
> sudo port install php5 +apache2 +mysql5 +mssql
>
...
> Command output: /usr/bin/sed \
> -e 's!@''AWK''@!!' \
> makelist.sh > makelist-t
> /bin/mv makelist-t makelist
> sh ./makelist -h ./vi.c > vi.h.tmp && \
> mv vi.h.tmp vi.h
> ./makelist: line 81:
> BEGIN {
> printf("/* Automatically generated file, do not edit */\n");
> printf("#ifndef %s\n#define %s\n", "_h_vi_c", "_h_vi_c");
> }
> /\(\):/ {
> pr = substr($2, 1, 2);
> if (pr == "vi" || pr == "em" || pr == "ed") {
> name = substr($2, 1, index($2,"(") - 1);
> #
> # XXX: need a space between name and prototype so that -fc and -fh
> # parsing is much easier
> #
> printf("protected el_action_t\t%s (EditLine *, int);\n", name);
> }
> }
> END {
> printf("#endif /* %s */\n", "_h_vi_c");
> }: No such file or directory
That's the really annoying Tcl environment bug [1]; do a 'sudo port
clean --work mysql5' to clean mysql5 (the port which failed), then try
your original port command again.
It may occur again, so if you see another port fail to build, clean
that one then try once again.
Bryan
[1] - <http://trac.macports.org/wiki/LeopardProblems#environmentvariablesbecomeblankbetweenconfigureandbuildphases
>
More information about the macports-users
mailing list