On Apr 8, 2009, at 18:08, Emrys Hughes wrote:
On 06/04/2009, at 9:59 PM, Ryan Schmidt wrote:
Ok, first please update to Xcode 3.1.3. Then clean mysql5 and try
again
sudo port clean mysql5
Please let me know if it then works.
Updated Xcode - i stupidly thought mac software update took care of
this.
Yeah, Software Update doesn't update developer stuff like Xcode. :(
Sorry about the version confusion; 3.1.2 is the latest. I got
confused by the Wikipedia which said 3.1.3 was available, which I
have since corrected. :)
sudo port clean mysql5
Password:
---> Cleaning mysql5
Desolation:~ emrys$ sudo port install php5 +apache2 +mysql5 +server
---> Fetching mysql5
---> Verifying checksum(s) for mysql5
---> Extracting mysql5
---> Applying patches to mysql5
---> Configuring mysql5
---> Building mysql5
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_datab
ases_mysql5/work/mysql-5.0.77" && make all " returned error 2
Command output: _new_VioSSLFd in libvio.a(viosslfactories.o)
"_EVP_BytesToKey", referenced from:
Item_func_des_encrypt::val_str(String*) in item_strfunc.o
Item_func_des_decrypt::val_str(String*) in item_strfunc.o
load_des_key_file(char const*)in des_key_file.o
"_BN_bin2bn", referenced from:
_new_VioSSLFd in libvio.a(viosslfactories.o)
_new_VioSSLFd in libvio.a(viosslfactories.o)
"_SSL_get_verify_depth", referenced from:
show_status_array(THD*, char const*, show_var_st*,
enum_var_type, system_status_var*, char const*, st_table*)in
sql_show.o
[snip]
Ok, so the older Xcode wasn't it. Good to know. There are some ports
that do definitely require Xcode 3.1+ on Leopard and don't work with
Xcode 3.0, so it's good that you've updated anyway.
Which version of openssl is installed ("port installed
openssl")? openssl was briefly updated to 1.0.0-beta1 but
because it caused problems in many cases this update was
reverted. If you have openssl 1.0.0-beta1 installed, please
update your ports definitions ("sudo port sync") and then
upgrade openssl ("sudo port -u upgrade openssl") which should
downgrade you back to version 0.9.8k. Then clean mysql5 ("sudo
port clean mysql5") and try your original command again.
Which version of openssl did you have?
port installed openssl
The following ports are currently installed:
openssl @0.9.8b_0+darwin_8 (active)
Ok, this could be the reason. You're on Mac OS X 10.5, a.k.a. Darwin
9, so you should not have openssl installed with the darwin_8
variant. To fix this, I believe:
sudo port -nf upgrade openssl -darwin_8
Do you have any other ports installed with the darwin_8 variant? To
find out:
port installed | grep darwin_8
If you do, rebuild all of them as well, specifically deselecting the
darwin_8 variant as above, and letting MacPorts automatically add the
darwin_9 variant, if applicable.
Did you originally install MacPorts before upgrading to Leopard? If
so, it may be best to remove MacPorts entirely and reinstall it, to
be sure there are no parts of MacPorts remaining that think they're
on Tiger.
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users