Questions tagged «macports»

MacPorts是OS X的软件包管理工具,它提供了操作系统未附带的许多第三方应用程序。

1
无法在Mac 10.6.4上安装lua
我在Mac 10.6.4上成功安装了MacPorts但我无法安装lua。我知道安装了MacPorts,因为从我的管理员帐户我可以成功执行'port selfupdate'和'port search lua'。但是当我执行'sudo port install lua'时,我得到错误: ---------------------------------------------------------------------------- bash-3.2$ sudo port install lua ---> Computing dependencies for lua ---> Dependencies to be installed: readline ncurses ncursesw ---> Configuring ncursesw Error: Target org.macports.configure returned: configure failure: shell command failed Log for ncursesw is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncursesw/main.log Error: The following dependencies failed …

0
MacPorts中的Homebrew和Fink诊断输出
我已经从源代码编译并安装了MacPorts 2.5.4在Mojave上的全新安装并获得了.git。Nor Fink和Homebrew,没有垃圾,导致macOS很新鲜。绕过MacPorts构建我在DEPUG选项的“诊断”输出中找到了下一个: MBP:~ user$ > port -d diagnose Checking for correct Xcode version... [SUCCESS] Checking for for 'curl'... [SUCCESS] Checking for for 'rsync'... [SUCCESS] Checking for for 'openssl'... [SUCCESS] Checking for for 'sqlite3'... [SUCCESS] Checking for MacPorts' location... [SUCCESS] Checking for free disk space... [SUCCESS] Checking for dylibs in …
1 macos  macports 


2
尝试使用macports安装lighttpd,但是'升级openssl失败'?
我想用macports安装lighttpd,但是: $ sudo port install lighttpd ---> Computing dependencies for openssl ---> Building openssl Error: Target org.macports.build returned: shell command failed (see log for details) Log for openssl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade openssl failed To report a bug, see …

2
Macports Apache httpd无法在Mac OS X Yosemite上启动
所以,经过2天努力想象为什么Macports Apache httpd突然决定停止工作,最后它归结为: $ sudo bash -x /opt/local/apache2/bin/apachectl -k start ARGV='-k start' HTTPD=/opt/local/apache2/bin/httpd test -f /opt/local/apache2/bin/envvars . /opt/local/apache2/bin/envvars test x '!=' x DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib export DYLD_FALLBACK_LIBRARY_PATH LYNX='lynx -dump' STATUSURL=http://localhost:80/server-status ULIMIT_MAX_FILES= '[' x '!=' x ']' ERROR=0 '[' 'x-k start' = x ']' case $ARGV in /opt/local/apache2/bin/httpd -k start ERROR=1 exit 1 …

1
使用sudo的macport selfupdate在代理后面失败
我刚刚安装了macport,但是selfupdate失败。我怀疑这是因为我在公司网络中位于代理后面,但无法弄清楚如何解决它。 对于背景,我设置了代理: $> typeset -p http_proxy declare -x http_proxy="http://proxy:8080" 但是macports失败getaddrinfo: $> sudo port -d selfupdate DEBUG: Copying /Users/i063510/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs ---> Updating MacPorts base sources using rsync rsync: getaddrinfo: rsync.macports.org 873: nodename nor servname provided, or not known rsync error: error in socket IO (code …

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.