Having a pretty rough time getting php5 installed

Scott Haneda talklists at newgeo.com
Sat Aug 9 11:37:21 PDT 2008


> I would recommend to use everything from MacPorts. We have a HOWTO  
> for setting up Apache, MySQL and PHP:
> <http://trac.macports.org/wiki/howto/MAMP>


Thanks, looks good, got apache2 in, now I am again, stuck.
sudo port install mysql5 +server
Password:
--->  Building mysql5 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_databases_mysql5/work/mysql-5.0.51a" &&  
make all " returned error 2
Command output: Making all in Docs
make[2]: Nothing to be done for `all'.
Making all in cmd-line-utils
Making all in libedit
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
cat: stdout: Broken pipe
make[3]: *** [vi.h] Error 127
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

--
Scott
talklists at newgeo.com



More information about the macports-users mailing list