From: strk <st...@ke...> - 2005-03-27 22:18:54
|
I don't like the 'ranlib: file: libming.a(fontinfo.o) has no symbols' part... Anyway, try reading the documentations found in the source code, they are more likely to be in synch with the real thing (py_ext/INSTALL). -strk; On Sat, Mar 26, 2005 at 02:59:30PM +0200, rc wrote: > Hi everybody. I have not a computer scientist background and to get > ming installed is being a nightmare in my life. I would appreciate a > lot any help you can provide me. > > I am stuck installing ming 0.3beta1 in Mac Os X 10.3.8 to use it with > python. I followed the INSTALL directions, and I installed several > packages that ming needed till I saw that the command "make static" > finished to execute properly. Well, I am not sure if it was executed > properly. I attach the last 10 lines I got it (see attachment 1). After > that I went to the "py_ext" directory and I tried to execute "make > mingcmodule.so", but it didn't work (see attachment 2). Instead I > executed just "make" and after installed some packaged that it seems to > be needed I got stuck with something called "Python.h" (see attachment > 3). And don't know what to do because Python is installed and working > and the "Python.h" file is in the include file of python. > > I followed the directions to set up ming in my mac from the website and > I defined the variables quoted, (see attachment 4), and I installed > fink. I used fink to install all the packages that I saw that ming > needed. Even I removed Xfree86 to install it again with fink. > > Also I followed the directions from the Plumber > (http://sourceforge.net/mailarchive/message.php?msg_id=8991743), but I > am still stuck in the same point. > > Does anybody have achieved to install ming in Mac to use it with Python? > > Thanks, > Rafael > > > > // ATTACHMENT -1- > ... > gcc -O2 -Wall -I. -I.. -O2 -Wall -I. -I/sw/include -fno-common > -fno-common -I/sw/include -c -o assembler.o assembler.c > gcc -O2 -Wall -I. -I.. -O2 -Wall -I. -I/sw/include -fno-common > -fno-common -I/sw/include -c -o compileaction.o compileaction.c > ar r libming.a blocks/*.o blocklist.o displaylist.o fill.o font_util.o > ming.o movie.o movieclip.o position.o shape_cubic.o shape_util.o > text_util.o actioncompiler/compile.o actioncompiler/swf4compiler.tab.o > actioncompiler/lex.swf4.o actioncompiler/swf5compiler.tab.o > actioncompiler/lex.swf5.o actioncompiler/compileaction.o > actioncompiler/assembler.o > ar: creating archive libming.a > ranlib libming.a # bsd requires this? > ranlib: file: libming.a(fontinfo.o) has no symbols > cp libming.a .. > > > // ATTACHMENT -2- > > rc:/usr/local/ming-0.3beta1 root# cd py_ext/ > rc:/usr/local/ming-0.3beta1/py_ext root# ls > .cvsignore Makefile TODO mingc.def test.py > INSTALL README ming.py shape.py > > rc:/usr/local/ming-0.3beta1/py_ext root# make mingcmodule.so > make: *** No rule to make target `mingcmodule.so'. Stop. > > > // ATTACHMENT -3- > > rc:/usr/local/ming-0.3beta1/py_ext root# make > swig -I. -I.. -I/usr/include/python2.3 -python ming.i > gcc -O2 -Wall -I. -I.. -I/usr/include/python2.3 -I/sw/include > -fno-common -fpic -c ming_wrap.c > cc1: warning: -fpic is not supported; -fPIC assumed > ming_wrap.c:22:20: Python.h: No such file or directory > ming_wrap.c:622: error: parse error before "PyObject_HEAD" > ming_wrap.c:622: warning: no semicolon at end of struct or union > ming_wrap.c:625: error: parse error before '}' token > ming_wrap.c:625: warning: type defaults to `int' in declaration of > `PySwigObject' > ming_wrap.c:625: warning: data definition has no type or storage class > ming_wrap.c:630: error: parse error before '*' token > ming_wrap.c: In function `PySwigObject_print': > ming_wrap.c:633: error: `v' undeclared (first use in this function) > ... > > > //ATTACHMENT -4- > > # System-wide .profile for sh(1) > > PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/mysql/ > bin:/usr/local/drpython-3.10.10:/sw/bin:/sw/sbin" > export PATH > > export CFLAGS=-I/sw/include > export LDFLAGS=-L/sw/lib > export CXXFLAGS=$CFLAGS > export CPPFLAGS=$CXXFLAGS > export ACLOCAL_FLAGS="-I/sw/share/aclocal" > export PKG_CONFIG_PATH="/sw/lib/pkgconfig" > > [ -r /etc/bashrc ] && source /etc/bashrc > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Ming-users mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/ming-users |