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