pkgsrc-Users archive

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

Re: misc/tmux on OS X



Hi,

In message <42A306DA-4AC4-4E20-8F1B-C833FF9E6337%baaz.fr@localhost>
        on Tue, 5 Nov 2013 14:18:44 +0100,
        Jean-Yves Moulin <jym%baaz.fr@localhost> wrote:
> When adding curses.buildking.m3 into Makefile, it can compile the curses test,
>  then setupterm test is successful:
> checking for library containing setupterm... -lcurses
> 
> 
> I'm using clang with ABI=64 on OS X 10.9.
I have also the same environment.

It looks like there is no terminfo library but termcap and curses.
After enabling locate.updatedb:

reef# locate libterminfo
reef# locate libtermcap 
/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
reef# locate libcurses 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/libcurses.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libcurses.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/libcurses.dylib
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/usr/lib/libcurses.dylib
/usr/lib/libcurses.dylib

And libcurses.dylib and libtermcap.dylib have those symbolic links.

reef# ls -l /usr/lib/libcurses.dylib /usr/lib/libtermcap.dylib 
lrwxr-xr-x  1 root  wheel  20 Nov  4 17:55 /usr/lib/libcurses.dylib -> 
libncurses.5.4.dylib
lrwxr-xr-x  1 root  wheel  20 Nov  4 17:55 /usr/lib/libtermcap.dylib -> 
libncurses.5.4.dylib

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index