473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

setup.py question

I'm trying to add the pymedia (http://pymedia.sourceforge.net/) module
to my python installation. Unfortunetly I'm using windows XP, so I'm
trying to do it using cygwin. When I type "setup.py build" or "python
setup.py build" or "python.setup.py install" I get normal compilation
messages and then it errors with this:

In file included from video/libavcodec/common.h:26
from video/libavcodec/avcodec.h:14
from video/libavcodec/imgconvert.c:20
/usr/include/stdio.h:227: error: syntax error before "off_t"
/usr/include/stdio.h:228: error: syntax error before "ftello"
/usr/include/stdio.h:313: error: syntax error before "__getdelim"
/usr/include/stdio.h:314: error: syntax error before "__getline"

I'm not much of a C programmer but I went in and looked at the stdio
code and can't find a problem with it (and this is the stdio that
comes with cygwin so I don't think its bad code). Any suggestions?
Jul 18 '05 #1
1 1858
> I'm trying to add the pymedia (http://pymedia.sourceforge.net/) module
to my python installation. Unfortunetly I'm using windows XP, so I'm
trying to do it using cygwin. When I type "setup.py build" or "python
setup.py build" or "python.setup.py install" I get normal compilation
messages and then it errors with this:

In file included from video/libavcodec/common.h:26
from video/libavcodec/avcodec.h:14
from video/libavcodec/imgconvert.c:20
/usr/include/stdio.h:227: error: syntax error before "off_t"
/usr/include/stdio.h:228: error: syntax error before "ftello"
/usr/include/stdio.h:313: error: syntax error before "__getdelim"
/usr/include/stdio.h:314: error: syntax error before "__getline"

Mike,
pymedia does not run on cygwin as of now. It runs natively under MSVC6/7 or
GCC Linux. I had some plans to add support for cygwin/mingw32, but only in
1.3.1( 2 months from now ). Also you may post to:
py***********@lists.sourceforge.net, may be somebody did the fix already.
Dmitry/
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mike Meyer | last post by:
Ok, I give up. I searched the CVS code, and can't find the place that turns an include_dirs option in setup.cfg into a list of directories. The reason I was looking for it is that I can't figure...
4
by: Richard Shea | last post by:
Hi - This is probably quite a stupid question but I've never understood what setup.py does. I've got a situation at the moment where I would like to use a script (which someone else has written and...
4
by: Paul .V. | last post by:
I need to setup two tables with default information. First off I need a company table. Quite simple. Name, Address, phone, tax number and so on. So I have setup that table with the fiels...
1
by: Michael A. Covington | last post by:
When I build my setup project, I get three files: setup.exe, setup.ini. and myapplication.msi. These go into a folder called (setup project)/bin/Release. If any other files are in that folder,...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
0
by: serge calderara | last post by:
dear all, I have build a web application and greate a web setup projet to deploy it. I have select the option to generate files for network installation. Based on that I copy generated setup...
3
by: Dennieku | last post by:
Hi, I've have 2 questions about the Web Setup project in VS.Net 2003. 1. How can i determine, from an Installer class, in which folder the Website has been installed (at the Commit phase) 2. I...
2
by: =?Utf-8?B?VHJhY2tz?= | last post by:
When I run my setup of a vb.net app made in VS2005 and setup made with the setup wizard and then modified in the ide, The .net 2 setup runs and installs and then asks to reboot. If you answer ok...
0
slashcanadian
by: slashcanadian | last post by:
Hallo, I have some question about creating and editing some setup wizard in .net. I want to create some "custom installation" in my setup wizard. Can someone help me how to create the custom...
2
by: Norman Diamond | last post by:
My C# code is I18N'ed by appropriately naming and editing .resx files. At execution time, it works. My C++ code is somewhat I18N'ed. When I put UI code in C++ I use .rc files. When I link to a...
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.