macports

Broken Java Mac 10.6

拜拜、爱过 提交于 2019-12-01 03:45:34
Some background: On Mac OS X 10.6 using Macports and I have DYLD_LIBRARY_PATH set in my .bash_profile. The problem: When I run java -version I get this error: Error occurred during initialization of VM Unable to load native library: libjava.jnilib By way of one helpful forum thread , I've discovered the problem is some files in my '/opt/local/lib' directory are causing trouble because of the DYLD_LIBRARY_PATH I've set. When I remove the files starting with libgif, libjpeg, libpng and libtiff from '/opt/local/lib', the problem goes away and `java -version' works, but the ports that depend on

“OSError: dlopen(libSystem.dylib, 6): image not found” (OS X + macports + Celery 3.1.7)

为君一笑 提交于 2019-12-01 02:39:58
问题 I just updated celery via pip (1.5) to the latest version (3.1.7), but I get a fatal exception which I don't understand as soon I try to import the library. By running: from celery import Celery in the shell I get: File "<console>", line 1, in <module> File "/Users/davidezanotti/CygoraPythonEnv/lib/python2.7/site-packages/celery/__init__.py", line 130, in <module> from .five import recreate_module File "/Users/davidezanotti/CygoraPythonEnv/lib/python2.7/site-packages/celery/five.py", line 51,

Is there a way to get the CLISP compiled with dynamic FFI support on Mac OS?

有些话、适合烂在心里 提交于 2019-12-01 02:30:08
问题 I use clisp 2.48 (2009-07-28) on Mac OS X 10.6.4. I downloaded the clisp with 'sudo port install clisp'. After installing quick lisp, I installed some packages, and most of them are OK. However, when I tried to install "sqlite", I got the following error. [1]> (ql:quickload "sqlite") To load "sqlite": Load 1 ASDF system: sqlite ; Loading "sqlite" [package cffi-sys] *** - CFFI requires CLISP compiled with dynamic FFI support. It says that my clisp installed with mac port doesn't have FFI

Errors installing some gems on Snow Leopard - libxml2

落花浮王杯 提交于 2019-12-01 00:57:44
问题 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

Broken Java Mac 10.6

僤鯓⒐⒋嵵緔 提交于 2019-12-01 00:48:32
问题 Some background: On Mac OS X 10.6 using Macports and I have DYLD_LIBRARY_PATH set in my .bash_profile. The problem: When I run java -version I get this error: Error occurred during initialization of VM Unable to load native library: libjava.jnilib By way of one helpful forum thread, I've discovered the problem is some files in my '/opt/local/lib' directory are causing trouble because of the DYLD_LIBRARY_PATH I've set. When I remove the files starting with libgif, libjpeg, libpng and libtiff

Sneaky patching source with Macports

自闭症网瘾萝莉.ら 提交于 2019-11-30 21:55:21
For almost as long as I've been using vim and have known enough C, I've customised the installed vim to remove a 'feature' that annoys me. When I switched to using a Mac with macports, I achieved this by uninstalling any previous vim port, fetching the source, manually editing the source and then having Macports continue the installation, using my freshly customised source. sh> sudo port uninstall vim sh> sudo port fetch vim sh> sudo /usr/bin/vim /opt/local/wherever/port/put/the/source/file.c sh> sudo port install vim Now[1] when I try this, the port install command re-fetches the code from

Remove preinstalled python from Mac OSX 10.8

ε祈祈猫儿з 提交于 2019-11-30 19:05:47
I want to move to python 3.0 and therefore remove the default python 2.7 (2.6,2.5...) installation on my mac. Including all the installed packages, $PATH,... Does the python installer from python.org oder MacPorts installer provide an uninstaller, or is there a way to do this manually? That's a COMPLETELY TERRIBLE idea, and you should never do that. You're likely to break dependencies and requirements for various software that expect to find the default Python in the default location. Install your choice of Python 3 ( MacPorts, Python.org, whatever ). Update your local $PATH variables to use

Perl strategy for a new Snow Leopard user? [closed]

非 Y 不嫁゛ 提交于 2019-11-30 15:50:17
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I'm about to get a new iMac. It's my first Intel mac and will presumably come with Snow Leopard. What would other users recommend as the right strategy for installing and using perl on this machine? I know I've read some complaints about the version of Perl (or was it the version

How do I find out how macPorts stole my port:80?

末鹿安然 提交于 2019-11-30 15:45:22
问题 I had MAMP installed (and working fine) then I tried to install mongoDB through macPorts. macports then began installing a bunch of dependencies. after that, http://localhost started giving an "It Works!" screen. after rebooting to see if it might fix it, I found that I could not start my MAMP server. console said this: 9/13/10 1:20:54 PM [0x0-0x12012].de.appsolute.MAMP[133] (48)Address already in use: make_sock: could not bind to address [::]:80 I know that macPorts did something stupid to

Downloading MacPorts dependencies without installing

社会主义新天地 提交于 2019-11-30 13:04:08
The default MacPorts installation downloads each dependency, builds and installs it, then downloads, builds and installs the next dependency, and so on. This means that a constant network connection is required throughout the installation. In my configuration, a constant network connection is not feasible. This means that installation of a large-dependency package can take a very long time. How do I download all dependencies for a specified MacPorts package at the beginning (while connected to the network) and then build and install each dependency (no network connection required)? While