473,811 Members | 3,736 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ming for python

Hello everybody !!

anyone has try to build ming0.3beta1 for python 2.3.3 under windows ??

Since three days, I try to build it with mingw32, and finally, I am
stopped with C declarations error in src/actioncompiler/swf4compiler.y

If anyone has build with success ming (mingc.pyd) for python 2.3.3, can
he please send me this file, or explain what I do to build it
successfully ??

I have downloaded all software who are needed (bison, flex, mingw
developer Studio to have make, dlltool, etc...) But finally, I'm not
sure that I can compile theses sources with mingw...

I have followed instructions on

- http://www.u-blog.net/corailnumerique/2003/12/17 (in french, it's my
mother tongue...) and
-
https://sourceforge.net/tracker/inde...65&atid=118365
but no results...

If anyone has a solution, please help me :)
Thierry
Jul 18 '05 #1
2 2133
Ha ! Ha ! Tu tentes la coup de l'émigration ?
J'espère que ça marchera...
--
Michel Claveau

Jul 18 '05 #2
On Tue, Dec 07, 2004 at 07:55:09PM +0100, titouille wrote:
Hello everybody !!

anyone has try to build ming0.3beta1 for python 2.3.3 under windows ??

Since three days, I try to build it with mingw32, and finally, I am
stopped with C declarations error in src/actioncompiler/swf4compiler.y


I haven't tried under windows, but here is how I got it to compile
under linux. Below is my setup.py

-Jack

"""
This is the setup.py for ming-0.3beta1
Do the normal ming compile and then remove all the .o files
copy this file to py_ext/
and run as a normal python instal, eg 'python setup.py install'
Keep copying header files into this directory until it doesn't complain
Done!
"""

files = []
dirs = ['../src/', '../src/blocks/', '../src/actioncompiler']
ignore = ['read.c', 'main.c']
for (dir) in dirs:
for (file) in os.listdir(dir) :
if (file.endswith( '.c') and file not in ignore):
files.append('% s/%s' % (dir, file))

files.append('m ing_wrap.c')
setup(name="min g",
py_modules=["ming", 'mingc'],
ext_modules=[Extension(name= "_mingc",
sources=files,
libraries=['gif', 'png', 'z'],
include_dirs=di rs,
)]
)
Jul 18 '05 #3

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

Similar topics

0
2553
by: eric | last post by:
Greetings! I've installed Apache 2.0.xx and PHP 4.3.2. I want to use Ming as a module to PHP. The instructions that came with Ming say to: as a php module (unix) download php_ming.so.gz uncompress it and copy it to your php modules directory (you can find your php module directory by running php-config --extension-dir)
0
2167
by: jmdeschamps | last post by:
Hello to all, I'm trying to get binaries for Ming but can't find them FOR PYTHON... Yes I know its a PHP group, but i believe someone as made a binary of Ming that is symbolically linked to PHP on Windows. Please don't bother telling me to use "the right tool for the right job, that is PHP (since it works there)" type of response. I'm sure PHP is great and all that but I really need a hand here ion compiling ... I'm a lowly apps...
1
2142
by: jmdeschamps | last post by:
I've tried to follow gerhard lead from: http://groups.google.com/groups?q=Ming+gerhard+group:comp.lang.python.*&hl=fr&lr=&ie=UTF-8&group=comp.lang.python.*&selm=slrnb3fusl.1d4.gerhard.haering%40haering.opus-gmbh.net&rnum=1 but wind up with C:\ming\py_ext>python setup.py build --compiler=mingw32 running build running build_py running build_ext building 'mingc' extension
0
1464
by: jmdeschamps | last post by:
I have yet to find a way to compile the source of Ming (a library to produce SWF files (Flash), http://ming.sourceforge.net/) to run from Python under Windows XP Even with some help (from a C++ 'nix senior programmer), I just can't make it (SIGH) Did anyone reading this ever mage it work??? The PHP module seems very popular (even available in binaries :0 ), but I'd rather program in Python!
1
4326
by: André Roberge | last post by:
I tried to install Ming (http://sourceforge.net/projects/ming/) on Windows to use with Python *but* I can't use "make" to install it. Does anyone know where I could find a ready-made compiled version for Windows to just "put in" my site-packages directory. Any help would be appreciated.
9
2363
by: nasim | last post by:
Hi please Help me for using SWF Flash file in Visual C++ 6.0. How I can Use SWF Flash files in Visual C++ 6.0, and how to manipulate SWF Flash files in Visual C++ 6.0. thanks nasim
0
1181
by: tdurham | last post by:
Is there a way to import or insert external movie clips, images, and variable pairs into an SWF at PHP runtime, rather than at SWF runtime? Everything that I've read in the Ming documentation is about inserting the "LoadMovie()" actionscript functions with ming. However, I need to PHP to build an SWF that can be handed off and is not dependent on anything once it's gone. Therefore, PHP would need to be able to insert the movie clips and...
4
1861
by: daz.diamond | last post by:
hoping someone can help ... how do I install ming (with python) on win32? have downloaded the tar.gz of ming-0.3.0 which doesn't have a handy self-installer, and I'm absolutely foxed as to what to do next ... the install instructions in the package seem to be linux oriented, which to me may as well be in greek any clues much appreciated, thx daz
1
5041
by: Daniel Nogradi | last post by:
It might be slightly off topic here but couldn't find a more suitable place for this question: I'm trying to build the python binding for ming -- http://ming.sf.net -- but for some reason the python macro for autoconf -- python.m4 -- doesn't seem to detect my python installation correctly. The strange thing is that it seemingly detects everything correctly, but a final check still fails. I have the python 2.5 source distribution...
0
9731
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10651
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10393
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10405
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9208
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5556
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4342
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 we have to send another system
2
3871
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3020
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.