[vlc-devel] ncursesw.pc not generated in contribs for MacOSX 10.9 build

Christophe de Dinechin christophe at taodyne.com
Tue Mar 18 09:22:14 CET 2014


Hello,


I've been trying to build VLC on a MacOSX 10.9 system with MacPorts installed. That does not work, there is an issue with libiconv. The MacPorts libiconv in /opt/local/lib has symbols like _libiconv_open, the same library in /usr/lib has _iconv_open. It's hard to remove libiconv from MacPorts, as on that system, 62 ports depend on it.

So I tried to move the MacPorts root /opt to /_opt, as per a suggestion found here: https://forum.videolan.org/viewtopic.php?f=32&t=108986. When I do that, the configure fails because ncursesw is no longer found (previously, configure found it in /opt thanks to MacPorts). Here is the detailed build sequence I used, from a VLC directory straight from git:

% export PKG_CONFIG_PATH=$VLC/contrib/x86_64-apple-darwin11/lib/pkgconfig
% cd contrib
% rm -rf x86_64-apple-darwin11/
% mkdir osx
% cd osx
% ../bootstrap --host=x86_64-apple-darwin11 --build=x86_64-apple-darwin11
% make prebuilt
% cd ../..
% ./bootstrap
% mkdir build
% cd build
% ../extras/package/macosx/configure.sh --host=x86_64-apple-darwin11 --build=x86_64-apple-darwin11
[...]
configure: WARNING: The skins2 module depends on the Qt4 interface, Qt4 is not built so skins2 is disabled.
checking for NCURSES... no
configure: error: No package 'ncursesw' found.

Investigating further, it appears that there is no ncurses.pc in the contrib/x86_64-apple-darwin11/lib/pkgconfig directory, Apparently, commit 8494d6cd31987e69dc623ed3557f653cfb1198c0 is supposed to do that, but that no longer seems to work. Is that normal, doctor?


Thanks,
Christophe de Dinechin




More information about the vlc-devel mailing list