Skip Menu |

This queue is for tickets about the Sys-Syslog CPAN distribution.

Report information
The Basics
Id: 21333
Status: resolved
Priority: 0/
Queue: Sys-Syslog

People
Owner: Nobody in particular
Requestors: cpanrt-2009 [...] billmail.scconsult.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.18
Fixed in: 0.19



Subject: make fails on Solaris 8 with perl 5.6.1
Show quoted text
cpan> install Sys::Syslog
Running install for module Sys::Syslog Running make for S/SA/SAPER/Sys-Syslog-0.18.tar.gz Is already unwrapped into directory /.cpan/build/Sys-Syslog-0.18 CPAN.pm: Going to build S/SA/SAPER/Sys-Syslog-0.18.tar.gz Checking if your kit is complete... Looks good 'LICENSE' is not a known MakeMaker parameter name. Writing Makefile for Sys::Syslog cp Syslog.pm blib/lib/Sys/Syslog.pm /usr/bin/perl -I/usr/local/lib/perl5/5.6.1/sun4-solaris -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp -noprototypes -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap Syslog.xs > Syslog.xsc && mv Syslog.xsc Syslog.c Error: 'const char *' not in typemap in Syslog.xs, line 108 *** Error code 1 make: Fatal error: Command failed for target `Syslog.c' /usr/ccs/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible # perl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4-solaris uname='sunos solaris 5.8 generic sun4u sparc sunw,ultra-5_10 ' config_args='-Dcc=gcc -de' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers='solaris2.8' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib ' libpth=/usr/local/lib /usr/lib /usr/ccs/lib libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lc perllibs=-lsocket -lnsl -ldl -lm -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under solaris Compiled at Apr 26 2001 04:07:49 @INC: /usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl
Subject: Re: [rt.cpan.org #21333] make fails on Solaris 8 with perl 5.6.1
Date: Tue, 05 Sep 2006 22:21:06 +0200
To: bug-Sys-Syslog [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Show quoted text
> -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp > -noprototypes -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap > Syslog.xs > Syslog.xsc && mv Syslog.xsc Syslog.c > Error: 'const char *' not in typemap in Syslog.xs, line 108
Can you try with the following patch and confirm that it works? --- Makefile.PL.old 2006-09-05 21:30:25.858662008 +0200 +++ Makefile.PL 2006-09-05 21:33:09.112843600 +0200 @@ -3,6 +3,12 @@ eval 'use ExtUtils::MakeMaker::Coverage'; require 5.006; +if ($] < 5.008) { + open(TYPEMAP, ">typemap") or die "fatal: can't write typemap: $!"; + print TYPEMAP "const char *\t\tT_PV\n"; + close(TYPEMAP); +} + WriteMakefile( NAME => 'Sys::Syslog', LICENSE => 'perl', -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: RE: [rt.cpan.org #21333] make fails on Solaris 8 with perl 5.6.1
Date: Tue, 5 Sep 2006 16:30:22 -0400
To: <bug-Sys-Syslog [...] rt.cpan.org>
From: "Cole, William" <William.Cole [...] gedas.com>
That works. Thank you. Show quoted text
-----Original Message----- From: Sébastien Aperghis-Tramoni via RT [mailto:bug-Sys-Syslog@rt.cpan.org] Sent: Tuesday, September 05, 2006 4:21 PM To: Cole, William Subject: Re: [rt.cpan.org #21333] make fails on Solaris 8 with perl 5.6.1 <URL: http://rt.cpan.org/Ticket/Display.html?id=21333 >
> -I/usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp > -noprototypes -typemap /usr/local/lib/perl5/5.6.1/ExtUtils/typemap > Syslog.xs > Syslog.xsc && mv Syslog.xsc Syslog.c > Error: 'const char *' not in typemap in Syslog.xs, line 108
Can you try with the following patch and confirm that it works? --- Makefile.PL.old 2006-09-05 21:30:25.858662008 +0200 +++ Makefile.PL 2006-09-05 21:33:09.112843600 +0200 @@ -3,6 +3,12 @@ eval 'use ExtUtils::MakeMaker::Coverage'; require 5.006; +if ($] < 5.008) { + open(TYPEMAP, ">typemap") or die "fatal: can't write typemap: $!"; + print TYPEMAP "const char *\t\tT_PV\n"; + close(TYPEMAP); +} + WriteMakefile( NAME => 'Sys::Syslog', LICENSE => 'perl', -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: RE: [rt.cpan.org #21333] make fails on Solaris 8 with perl 5.6.1
Date: Tue, 05 Sep 2006 22:41:44 +0200
To: bug-Sys-Syslog [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Show quoted text
> That works. > > Thank you.
Nice. It will be included in the next release. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
This issue has been resolved with Sys::Syslog 0.19 Thanks for reporting this bug. -- Close the world, txEn eht nepO.