- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
将 Mac OS X 升级到最新版本 Mavericks 后,我尝试自行更新我的 Macports,但失败了:
$ sudo port -v selfupdate
---> Updating MacPorts base sources using rsync
receiving file list ... done
sent 36 bytes received 69 bytes 210.00 bytes/sec
total size is 4925440 speedup is 46908.95
receiving file list ... done
sent 36 bytes received 76 bytes 74.67 bytes/sec
total size is 512 speedup is 4.57
MacPorts base version 2.2.0 installed,
MacPorts base version 2.2.1 downloaded.
---> Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar
receiving file list ... done
sent 36 bytes received 70 bytes 70.67 bytes/sec
total size is 57702400 speedup is 544362.26
receiving file list ... done
sent 36 bytes received 77 bytes 75.33 bytes/sec
total size is 512 speedup is 4.53
receiving file list ... rsync: change_dir "tarballs/PortIndex_darwin_13_i386" (in release) failed: No such file or directory (2)
done
sent 4 bytes received 9 bytes 26.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-42/rsync/main.c(1400) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/PortIndex_darwin_13_i386/PortIndex /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 23
---> MacPorts base is outdated, installing new version 2.2.1
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl
checking build system type... x86_64-apple-darwin13.0.0
checking host system type... x86_64-apple-darwin13.0.0
checking target system type... x86_64-apple-darwin13.0.0
checking MacPorts version... 2.2.1
checking for sw_vers... /usr/bin/sw_vers
checking for defaults... /usr/bin/defaults
checking for xcode-select... /usr/bin/xcode-select
checking Mac OS X version... 10.9
checking Xcode location... /Applications/Xcode.app/Contents/Developer
checking Xcode version... 5.0.1
checking for gcc... /usr/bin/cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
<snip>
checking CommonCrypto/CommonDigest.h presence... yes
checking for CommonCrypto/CommonDigest.h... yes
checking for readline in -lreadline... yes
checking whether rl_username_completion_function is declared... no
checking whether rl_filename_completion_function is declared... yes
checking whether rl_completion_matches is declared... yes
checking whether username_completion_function is declared... yes
checking whether filename_completion_function is declared... yes
checking whether completion_matches is declared... yes
checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions
Command failed: cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base && CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make SELFUPDATING=1 && make install SELFUPDATING=1
Exit code: 1
Error: Error installing new MacPorts base: command execution failed
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed
$
如果我只是尝试升级特定端口,它也会失败:
$ sudo port upgrade emacsapp
Password:
Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.
Error: emacsapp is not installed
$ sudo port search emacs
Password:
Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.
$ sudo port upgrade emacs-app
Warning: port definitions are more than two weeks old, consider updating them by running 'port selfupdate'.
---> Fetching archive for gperf
---> Attempting to fetch gperf-3.0.4_2.darwin_13.x86_64.tbz2 from http://packages.macports.org/gperf
---> Attempting to fetch gperf-3.0.4_2.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/gperf
---> Attempting to fetch gperf-3.0.4_2.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gperf
---> Fetching distfiles for gperf
---> Attempting to fetch gperf-3.0.4.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/gperf
---> Verifying checksums for gperf
---> Extracting gperf
Error: org.macports.extract for port gperf returned: command execution failed
Please see the log file for port gperf for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gperf/gperf/main.log
Error: Problem while installing gperf
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
$
任何想法
编辑:
我尝试使用另一台计算机将其从 10.8.5 升级到 10.9,然后尝试对 macports 进行 selfupdate,但它没有再次工作,但给出了不同的错误:
$ sudo port -v selfupdate
---> Updating MacPorts base sources using rsync
receiving file list ... done
base.tar
sent 13396 bytes received 10355 bytes 15834.00 bytes/sec
total size is 4925440 speedup is 207.38
receiving file list ... done
base.tar.rmd160
sent 64 bytes received 635 bytes 1398.00 bytes/sec
total size is 512 speedup is 0.73
MacPorts base version 2.2.1 installed,
MacPorts base version 2.2.1 downloaded.
---> Updating the ports tree
Synchronizing local ports tree from file:///opt/local/var/macports/sources/svn.macports.org/trunk/dports/
svn: E155036: Please see the 'svn upgrade' command
svn: E155036: Working copy '/opt/local/var/macports/sources/svn.macports.org/trunk/dports' is too old (format 10, created by Subversion 1.6)
Command failed: /usr/bin/svn update --non-interactive /opt/local/var/macports/sources/svn.macports.org/trunk/dports
Exit code: 1
Error: Synchronization of the local ports tree failed doing an svn update
Error: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
最佳答案
首先安装“命令行工具”:
sudo xcode-select --install
(有时需要通过“sudo xcodebuild -license”明确同意许可)
然后升级端口:
sudo port -v selfupdate
关于macos - 无法更新 Macports(使用 Mac OS X Mavericks),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19622337/
如果依赖项构建失败,是否也可以安装端口? 我的意思是,我必须安装 texlive,它需要大量依赖项,而其中一个 (py26-libxml2) 无法构建。有办法跳过吗? 我知道它不安全,但我需要它,而且
假设我想将端口重置为其初始状态,包括其配置文件。这可以通过以下方式实现: sudo port uninstall portname sudo port install portname (停用然后重新
port installed 显示本地机器上所有已安装的包,但是有没有办法列出每个包的大小?谢谢! 最佳答案 我不相信 Macports 有一个内置命令来列出你的安装大小,但你可以这样做: 在终端中试
ginnyweasley:~ s66$ sudo port selfupdate Password: ---> Updating MacPorts base sources using rsync
我正在尝试使用 MacPorts 安装 libiconv。当我的 Mac 运行 10.6 时,我需要构建它以在 OS X 10.5 中运行。所以我把这个添加到 macports.conf : maco
有没有办法查看我通过 MacPorts 安装的所有内容? 我知道我已经安装了 Apache 和 php 5.3.8,但我想看看我还安装了哪些内容。 最佳答案 使用已安装的端口列出您的所有端口。 关于m
我坐在机场这里,想出了一些我想尝试的东西,但如果 macports 下载-编译-下载-编译,我没有时间 sudo port install .但是,如果它下载了所有内容,那么我就可以在飞机上对其进行编
我在 mavericks 上安装了 macports,将 macports 标志更改为 +no_x11 -x11 +quartz 然后继续安装geany。现在剪贴板对 geany 根本不起作用。既不在
当尝试通过 Macports 安装 Imagemagick 时,我在构建 perl5.12 依赖项时不断收到错误消息。它说:错误:处理过程中遇到状态 1。 我试过更新 Macports,独立安装/构建
我正在尝试 self 更新我的 Macport,但收到以下消息: Error: /opt/local/bin/port: port selfupdate failed: Error synchroni
我正在尝试从源代码在 Mavericks 上安装 ATLAS(因为我需要 LAPACK/BLAS),因为通过 Macports 安装失败(可能是出于同样的原因?)。尽管多次尝试设置编译器,但仍无法找到
尝试使用以下命令行在我的机器(PPC、Mac OSX 10.5.7)上安装 ruby19 之后 sudo port install ruby19 ruby的版本没变 ruby -v => ruby
最近两次我使用 MacPorts 安装 mysql5 +server ,未安装允许我在启动时启动 MySQL 的 plist。我不记得上次安装时做了什么,如果有的话,我似乎找不到安装它的方法。我错过了
我目前安装了以下 MacPorts: ImageMagick @6.6.4-9_0+q16 ImageMagick @6.6.5-0_0+q16 (active) 如何将 6.6.4 设置为激活状
hansarijanto$ port -v MacPorts 2.0.3 hansarijanto$ xcodebuild -version Xcode 4.3.2 Build version 4E2
如何找到给定文件名的端口名称,更具体地说是可执行文件? Macport网站似乎没有帮助,因为您只能按标题搜索。 谢谢! 最佳答案 不幸的是,MacPorts当前(2.3.1)仅在安装了端口的情况下才支
每次安装新软件包时,我都会看到以下错误消息: ---> Found 1 broken file(s), matching files to ports Warning: No port py24-s
我想使用 macports 安装节点。 但是它根本不起作用: $ sudo port install nodejs Password: ---> Computing dependencies for
我的某个端口有问题。它编译并安装得很好(port install webkit-gtk),实际问题稍后出现(某个符号没有编译到库中,但细节在这里并不重要)。 为了调试和修复此问题,我想在安装之前对 w
有人见过这个吗? version:1 :debug:main Executing org.macports.main (p7zip) :debug:main Skipping completed or
我是一名优秀的程序员,十分优秀!