|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
macrumors newbie
Join Date: Mar 2009
|
Installing MacPorts & Fink Under Snow Leopard (10.6)
For those of us who need these packages, here are some tips for installing both under 10.6:
For fink, a great set of instructions exists here: http://sage.ucsc.edu/~wgscott/xtal/w..._Fink_for_10.5
For MacPorts, the process was even simpler (although it does look more complicated in these instructions, really it is simpler):
Now, to get the binary paths configured properly for all users of the Mac, I edited /etc/profile with the following:
Then, close your Terminal window and reopen a new one in order to use the fink and port commands. (In case you don't know, closing/reopening the window in Terminal is the easiest way to test that your installations and path configurations work properly and that your bash sessions can find the paths as you configured them... but if you're following along up to this point, you probably know that already!) |
|
|
|
| thinkingman |
| View Public Profile |
| Find More Posts by thinkingman |
|
|
#2 |
|
macrumors newbie
Join Date: May 2005
|
Thank you!
This is helpful to know. I don't have access to Snow Leopard yet. Is there any confirmation that packages will be updated from Leopard versions?
|
|
|
|
|
|
#3 |
|
macrumors regular
Join Date: Jun 2008
Location: Bolivia, according to my flag :P
|
Thanks. This is helpful. I am having a problem though - when I ./configure, it is saying that I have no c compiler, even though I have developer tools installed and was using macports on leopard. What can I do short of trying to reinstall the developer tools?
__________________
15" MBP 2.16GHz 3GB 120GB; MacPro Quad 2.8GHz 8GB 5.52TB; PM OC Dual 933 1.75GB 300GB; 20" iMac G5 1.8GHz 2GB 80GB; eMac OC 1.4GHz 768MB 30GB |
|
|
|
| dilbert4life |
| View Public Profile |
| Find More Posts by dilbert4life |
|
|
#4 |
|
macrumors newbie
Join Date: Jul 2008
|
thanks!
With ports working I am moving completely to Snow Leopard...
Thanks again. |
|
|
|
|
|
#5 | |
|
macrumors newbie
Join Date: Jan 2008
|
Quote:
Any ideas? (I'm only installing macports here, not fink) -- update -- You need to use the Xcode installer that comes with Snow Leopard! I foolishly tried using the download of Xcode 3.1.3! Last edited by jphastings : Jul 23, 2009 at 09:28 AM. |
|
|
|
|
| jphastings |
| View Public Profile |
| Find More Posts by jphastings |
|
|
#6 |
|
macrumors newbie
Join Date: Aug 2009
|
Path Issues
I initially had difficulty getting this to work and started investigating some fairly nasty issues related to threading when I realized that I had a /opt directory already from a previous old install of MacPorts. I renamed it /opt.old (in case I needed to refer to it later) and all went smoothly.
While probably not even related, but just to be sure, I also renamed my /sw directory (from an old fink install). I migrated both directories to my new machine a while back and the architecture was even different, so the binaries in there were most likely pretty useless. Hope this helps. -Troy |
|
|
|
|
|
#7 |
|
macrumors newbie
Join Date: Mar 2008
Location: Munich
|
Fink installation migration
I have the same problem. I updated from Leopard to Snow Leopard and now in any of my projects that rely on Linux libraries I get linker complaints about wrong architecture libraries.
I did a fink dist-upgrade right after my Snow Leopard migration, but that seems not to have updated the packages to 64 bit.I looked at the above mentioned guide, and I am tempted to move my existing /sw directory to a backup (/sw_bak) and do a clean fink ./bootstrap onto /sw. But as far as I understand that of course means I'll have to install packages by hand, don't I? I did create a list of installed fink packages two months ago, it is still a bit of a hassle, but I most definitely need the libraries for software development. Is there an easier way to migrate? Otherwise I'll just bite the bullet, move the directory and go through my package list with fink install <package> (I still could write a bash script maybe). ![]() Thanks. |
|
|
|
|
|
#8 |
|
macrumors newbie
Join Date: Nov 2009
|
Macports ./Configure Error during MacPorts compilation
Hello
i came across this error when i run ./configure during MacPorts compilation checking for Tcl package directory... /sw64/lib/tcl8.5 checking whether tclsh was compiled with threads... no configure: error: tcl wasn't compiled with threads enabled is there any tip for resolving this problem as i tried different stuff thanks in advance Bye |
|
|
|
| alisajjad007 |
| View Public Profile |
| Find More Posts by alisajjad007 |
|
|
#9 |
|
macrumors regular
Join Date: Aug 2009
|
Regarding MacPorts: download their Snow Leopard installer package, it will automatically install MacPorts without going through all the hassle in the first post.
@alisajjad007: either recompile tcl with thread support or try the official installer from MacPorts. |
|
|
|
|
|
#10 |
|
Thread Starter
macrumors newbie
Join Date: Mar 2009
|
I'll second that…
…I will second that, here, now that 10.6 is officially out (actually 10.6.2), you can quite easily install the official Snow Leopard release and avoid messages like the above. Despite what I've read recommended in other places, I had quite a bit of luck just installing the official package over the previous installation.
Mahalo, Thinkingman
__________________
Thinkingman.com / OrangePurpleSilver.com New Media Advanced web app, game, print and crossmedia design. |
|
|
|
| thinkingman |
| View Public Profile |
| Find More Posts by thinkingman |
|
|
#11 |
|
macrumors 6502a
Join Date: Mar 2008
Location: Amsterdam
|
Do you mean during Fink compilation? /sw64 looks like a Fink path. MacPorts uses /opt
__________________
15" MBP 2.8GHz, 4GB RAM, 320GB@7200 | iPod TouchTrack your delivery in real-time! |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|