building / packaging CSWpm-net-libidn
Dagobert Michelsen
dam at opencsw.org
Mon Apr 27 14:52:24 CEST 2015
Hi Riccardo,
> Am 27.04.2015 um 14:42 schrieb Riccardo Mottola <rmottola at opencsw.org>:
>
> Hi,
>
> since CSWpm-net-libidn is missing on Solaris 9, I wanted to build it, so that I can rebuild gwhois and cleanup all the gnulinks stuff with fresh packages.
>
> I issue "mgar build package" and get:
> gmake: Entering directory `/home/rmottola/opencsw/cpan/Net-LibIDN/trunk/work/build-isa-sparcv8/Net-LibIDN-0.12'
> gmake: *** No targets specified and no makefile found. Stop.
> gmake: Leaving directory `/home/rmottola/opencsw/cpan/Net-LibIDN/trunk/work/build-isa-sparcv8/Net-LibIDN-0.12'
> gmake[1]: *** [build-work/build-isa-sparcv8/Net-LibIDN-0.12/Makefile] Error 2
> gmake[1]: Leaving directory `/home/rmottola/opencsw/cpan/Net-LibIDN/trunk'
> gmake: *** [build-isa-sparcv8] Error 2
Because there is no Makefile because the configure phase fails. Just take a look
at the buildlog:
> ==> Running Makefile.PL in work/solaris9-sparc/build-isa-sparcv8/Net-LibIDN-0.12
> ( cd work/solaris9-sparc/build-isa-sparcv8/Net-LibIDN-0.12 ; \
> HOME="/home/dam" PATH="/home/dam/mgar/pkg/.buildsys/v2/gar/bin/sos12-wrappers:/home/dam/mgar/pkg/cpan/Net-LibIDN/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/bin:/home/dam/mgar/pkg/cpan/Net-LibIDN/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/bin:/home/dam/mgar/pkg/cpan/Net-LibIDN/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/sbin:/home/dam/mgar/pkg/cpan/Net-LibIDN/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/SUNWspro/bin:/home/dam/mgar/pkg/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin" LC_ALL="C" prefix="/opt/csw" exec_prefix="/opt/csw" bindir="/opt/csw/bin" sbindir="/opt/csw/sbin" libexecdir="/opt/csw/libexec" datadir="/opt/csw/share" sysconfdir="/etc/opt/csw" sharedstatedir="/opt/csw/share" localstatedir="/var/opt/csw" libdir="/opt/csw/lib" infodi
> r="/opt/csw/share/info" lispdir="/opt/csw/share/emacs/site-lisp" includedir="/opt/csw/include" mandir="/opt/csw/share/man" docdir="/opt/csw/share/doc" sourcedir="/opt/csw/src" CPPFLAGS="-I/opt/csw/include" CFLAGS="-xO3 -m32 -xarch=v8" CXXFLAGS="-xO3 -m32 -xarch=v8" LDFLAGS="-m32 -xarch=v8 -L/opt/csw/lib" FFLAGS="-xO3 -m32 -xarch=v8" FCFLAGS="-xO3 -m32 -xarch=v8" F77="/opt/SUNWspro/bin/f77" FC="/opt/SUNWspro/bin/f95" ASFLAGS="" OPTFLAGS="-xO3 -m32 -xarch=v8" CC="/opt/SUNWspro/bin/cc" CXX="/opt/SUNWspro/bin/CC" CC_HOME="/opt/SUNWspro" CC_VERSION="Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11" CXX_VERSION="Sun C++ 5.9 SunOS_sparc Patch 124863-30 2012/07/11" GARCH="sparc" GAROSREL="5.9" GARPACKAGE="trunk" LD_OPTIONS="-R/opt/csw/lib/\$ISALIST -R/opt/csw/lib -B direct -z ignore -L/opt/csw/lib -lperl" PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig" DESTDIR="/home/dam/mgar/pkg/cpan/Net-LibIDN/trunk/work/solaris9-sparc/install-isa-sparcv8" PERL5LIB= PERL_MM_USE_DEFAULT=1 /opt/csw/bin/perl Makefile.PL \
> --prefix=/opt/csw --exec_prefix=/opt/csw --bindir=/opt/csw/bin --sbindir=/opt/csw/sbin --libexecdir=/opt/csw/libexec --datadir=/opt/csw/share --sysconfdir=/etc/opt/csw --sharedstatedir=/opt/csw/share --localstatedir=/var/opt/csw --libdir=/opt/csw/lib --infodir=/opt/csw/share/info --includedir=/opt/csw/include --mandir=/opt/csw/share/man INSTALLDIRS=vendor )
> Unknown option: prefix
> Unknown option: exec_prefix
> Unknown option: bindir
> Unknown option: sbindir
> Unknown option: libexecdir
> Unknown option: datadir
> Unknown option: sysconfdir
> Unknown option: sharedstatedir
> Unknown option: localstatedir
> Unknown option: libdir
> Unknown option: infodir
> Unknown option: includedir
> Unknown option: mandir
> cc: Warning: illegal option -norunpath
^^^^ This is the problem, the compiler on Solaris 9 does not understand it.
> "__test1.c", line 1: cannot find include file: <idna.h>
> "__test1.c", line 8: warning: implicit function declaration: idna_to_ascii_8z
> cc: acomp failed for __test1.c
> gcc: error: unrecognized option '-norunpath'
> This module requires GNU Libidn, which could not be found.
> [configure-modulated] complete for Net-LibIDN.
>
> Is there some special caveat for perl packages?
No :-)
> Why does gwhois depend on a perl package at all?
I guess you need to investigate.
Best regards
— Dago
--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2418 bytes
Desc: not available
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20150427/8e030001/attachment-0001.p7s>
More information about the maintainers
mailing list