IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 19 years ago

Closed 19 years ago

#990 closed defect (fixed)

pschecklibs doesn't set dlltype and /sw/ paths in Darwin section

Reported by: jester@… Owned by: eugene
Priority: high Milestone:
Component: psconfig Version: 2.3
Severity: critical Keywords:
Cc:

Description

The .dylib extension and the necessity to look in /sw/ for libs and headers applies equally to intel and powerpc macs, so the Darwin section needs to look like this:

if ($sys eq "Darwin") {

if ($mach == "i386") {

$arch="darwin_x86";

} else {

$arch = "darwin";

}
$dlltype = "dylib";
$mach = uname -m; chomp $mach;
unshift @libpath, "/sw/lib";
unshift @incpath, "/sw/include";
unshift @incpath, "/usr/include/sys";
return;

}

Change History (3)

comment:1 by Paul Price, 19 years ago

Cc: price@… added
Resolution: fixed
Status: newclosed

Applied the fix to CVS head.

comment:2 by jester@…, 19 years ago

Resolution: fixed
Status: closedreopened

Sorry, botched the Fix, as Tommy Grav pointed out in
http://pan-starrs.ifa.hawaii.edu/mailman/private/ps-ipp-users/msg00234.html

It should be

if ($sys eq "Darwin") {

$mach = uname -m; chomp $mach;
if ($mach == "i386") {

$arch="darwin_x86";

} else {

$arch = "darwin";

}
$dlltype = "dylib";
unshift @libpath, "/sw/lib";
unshift @incpath, "/sw/include";
unshift @incpath, "/usr/include/sys";
return;

}

instead of what I had earlier. (Didn't seem to make a difference in the compilation, though, since it found all of the libraries in architecture-independent paths.)

comment:3 by Paul Price, 19 years ago

Resolution: fixed
Status: reopenedclosed

Have made this change in CVS head.

Note: See TracTickets for help on using tickets.