pkgsrc-Bugs archive

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

Re: pkg/44612: misc/p5-Locale-libintl fails to build on SunOS



The following reply was made to PR pkg/44612; it has been noted by GNATS.

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/44612: misc/p5-Locale-libintl fails to build on SunOS
Date: Sun, 20 Feb 2011 15:27:06 +0100

 On Sun, Feb 20, 2011 at 10:10:01AM +0000, cheusov%tut.by@localhost wrote:
 > $ cd misc/p5-Locale-libintl
 > $ bmake configure
 > ...
 > ===> Configuring for p5-Locale-libintl-1.20nb1
 > Checking whether we can compile the XS version ... ok
 > => Building the XS version of libintl-perl.
 > Checking if your kit is complete...
 > Looks good
 > Writing Makefile for Locale::gettext_xs
 > Writing Makefile for libintl-perl
 
 On NetBSD-5.99.45, I get here:
 => Checking for portability problems in extracted files
 Checking whether we can compile the XS version ... no
 => Cannot build the XS version of libintl-perl (see 'config.log' for
 => details).  This is harmless!
 Checking if your kit is complete...
 Looks good
 Writing Makefile for libintl-perl
 # less work/libintl-perl-1.20/config.log
 cc -O2 -pthread -I/usr/include -fno-strict-aliasing -pipe -fstack-protector 
-Wl,-R/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -fstack-protector -lm -lcrypt 
-lpthread -o gettest.exe gettest.c
 gettest.c:8:3: error: #error "<libintl.h> is not GNU gettext.  Maybe you have 
to adjust your include path."
 ...
 
 > $ bmake build
 > ...
 > ===> Building for p5-Locale-libintl-1.20nb1
 > Makefile out-of-date with respect to 
 > /usr/pkg/lib/perl5/5.12.0/i386-solaris-thread-multi-64/Config.pm 
 > /usr/pkg/lib/perl5/5.12.0/i386-solaris-thread-multi-64/CORE/config.h
 > Cleaning current config before rebuilding Makefile...
 > make -f Makefile.old clean > /dev/null 2>&1
 > /usr/pkg/bin/perl Makefile.PL "INSTALLDIRS=vendor"
 > Checking whether we can compile the XS version ... ok
 > => Building the XS version of libintl-perl.
 > Checking if your kit is complete...
 > Looks good
 > Writing Makefile for Locale::gettext_xs
 > Writing Makefile for libintl-perl
 > ==> Your Makefile has been rebuilt. <==
 > ==> Please rerun the make command.  <==
 > false
 
 Here I see:
 # make
 => Bootstrap dependency digest>=20010302: found digest-20080510
 ===> Building for p5-Locale-libintl-1.20nb1
 (lots of cp and Manifying)
 => Unwrapping files-to-be-installed.
 
 What's the time stamp on the cited files?
 /usr/pkg/lib/perl5/5.12.0/i386-solaris-thread-multi-64/Config.pm
 /usr/pkg/lib/perl5/5.12.0/i386-solaris-thread-multi-64/CORE/config.h
 
  Thomas
 


Home | Main Index | Thread Index | Old Index