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: | 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 , 19 years ago
| Cc: | added |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:2 by , 19 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
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 , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
Have made this change in CVS head.

Applied the fix to CVS head.