[MacPorts] #32411: glib2 compilation fails
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: glib2 lion | Port: glib2 ------------------------------+--------------------------------------------- I have installed glib2 before, this is only an upgrade. The message is: checking for gcc... /Developer/usr/bin/llvm-gcc-4.2 checking whether the C compiler works... no configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2': configure: error: C compiler cannot create executables As you can see, Xcode is installed (version 4.2), and /Developers/usr/bin /llvm-gcc-4.2 exists. -- Ticket URL: <https://trac.macports.org/ticket/32411> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Changes (by macsforever2000@…): * keywords: glib2 lion => Old description:
I have installed glib2 before, this is only an upgrade. The message is: checking for gcc... /Developer/usr/bin/llvm-gcc-4.2 checking whether the C compiler works... no configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2': configure: error: C compiler cannot create executables
As you can see, Xcode is installed (version 4.2), and /Developers/usr/bin /llvm-gcc-4.2 exists.
New description: I have installed glib2 before, this is only an upgrade. The message is: {{{ checking for gcc... /Developer/usr/bin/llvm-gcc-4.2 checking whether the C compiler works... no configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2': configure: error: C compiler cannot create executables }}} As you can see, Xcode is installed (version 4.2), and /Developers/usr/bin /llvm-gcc-4.2 exists. -- Comment: In the future, please use WikiFormatting. Are you able to install anything? -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by pkubaj@…): Replying to [comment:1 macsforever2000@…]:
In the future, please use WikiFormatting.
Are you able to install anything? Nope, it wants to upgrade glib2 first.
-- Ticket URL: <https://trac.macports.org/ticket/32411#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… Comment: Please remember to Cc the maintainer of the affected port. Please attach the config.log. It's in the directory identified by the command: {{{ port work glib2 }}} -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by pkubaj@…): Attached. And please, delete these CCs, it was by accident... -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by ryandesign@…): That is the main.log. Could you attach the config.log please? -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by ryandesign@…): In the config.log I see: {{{ cc1: error: /usr/local/include: Permission denied }}} So the problem seems to be that the directory /usr/local/include exists, and you do not have permission to look into it. We don't support having things installed in /usr/local while using MacPorts because it can cause conflicts and failed builds, so I recommend you remove /usr/local, clean glib2, and try again. -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by pkubaj@…): Thanks, I saw it earlier, but didn't want to do anything about it, since it's related to Chameleon (I use Hackintosh). -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Well the fatal error is coming from the fact that the directory is unreadable (by the macports user), so you could get past that error by making that directory readable to that user. But like I said files in /usr/local often interfere. What files are there? -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by pkubaj@…): fdisk440 (I don't know how it got there, I didn't install it for sure) and bdmesg (which is related to Chameleon, at first I thought it was configuration file, but now it seems to be only a log, like dmesg, so probably no harm done here). -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Let us know what happens when you either move /usr/local out of the way, or change the permissions of /usr/local/include so that the macports user can read it, and then try building glib2 again. -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by pkubaj@…): I've already removed it. -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by ryandesign@…): And glib2 builds now? -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails ------------------------------+--------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: glib2 ------------------------------+--------------------------------------------- Comment(by pkubaj@…): Yes. -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32411: glib2 compilation fails when /usr/local/include is unreadable -------------------------------+-------------------------------------------- Reporter: pkubaj@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: glib2 | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/32411#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts