X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A86FF67.2050103@gmail.com>
Date: Sat, 15 Aug 2009 19:33:11 +0100
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Compiling problem
References: <4A85C9DB.5010903@bobcowdery.plus.com> <4A86F623.3070204@bobcowdery.plus.com>
In-Reply-To: <4A86F623.3070204@bobcowdery.plus.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Bob Cowdery wrote:
> Either I'm too impatient, the question is too trivial for people to
> bother with or too complex or lacking information to be answerable. As
> I've not posted to this group before and have hardly used Cygwin I've no
> idea which of the above is true. Anybody... please.

  Complex and lacking information.  I've never heard of Cython or Pyrex, but
if you could manage to cut your failing compile down to a really simple
testcase that anyone can reproduce, you'll get a lot more help a lot quicker.

>> part of the compile. I installed Pyrex and have tried to build a
>> minimal Python module but gcc can't seem to locate the python header
>> files. They are there and the -I points to the right place
>> '-I/usr/include/python2.5'. In that directory is Python.h which it
>> can't find.

  Copy and paste the failing command line from your build logs into a bash
shell, adding the "-v" flag.  If the list of search paths that shows you
doesn't help, try making a copy of the failing .c file, but snip out
everything after the #include statements at the top, and try compiling that
(with the same command-line, just change the name of the .c file it mentions).
 If that also doesn't work, post the commandline and the cut-down .c file here.

    cheers,
      DaveK



--
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

