[MacPorts] #35753: can't install macports from source...
#35753: can't install macports from source... -------------------------------------+-------------------------------------- Reporter: eatshit@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 2.1.2 Keywords: install source macports | Port: -------------------------------------+-------------------------------------- Why can't I install macports from source!? Okay, I open a terminal window inside the folder that I unzipped the source into. Then, I typed, './configure.' This is the output that I get: checking build system type... i386-apple-darwin12.0.0 checking host system type... i386-apple-darwin12.0.0 checking target system type... i386-apple-darwin12.0.0 checking MacPorts version... 2.1.2 checking for sw_vers... /usr/bin/sw_vers checking for defaults... /usr/bin/defaults checking for xcode-select... /usr/bin/xcode-select checking Mac OS X version... 10.8 checking Xcode location... /Applications/Xcode.app/Contents/Developer checking Xcode version... 4.4.1 checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/Users/XXXXXXXXXXXXX/Downloads/MacPorts-2.1.2': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details I tried to research the error message online & all I get is that XCode wasn't installed. I know that can't be the case for me because, as you can see, I do have XCode installed. In fact, I have the latest version of XCode(4.4.1) installed along with the latest version of OS X(Mountain Lion). So, it has to be something else. Can anybody please tell me what exactly the problem is!? I am at my wits end trying to install MacPorts. I first tried the .pkg installer but I kept getting errors when trying to use MacPorts after installing it via the .pkg that I downloaded. Now, I try to install it via source and I still get a bunch of BS errors! I must say, MacPorts is one bug-ridden piece of software! It's a shame because it would make OS X just that much more awesome if one could easily install UNIX progs on it with ease just like you can with most Linux versions out there. If anybody has a solution for my problem, please email me at retselseer(@)yahoo(.)co(.)uk . Thanks. -- Ticket URL: <https://trac.macports.org/ticket/35753> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35753: can't install macports from source... -------------------------------------+-------------------------------------- Reporter: eatshit@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.1.2 Resolution: invalid | Keywords: Port: | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * component: ports => base * milestone: MacPorts Future => * keywords: install source macports => * resolution: => invalid Old description:
Why can't I install macports from source!? Okay, I open a terminal window inside the folder that I unzipped the source into. Then, I typed, './configure.' This is the output that I get:
checking build system type... i386-apple-darwin12.0.0 checking host system type... i386-apple-darwin12.0.0 checking target system type... i386-apple-darwin12.0.0 checking MacPorts version... 2.1.2 checking for sw_vers... /usr/bin/sw_vers checking for defaults... /usr/bin/defaults checking for xcode-select... /usr/bin/xcode-select checking Mac OS X version... 10.8 checking Xcode location... /Applications/Xcode.app/Contents/Developer checking Xcode version... 4.4.1 checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/Users/XXXXXXXXXXXXX/Downloads/MacPorts-2.1.2': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details
I tried to research the error message online & all I get is that XCode wasn't installed. I know that can't be the case for me because, as you can see, I do have XCode installed. In fact, I have the latest version of XCode(4.4.1) installed along with the latest version of OS X(Mountain Lion). So, it has to be something else. Can anybody please tell me what exactly the problem is!? I am at my wits end trying to install MacPorts. I first tried the .pkg installer but I kept getting errors when trying to use MacPorts after installing it via the .pkg that I downloaded. Now, I try to install it via source and I still get a bunch of BS errors! I must say, MacPorts is one bug-ridden piece of software! It's a shame because it would make OS X just that much more awesome if one could easily install UNIX progs on it with ease just like you can with most Linux versions out there. If anybody has a solution for my problem, please email me at retselseer(@)yahoo(.)co(.)uk . Thanks.
New description: Why can't I install macports from source!? Okay, I open a terminal window inside the folder that I unzipped the source into. Then, I typed, './configure.' This is the output that I get: {{{ checking build system type... i386-apple-darwin12.0.0 checking host system type... i386-apple-darwin12.0.0 checking target system type... i386-apple-darwin12.0.0 checking MacPorts version... 2.1.2 checking for sw_vers... /usr/bin/sw_vers checking for defaults... /usr/bin/defaults checking for xcode-select... /usr/bin/xcode-select checking Mac OS X version... 10.8 checking Xcode location... /Applications/Xcode.app/Contents/Developer checking Xcode version... 4.4.1 checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/Users/XXXXXXXXXXXXX/Downloads/MacPorts-2.1.2': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details }}} I tried to research the error message online & all I get is that XCode wasn't installed. I know that can't be the case for me because, as you can see, I do have XCode installed. In fact, I have the latest version of XCode(4.4.1) installed along with the latest version of OS X(Mountain Lion). So, it has to be something else. Can anybody please tell me what exactly the problem is!? I am at my wits end trying to install MacPorts. I first tried the .pkg installer but I kept getting errors when trying to use MacPorts after installing it via the .pkg that I downloaded. Now, I try to install it via source and I still get a bunch of BS errors! I must say, MacPorts is one bug-ridden piece of software! It's a shame because it would make OS X just that much more awesome if one could easily install UNIX progs on it with ease just like you can with most Linux versions out there. If anybody has a solution for my problem, please email me at retselseer(@)yahoo(.)co(.)uk . Thanks. -- Comment: I apologize that you had trouble, but in this case it's not MacPorts' fault. Apple changed how they distribute Xcode, and they no longer install the command line tools that compiling MacPorts or other software requires in /usr/bin. To get these parts, you need to install the Xcode command line tools from within the Xcode application's Preference window's Downloads section. This is documented [https://www.macports.org/install.php on the install page of our website], [http://guide.macports.org/#installing.xcode.lion.43 in our guide], and [wiki:ProblemHotlist#clt in our wiki]. Installing MacPorts via the pre-compiled package should also have worked. If you'd like to debug why that failed, feel free to write to the [https://www.macports.org/contact.php#Lists macports-users mailing list]. -- Ticket URL: <https://trac.macports.org/ticket/35753#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts