Opened 12 years ago

Closed 8 years ago

#35341 closed defect (worksforme)

Xcode not found when user directory is not on main drive

Reported by: mjcohen Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.2
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I have my user directory on a different drive than the OS (10.7). xcode installs without any problems and I can start it.

I downloaded the 10.7 installer and it seems to run OK.

When I run

sudo port -v selfupdate

it runs OK.

When I run

sudo port upgrade outdated

every package gets this message:

Warning: Xcode does not appear to be installed; most ports will likely fail to build.

xcode is in Macintosh HD/Applications and my user directory is in mce/mjc

What do I need to adjust to have ports know where xcode is, and is there anything else I need to do?

Thanks

Change History (4)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Component: portsbase
Description: modified (diff)
Keywords: xcode and ports on different drives removed
Summary: xcode not found - user directory is not on main driveXcode not found when user directory is not on main drive
Type: requestdefect

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

Description: modified (diff)

I don't see any reason why the location of your home directory should matter. Ensure you have Xcode installed, and that you have installed the Xcode command line tools (from within the Xcode application's Preferences window's Downloads section), and that you have used xcode-select to select the location of your Xcode.

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

@mjcohen: Were you able to get this issue resolved?

comment:4 Changed 8 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.