mapbox / windows-builds

DEPRECATED! build scripts for mapnik dependencies, mapnik, node-mapnik, node, libosmiom, osmium-tool
38 stars 22 forks source link

32 bit python issues #35

Closed springmeyer closed 9 years ago

springmeyer commented 9 years ago

This may be user error or user mis-understanding, but here's my experience try to get 32 bit builds going locally:

screen shot 2015-03-25 at 4 57 05 pm

wilhelmberg commented 9 years ago

It's: settings.bat "TARGET_ARCH=32" Notice the quotes!

I have never run the scripts from PowerShell before, maybe that's the problem.

I'm using Cmder as console http://gooseberrycreative.com/cmder/ Download the 23MB 7z package and extract.

springmeyer commented 9 years ago

It's: settings.bat "TARGET_ARCH=32"

Yes, I used quotes, but missed them in this ticket

We've been over this before and my memory is bad: but currently we depend on a system python but also install our own versions: Maybe we could move to always using our own versions?

wilhelmberg commented 9 years ago

Maybe we could move to always using our own versions?

As far as I remember, we already tried that. But gyp was the problem then, couldn't get it work with our own Python. That's why it also has to be 32bit Python, otherwise gyp won't work. Whereas boost needs, depending on arch being built, 32bit and 64bit.

springmeyer commented 9 years ago

That's why it also has to be 32bit Python, otherwise gyp won't work.

I've forgotten the details here, so thanks for narrowing it down to this. Hopefully we can get to the bottom of why that was and fix things so that gyp + 64 bit python works.

wilhelmberg commented 9 years ago

@springmeyer I tried on three different machines (from within PowerShell) and couldn't reproduce your error.

Interesting error ImportError: DLL load failed. So it seems that some DLLs were not found or the ones found where not the correct ones.

Was this on a fresh machine or one that you have used before?

Try deleting the tmp-bin before calling settings.bat. I moved things around a bit when I created the package for the executables.

wilhelmberg commented 9 years ago

@springmeyer has this happened again?

springmeyer commented 9 years ago

not tried to build 32 bit recently. we can close this issue until it surfaces again.