开发者

os x lion macport problem

开发者 https://www.devze.com 2023-03-23 09:03 出处:网络
I\'m trying to install tomcat6 on OS X Lion using via macpor开发者_开发技巧t 2.0. However, there is problem during the installation of one of the dependencies \"commons-dbcp\"

I'm trying to install tomcat6 on OS X Lion using via macpor开发者_开发技巧t 2.0. However, there is problem during the installation of one of the dependencies "commons-dbcp"

The messages are as follows

--->  Building commons-dbcp
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install commons-dbcp

After upgrading my OS to Lion, this kind of problem with macport happens alot and I don't know how to fix. It stopped me from installing a number of packages which I could install without a problem on Snow leopard.

Anyone could help me on this? Thanks


Make sure you have XCode 4.1+ installed and then update (re-install) your MacPorts to version 2.0.0 more instruction available here.


I faced similar problem, As pointed by Shayanlinux, installing XCode 4.1+ and running a sudo port selfupdate fixed the problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号