Opened 10 years ago
Closed 10 years ago
#44640 closed defect (fixed)
p5-wx: fails to install when Xcode is not at /Applications/Xcode.app
Reported by: | watsodw | Owned by: | mojca (Mojca Miklavec) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mf2k (Frank Schima) | |
Port: | p5-wx |
Description
See log
Attachments (3)
Change History (13)
Changed 10 years ago by watsodw
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Cc: | mojca@… removed |
---|---|
Owner: | changed from macports-tickets@… to mojca@… |
Port: | p5-wx added; p5.16-wx removed |
comment:2 Changed 10 years ago by mojca (Mojca Miklavec)
comment:3 Changed 10 years ago by mojca (Mojca Miklavec)
Version: | 2.3.1 |
---|
comment:4 Changed 10 years ago by mojca (Mojca Miklavec)
Summary: | p5.16-wx fails upgrade → p-wx: fails to upgrade on 10.8 and later |
---|
comment:5 Changed 10 years ago by mojca (Mojca Miklavec)
Summary: | p-wx: fails to upgrade on 10.8 and later → p5-wx: fails to upgrade on 10.8 and later |
---|
comment:6 Changed 10 years ago by mojca (Mojca Miklavec)
Cc: | mf2k@… added |
---|
comment:7 Changed 10 years ago by mojca (Mojca Miklavec)
I need some help with this ticket. I would like to know why RESTTOOLDIR
ends up being set with a weird value.
On 10.7 it's RESTOOLDIR='/Applications/Xcode.app/Contents/Developer/Tools'
. The file build/Wx/build/MakeMaker/MacOSX_GCC.pm
contains:
my $tools43 = '/Applications/Xcode.app/Contents/Developer/Tools'; my $restoolpath = ( -d $tools43 ) ? $tools43 : '/Developer/Tools';
so apparently the value ends up being wrong as long as /Applications/Xcode.app/Contents/Developer/Tools
doesn't exist?
Can you please try the following patch:
-
build/Wx/build/MakeMaker/MacOSX_GCC.pm
old new die "Please set MACOSX_DEPLOYMENT_TARGET to 10.3 or above" 10 10 if $ENV{MACOSX_DEPLOYMENT_TARGET} && $ENV{MACOSX_DEPLOYMENT_TARGET} < 10.3; 11 11 12 12 my $tools43 = '/Applications/Xcode.app/Contents/Developer/Tools'; 13 my $restoolpath = ( -d $tools43 ) ? $tools43 : '/Developer/Tools';13 my $restoolpath = '/usr/bin'; 14 14 15 15 sub configure_core { 16 16 my $this = shift;
Changed 10 years ago by mojca (Mojca Miklavec)
Attachment: | p5-wx-resttool.diff added |
---|
Changed 10 years ago by mojca (Mojca Miklavec)
Attachment: | clipboard.png added |
---|
Failed to create the clipboard. (error 13: Permission denied)
comment:8 Changed 10 years ago by mojca (Mojca Miklavec)
Summary: | p5-wx: fails to upgrade on 10.8 and later → p5-wx: fails to install when Xcode is not at /Applications/Xcode.app |
---|
comment:9 Changed 10 years ago by mojca (Mojca Miklavec)
I didn't get any feedback at all, but I nevertheless committed r124467. If there are any problems, please report. This needs to be reported upstream.
comment:10 Changed 10 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I have the binary in
on 10.7. For some reason 10.9 sets
and then tries to use
$(RESTOOLDIR)/Rez
which fails.