Thread: [q-lang-users] Problems installing on OS X
Brought to you by:
agraef
From: Don G. <dg...@cc...> - 2008-04-06 02:44:40
|
Hi, all -- 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. -- Don Groves |
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 |
From: Ryan S. <rya...@us...> - 2008-04-06 22:19:26
|
On Apr 6, 2008, at 17:16, Ryan Schmidt wrote: > 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. Sorry, I forgot to say how to do this. To force the activation if the zlib port if you get that error message, you can: sudo port -f activate zlib |
From: Don G. <dg...@cc...> - 2008-04-07 06:23:54
|
On Apr 6, 2008, at 19:18 , Ryan Schmidt wrote: > > On Apr 6, 2008, at 17:16, Ryan Schmidt wrote: > >> 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. > > Sorry, I forgot to say how to do this. To force the activation if the > zlib port if you get that error message, you can: > > sudo port -f activate zlib Thanks, Ryan, this solved the problem for me. Now that I know a bit about MacPorts, I'll ask in the right venue next time. -- don |
From: Tim H. <q...@st...> - 2008-04-07 10:53:12
|
Don Groves <dg...@cc...> writes: > Hi, all -- > > 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. Where did you get your /opt/local/include/zconf.h from, if not ports? Either remove the offending files, run port clean zlib && port install zlib , or you can forcibly activate it with port -f activate zlib and resume, see what that does. I just grabbed and built the latest MacPorts (on a PPC box) over this past weekend and had no such problem. So finally... | zsh, pizza 11:08AM ~/ # port install q | ---> Fetching q | ---> Attempting to fetch q-7.10.tar.gz from | http://downloads.sourceforge.net/q-lang | ---> Verifying checksum(s) for q | ---> Extracting q | ---> Configuring q | ---> Building q with target all | ---> Staging q into destroot | ---> Installing q 7.10_0 | ---> Activating q 7.10_0 | ---> Cleaning q | zsh, pizza 11:16AM ~/ # It works! Needs more variants adding for things like ODBC, I think... ~Tim -- <http://spodzone.org.uk/> |
From: Ryan S. <rya...@us...> - 2008-04-07 18:02:33
|
On Apr 7, 2008, at 05:21, Tim Haynes wrote: [q in macports] > Needs more variants adding for things like ODBC, I think... I'm happy to add variants to the port. I don't use q myself so I don't really know what's typical or desired. But if you will file enhancement requests in the issue tracker and assign (or Cc) them to me, ideally including a patch to the portfile to implement it, or at least mentioning which configure flag is necessary, I'll try to add it. http://guide.macports.org/#project |