简体   繁体   English

os x lion macport问题

[英]os x lion macport problem

I'm trying to install tomcat6 on OS X Lion using via macport 2.0. 我正在尝试通过Macport 2.0在OS X Lion上安装tomcat6。 However, there is problem during the installation of one of the dependencies "commons-dbcp" 但是,在安装依赖项之一“ 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. 将我的操作系统升级到Lion之后,macport会出现这种问题,我不知道该如何解决。 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 谢谢

确保已安装XCode 4.1+,然后将MacPorts更新(重新安装)到2.0.0版, 此处提供更多说明。

我遇到了类似的问题,正如Shayanlinux指出的那样,安装XCode 4.1+并运行sudo端口selfupdate解决了该问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM