macports


can't install apt on macports

岁酱吖の 提交于 2020-01-23 11:09:06
问题 THe following error appears :info:build Compiling contrib/hashes.cc to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj/apt-pkg/hashes.opic :info:build Compiling depcache.cc to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_apt/work/apt-0.5.27/build/obj/apt-pkg/depcache.opic :info:build contrib/hashes.cc: In member function 'bool Hashes::AddFD(int, long

Upgrading Ruby installation on Mac OS running Snow Leopard 10.6.5

こ雲淡風輕ζ 提交于 2020-01-14 05:58:07
问题 I have a Mac Os running Snow Leopard 10.6.5 and I am trying to upgrade my Ruby installation. Before I did anything, I run the following commands and I had the following results: $ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] $ which ruby /usr/bin/ruby So, to upgrade my installation, I installed first macports and then Ruby using Ruby Version Manager (RVM). 1. bash < <(curl http://rvm.beginrescueend.com/releases/rvm-install-head) 2. mkdir -p ~/.rvm/src/ && cd ~/.rvm

Library not loaded error (libidn.11.dylib) when trying to install Homebrew

蓝咒 提交于 2020-01-11 06:32:05
问题 Trying to install Homebrew on Lion. When I do: /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" I get this error: dyld: Library not loaded: /opt/local/lib/libidn.11.dylib Referenced from: /usr/local/bin/curl Reason: image not found I had MacPorts installed previously but uninstalled it and completely removed /opt/local I also removed /opt/local from my PATH Any idea why this error is happening? 回答1: You built and installed curl into /usr/local/bin , but it linked against

Trouble installing libunwind-headers via macports

笑着哭i 提交于 2020-01-11 05:05:50
问题 In an effort to sudo port install gcc47 It appears that i am missing cctools ld64 libunwind-headers where both cctools ld64 depend on libunwind-headers When trying to sudo port install libunwind-headers I get: ---> Building libunwind-headers Error: org.macports.build for port libunwind-headers returned: command execution failed Please see the log file for port libunwind-headers for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports

Error Importing scapy into Python interpreter on OSX [MacPorts install]

北城以北 提交于 2020-01-07 04:28:28
问题 I installed scapy via MacPorts as recommended here in the official scapy documentation: http://www.secdev.org/projects/scapy/doc/installation.html#mac-os-x It works just fine when I run scapy from the command-line. However now I can't seem to import scapy into the Python interpreter or in a python script, here's the error. Python 2.7.3 (default, Jan 31 2013, 22:54:33) [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin Type "help", "copyright", "credits" or

Build failure during install sqlite3 on Mac OS X 10.6 using MacPorts 1.8

一笑奈何 提交于 2020-01-05 16:26:49
问题 When I do this command : sudo port clean sqlite3 sudo port install sqlite3 I get this error : ---> Computing dependencies for sqlite3 ---> Fetching sqlite3 ---> Verifying checksum(s) for sqlite3 ---> Extracting sqlite3 ---> Configuring sqlite3 ---> Building sqlite3 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/work/sqlite-3.6.18" && /usr/bin/gnumake all " returned

Installed MacPorts PHP, now cannot interface with MySQL - Mac OS X

亡梦爱人 提交于 2020-01-05 12:14:49
问题 I had the standard version of PHP which comes bundled with Mac OS X working perfectly, but I wanted to upgrade to the new version so I used MacPorts, and all went well. I then edited my .conf file and checked and now my version of PHP is updated to the latest version. However, upon running a PHP project I'm working on, it now seems I am unable to interface with MySQL which was working with the standard PHP install which came bundled with Mac OS X (note: I originally installed MySQL from their

Installing Rpy2 on Mac OSX with Anaconda Python 3.4 and R 3.1 installed via Macports

时间秒杀一切 提交于 2020-01-05 12:12:30
问题 pip install rpy2 yields the error: /usr/bin/clang -bundle -undefined dynamic_lookup -L/Users/jeff/anaconda3/lib -arch x86_64 build/temp.macosx-10.5-x86_64-3.4/./rpy/rinterface/_rinterface.o -L/Users/jeff/anaconda3/lib -L/opt/local/Library/Frameworks/R.framework/Resources/lib -lR -lRlapack -licui18n -lRblas -o build/lib.macosx-10.5-x86_64-3.4/rpy2/rinterface/_rinterface.so ld: library not found for -licui18n clang: error: linker command failed with exit code 1 (use -v to see invocation) error:

Macport self update failed

久未见 提交于 2020-01-03 11:57:27
问题 ginnyweasley:~ s66$ sudo port selfupdate Password: ---> Updating MacPorts base sources using rsync Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed I have tried to redownload macports and it still does not seem to work. I have also tried it without sudo and it still does not work. Does anyone have a solution to this problem? thanks. 回答1: I had that problem too. Even, like you, I re-downloaded the distribution and reinstalled.

No liblwgeom when using postgresql84 and postgis on Snow Leopard with MacPorts

試著忘記壹切 提交于 2020-01-02 06:47:53
问题 I'm trying to get my dev environment back up and running after upgrading to Snow Leopard. In particular, I need postgresql and postgis working, but I'm running into the following problem. After installing both with the following: sudo port install postgresql84 postgresql84-server postgis I get errors like the following when I try to load my sql database, which has references to liblwgeom.so ERROR: function public.box3d_in(cstring) does not exist ERROR: incompatible library "/usr/local/pgsql

工具导航Map