[MacPorts] #32772: libffi doesn't configure correctly..
#32772: libffi doesn't configure correctly.. ------------------------------+--------------------------------------------- Reporter: h_atac@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: libffi | Port: libffi ------------------------------+--------------------------------------------- Ok, actually libffi works, but outside the port.. Let me explain: when I try to compile it via port.. It says compiler cannot make executable when executing configure.. So, I tried doing configure and make steps myself and it succeeded.. I don't know why port gives error.. I'm attaching main.log file here -- Ticket URL: <https://trac.macports.org/ticket/32772> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32772: libffi doesn't configure correctly.. ------------------------------+--------------------------------------------- Reporter: h_atac@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: libffi | Port: libffi ------------------------------+--------------------------------------------- Comment(by h_atac@…): Ok, I think I know the problem but I don't know how to fix it.. The c compiler clang doesn't exist in Xcode 4.3's /Applications/Xcode.app/Contents/Developer/usr/bin directory. I copied it to this directory from older Xcode's directory ( /Developer/usr/bin ) but this time I got another error.. and I think it will continue like this.. Is there any way to correctly configure port to work with Xcode 4.3, or is there any way to redirect it to use Xcode 4.2's tools? I'm an iOS developer and I need to have Xcode 4.3 installed on my machine to test my programs. -- Ticket URL: <https://trac.macports.org/ticket/32772#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32772: libffi doesn't configure correctly.. ------------------------------+--------------------------------------------- Reporter: h_atac@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: libffi | Port: libffi ------------------------------+--------------------------------------------- Comment(by h_atac@…): cleaned libffi, and tried to install again... This time, completed configuration successfully.. But gave an error on make on stdarg.h After inspecting, I found there is no clang directory under lib in Xcode 4.3's directory, so I copied it from Xcode 4.2.. And now it completed compilation.. You could close this ticket and share this information to other users who could have similar problems. -- Ticket URL: <https://trac.macports.org/ticket/32772#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32772: libffi doesn't configure correctly.. ------------------------------+--------------------------------------------- Reporter: h_atac@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: libffi ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * keywords: libffi => Comment: We cannot support pre-release versions of Xcode. If you build MacPorts from trunk, you should have better support for Xcode 4.3; jberry just committed some fixes a day or two ago to help MacPorts find where Xcode 4.3 puts its clang. -- Ticket URL: <https://trac.macports.org/ticket/32772#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32772: libffi doesn't configure correctly.. ------------------------------+--------------------------------------------- Reporter: h_atac@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: libffi ------------------------------+--------------------------------------------- Comment(by info@…): sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ instead of sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer did the trick for me, for another package. But this is more a temporary fix, as this should be already fixed in MacPorts SVN trunk, as I read. -- Ticket URL: <https://trac.macports.org/ticket/32772#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32772: libffi doesn't configure correctly with Xcode 4.3 -------------------------------+-------------------------------------------- Reporter: h_atac@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: libffi | -------------------------------+-------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: #33286 -- Ticket URL: <https://trac.macports.org/ticket/32772#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts