473,466 Members | 1,508 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1859
> 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.