Ok, I'm working on building python 2.4.2 on cygwin. I *think* it's
version 3.0 or 3.1 (is there a quick way to find out what version of
cygwin is running within a shell?)
Anyway, it appears to 'configure' fine, but gcc reports a compile error
when it gets to posixmodule.c. Here's the first few lines of the error
message:
==============================
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
-I./Include -DPy_BUILD_CORE -c ./Modules/posixmodule.c -o
Modules/posixmodule.o
Modules/posixmodule.c:308: warning: function declaration isn't a
prototype
Modules/posixmodule.c: In function `posix_ttyname':
Modules/posixmodule.c:1162: warning: implicit declaration of function
`ttyname'
Modules/posixmodule.c:1162: warning: assignment makes pointer from
integer without a cast
Modules/posixmodule.c: In function `posix_mkdir':
Modules/posixmodule.c:1791: too many arguments to function `mkdir'
==============================
I've researched this a bit, and it sounds like cygwin gets all confused
about system includes and so on. Is there a good, comprehensive
explanation somewhere of how to make this all work? (Most of the
threads I've found are helpful, but not complete unfortunately).
Thanks,
--Steve (mr************@hotmail.com) 5 1473
Steve,
On Mon, Feb 20, 2006 at 12:24:34PM -0800, mrstephengross wrote: Ok, I'm working on building python 2.4.2 on cygwin. I *think* it's version 3.0 or 3.1 (is there a quick way to find out what version of cygwin is running within a shell?)
Use "uname -r". What version are you running?
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
> On Mon, Feb 20, 2006 at 12:24:34PM -0800, mrstephengross wrote: Ok, I'm working on building python 2.4.2 on cygwin. I *think* it's version 3.0 or 3.1 (is there a quick way to find out what version of cygwin is running within a shell?)
Use "uname -r". What version are you running?
Uname tells me:
$ uname -r
1.5.18(0.132/4/2)
--Steve
Steve,
On Mon, Feb 20, 2006 at 11:49:06PM -0500, Stephen Gross wrote: On Mon, Feb 20, 2006 at 12:24:34PM -0800, mrstephengross wrote:Ok, I'm working on building python 2.4.2 on cygwin. I *think* it's version 3.0 or 3.1 (is there a quick way to find out what version of cygwin is running within a shell?)
Use "uname -r". What version are you running?
Uname tells me:
$ uname -r 1.5.18(0.132/4/2)
Just to be sure, what does the following indicate?
$ cygcheck -c cygwin
Sorry, but I cannot reproduce your problem under Cygwin 1.5.18.
BTW, can you use the pre-built Python 2.4.1 that is part of the standard
Cygwin distribution?
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
>Just to be sure, what does the following indicate?
$ cygcheck -c cygwin
Cygwin Package Information
Package Version Status
cygwin 1.5.18-1 OK BTW, can you use the pre-built Python 2.4.1 that is part of the standard
Cygwin distribution?
Nope--I need to do a custom python build for a very specific situation...
Thanks,
--Steve
Steve,
On Tue, Feb 21, 2006 at 09:31:48AM -0500, Stephen Gross wrote: Just to be sure, what does the following indicate? $ cygcheck -c cygwin Cygwin Package Information Package Version Status cygwin 1.5.18-1 OK
Try reinstalling Cygwin 1.5.18 or upgrading to 1.5.19.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jörg Maier |
last post by:
Hey guys,
i have a big problem using Tkinter and pexpect in cygwin. i try to program
an winscp-like rsync Program for all posix Platforms (linux, macosx,
cygwin). i got a class SslConnection...
|
by: Carl Waldbieser |
last post by:
I tried to adapt the instructions for building the M2Crypto module
(http://sandbox.rulemaker.net/ngps/m2/INSTALL.html) to build a version
compatible with Python2.3, but I've had some mixed results....
|
by: Andreou Giannis |
last post by:
Allthough it is possible to build modules in Python2.3.3 and distutils
with cygwin,
by running:
setup.py build --compiler=cygwin
(after i created the libpython23.a)
running:
setup.py install...
|
by: Rich Krauter |
last post by:
>(I am aware that there is a Windows version of
Python. >But it expects the
>Windows syntax for paths, not the Unix/SFU paths.
And >for all I know there
>are other incompatibilities as well.)
...
|
by: RMJ |
last post by:
After installing Enthought's python and typing 'python' from within cygwin
the program hangs with no output. I do not remember this being the case
with earlier versions of Enthought python. Is...
|
by: mrstephengross |
last post by:
Ok, I know there are already a million posts on this group about
getting Python to build with MinGW. I've been through many of them, and
have still not found a good comprehensive way to accomplish...
|
by: Lars |
last post by:
Hi,
I have problems building a simple handcoded C-extension (hello.c) with
Cygwin and gcc3.4.4. I hope somebody has encountered the same problem
before, and has some advice.
The extension...
|
by: JW |
last post by:
I have a lousy little Python extension, generated with the generous help
of Pyrex. In Linux, things are simple. I compile the extension, link it
against some C stuff, and *poof*! everything...
|
by: Endless Story |
last post by:
My last version of Python was 2.4, running smoothly on XP with path c:
\Python24 - no need even to include this path in PATH; everything
worked as it's supposed to at the command line.
Just...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |