Subject: | Fails to install without curses.h, even if Alien::unibilium is installed |
Current version seems to expect curses.h, but I thought with unbilium ncurses wasn't required?
Configuring Alien-libtermkey-0.16
Running Build.PL
Building bundled source
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Alien-libtermkey' version '0.16'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have File::Basename 0 ... Yes (2.85)
Checking if you have File::Path 2.07 ... Yes (2.09)
Checking if you have File::Spec 0 ... Yes (3.56)
Building Alien-libtermkey-0.16
Building Alien-libtermkey
libtool --mode=compile --tag=CC gcc -Wall -std=c99 -o termkey.lo -c termkey.c
libtool: compile: gcc -Wall -std=c99 -c termkey.c -fPIC -DPIC -o .libs/termkey.o
libtool: compile: gcc -Wall -std=c99 -c termkey.c -o termkey.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wall -std=c99 -o driver-csi.lo -c driver-csi.c
libtool: compile: gcc -Wall -std=c99 -c driver-csi.c -fPIC -DPIC -o .libs/driver-csi.o
libtool: compile: gcc -Wall -std=c99 -c driver-csi.c -o driver-csi.o >/dev/null 2>&1
libtool --mode=compile --tag=CC gcc -Wall -std=c99 -o driver-ti.lo -c driver-ti.c
libtool: compile: gcc -Wall -std=c99 -c driver-ti.c -fPIC -DPIC -o .libs/driver-ti.o
driver-ti.c:10:21: fatal error: curses.h: No such file or directory
# include <curses.h>
^
compilation terminated.
make: *** [driver-ti.lo] Error 1
Unable to make - No such file or directory at inc/Alien/make/Module/Build.pm line 108.
This is from 'cpanm Tickit' on a clean perl-5.22.0 on Ubuntu 14.04.
Might be related to the way pkg-config files are only installed for the dist, i.e. 'pkg-config unibilium' doesn't find anything if it was installed via Alien::unibilium?
# cpanm Alien::unibilium
Alien::unibilium is up to date. (0.12)
# cpanm Alien::libtermkey
--> Working on Alien::libtermkey
Fetching http://cpan.perlsite.co.uk/authors/id/P/PE/PEVANS/Alien-libtermkey-0.16.tar.gz ... OK
Configuring Alien-libtermkey-0.16 ... OK
Building and testing Alien-libtermkey-0.16 ... FAIL
(and the failure in the log file is those lines reported above)
cheers,
Tom