On Jul 10, 2008, at 2:07 AM, [EMAIL PROTECTED] 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
 
 >

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to