Problems Installing MySQL5 on Snow Leopard

s.ross cwdinfo at gmail.com
Sat Aug 29 10:50:27 PDT 2009


I'm trying to install mysql5 on Snow Leopard but it's being difficult.  
There are some odd "No such file or directory" errors. I did a:

sudo port upgrade self

and

sudo port sync

To make sure things were sort of alright, but no joy. Does any of this  
seem familiar. By the way, this is running on a MBP Core Duo, so it's  
32 bit.

Thanks

$ sudo port install mysql5
Password:
--->  Computing dependencies for openssl
--->  Building openssl
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl 
/work/openssl-0.9.8k" && /usr/bin/make all " returned error 2
Command output: make[1]: I.: No such file or directory
make[1]: [o_str.o] Error 1 (ignored)
I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB - 
DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 - 
O3 -fomit-frame-pointer -DL_ENDIAN   -c -o o_dir.o o_dir.c
make[1]: I.: No such file or directory
make[1]: [o_dir.o] Error 1 (ignored)
I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB - 
DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 - 
O3 -fomit-frame-pointer -DL_ENDIAN   -c -o o_init.o o_init.c
make[1]: I.: No such file or directory
make[1]: [o_init.o] Error 1 (ignored)
I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB - 
DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 - 
O3 -fomit-frame-pointer -DL_ENDIAN   -c -o fips_err.o fips_err.c
make[1]: I.: No such file or directory
make[1]: [fips_err.o] Error 1 (ignored)
ar  r ../libcrypto.a cryptlib.o dyn_lck.o mem.o mem_clr.o mem_dbg.o  
cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o  
o_str.o o_dir.o o_init.o fips_err.o
ar: cryptlib.o: No such file or directory
ar: dyn_lck.o: No such file or directory
ar: mem.o: No such file or directory
ar: mem_clr.o: No such file or directory
ar: mem_dbg.o: No such file or directory
ar: cversion.o: No such file or directory
ar: ex_data.o: No such file or directory
ar: tmdiff.o: No such file or directory
ar: cpt_err.o: No such file or directory
ar: ebcdic.o: No such file or directory
ar: uid.o: No such file or directory
ar: o_time.o: No such file or directory
ar: o_str.o: No such file or directory
ar: o_dir.o: No such file or directory
ar: o_init.o: No such file or directory
ar: fips_err.o: No such file or directory
make[1]: *** [../libcrypto.a] Error 1
make: *** [build_crypto] Error 1

Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade openssl failed

I tentatively tried an openssl upgrade and got this:

$ sudo port upgrade openssl
--->  Computing dependencies for openssl
--->  Building openssl
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl 
/work/openssl-0.9.8k" && /usr/bin/make all " returned error 2
Command output: make[1]: I.: No such file or directory
make[1]: [o_str.o] Error 1 (ignored)
I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB - 
DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 - 
O3 -fomit-frame-pointer -DL_ENDIAN   -c -o o_dir.o o_dir.c
make[1]: I.: No such file or directory
make[1]: [o_dir.o] Error 1 (ignored)
I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB - 
DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 - 
O3 -fomit-frame-pointer -DL_ENDIAN   -c -o o_init.o o_init.c
make[1]: I.: No such file or directory
make[1]: [o_init.o] Error 1 (ignored)
I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB - 
DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 - 
O3 -fomit-frame-pointer -DL_ENDIAN   -c -o fips_err.o fips_err.c
make[1]: I.: No such file or directory
make[1]: [fips_err.o] Error 1 (ignored)
ar  r ../libcrypto.a cryptlib.o dyn_lck.o mem.o mem_clr.o mem_dbg.o  
cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o  
o_str.o o_dir.o o_init.o fips_err.o
ar: cryptlib.o: No such file or directory
ar: dyn_lck.o: No such file or directory
ar: mem.o: No such file or directory
ar: mem_clr.o: No such file or directory
ar: mem_dbg.o: No such file or directory
ar: cversion.o: No such file or directory
ar: ex_data.o: No such file or directory
ar: tmdiff.o: No such file or directory
ar: cpt_err.o: No such file or directory
ar: ebcdic.o: No such file or directory
ar: uid.o: No such file or directory
ar: o_time.o: No such file or directory
ar: o_str.o: No such file or directory
ar: o_dir.o: No such file or directory
ar: o_init.o: No such file or directory
ar: fips_err.o: No such file or directory
make[1]: *** [../libcrypto.a] Error 1
make: *** [build_crypto] Error 1

Error: Unable to upgrade port: 1


More information about the macports-users mailing list