On Fri, 2 Jan 2009 13:20:59 -0800 (PST), Mike Driscoll <[email protected]> wrote: > Hi, > > I am attempting to install PyInstaller 1.3 on Ubuntu 8.1 and when I > run Make.py I get the following warning: > > "could not find Python static library at: /usr/lib/python2.5/config/ > libpython2.5.a" > > If I go ahead and run make after that, I get a bunch of errors: > > gcc -pthread -I/usr/include -I/usr/include/python2.5 -I../common - > DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing - > DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DHAVE_WARNINGS -c > getpath.c -o getpath.o > getpath.c:39:20: error: Python.h: No such file or directory > getpath.c:40:20: error: osdefs.h: No such file or directory > getpath.c:54: error: ‘MAXPATHLEN’ undeclared here (not in a function) > getpath.c: In function ‘reduce’: > getpath.c:63: error: ‘SEP’ undeclared (first use in this function) > getpath.c:63: error: (Each undeclared identifier is reported only once > getpath.c:63: error: for each function it appears in.) > getpath.c: In function ‘joinpath’: > getpath.c:135: error: ‘SEP’ undeclared (first use in this function) > getpath.c: In function ‘calculate_path’: > getpath.c:152: warning: implicit declaration of function > ‘Py_GetProgramName’ > getpath.c:152: warning: initialization makes pointer from integer > without a cast > getpath.c:159: error: ‘SEP’ undeclared (first use in this function) > getpath.c:169: warning: implicit declaration of function ‘getenv’ > getpath.c:169: warning: assignment makes pointer from integer without > a cast > getpath.c:177: error: ‘DELIM’ undeclared (first use in this function) > getpath.c:197: warning: implicit declaration of function ‘free’ > getpath.c:197: warning: incompatible implicit declaration of built-in > function ‘free’ > getpath.c:157: warning: unused variable ‘numchars’ > getpath.c:153: warning: unused variable ‘argv0_path’ > make: *** [getpath.o] Error 1 > > Do I need a dev version of Python installed to install PyInstaller? I > am using Python 2.5.
Yes: apt-get install python-dev -- Giovanni Bajo Develer S.r.l. http://www.develer.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
