[python-win32] compiling IP2Location extention on win32

tyju tiui jckdnk111 at yahoo.com
Wed Dec 2 21:14:30 CET 2009


Brilliant!

Tim, thank you so much. You just solved a problem I have been fighting for a week.
I owe you a beer or drink of your choice.

Thanks again!

Ty



----- Original Message ----
From: Tim Roberts <timr at probo.com>
To: Python-Win32 List <python-win32 at python.org>
Sent: Wed, December 2, 2009 2:02:37 PM
Subject: Re: [python-win32] compiling IP2Location extention on win32

tyju tiui wrote:
> I am trying to compile the python C extension from IP2Location: http://www.ip2location.com/python.aspx
> I'm not sure what I am doing wrong but the full error message is here: http://jckdnk111.pastebin.com/f71e8ff3d
>
> I am on Windows 7 32-bit with python 2.6.3 installed from the python.org windows installer.
> I have MS Visual Studio 2008.
>
> Any help or advice would be greatly appreciated.
>  

I can't tell from their web site whether they've ever built this on
Windows or not.  They have a confusion over whether they're going to use
the static C runtime library or the dynamic C runtime library.  You can
try doing this before you do the build:
    set LINK=/nod:msvcrt.lib
but I suspect you're going to need to contact the IP2Location people to
see if they support Python 2.6 on Windows.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32



      


More information about the python-win32 mailing list