Opened 12 years ago

Closed 12 years ago

#15788 closed defect (invalid)

kdelibs3 fails to build on OSX 10.5 /w fresh install of macports & Xcode

Reported by: jrtomshine@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: kdelibs3 Cc:
Port:

Description

I'm attaching a log file that shows the particulars of the failure. I should note that I did take advantage of the ability to install Xcode in a non-default directory, if that makes any difference (it's in /Developer/Xcode rather than /Developer).

Attachments (1)

kdeedu3_macports_errors.txt (57.4 KB) - added by jrtomshine@… 12 years ago.
error log file

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by jrtomshine@…

Attachment: kdeedu3_macports_errors.txt added

error log file

comment:1 Changed 12 years ago by jrtomshine@…

I should also note that Xcode is version 3.0, although errors that macports produces seem to indicate that it believes I'm using a much older version.

comment:2 Changed 12 years ago by skymoo (Adam Mercer)

The last error kind of offers a solution, try running:

sudo ln -s /usr/X11/lib/libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib

and rebuilding

comment:3 in reply to:  2 ; Changed 12 years ago by jrtomshine@…

Replying to ram@macports.org:

The last error kind of offers a solution, try running:

sudo ln -s /usr/X11/lib/libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib

and rebuilding

This appears to work -- thanks! I now have kstars running, which was my final goal. I'm actually surprised that it was so simple, given all the other errors that were being thrown by macports -- things this fix couldn't have addressed & must still be present.

comment:4 in reply to:  3 Changed 12 years ago by ryandesign (Ryan Schmidt)

Replying to jrtomshine@yahoo.com:

I should also note that Xcode is version 3.0, although errors that macports produces seem to indicate that it believes I'm using a much older version.

MacPorts was not producing an error message; rather, the kdelibs3 software was for some reason printing out the entire contents of a script -- a script which apparently can produce an error message about Xcode version, but it did not do so in your case because you have a recent enough Xcode.

Replying to jrtomshine@yahoo.com:

Replying to ram@macports.org:

The last error kind of offers a solution, try running:

sudo ln -s /usr/X11/lib/libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib

and rebuilding

This appears to work -- thanks! I now have kstars running, which was my final goal. I'm actually surprised that it was so simple, given all the other errors that were being thrown by macports -- things this fix couldn't have addressed & must still be present.

I really didn't see any other errors being shown in your output, other than the one about libXrandr.2.0.0.dylib not being found -- which is a curious problem since libXrandr.2.0.0.dylib should be there, and is there on my Mac OS X 10.5.4 system with Apple X11 on Intel. How did you install your X11 system? Did you use Apple X11 as provided with Mac OS X, or did you maybe install XQuartz?

comment:5 Changed 12 years ago by blb@…

Ticket #14592 has some sleuthing information on the libXrandr 2.[01].0 deal...

comment:6 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:7 Changed 12 years ago by takanori@…

Resolution: invalid
Status: newclosed

No response from the reporter.

Note: See TracTickets for help on using tickets.