Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#18708 closed defect (fixed)

rb-cocoa should not fail to instal if it can't write to /Library

Reported by: tim@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: rb-cocoa

Description (last modified by blb@…)

When macports is installed to my $HOME dir and I attempt to install rb-cocoa it fail to install. I do not need developer templates. I just need the library. Maybe make the +xcode variant for people that need it?

tim-dysingers-macbook-pro:~ tim$ port install rb-cocoa
--->  Fetching rb-cocoa
--->  Attempting to fetch RubyCocoa-0.13.2.tgz from http://distfiles.macports.org/ruby
--->  Verifying checksum(s) for rb-cocoa
--->  Extracting rb-cocoa
--->  Applying patches to rb-cocoa
--->  Configuring rb-cocoa
--->  Building rb-cocoa
--->  Staging rb-cocoa into destroot
--->  Installing rb-cocoa @0.13.2_2+darwin_9
--->  Activating rb-cocoa @0.13.2_2+darwin_9
Error: Target org.macports.activate returned: can't create directory "/Library/Application Support/Developer/Shared/Xcode/File Templates": permission denied
Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 12 years ago by blb@…

Description: modified (diff)
Owner: changed from macports-tickets@… to kimuraw@…
Port: rb-cocoa added

Installing there is also violating the standard MacPorts filesystem layout, so it should definitely be changed; of course Xcode probably won't see them if they're moved, so perhaps a message during post-activate pointing out the alternate location and that they should be symlinked or something?

comment:2 Changed 12 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: newclosed

I added a variant "xcode" as r48379.

  • -xcode (default): install templates into ${prefix}/share/doc/rb-cocoa/project-templats/
  • +xcode: install templates into /Library/Application Support/Developer/Shared/Xcode/

thanks,

comment:3 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.