macports

How to downgrade macports software to old revision?

放肆的年华 提交于 2019-12-02 07:03:31
问题 I have an application that uses the software package ffmpeg-devel which is installed via macports. Last month I updated macports by running port selfupdate and port upgrade outdated which installed a new version of ffmpeg-devel . My Application building process then started to fail with errors mentioning compatibility. I'm 99% sure that this happens because of the new version of ffmpeg-devel . I had before ffmpeg-devel @20130205_0 , now I have ffmpeg-devel @20130328_0 . I'm not a "guru" and

How to downgrade macports software to old revision?

大憨熊 提交于 2019-12-02 04:39:50
I have an application that uses the software package ffmpeg-devel which is installed via macports. Last month I updated macports by running port selfupdate and port upgrade outdated which installed a new version of ffmpeg-devel . My Application building process then started to fail with errors mentioning compatibility. I'm 99% sure that this happens because of the new version of ffmpeg-devel . I had before ffmpeg-devel @20130205_0 , now I have ffmpeg-devel @20130328_0 . I'm not a "guru" and after installing the new version I did remove the old version by mistake, so now I need to install the

python installation can't find psycopg2 ImportError

て烟熏妆下的殇ゞ 提交于 2019-12-02 03:50:43
I'm calling on psycopg2 with import psycopg2 I get the std error ImportError: No module named psycopg2 I installed my copy with macports, so I'm curious why it wouldn't work because all of the dependencies should be downloaded as well. I don't have any experience with Postgresql, nor this module, so I don't know what could be going wrong. Fact is, another project I'm trying to get built calls upon it, so if I could avoid using this I would. :) I'm sure that postgresql is installed, but that has little to do with the fact that my installation can't find psycopg2. Any suggestinos would be

where is $PATH set? Specifically where is my mac port path being set? [closed]

主宰稳场 提交于 2019-12-01 19:47:08
when i do echo $PATH is see: /opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql84/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/mysql/bin:/usr/X11/bin I want to move the /opt/local stuff to the end of the path because it is causing errors with gitk. (the same error specified here: Starting gitk Error ) I've already commented out the export PATH line in my .bash_profile, but my path is STILL set like the above. I also checked etc/paths.d but don't see anything for mac ports in there. I commented out a similar export PATH line in my .profile. Again my path

Python will not recognize MacPorts installed packages

北慕城南 提交于 2019-12-01 08:14:41
Thank you in advance for the advice! Background: Relative to the people on this site I'm new to programming, and despite some research I'm not familiar with using Unix-type shells, with what managing packages really involves, or with anything which is done outside of the "Dr. Java" IDE or default R GUI. I have a late-2008 macbook with OSX 10.5.8 My Goal: I'm trying to get the following packages installed in Python: scipy, numpy, matplotlib, networkX My Story: From what I understand my 10.5.8 comes installed with a Python 2.5, which the system needs for its functioning, and you really shouldn't

How to get gdb to work using macports under OSX 10.11 El Capitan?

白昼怎懂夜的黑 提交于 2019-12-01 08:06:58
This arose from How to install gdb (debugger) in Mac OSX El Capitan? . I have macports working under el capitan no problem and have installed the gdb port but I can't get the codesigning to work. It all seems to have worked. The certificate is there and "Always Trust" is set. The binary shows: $ codesign -d -v -v /opt/local/bin/ggdb Executable=/opt/local/bin/ggdb Identifier=org.gnu.gdb Format=Mach-O thin (x86_64) CodeDirectory v=20100 size=25320 flags=0x0(none) hashes=1261+2 location=embedded Signature size=1392 Authority=gdb-cert Signed Time=23 Oct 2015, 07:56:53 Info.plist entries=4

Python will not recognize MacPorts installed packages

佐手、 提交于 2019-12-01 07:42:33
问题 Thank you in advance for the advice! Background: Relative to the people on this site I'm new to programming, and despite some research I'm not familiar with using Unix-type shells, with what managing packages really involves, or with anything which is done outside of the "Dr. Java" IDE or default R GUI. I have a late-2008 macbook with OSX 10.5.8 My Goal: I'm trying to get the following packages installed in Python: scipy, numpy, matplotlib, networkX My Story: From what I understand my 10.5.8

How to get gdb to work using macports under OSX 10.11 El Capitan?

旧街凉风 提交于 2019-12-01 06:22:12
问题 This arose from How to install gdb (debugger) in Mac OSX El Capitan?. I have macports working under el capitan no problem and have installed the gdb port but I can't get the codesigning to work. It all seems to have worked. The certificate is there and "Always Trust" is set. The binary shows: $ codesign -d -v -v /opt/local/bin/ggdb Executable=/opt/local/bin/ggdb Identifier=org.gnu.gdb Format=Mach-O thin (x86_64) CodeDirectory v=20100 size=25320 flags=0x0(none) hashes=1261+2 location=embedded

Trouble installing libunwind-headers via macports

天涯浪子 提交于 2019-12-01 05:47:44
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_devel_libunwind-headers/libunwind-headers/main.log To report a bug, follow the instructions in the

Errors installing some gems on Snow Leopard - libxml2

给你一囗甜甜゛ 提交于 2019-12-01 03:54:52
After upgrading to Snow Leopard, I found that installing some gems no longer worked, including webrat, mechanize etc. Each time I get this error: checking for xmlParseDoc() in -lxml2... no libxml2 is missing. try 'port install libxml2' or 'yum install libxml2' *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. And no, I haven't tried installing it with macports, because I forswore macports a couple years back when I discovered I couldn't easily