RE: local windows builds & testing from source
"sod/sgt-d" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Organization | Stormtroopers Of Death |
| Message-ID | <000e01c6686a$234e3d70$83ce01c7@DFM21S51> |
Roger,
thanks a ton for your help. i think i am getting very close!
i seem to be stuck on the jarow module...
c:\bitpim>python buildrelease\makedist.py
Using package file src/package.py
py2exe version OK
Innosetup OK
=== Sanity check ===
python version OK
wxPython version OK
wxPython is unicode build OK
pycrypto version OK
paramiko version OK
bitfling OK
pyserial OK
apsw OK
sqlite OK
jaro/winkler string matcher Using (slow) Python version of Jaro/Winkler.
Build
C module in native/strings.
Traceback (most recent call last):
File "buildrelease\makedist.py", line 594, in ?
pkg.sanitycheck() # theirs
File "c:\bitpim\src\package.py", line 82, in sanitycheck
import native.strings.jarow
ImportError: No module named jarow
Variables by last 8 frames, innermost last
Frame ? in buildrelease\makedist.py at line 594
eh = <function eh at 0x00A5F430>
sanitycheck = <function sanitycheck at 0x00A5F270>
recursiveglob = <function recursiveglob at 0x00A0BB30>
getconfig = <function getconfig at 0x00A5F330>
formatexception = <function formatexception at 0x00A5F2B0>
windowsbuild = <function windowsbuild at 0x00A5F1B0>
makeconfig = <function makeconfig at 0x00A5F3F0>
PATH_CXFREEZE = '/opt/cx_Freeze-3.0.2'
rmrf = <function rmrf at 0x00A0BB70>
manifest_template = '\n<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>\
n<assembly xmlns="urn
setconfig = <function setconfig at 0x00A5F370>
RT_MANIFEST = 24
__file__ = 'buildrelease\\makedist.py'
run = <function run at 0x00A0BAF0>
linuxrpmbuild = <function linuxrpmbuild at 0x00A5F1F0>
saveconfig = <function saveconfig at 0x00A5F3B0>
opd = <function dirname at 0x009B59F0>
opb = <function basename at 0x009B59B0>
__name__ = '__main__'
opj = <function join at 0x009B5870>
dosubs = <function dosubs at 0x00A5F170>
__doc__ = 'Builds a binary distribution of a Python program\n\nThis
cod
e runs on Windows,
WINXP_MANIFEST = '\n<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>\n<
assembly xmlns="urn
clean = <function clean at 0x00A5F030>
macbuild = <function macbuild at 0x00A5F230>
PATH_INNOSETUP = 'c:\\program files\\inno setup 5\\compil32.exe'
setupconfig = <function setupconfig at 0x00A5F2F0>
Frame sanitycheck in c:\bitpim\src\package.py at line 82
ver = '3.2.7'
expect = '1.4 (oddish)'
c:\bitpim>
c:\bitpim\src\native\strings>python setup.py build --compile=mingw32
running build
running build_ext
building 'jarow' extension
writing build\temp.win32-2.3\Release\jarow.def
c:\bin\mingw\bin\gcc.exe -mno-cygwin -shared -s
build\temp.win32-2.3\Release\jar
ow.o build\temp.win32-2.3\Release\jarow.def -Lc:\python23\libs
-Lc:\python23\PCB
uild -lpython23 -o build\lib.win32-2.3\jarow.pyd
build\temp.win32-2.3\Release\jarow.o(.text+0x7d0):jarow.c: undefined
reference t
o `_imp__PyString_Type'
build\temp.win32-2.3\Release\jarow.o(.text+0x7de):jarow.c: undefined
reference t
o `_imp__PyString_Type'
build\temp.win32-2.3\Release\jarow.o(.text+0x807):jarow.c: undefined
reference t
o `_imp__PyUnicode_Type'
build\temp.win32-2.3\Release\jarow.o(.text+0x815):jarow.c: undefined
reference t
o `_imp__PyUnicode_Type'
build\temp.win32-2.3\Release\jarow.o(.text+0x84b):jarow.c: undefined
reference t
o `_imp__PyString_Type'
build\temp.win32-2.3\Release\jarow.o(.text+0x859):jarow.c: undefined
reference t
o `_imp__PyUnicode_Type'
build\temp.win32-2.3\Release\jarow.o(.text+0x8ba):jarow.c: undefined
reference t
o `_imp__PyUnicode_Type'
build\temp.win32-2.3\Release\jarow.o(.text+0x8c8):jarow.c: undefined
reference t
o `_imp__PyString_Type'
build\temp.win32-2.3\Release\jarow.o(.text+0x937):jarow.c: undefined
reference t
o `_imp__PyExc_TypeError'
error: command 'gcc' failed with exit status 1
c:\bitpim\src\native\strings>
thanks again for your help!!!
-darren