Opened 11 years ago

Closed 11 years ago

#40670 closed defect (invalid)

errors installing and updating

Reported by: cstring@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port:

Description

I recently tried to install valgrind using port, but ran into some errors in compiling part of it. So I then ran a selfupdate, but the selfupdate fails as well. The self update fails to make flock. I've looked for similar issues but I can't find a fix. I'll attach the debug results. Is there a fix outside of a clean install?

Attachments (2)

valgrind.txt (38.4 KB) - added by cstring@… 11 years ago.
valgrind debug output
selfupdate.txt (18.9 KB) - added by cstring@… 11 years ago.
selfupdate debug output

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by cstring@…

Attachment: valgrind.txt added

valgrind debug output

Changed 11 years ago by cstring@…

Attachment: selfupdate.txt added

selfupdate debug output

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Do you have anything in /usr/local?

comment:2 in reply to:  1 ; Changed 11 years ago by cstring@…

Replying to ryandesign@…:

Do you have anything in /usr/local?

Yes, plenty... why? Here's a listing:

CUDA-4.2         cuda             include          share
MacGPG2          cula             jacket           tests
Qt4.6            etc              lib              texlive
bin              google_appengine sbin             unittests

comment:3 in reply to:  2 ; Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Because having software installed there can conflict with software compiled on your machine, including MacPorts. Try moving /usr/local aside, then trying again.

comment:4 in reply to:  3 Changed 11 years ago by cstring@…

Hmm, that worked. I don't think any of the contents of /usr/local changed recently. I wonder why this hasn't come up in the past. Thank you very much for the help though!

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Ok great, glad you got it working. Ideally you could install any software you need by using MacPorts and not need to manually install anything in /usr/local. If there's any software you need that we don't have ports for or that don't work right please file tickets for those so that we can look into fixing it.

Note: See TracTickets for help on using tickets.