macports

mavericks macports installed outdated

一世执手 提交于 2019-12-13 14:23:51
问题 After I upgrade to OS X Mavericks, all the installed ports become outdated. I can't use my gcc any more, please help. The following installed ports are outdated: bzip2 1.0.6_0 < 1.0.6_0 (platform darwin 12 != darwin 13) cctools 839_2 < 839_2 (platform darwin 12 != darwin 13) cctools-headers 839_0 < 839_0 (platform darwin 12 != darwin 13) cloog 0.18.0_0 < 0.18.0_0 (platform darwin 12 != darwin 13) curl 7.33.0_0 < 7.33.0_0 (platform darwin 12 != darwin 13) curl-ca-bundle 7.33.0_0 < 7.33.0_0

Transition from “MacPython” to MacPorts python3 a good idea for EIN & Scipy?

牧云@^-^@ 提交于 2019-12-13 04:01:31
问题 I started off learning Python on OS X 10.6 (Snow Leopard) with a python.org Python dmg. I think I've seen this called "MacPython" on SO, but I'm also thinking that this MacPython (currently Google's top hit for "MacPython") is different, right? Although I felt like my python.org Python 3.3.0 install was working reasonably well for me initially (using distribute , easy_install , and pip , I installed several new packages including IPython ), I'd like to start using Emacs IPython Notebook (EIN)

MacPorts 2.1.2 git and libsndfile installation

你说的曾经没有我的故事 提交于 2019-12-13 02:56:31
问题 I try to install git and libsndfile with port, but I get this messages. MacPorts 2.1.2 Error: Port git not found Error: Port libsndfile not found What is the problem? 回答1: You can try port search git to search for the right port. This article will show you how to install the Version Control Git : Installing git with MacPorts Do a sudo port selfupdate to updating the MacPorts base sources then do a sudo port install libsndfile . You may want to perform a sudo port upgrade outdated to upgrade

How do I install php-cgi? I tried MacPort, Package and everything else but none works

旧巷老猫 提交于 2019-12-12 19:17:46
问题 I am trying to install php-cgi on my macbook (Yosemite 10.9.3) because the PhpStorm IDE keeps coming back to me "php-cgi not found" when i try to open things in browser. I tried to use a newer version of php interpreter because the current version is 5.4. But I can only find the packages in the php.net site but I have no clue how to install it. I also tried to download homebrew but again have no clue how to start there. I tried to use MacPort to install a fastcgi by using this line: sudo port

Install an older package through macports [closed]

风流意气都作罢 提交于 2019-12-12 18:24:28
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am trying sudo port install opencv @2.4.3_1+python27 but macports installs opencv @2.4.6.1_0+python27 how can I force macports to install the desired version of a package. 来源: https://stackoverflow.com/questions/18831402/install-an-older-package-through-macports

Aspell won't build on OS X 10.9 (Mavericks)

浪子不回头ぞ 提交于 2019-12-12 14:53:31
问题 It fails thus: ./common/errors.hpp:17:36: error: redefinition of 'aerror_other' with a different type: 'const acommon::ErrorInfo *const' vs 'const struct AspellErrorInfo *const' I've seen this error mentioned several times, but I've not seen any fixes. I suppose I could install Fink or MacPorts, but my experience with both of those has been mixed (and frustrating), and it seems like overkill for just one program. Is there a way to get aspell to build, or is Fink or MacPorts the only practical

“Segmentation fault” during “import cv” on Mac OS

送分小仙女□ 提交于 2019-12-12 08:07:06
问题 Trying to compile opencv on my Mac from source. I have following CMakeCache.txt: http://pastebin.com/KqPHjBx0 I make ccmake .. , press c , then g . Than I make sudo make -j8 : http://pastebin.com/cJyr1cEd Than I make sudo make install : http://pastebin.com/W77syYBj And than I make import cv in python and get "Segmentation faul" with this stacktrace: http://pastebin.com/gegYAK1u I don't know what could be useful to help me, pls. ask, I'll get it. 回答1: I had a same situation and resolved the

homebrew uninstall/move macports UNDO [closed]

☆樱花仙子☆ 提交于 2019-12-12 05:08:28
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . brew doctor told me to move macports: sudo mv /opt/local ~/macports So I did that and now nothing works properly. What would be the command to move macports back to where it was? 回答1: I think you mean: sudo mv ~/macports /opt/local mv is a standard unix shell command to move files and directories. 来源: https:/

import gtk not working on mac

泪湿孤枕 提交于 2019-12-12 04:58:23
问题 I am new to Python and mac OS. I've Installed py27-pygtk-2.24.0_3 from macports . I tried to run the following: #!/opt/local/bin/python2.7 import gtk window=gtk.Window() window.connect("destroy", gtk.main_quit) button=gtk= gtk.Button("Hello") window.add(button) window.show_all()\gtk.main() I am executing the file through Python Launcher and get this error: Import error:No module named GTK I spent the whole day searching for answer. Can someone help me and make it work? 回答1: First of all, you

Getting PyGame to import in Python interpreter after MacPorts install

血红的双手。 提交于 2019-12-12 04:35:03
问题 I'm trying to start using the pygame module but I can't get it to run. I'm using Mountain Lion with Python 2.7 and MacPorts, but I also installed some science and math modules using Anaconda before I ever discovered and started using MacPorts. Note that my MacPorts was just updated before I started any of the following. I initially tried to just use: sudo port install py27-game which looked like it worked and set everything up without a problem. But, when I go into the Python interpreter from