Skip Menu |

This queue is for tickets about the Config-UCL CPAN distribution.

Report information
The Basics
Id: 131674
Status: new
Priority: 0/
Queue: Config-UCL

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: (no value)



Subject: Compilation fails even with libucl-dev installed
On my Debian smokers libucl-dev (which provides /usr/include/ucl/ucl.h) is installed. However, compilation still fails: ... cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/opt/perl-5.8.9/lib/5.8.9/x86_64-linux/CORE" UCL.c UCL.xs:8:17: fatal error: ucl.h: No such file or directory #include <ucl.h> ^ compilation terminated. Makefile:335: recipe for target 'UCL.o' failed make: *** [UCL.o] Error 1 ... It seems that you module just checks for /usr/include/ucl.h, but not for /usr/include/ucl/ucl.h
On 2020-02-04 15:14:52, SREZIC wrote: Show quoted text
> On my Debian smokers libucl-dev (which provides > /usr/include/ucl/ucl.h) is installed. However, compilation still > fails: > > ... > cc -c -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.03\" > -DXS_VERSION=\"0.03\" -fPIC "-I/opt/perl-5.8.9/lib/5.8.9/x86_64- > linux/CORE" UCL.c > UCL.xs:8:17: fatal error: ucl.h: No such file or directory > #include <ucl.h> > ^ > compilation terminated. > Makefile:335: recipe for target 'UCL.o' failed > make: *** [UCL.o] Error 1 > ... > > It seems that you module just checks for /usr/include/ucl.h, but not > for /usr/include/ucl/ucl.h
Actually it seems that my advise was bad --- libucl found on Debian systems seems to be something different. From the package description: Portable compression library - development UCL is a portable lossless data compression library written in ANSI C, implementing a number of compression algorithms that achieve an excellent compression ratio while allowing *very* fast decompression. So libucl here seems to be a compression library rather than a config library. But it's quite unfortunate that the authors chose the same name for different things...
Thanks for trying. It seems that Debian does not have a https://github.com/vstakhov/libucl port. I use this. https://www.freshports.org/textproc/libucl
On 2020-02-12 15:55:26, bokutin wrote: Show quoted text
> Thanks for trying. > > It seems that Debian does not have a > https://github.com/vstakhov/libucl port. > > I use this. > https://www.freshports.org/textproc/libucl
Thanks for the hint --- I enabled automatic package installation on freebsd systems for CPAN.pm with the Sysdeps plugin (see https://github.com/eserte/cpan-plugin-sysdeps/blob/721d5e5ce7f7489764955fedcc81d0e693417f07/lib/CPAN/Plugin/Sysdeps/Mapping.pm#L603 ). Now at least my freebsd smokers can fully build and test your module. Regards, Slaven