Now MacPorts will look for portfiles in the working copy and use Git instead of rsync Should look like this: rsync:///macports/release/tarballs/ports.tar Ĭhange it to point to the working copy you checked out: file:///opt/mports/macports-ports opt/local/etc/macports/nf in a text editor. Check out the ports tree from git: $ cd /opt/mports $ git clone This step is useful if you want to do port development. (Optional) Configure MacPorts to use port information from Git configure -enable-readline $ make $ sudo make install $ make distclean configure to relocate MacPorts to another directory if needed. MacPorts uses autoconf and makefiles for installation. $ mkdir -p /opt/mports $ cd /opt/mports $ git clone $ cd macports-base $ git checkout v2.8.1 # skip this if you want to use the development version Will create /opt/mports/macports-base containing everything needed for opt/mports will be used, but you can put the source anywhere. Snow Leopard).Pick a location to store a working copy of the MacPorts code. The current Mac OS X release (10.7, A.K.A Lion) and the immediately Release of every software title (port) we distribute, without We provide a single software tree that attempts to track the latest MacPorts software package under a BSD License, and through it easyĪccess to thousands of ports that greatly simplify the task ofĬompiling and installing open-source software on your Mac. To that end we provide the command-line driven The MacPorts Project is an open-source community initiative to designĪn easy-to-use system for compiling, installing, and upgrading eitherĬommand-line, X11 or Aqua based open-source software on the Mac OS X I solved this problem by installing MacPort (1.8.2) using source code. Update: Turns out I needed to re-install the newest version of Xcode. Now I am trying to install phpMyAdmin by doing sudo port install phpmyadmin but I get this error message: -> Computing dependencies for phpmyadminĮrror: Unable to execute port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?ĭid I miss a step in installing MacPorts? I was able to download the version of the MacPorts package installer for Snow Leopard, install MacPorts and run sudo port -v selfupdate (note the -v difference) and get it to update correctly. ![]() Update: I decided to install MacPorts to see what would happen. ![]() Maybe I am trying to install the wrong thing? Any suggestions? I also don't know the difference between Darwin Ports and MacPorts. I don't know what that means or what I should do. ![]() Did find: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: no matching architecture in universal wrapper while executing "load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib" ("package ifneeded Pextlib 1.0" script) invoked from within "package require Pextlib 1.0" (file "/opt/local/bin/port" line 40) But when I run sudo port -d selfupdate like the documentation says to do, I get some sort of message: dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found. I ran the installer and it seemed to install just fine. So I decided to download and install Darwin Ports to make my life a little easier. Also, I did not have a great experience using MacPorts, so I don't recommend using it. It's easy to use and doesn't clutter up your system with a bunch of junk directories. I would recommend using Homebrew instead.
0 Comments
Leave a Reply. |