This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building Perl modules


That's what puzzles me... All the files gcc claims are missing exist in my include path '/usr/lib/perl5/5.8/cygwin/CORE'. This path does exist on my install.


$ pwd /usr/lib/perl5/5.8/cygwin/CORE


$ ls -lrt | grep EXTERN.h -rwxrwxrwx 1 acalbaza mkgroup-l-d 1751 Jan 27 06:46 EXTERN.h* -rwxrwxrwx 1 acalbaza mkgroup-l-d 129835 Jan 27 06:46 perl.h* -rwxrwxrwx 1 acalbaza mkgroup-l-d 17922 Jan 27 06:46 XSUB.h* -rwxrwxrwx 1 acalbaza mkgroup-l-d 4641 Jan 27 06:46 patchlevel.h* ...

Here is my perl:
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=cygwin, osvers=1.5.12(0.11642), archname=cygwin-thread-multi-64int
uname='cygwin_nt-4.0 loreley 1.5.12(0.11642) 2004-11-10 08:34 i686 unknown unknown cygwin '
config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Doptimize=-O3 -Dman3ext=3pm'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.4.1 (cygming special)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -ldb -lcrypt -lgdbm_compat
perllibs=-lcrypt -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'



Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under cygwin
Compiled at Jan 27 2005 11:10:54
%ENV:
CYGWIN="ntsec tty"
@INC:
/usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8
.



Thanks,


Alejandro

Olaf Föllinger wrote:

On Wed, Feb 09, 2005 at 01:17:00PM -0500, Alejandro Calbazana wrote:


Hmm... Unfortunately, my attempt to build w/ CPAN returns similar results.

But, it looks like there might be some hope if you are able to build ok.

Thanks,

Al


Olaf Föllinger wrote:




On Wed, Feb 09, 2005 at 12:30:37PM -0500, Alejandro Calbazana wrote:




Hello,

Sorry if this has already been asked in the list, but search is temp. disabled.

Has anyone been able to build Perl modules (in this case HTML::Parser) under cygwin? gcc is handing back failed header file references, but the include path correct. I am a bit puzzled.

A snippet of the errors:

gcc -c -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"3.45\" -DXS_VERSION=\"3.45\" "-I/usr/lib/perl5/5.8/cygwin/CORE" -DMARKED_SECTION Parser.c
Parser.xs:18:20: EXTERN.h: No such file or directory
Parser.xs:19:18: perl.h: No such file or directory
Parser.xs:20:18: XSUB.h: No such file or directory
Parser.xs:30:24: patchlevel.h: No such file or directory



All the missing files reside here in /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int/CORE. Maybe this path is the right one for your inlcude section. The path mentioned above doesn't exist here.


Gruss Olaf Föllinger







-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]