[Community] Compiling PCL Proj4 module on Windows

Sean Gillies sgillies at frii.com
Thu Dec 8 18:30:31 EET 2005


Vaishal,

VC 6 is required to build modules for Python 2.3. Python 2.4 will  
require VC 7/.NET or newer. Although some people report that Zope 2.8  
works with Python 2.4, there's no guarantee and a good chance of  
problems.

Sean

On Dec 7, 2005, at 11:11 PM, Josh Livni wrote:

> Vaishal,
>
> I used Visual Studio 6.
>
>   -Josh
>
> Vaishal Sheth wrote:
>> Josh,
>> Thanks very much! I will give it a try. What did you use to  
>> compile it?
>> Cheers,
>> Vaishal
>> On 12/8/05, *Josh Livni* <josh at livniconsulting.com  
>> <mailto:josh at livniconsulting.com>> wrote:
>>     Vaishal,
>>     I finally broke down and compiled the required _proj4.pyd the  
>> other day.
>>     You can download it from eactive.org <http://eactive.org>.   
>> It's in
>>     the Plone Content folder,
>>     and has some instructions telling you where to put it.
>>     It may not stay up there for long, so keep a copy handy until  
>> the .5
>>     release, when I believe there might be fresh win32 binaries that
>>     include it.
>>     Best,
>>        -Josh
>>     Vaishal Sheth wrote:
>>      > Hello list,
>>      >
>>      > I am new at this and may be missing something simple.  When  
>> I checked
>>      > out the latest code for PCL, ZCO and PrimaGIS, ZCO  
>> installed fine.
>>      > PrimaGIS wouldn't install and the event.log showed  
>> "ImportError: No
>>      > module named _proj4".  Sean's instructions for compiling  
>> this module
>>      > suggest doing 'python setup.py install' from the PCL- 
>> Referencing
>>      > folder.  On doing that, I get a "error: Python was built with
>>     version 6
>>      > of Visual Studio and extensions need to be built with same
>>     version..."
>>      > Does this mean that I have to have Visual Studio 6 to  
>> compile the
>>      > module? Are there any workarounds?
>>      >
>>      > Thanks,
>>      > Vaishal
>>      >
>>      >
>>      >
>>      
>> --------------------------------------------------------------------- 
>> ---
>>      >
>>      > _______________________________________________
>>      > Community mailing list
>>      > Community at lists.gispython.org  
>> <mailto:Community at lists.gispython.org>
>>      > http://lists.gispython.org/mailman/listinfo/community
>
>
> _______________________________________________
> Community mailing list
> Community at lists.gispython.org
> http://lists.gispython.org/mailman/listinfo/community

---
Sean Gillies
sgillies at frii dot com
http://zcologia.com/news






More information about the Community mailing list