Re: [q-lang-users] Problems installing on OS X
Brought to you by:
agraef
From: Ryan S. <rya...@us...> - 2008-04-06 22:17:11
|
On Apr 5, 2008, at 21:44, Don Groves wrote: > I'm highly interested in Q and just tried to install the MacPorts > version with the following results: > > ---> Fetching pkgconfig > ... > ---> Activating zlib 1.2.3_1 > Error: Target org.macports.activate returned: Image error: /opt/local/ > include/zconf.h already exists and does not belong to a registered > port. Unable to activate port zlib. > Error: The following dependencies failed to build: curl zlib gmp > readline ncurses ncursesw > Error: Status 1 encountered during processing. > > Any help will be greatly appreciated. This question really belongs on the macports-users mailing list, not the q-lang-users list, since your problem right now is with installing zlib, not q. The message means that the zlib port is trying to install the file / opt/local/include/zconf.h but this file already exists on your system. Why does it? It shouldn't, unless you had a previous installation of MacPorts, removed it incompletely, and then reinstalled it. If that's the case, you should remove MacPorts completely [1] and reinstall it and then everything should work. You can also force the activation of the zlib port. For each file it's trying to install which it finds to already exist, it will rename it, tell you about it, then install the file it was going to install. You can manually remove the renamed older files later. You should not generally need to go through all this, though. If you find this happening on many ports, something is amiss in your MacPorts installation, and the best idea is to remove and reinstall. [1] http://trac.macports.org/projects/macports/wiki/ FAQ#HowdoIremoveoruninstallMacPorts |