pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Setting TERMCAP location



Hi,

Looks like Apple changed the location where the TERMCAP headers live
on Mavericks.

$ locate termcap.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/termcap.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/termcap.h

Meaning the header files are now only available within the SDK and not
in /usr/include.

The library itself is available in the SDKs and in /usr/lib:

$ locate termcap.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libtermcap.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libtermcap.dylib
/usr/lib/libtermcap.dylib

That leads to a build failure on all packages that require TERMCAP.

$ bmake
ERROR: This package has set PKG_FAIL_REASON:
ERROR: No usable termcap library found on the system.
*** Error code 1

Stop.
bmake: stopped in /Users/markus/pkgsrc/databases/sqlite3

What's the best way to tell pkgsrc how to find the headers?

Thanks,
-Markus


Home | Main Index | Thread Index | Old Index