Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#37659 closed defect (invalid)

xorg-libX11: error: /usr/local/include: Permission denied

Reported by: xboxwee@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: xorg-libX11

Description

I am running Lion on my computer with Xcode 4.5.2 installed. I am trying to update MacPorts and Wine using this command: sudo port selfupdate && sudo port upgrade outdated The sudo port selfupdate worked fine, but when it came to the sudo port upgrade outdated I got an error that look like the following:

--->  Configuring xorg-libX11
Error: org.macports.configure for port xorg-libX11 returned: configure failure: command execution failed
Please see the log file for port xorg-libX11 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_xorg-libX11/xorg-libX11/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Then when that didn't work I tried this command line: sudo port upgrade --force installed and I got the same error. I am not sure what this error means, but I looked online and on the MacPorts website for answers and I could not find any. I have included the log file.

Attachments (1)

main.log (14.0 KB) - added by xboxwee@… 12 years ago.
Log File that the error message to me to look at

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by xboxwee@…

Attachment: main.log added

Log File that the error message to me to look at

comment:1 Changed 12 years ago by xboxwee@…

For the attachements main.log the description should be: Log file that the error message told me to look at

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added
Port: xorg-libX11 added; 1 removed
Resolution: invalid
Status: newclosed
Summary: [1] [2.1.2] configure failure: command execution failxorg-libX11: error: /usr/local/include: Permission denied

The log says:

error: /usr/local/include: Permission denied

Having software installed in /usr/local while using MacPorts can cause problems and is therefore unsupported. See wiki:FAQ#usrlocal. Please remove /usr/local, then "sudo port clean xorg-libX11", then try again.

comment:3 Changed 12 years ago by xboxwee@…

Okay, that worked. Thanks for the help!

Note: See TracTickets for help on using tickets.