delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/12/09/11:40:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_LV,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTi=mmQ8NEpfdJermuPCSRkT4noVTEjOnfVYmvffa@mail.gmail.com>
References: <AANLkTi=Q++swS_pHSVPep+YM8+XixEbU2DTX=8FqxfQS AT mail DOT gmail DOT com> <AANLkTi=mmQ8NEpfdJermuPCSRkT4noVTEjOnfVYmvffa AT mail DOT gmail DOT com>
From: Hugh Myers <hsmyers AT gmail DOT com>
Date: Thu, 9 Dec 2010 16:39:52 +0000
Message-ID: <AANLkTi=u1G_nfOc0cjXhVFoec90gYXpj=cCqU8Dqw_Wp@mail.gmail.com>
Subject: Re: Perl problem under cygwin...
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I suspect you are correct in your diagnosis! I continued on after I
posted and hit the site with the traditional 'update cygwin' hammer
and while cpan HTML::Strip still failed, I was able to move to
.cpan/build/HTML-Strip... and finish the install by hand. I believe
the remains of the previous failed attempts left behind enough cruft
to block the usual methodology. Happy with the results, client is
happy as well and the damn machine is updated despite a prevailing
attitude of 'if it is not broken, don't fix it...'

--hsm

On Thu, Dec 9, 2010 at 7:40 AM, Reini Urban <rurban AT x-ray DOT at> wrote:
> 2010/12/9 Hugh Myers:
>> I've researched this and found some threads, but no answers. In a nut
>> shell, I get the following:
>>
>> gcc -c =A0 -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -fno-strict-aliasing
>> -pipe -I/usr/local/include
>> -DUSEIMPORTLIB -O3 =A0 -DVERSION=3D\"1.06\" -DXS_VERSION=3D\"1.06\"
>> "-I/usr/lib/perl5/5.10/i686-cygwin/CORE"
>> Strip.c
>> Strip.xs:2:20: EXTERN.h: No such file or directory
>> Strip.xs:3:18: perl.h: No such file or directory
>> Strip.xs:4:18: XSUB.h: No such file or directory
>>
>> Since the files in question are in fact in the include directory
>> mentioned I'm at a loss to see the
>> error.
>
> I also played with llvm-gcc recently and have similar problems.
> I checked it like this, to see wrong installed headers into my incpath:
>
> $ make Strip.i
>
> $ grep ' "/usr' Strip.i | less
>
> For me it was
>
> # 605 "/usr/lib/perl5/5.10/i686-cygwin/CORE/perl.h"
> # 1 "/usr/local/include/sys/types.h" 1 3
> # 12 "/usr/local/include/sys/types.h" 3
> # 1 "/usr/local/include/_mingw.h" 1 3
>
> Bad that -I /usr/local/include overrides /usr/include.
> I'll probably have to append it with -idirafter with the next perl.
>
> In your case it looks like you use a wrong cpp.exe preprocessor or gcc
> driver, maybe from llvm or mingw.
>
> $ gcc -print-search-dirs
> install: /usr/lib/gcc/i686-pc-cygwin/4.3.4/
> programs: =3D/usr/lib/gcc/i686-pc-cygwin/4.3.4/:/usr/lib/gcc/i686-pc-cygw=
in/4.3.4/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/:/=
usr/lib/gcc/i686-pc-cygwin/:/usr/libexec/gcc/i686-pc-cygwin/4.3.4/:/usr/lib=
exec/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/:/usr/lib/gcc/i6=
86-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/=
bin/i686-pc-cygwin/4.3.4/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i68=
6-pc-cygwin/bin/
> libraries: =3D/usr/lib/gcc/i686-pc-cygwin/4.3.4/:/usr/lib/gcc/i686-pc-cyg=
win/4.3.4/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/lib=
/i686-pc-cygwin/4.3.4/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-p=
c-cygwin/lib/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../i686-pc-cygwin/4.3=
.4/:/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../:/lib/i686-pc-cygwin/4.3.4/:=
/lib/:/usr/lib/i686-pc-cygwin/4.3.4/:/usr/lib/
>
> --
> Reini Urban
> http://phpwiki.org/=A0 =A0 =A0 =A0 =A0=A0 http://murbreak.at/
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>
>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019