Skip Menu |

This queue is for tickets about the Math-GSL CPAN distribution.

Report information
The Basics
Id: 50756
Status: open
Priority: 0/
Queue: Math-GSL

People
Owner: Nobody in particular
Requestors: chriszprior [...] hotmail.co.uk
Cc:
AdminCc:

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



Subject: Cygwin failure to to make
Date: Thu, 22 Oct 2009 18:07:12 +0100
To: <bug-math-gsl [...] rt.cpan.org>
From: chris prior <chriszprior [...] hotmail.co.uk>
Hi I would love to use the GSL libraries in my Perl code but I am havinga problem during running the make file stage. I am attempting to build Math-GSL-0.20-asj3BU my perl version is v5.10.0 built for cygwin-thread-multi-64int my os is : CYGWIN_NT-5.1 TTL-PC61 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin I run perl - Makefile.PL and all is well /usr/bin/perl.exe Build --makefile_env_macros 1 gcc -I -I/usr/lib/perl5/5.10/i686-cygwin/CORE -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -Wall -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -g -o xs/BLAS_wrap.o xs/BLAS_wrap.c xs/BLAS_wrap.c:715:20: EXTERN.h: No such file or directory xs/BLAS_wrap.c:716:18: perl.h: No such file or directory xs/BLAS_wrap.c:717:18: XSUB.h: No such file or directory xs/BLAS_wrap.c:725:28: patchlevel.h: No such file or directory xs/BLAS_wrap.c:728:48: could_not_find_Perl_patchlevel.h: No such file or directory xs/BLAS_wrap.c:984: error: parse error before '*' token xs/BLAS_wrap.c: In function `SWIG_croak_null': xs/BLAS_wrap.c:1013: error: `SV' undeclared (first use in this function) xs/BLAS_wrap.c:1013: error: (Each undeclared identifier is reported only once xs/BLAS_wrap.c:1013: error: for each function it appears in.) xs/BLAS_wrap.c:1013: error: `err' undeclared (first use in this function) xs/BLAS_wrap.c:1013: warning: implicit declaration of function `perl_get_sv' xs/BLAS_wrap.c:1013: error: `FALSE' undeclared (first use in this function) xs/BLAS_wrap.c:1015: warning: implicit declaration of function `croak' xs/BLAS_wrap.c: At top level: xs/BLAS_wrap.c:1079: error: parse error before '*' token xs/BLAS_wrap.c: In function `SWIG_Perl_ConvertPtr': xs/BLAS_wrap.c:1082: error: `SV' undeclared (first use in this function) xs/BLAS_wrap.c:1082: error: `tsv' undeclared (first use in this function) xs/BLAS_wrap.c:1084: warning: implicit declaration of function `SvGMAGICAL' xs/BLAS_wrap.c:1084: error: `sv' undeclared (first use in this function) xs/BLAS_wrap.c:1085: warning: implicit declaration of function `mg_get' xs/BLAS_wrap.c:1088: warning: implicit declaration of function `sv_isobject' xs/BLAS_wrap.c:1089: error: `IV' undeclared (first use in this function) xs/BLAS_wrap.c:1089: error: parse error before "tmp" xs/BLAS_wrap.c:1090: error: parse error before ')' token xs/BLAS_wrap.c:1091: warning: implicit declaration of function `SvTYPE' xs/BLAS_wrap.c:1091: error: `SVt_PVHV' undeclared (first use in this function) xs/BLAS_wrap.c:1092: error: `MAGIC' undeclared (first use in this function) xs/BLAS_wrap.c:1092: error: `mg' undeclared (first use in this function) xs/BLAS_wrap.c:1093: warning: implicit declaration of function `SvMAGICAL' This continues for a while though all errors relate to xs/BLAS_wrap.c. I can include the full list if you would like ?. Your help would be greatly appreciated. Regards Chris Prior Show quoted text
_________________________________________________________________ New Windows 7: Find the right PC for you. Learn more. http://www.microsoft.com/windows/buy/
Subject: Re: [rt.cpan.org #50756] Cygwin failure to to make
Date: Thu, 22 Oct 2009 10:11:59 -0700
To: bug-Math-Gsl [...] rt.cpan.org
From: Jonathan Leto <jonathan [...] leto.net>
Howdy, It looks like it cannot find the perl source code headers to link against. Do you have perl properly installed in your cygwin environment? Duke On Thu, Oct 22, 2009 at 10:07 AM, chris prior via RT <bug-Math-Gsl@rt.cpan.org> wrote: Show quoted text
> Thu Oct 22 13:07:47 2009: Request 50756 was acted upon. > Transaction: Ticket created by chriszprior@hotmail.co.uk >       Queue: Math-Gsl >     Subject: Cygwin failure to to make >   Broken in: (no value) >    Severity: (no value) >       Owner: Nobody >  Requestors: chriszprior@hotmail.co.uk >      Status: new >  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=50756 > > > > > Hi I would love to use the GSL libraries in my Perl code but I am havinga  problem during running the make file stage. > > > > I am attempting to build > > > > Math-GSL-0.20-asj3BU > > > > my perl version is > > > >  v5.10.0 built for cygwin-thread-multi-64int > > > > my os is : > > > > CYGWIN_NT-5.1 TTL-PC61 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin > > > > I run perl - Makefile.PL and all is well > > > > > > /usr/bin/perl.exe Build --makefile_env_macros 1 > gcc -I -I/usr/lib/perl5/5.10/i686-cygwin/CORE -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -Wall -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -g -o xs/BLAS_wrap.o xs/BLAS_wrap.c > xs/BLAS_wrap.c:715:20: EXTERN.h: No such file or directory > xs/BLAS_wrap.c:716:18: perl.h: No such file or directory > xs/BLAS_wrap.c:717:18: XSUB.h: No such file or directory > xs/BLAS_wrap.c:725:28: patchlevel.h: No such file or directory > xs/BLAS_wrap.c:728:48: could_not_find_Perl_patchlevel.h: No such file or directory > xs/BLAS_wrap.c:984: error: parse error before '*' token > xs/BLAS_wrap.c: In function `SWIG_croak_null': > xs/BLAS_wrap.c:1013: error: `SV' undeclared (first use in this function) > xs/BLAS_wrap.c:1013: error: (Each undeclared identifier is reported only once > xs/BLAS_wrap.c:1013: error: for each function it appears in.) > xs/BLAS_wrap.c:1013: error: `err' undeclared (first use in this function) > xs/BLAS_wrap.c:1013: warning: implicit declaration of function `perl_get_sv' > xs/BLAS_wrap.c:1013: error: `FALSE' undeclared (first use in this function) > xs/BLAS_wrap.c:1015: warning: implicit declaration of function `croak' > xs/BLAS_wrap.c: At top level: > xs/BLAS_wrap.c:1079: error: parse error before '*' token > xs/BLAS_wrap.c: In function `SWIG_Perl_ConvertPtr': > xs/BLAS_wrap.c:1082: error: `SV' undeclared (first use in this function) > xs/BLAS_wrap.c:1082: error: `tsv' undeclared (first use in this function) > xs/BLAS_wrap.c:1084: warning: implicit declaration of function `SvGMAGICAL' > xs/BLAS_wrap.c:1084: error: `sv' undeclared (first use in this function) > xs/BLAS_wrap.c:1085: warning: implicit declaration of function `mg_get' > xs/BLAS_wrap.c:1088: warning: implicit declaration of function `sv_isobject' > xs/BLAS_wrap.c:1089: error: `IV' undeclared (first use in this function) > xs/BLAS_wrap.c:1089: error: parse error before "tmp" > xs/BLAS_wrap.c:1090: error: parse error before ')' token > xs/BLAS_wrap.c:1091: warning: implicit declaration of function `SvTYPE' > xs/BLAS_wrap.c:1091: error: `SVt_PVHV' undeclared (first use in this function) > xs/BLAS_wrap.c:1092: error: `MAGIC' undeclared (first use in this function) > xs/BLAS_wrap.c:1092: error: `mg' undeclared (first use in this function) > xs/BLAS_wrap.c:1093: warning: implicit declaration of function `SvMAGICAL' > > > This continues for a while though all errors relate to xs/BLAS_wrap.c. I can include the full list if you would like ?. > > > > Your help would be greatly appreciated. > > > > Regards > > > > Chris Prior > > > > > > > > > > _________________________________________________________________ > New Windows 7: Find the right PC for you. Learn more. > http://www.microsoft.com/windows/buy/ > > Hi I would love to use the GSL libraries in my Perl code but I am havinga  problem during running the make file stage. > > I am attempting to build > > Math-GSL-0.20-asj3BU > > my perl version is > >  v5.10.0 built for cygwin-thread-multi-64int > > my os is : > > CYGWIN_NT-5.1 TTL-PC61 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin > > I run perl - Makefile.PL and all is well > > > /usr/bin/perl.exe Build --makefile_env_macros 1 > gcc -I -I/usr/lib/perl5/5.10/i686-cygwin/CORE -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -Wall -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -g -o xs/BLAS_wrap.o xs/BLAS_wrap.c > xs/BLAS_wrap.c:715:20: EXTERN.h: No such file or directory > xs/BLAS_wrap.c:716:18: perl.h: No such file or directory > xs/BLAS_wrap.c:717:18: XSUB.h: No such file or directory > xs/BLAS_wrap.c:725:28: patchlevel.h: No such file or directory > xs/BLAS_wrap.c:728:48: could_not_find_Perl_patchlevel.h: No such file or directory > xs/BLAS_wrap.c:984: error: parse error before '*' token > xs/BLAS_wrap.c: In function `SWIG_croak_null': > xs/BLAS_wrap.c:1013: error: `SV' undeclared (first use in this function) > xs/BLAS_wrap.c:1013: error: (Each undeclared identifier is reported only once > xs/BLAS_wrap.c:1013: error: for each function it appears in.) > xs/BLAS_wrap.c:1013: error: `err' undeclared (first use in this function) > xs/BLAS_wrap.c:1013: warning: implicit declaration of function `perl_get_sv' > xs/BLAS_wrap.c:1013: error: `FALSE' undeclared (first use in this function) > xs/BLAS_wrap.c:1015: warning: implicit declaration of function `croak' > xs/BLAS_wrap.c: At top level: > xs/BLAS_wrap.c:1079: error: parse error before '*' token > xs/BLAS_wrap.c: In function `SWIG_Perl_ConvertPtr': > xs/BLAS_wrap.c:1082: error: `SV' undeclared (first use in this function) > xs/BLAS_wrap.c:1082: error: `tsv' undeclared (first use in this function) > xs/BLAS_wrap.c:1084: warning: implicit declaration of function `SvGMAGICAL' > xs/BLAS_wrap.c:1084: error: `sv' undeclared (first use in this function) > xs/BLAS_wrap.c:1085: warning: implicit declaration of function `mg_get' > xs/BLAS_wrap.c:1088: warning: implicit declaration of function `sv_isobject' > xs/BLAS_wrap.c:1089: error: `IV' undeclared (first use in this function) > xs/BLAS_wrap.c:1089: error: parse error before "tmp" > xs/BLAS_wrap.c:1090: error: parse error before ')' token > xs/BLAS_wrap.c:1091: warning: implicit declaration of function `SvTYPE' > xs/BLAS_wrap.c:1091: error: `SVt_PVHV' undeclared (first use in this function) > xs/BLAS_wrap.c:1092: error: `MAGIC' undeclared (first use in this function) > xs/BLAS_wrap.c:1092: error: `mg' undeclared (first use in this function) > xs/BLAS_wrap.c:1093: warning: implicit declaration of function `SvMAGICAL' > > This continues for a while though all errors relate to xs/BLAS_wrap.c. I can include the full list if you would like ?. > > Your help would be greatly appreciated. > > Regards > > Chris Prior > > > > > > ________________________________ > New Windows 7: Find the right PC for you. Learn more. >
-- Jonathan Leto jonathan@leto.net http://leto.net
Subject: RE: [rt.cpan.org #50756] Cygwin failure to to make
Date: Thu, 22 Oct 2009 18:16:52 +0100
To: <bug-math-gsl [...] rt.cpan.org>
From: chris prior <chriszprior [...] hotmail.co.uk>
Hi thanks for the quick reply, I certainly thought I did !!!. I will try a clean reinstall to see if this helps and report back. Chris Show quoted text
> Subject: Re: [rt.cpan.org #50756] Cygwin failure to to make > From: bug-Math-Gsl@rt.cpan.org > To: chriszprior@hotmail.co.uk > Date: Thu, 22 Oct 2009 13:12:36 -0400 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=50756 > > > Howdy, > > It looks like it cannot find the perl source code headers to link > against. Do you have perl properly installed in your cygwin > environment? > > Duke > > > On Thu, Oct 22, 2009 at 10:07 AM, chris prior via RT > <bug-Math-Gsl@rt.cpan.org> wrote:
> > Thu Oct 22 13:07:47 2009: Request 50756 was acted upon. > > Transaction: Ticket created by chriszprior@hotmail.co.uk > > Queue: Math-Gsl > > Subject: Cygwin failure to to make > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: chriszprior@hotmail.co.uk > > Status: new > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=50756 > > > > > > > > > Hi I would love to use the GSL libraries in my Perl code but I am havinga problem during running the make file stage. > > > > > > > > I am attempting to build > > > > > > > > Math-GSL-0.20-asj3BU > > > > > > > > my perl version is > > > > > > > > v5.10.0 built for cygwin-thread-multi-64int > > > > > > > > my os is : > > > > > > > > CYGWIN_NT-5.1 TTL-PC61 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin > > > > > > > > I run perl - Makefile.PL and all is well > > > > > > > > > > > > /usr/bin/perl.exe Build --makefile_env_macros 1 > > gcc -I -I/usr/lib/perl5/5.10/i686-cygwin/CORE -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -Wall -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -g -o xs/BLAS_wrap.o xs/BLAS_wrap.c > > xs/BLAS_wrap.c:715:20: EXTERN.h: No such file or directory > > xs/BLAS_wrap.c:716:18: perl.h: No such file or directory > > xs/BLAS_wrap.c:717:18: XSUB.h: No such file or directory > > xs/BLAS_wrap.c:725:28: patchlevel.h: No such file or directory > > xs/BLAS_wrap.c:728:48: could_not_find_Perl_patchlevel.h: No such file or directory > > xs/BLAS_wrap.c:984: error: parse error before '*' token > > xs/BLAS_wrap.c: In function `SWIG_croak_null': > > xs/BLAS_wrap.c:1013: error: `SV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1013: error: (Each undeclared identifier is reported only once > > xs/BLAS_wrap.c:1013: error: for each function it appears in.) > > xs/BLAS_wrap.c:1013: error: `err' undeclared (first use in this function) > > xs/BLAS_wrap.c:1013: warning: implicit declaration of function `perl_get_sv' > > xs/BLAS_wrap.c:1013: error: `FALSE' undeclared (first use in this function) > > xs/BLAS_wrap.c:1015: warning: implicit declaration of function `croak' > > xs/BLAS_wrap.c: At top level: > > xs/BLAS_wrap.c:1079: error: parse error before '*' token > > xs/BLAS_wrap.c: In function `SWIG_Perl_ConvertPtr': > > xs/BLAS_wrap.c:1082: error: `SV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1082: error: `tsv' undeclared (first use in this function) > > xs/BLAS_wrap.c:1084: warning: implicit declaration of function `SvGMAGICAL' > > xs/BLAS_wrap.c:1084: error: `sv' undeclared (first use in this function) > > xs/BLAS_wrap.c:1085: warning: implicit declaration of function `mg_get' > > xs/BLAS_wrap.c:1088: warning: implicit declaration of function `sv_isobject' > > xs/BLAS_wrap.c:1089: error: `IV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1089: error: parse error before "tmp" > > xs/BLAS_wrap.c:1090: error: parse error before ')' token > > xs/BLAS_wrap.c:1091: warning: implicit declaration of function `SvTYPE' > > xs/BLAS_wrap.c:1091: error: `SVt_PVHV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1092: error: `MAGIC' undeclared (first use in this function) > > xs/BLAS_wrap.c:1092: error: `mg' undeclared (first use in this function) > > xs/BLAS_wrap.c:1093: warning: implicit declaration of function `SvMAGICAL' > > > > > > This continues for a while though all errors relate to xs/BLAS_wrap.c. I can include the full list if you would like ?. > > > > > > > > Your help would be greatly appreciated. > > > > > > > > Regards > > > > > > > > Chris Prior > > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > New Windows 7: Find the right PC for you. Learn more. > > http://www.microsoft.com/windows/buy/ > > > > Hi I would love to use the GSL libraries in my Perl code but I am havinga problem during running the make file stage. > > > > I am attempting to build > > > > Math-GSL-0.20-asj3BU > > > > my perl version is > > > > v5.10.0 built for cygwin-thread-multi-64int > > > > my os is : > > > > CYGWIN_NT-5.1 TTL-PC61 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin > > > > I run perl - Makefile.PL and all is well > > > > > > /usr/bin/perl.exe Build --makefile_env_macros 1 > > gcc -I -I/usr/lib/perl5/5.10/i686-cygwin/CORE -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -Wall -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -g -o xs/BLAS_wrap.o xs/BLAS_wrap.c > > xs/BLAS_wrap.c:715:20: EXTERN.h: No such file or directory > > xs/BLAS_wrap.c:716:18: perl.h: No such file or directory > > xs/BLAS_wrap.c:717:18: XSUB.h: No such file or directory > > xs/BLAS_wrap.c:725:28: patchlevel.h: No such file or directory > > xs/BLAS_wrap.c:728:48: could_not_find_Perl_patchlevel.h: No such file or directory > > xs/BLAS_wrap.c:984: error: parse error before '*' token > > xs/BLAS_wrap.c: In function `SWIG_croak_null': > > xs/BLAS_wrap.c:1013: error: `SV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1013: error: (Each undeclared identifier is reported only once > > xs/BLAS_wrap.c:1013: error: for each function it appears in.) > > xs/BLAS_wrap.c:1013: error: `err' undeclared (first use in this function) > > xs/BLAS_wrap.c:1013: warning: implicit declaration of function `perl_get_sv' > > xs/BLAS_wrap.c:1013: error: `FALSE' undeclared (first use in this function) > > xs/BLAS_wrap.c:1015: warning: implicit declaration of function `croak' > > xs/BLAS_wrap.c: At top level: > > xs/BLAS_wrap.c:1079: error: parse error before '*' token > > xs/BLAS_wrap.c: In function `SWIG_Perl_ConvertPtr': > > xs/BLAS_wrap.c:1082: error: `SV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1082: error: `tsv' undeclared (first use in this function) > > xs/BLAS_wrap.c:1084: warning: implicit declaration of function `SvGMAGICAL' > > xs/BLAS_wrap.c:1084: error: `sv' undeclared (first use in this function) > > xs/BLAS_wrap.c:1085: warning: implicit declaration of function `mg_get' > > xs/BLAS_wrap.c:1088: warning: implicit declaration of function `sv_isobject' > > xs/BLAS_wrap.c:1089: error: `IV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1089: error: parse error before "tmp" > > xs/BLAS_wrap.c:1090: error: parse error before ')' token > > xs/BLAS_wrap.c:1091: warning: implicit declaration of function `SvTYPE' > > xs/BLAS_wrap.c:1091: error: `SVt_PVHV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1092: error: `MAGIC' undeclared (first use in this function) > > xs/BLAS_wrap.c:1092: error: `mg' undeclared (first use in this function) > > xs/BLAS_wrap.c:1093: warning: implicit declaration of function `SvMAGICAL' > > > > This continues for a while though all errors relate to xs/BLAS_wrap.c. I can include the full list if you would like ?. > > > > Your help would be greatly appreciated. > > > > Regards > > > > Chris Prior > > > > > > > > > > > > ________________________________ > > New Windows 7: Find the right PC for you. Learn more. > >
> > > > -- > > Jonathan Leto > jonathan@leto.net > http://leto.net >
Show quoted text
_________________________________________________________________ New Windows 7: Find the right PC for you. Learn more. http://www.microsoft.com/windows/buy/
Subject: RE: [rt.cpan.org #50756] Cygwin failure to to make
Date: Fri, 23 Oct 2009 12:15:33 +0100
To: <bug-math-gsl [...] rt.cpan.org>
From: chris prior <chriszprior [...] hotmail.co.uk>
Ok I'm now rather confused. The following is ls of the directory /usr/lib/perl5/5.10/i686-cygwin/CORE EXTERN.h cop.h fakethr.h iperlsys.h mydtrace.h pad.h perliol.h pp_proto.h regnodes.h utf8.h INTERN.h cv.h form.h keywords.h nostdio.h parser.h perlsdio.h proto.h scope.h utfebcdic.h XSUB.h dosish.h gv.h libperl.a op.h patchlevel.h perlsfio.h reentr.h sv.h util.h av.h embed.h handy.h libperl.dll.a opcode.h perl.h perlvars.h regcharclass.h thread.h uudmap.h cc_runtime.h embedvar.h hv.h malloc_ctl.h opnames.h perlapi.h perly.h regcomp.h uconfig.h warnings.h config.h fakesdio.h intrpvar.h mg.h overload.h perlio.h pp.h regexp.h unixish.h So the files it claims are missing are there. for example this is the contents of EXTERN.h /* EXTERN.h * * Copyright (C) 1991, 1992, 1993, 1995, 1996, 1997, 1998, 1999, * 2000, 2001, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. * */ /* * EXT designates a global var which is defined in perl.h * dEXT designates a global var which is defined in another * file, so we can't count on finding it in perl.h * (this practice should be avoided). */ #undef EXT #undef dEXT #undef EXTCONST #undef dEXTCONST #if defined(VMS) && !defined(__GNUC__) /* Suppress portability warnings from DECC for VMS-specific extensions */ # ifdef __DECC # pragma message disable (GLOBALEXT,NOSHAREEXT,READONLYEXT) # endif # define EXT globalref # define dEXT globaldef {"$GLOBAL_RW_VARS"} noshare # define EXTCONST globalref # define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly #else # if (defined(WIN32) || defined(__SYMBIAN32__)) && !defined(PERL_STATIC_SYMS) # if defined(PERLDLL) || defined(__SYMBIAN32__) # define EXT extern __declspec(dllexport) # define dEXT # define EXTCONST extern __declspec(dllexport) const # define dEXTCONST const # else # define EXT extern __declspec(dllimport) # define dEXT # define EXTCONST extern __declspec(dllimport) const # define dEXTCONST const # endif # else # if defined(__CYGWIN__) && defined(USEIMPORTLIB) # define EXT extern __declspec(dllimport) # define dEXT # define EXTCONST extern __declspec(dllimport) const # define dEXTCONST const # else # define EXT extern # define dEXT # define EXTCONST extern const # define dEXTCONST const # endif # endif #endif #undef INIT #define INIT(x) #undef DOINIT Chris Show quoted text
> Subject: Re: [rt.cpan.org #50756] Cygwin failure to to make > From: bug-Math-Gsl@rt.cpan.org > To: chriszprior@hotmail.co.uk > Date: Thu, 22 Oct 2009 13:12:36 -0400 > > <URL: https://rt.cpan.org/Ticket/Display.html?id=50756 > > > Howdy, > > It looks like it cannot find the perl source code headers to link > against. Do you have perl properly installed in your cygwin > environment? > > Duke > > > On Thu, Oct 22, 2009 at 10:07 AM, chris prior via RT > <bug-Math-Gsl@rt.cpan.org> wrote:
> > Thu Oct 22 13:07:47 2009: Request 50756 was acted upon. > > Transaction: Ticket created by chriszprior@hotmail.co.uk > > Queue: Math-Gsl > > Subject: Cygwin failure to to make > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: chriszprior@hotmail.co.uk > > Status: new > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=50756 > > > > > > > > > Hi I would love to use the GSL libraries in my Perl code but I am havinga problem during running the make file stage. > > > > > > > > I am attempting to build > > > > > > > > Math-GSL-0.20-asj3BU > > > > > > > > my perl version is > > > > > > > > v5.10.0 built for cygwin-thread-multi-64int > > > > > > > > my os is : > > > > > > > > CYGWIN_NT-5.1 TTL-PC61 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin > > > > > > > > I run perl - Makefile.PL and all is well > > > > > > > > > > > > /usr/bin/perl.exe Build --makefile_env_macros 1 > > gcc -I -I/usr/lib/perl5/5.10/i686-cygwin/CORE -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -Wall -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -g -o xs/BLAS_wrap.o xs/BLAS_wrap.c > > xs/BLAS_wrap.c:715:20: EXTERN.h: No such file or directory > > xs/BLAS_wrap.c:716:18: perl.h: No such file or directory > > xs/BLAS_wrap.c:717:18: XSUB.h: No such file or directory > > xs/BLAS_wrap.c:725:28: patchlevel.h: No such file or directory > > xs/BLAS_wrap.c:728:48: could_not_find_Perl_patchlevel.h: No such file or directory > > xs/BLAS_wrap.c:984: error: parse error before '*' token > > xs/BLAS_wrap.c: In function `SWIG_croak_null': > > xs/BLAS_wrap.c:1013: error: `SV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1013: error: (Each undeclared identifier is reported only once > > xs/BLAS_wrap.c:1013: error: for each function it appears in.) > > xs/BLAS_wrap.c:1013: error: `err' undeclared (first use in this function) > > xs/BLAS_wrap.c:1013: warning: implicit declaration of function `perl_get_sv' > > xs/BLAS_wrap.c:1013: error: `FALSE' undeclared (first use in this function) > > xs/BLAS_wrap.c:1015: warning: implicit declaration of function `croak' > > xs/BLAS_wrap.c: At top level: > > xs/BLAS_wrap.c:1079: error: parse error before '*' token > > xs/BLAS_wrap.c: In function `SWIG_Perl_ConvertPtr': > > xs/BLAS_wrap.c:1082: error: `SV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1082: error: `tsv' undeclared (first use in this function) > > xs/BLAS_wrap.c:1084: warning: implicit declaration of function `SvGMAGICAL' > > xs/BLAS_wrap.c:1084: error: `sv' undeclared (first use in this function) > > xs/BLAS_wrap.c:1085: warning: implicit declaration of function `mg_get' > > xs/BLAS_wrap.c:1088: warning: implicit declaration of function `sv_isobject' > > xs/BLAS_wrap.c:1089: error: `IV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1089: error: parse error before "tmp" > > xs/BLAS_wrap.c:1090: error: parse error before ')' token > > xs/BLAS_wrap.c:1091: warning: implicit declaration of function `SvTYPE' > > xs/BLAS_wrap.c:1091: error: `SVt_PVHV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1092: error: `MAGIC' undeclared (first use in this function) > > xs/BLAS_wrap.c:1092: error: `mg' undeclared (first use in this function) > > xs/BLAS_wrap.c:1093: warning: implicit declaration of function `SvMAGICAL' > > > > > > This continues for a while though all errors relate to xs/BLAS_wrap.c. I can include the full list if you would like ?. > > > > > > > > Your help would be greatly appreciated. > > > > > > > > Regards > > > > > > > > Chris Prior > > > > > > > > > > > > > > > > > > > > _________________________________________________________________ > > New Windows 7: Find the right PC for you. Learn more. > > http://www.microsoft.com/windows/buy/ > > > > Hi I would love to use the GSL libraries in my Perl code but I am havinga problem during running the make file stage. > > > > I am attempting to build > > > > Math-GSL-0.20-asj3BU > > > > my perl version is > > > > v5.10.0 built for cygwin-thread-multi-64int > > > > my os is : > > > > CYGWIN_NT-5.1 TTL-PC61 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin > > > > I run perl - Makefile.PL and all is well > > > > > > /usr/bin/perl.exe Build --makefile_env_macros 1 > > gcc -I -I/usr/lib/perl5/5.10/i686-cygwin/CORE -c -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing -pipe -I/usr/local/include -Wall -Wno-unused-function -Wno-unused-value -Wno-unused-function -Wno-unused-variable -g -o xs/BLAS_wrap.o xs/BLAS_wrap.c > > xs/BLAS_wrap.c:715:20: EXTERN.h: No such file or directory > > xs/BLAS_wrap.c:716:18: perl.h: No such file or directory > > xs/BLAS_wrap.c:717:18: XSUB.h: No such file or directory > > xs/BLAS_wrap.c:725:28: patchlevel.h: No such file or directory > > xs/BLAS_wrap.c:728:48: could_not_find_Perl_patchlevel.h: No such file or directory > > xs/BLAS_wrap.c:984: error: parse error before '*' token > > xs/BLAS_wrap.c: In function `SWIG_croak_null': > > xs/BLAS_wrap.c:1013: error: `SV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1013: error: (Each undeclared identifier is reported only once > > xs/BLAS_wrap.c:1013: error: for each function it appears in.) > > xs/BLAS_wrap.c:1013: error: `err' undeclared (first use in this function) > > xs/BLAS_wrap.c:1013: warning: implicit declaration of function `perl_get_sv' > > xs/BLAS_wrap.c:1013: error: `FALSE' undeclared (first use in this function) > > xs/BLAS_wrap.c:1015: warning: implicit declaration of function `croak' > > xs/BLAS_wrap.c: At top level: > > xs/BLAS_wrap.c:1079: error: parse error before '*' token > > xs/BLAS_wrap.c: In function `SWIG_Perl_ConvertPtr': > > xs/BLAS_wrap.c:1082: error: `SV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1082: error: `tsv' undeclared (first use in this function) > > xs/BLAS_wrap.c:1084: warning: implicit declaration of function `SvGMAGICAL' > > xs/BLAS_wrap.c:1084: error: `sv' undeclared (first use in this function) > > xs/BLAS_wrap.c:1085: warning: implicit declaration of function `mg_get' > > xs/BLAS_wrap.c:1088: warning: implicit declaration of function `sv_isobject' > > xs/BLAS_wrap.c:1089: error: `IV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1089: error: parse error before "tmp" > > xs/BLAS_wrap.c:1090: error: parse error before ')' token > > xs/BLAS_wrap.c:1091: warning: implicit declaration of function `SvTYPE' > > xs/BLAS_wrap.c:1091: error: `SVt_PVHV' undeclared (first use in this function) > > xs/BLAS_wrap.c:1092: error: `MAGIC' undeclared (first use in this function) > > xs/BLAS_wrap.c:1092: error: `mg' undeclared (first use in this function) > > xs/BLAS_wrap.c:1093: warning: implicit declaration of function `SvMAGICAL' > > > > This continues for a while though all errors relate to xs/BLAS_wrap.c. I can include the full list if you would like ?. > > > > Your help would be greatly appreciated. > > > > Regards > > > > Chris Prior > > > > > > > > > > > > ________________________________ > > New Windows 7: Find the right PC for you. Learn more. > >
> > > > -- > > Jonathan Leto > jonathan@leto.net > http://leto.net >
Show quoted text
_________________________________________________________________ New Windows 7: Find the right PC for you. Learn more. http://www.microsoft.com/windows/buy/

Message body is not shown because it is too large.

Subject: FW: [rt.cpan.org #50756] Cygwin failure to to make
Date: Fri, 23 Oct 2009 16:24:58 +0100
To: <bug-math-gsl [...] rt.cpan.org>
From: chris prior <chriszprior [...] hotmail.co.uk>
This problem was solved by copying the contents of the directory /usr/lib/perl5/5.10/i686-cygwin/CORE into /usr/local/include which actually did not exist. The program made, I then ran into a problem running make test it spend three hours trying to run the test t/CBLAS.t, is this to be expected ? Below is the output /usr/bin/perl.exe Build --makefile_env_macros 1 test t/00-load.t ........ 23/52 # Testing Math::GSL 0.20 on cygwin-thread-multi-64int, Perl (/usr/bin/perl.exe) 5.010000 t/00-load.t ........ ok t/01-pod.t ......... ok t/BLAS.t ........... 1/109 Elements start differing at index 0, delta = 50 $x->[0] = 0 $y->[0] = 50 Elements start differing at index 0, delta = 34 $x->[0] = 0 $y->[0] = 34 Elements start differing at index 0, delta = 24 $x->[0] = 0 $y->[0] = 24 Elements start differing at index 0, delta = 46 $x->[0] = 0 $y->[0] = 46 Elements start differing at index 0, delta = 34 $x->[0] = 0 $y->[0] = 34 Elements start differing at index 0, delta = 24 $x->[0] = 0 $y->[0] = 24 t/BLAS.t ........... ok t/BSpline.t ........ ok t/CBLAS.t .......... 1/5 . Show quoted text
_________________________________________________________________ New Windows 7: Simplify what you do everyday. Find the right PC for you. http://www.microsoft.com/windows/buy/
Subject: CBLAS.t tests go on forever on Cygwin
Howdy, That is definitely not expected! Can you run "prove -v t/CBLAS.t" and attach the output to this ticket? Which version of GSL are you using? Duke On Fri Oct 23 11:26:09 2009, chriszprior@hotmail.co.uk wrote: Show quoted text
> > This problem was solved by copying the contents of the directory > /usr/lib/perl5/5.10/i686-cygwin/CORE > into /usr/local/include which actually did not exist. > > > > The program made, I then ran into a problem running make test it spend > three hours trying to run the test t/CBLAS.t, is this to be expected > ? > > > > Below is the output > > > > > > /usr/bin/perl.exe Build --makefile_env_macros 1 test > t/00-load.t ........ 23/52 # Testing Math::GSL 0.20 on cygwin-thread- > multi-64int, Perl (/usr/bin/perl.exe) 5.010000 > t/00-load.t ........ ok > t/01-pod.t ......... ok > t/BLAS.t ........... 1/109 > Elements start differing at index 0, delta = 50 > $x->[0] = 0 > $y->[0] = 50 > > Elements start differing at index 0, delta = 34 > $x->[0] = 0 > $y->[0] = 34 > > Elements start differing at index 0, delta = 24 > $x->[0] = 0 > $y->[0] = 24 > > Elements start differing at index 0, delta = 46 > $x->[0] = 0 > $y->[0] = 46 > > Elements start differing at index 0, delta = 34 > $x->[0] = 0 > $y->[0] = 34 > > Elements start differing at index 0, delta = 24 > $x->[0] = 0 > $y->[0] = 24 > t/BLAS.t ........... ok > t/BSpline.t ........ ok > t/CBLAS.t .......... 1/5 > > > > > > . > > _________________________________________________________________ > New Windows 7: Simplify what you do everyday. Find the right PC for > you. > http://www.microsoft.com/windows/buy/