mysql5 +apache2 +php5 FAILED (mod_perl2 also)

Yvon Thoraval yvon_thoraval at mac.com
Mon Oct 9 14:20:20 PDT 2006


Hey all,

after a successfull upgrade of all ports, i've attempted to install  
mysql5 (over an existing apache2 and php5) by :

%> sudo port install -v mysql5 +apache2 +php5
Password:
--->  Fetching mysql5
[...]

--->  Building mysql5 with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/ 
var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_databases_mysql5/work/mysql-5.0.24a" && make all" returned error 2
Command output: sh ./makelist -h ./vi.c > vi.h.tmp && \
mv vi.h.tmp vi.h
dyld: Library not loaded: /opt/local/lib/libintl.3.dylib
   Referenced from: /opt/local/bin/gawk
   Reason: image not found
cat: stdout: Broken pipe
./makelist: line 255:  7382 Done(1)                 cat $FILES
       7383 Trace/BPT trap          | $AWK '
         BEGIN {
             printf("/* Automatically generated file, do not edit */ 
\n");
             printf("#ifndef %s\n#define %s\n", "'$hdr'", "'$hdr'");
         }
         /\(\):/ {
             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", "'$hdr'");
         }'
make[3]: *** [vi.h] Error 133
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.


i get the same prob with mod_perl2  which complain also about gawk  
image not found and resulting in :


--->  Activating mod_perl2 2.0.2_0
Error: Target com.apple.activate returned: Image error: /opt/local/ 
lib/perl5/5.8.8/darwin-2level/perllocal.pod already exists and does  
not belong to a registered port.  Unable to activate port mod_perl2.
Warning: the following items did not execute (for mod_perl2):  
com.apple.activate
Error: Status 1 encountered during processing.


best,

Yvon



More information about the macports-users mailing list