Hello all,

I am still struggling with this issue. :-(

and i think the linker flags are some where configured in the buildutils.py or 
setup.py, can anybody point me to that where its actually being configured ??

I tried finding out that but was not successful :-(

Regards,
Gargi

From: [email protected]
To: [email protected]
Date: Tue, 24 Apr 2012 03:09:47 -0700
Subject: Re: [zeromq-dev] Error While Building pyzmq





Hello All,

can anybody help me in this.

Or is there anyway i can tell python_d setup.py install to link against 
python31_d.lib instead of python31.lib ??

Regards,
Gargi

From: [email protected]
To: [email protected]
Date: Mon, 23 Apr 2012 23:58:00 -0700
Subject: Re: [zeromq-dev] Error While Building pyzmq





Hello MinRK

Just to add more information, i tried building it on debug python of win32 
version and there also it gives me same error ??

The linker somehoe tries to link against python31.lib which is wrong it should 
link against python31_d.lib.

Regards,
Gargi
CC: [email protected]
From: [email protected]
Date: Mon, 23 Apr 2012 23:34:24 -0700
To: [email protected]
Subject: Re: [zeromq-dev] Error While Building pyzmq

Wow, debug Python 3 on 64b Windows is *far* outside my home court.
I guess my first question would have to be: can you build other extensions 
properly?

-MinRK
On Apr 23, 2012, at 23:04, Gargi Das <[email protected]> wrote:





Hello All,

I am facing a problem when i am trying to build pyzmq for a debug version of 
python.

I do the following steps:

1. build libzmq using visual studio the configuration selected is Win64 and 
debug.
2. cd into pyzmq directory and configure libzmq and pyzmq with command : 
python_d.exe setup.py configure --zmq="my zmq path"
3. now using the same python_d.exe i try to call: python_d.exe setup.py install

Step three gives me an error :



running install

running build

running build_py

copying zmq\libzmq.dll ->
build\lib.win-amd64-3.1-pydebug\zmq

running build_ext

building 'zmq.core.constants' extension

C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG
-Id:\Gargi\ZMQ\win64debug\zeromq

-2.1.11\zeromq-2.1.11\include -Izmq\utils -Izmq\core
-Izmq\devices
-ID:\dev\GDas\install\products\dotrox\main\windows-amd64-vc_9_0_sp1-debug

libs\bin\include
-ID:\dev\GDas\install\products\dotrox\main\windows-amd64-vc_9_0_sp1-debuglibs\bin\PC
/Tczmq\core\constants.c /Fobuild\temp.

win-amd64-3.1-pydebug\Release\zmq\core\constants.obj

constants.c

zmq\utils\zmq_compat.h(130) : warning C4067: unexpected
tokens following preprocessor directive - expected a newline

C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\amd64\link.exe /DLL /nologo /INCREMENTAL:NO
/LIBPATH:d:\Gargi\ZMQ\win64debug\zerom

q-2.1.11\zeromq-2.1.11\lib
/LIBPATH:D:\dev\GDas\install\products\dotrox\main\windows-amd64-vc_9_0_sp1-debuglibs\bin\libs
/LIBPATH:D:\dev\GDa

s\install\products\dotrox\main\windows-amd64-vc_9_0_sp1-debuglibs\bin\PCbuild\amd64
libzmq.lib /EXPORT:PyInit_constants build\temp.win-amd64

-3.1-pydebug\Release\zmq\core\constants.obj
/OUT:build\lib.win-amd64-3.1-pydebug\zmq\core\constants.pyd
/IMPLIB:build\temp.win-amd64-3.1-pyd

ebug\Release\zmq\core\constants.lib
/MANIFESTFILE:build\temp.win-amd64-3.1-pydebug\Release\zmq\core\constants.pyd.manifest

LINK : fatal error LNK1104: cannot open file 'python31.lib'

error: command '"C:\Program Files (x86)\Microsoft
Visual Studio 9.0\VC\BIN\amd64\link.exe"' failed with exit status 1104

[74795 refs]




Important line in above log is LINK : fatal error
LNK1104: cannot open file 'python31.lib'

 

Now my question is why setup.py is trying to open
python31.lib it should try to open python31_d.lib.  Do i need to do some 
changes in any of the config files i tried to find that but was not able to 
find it.
Just for saying i was able to build , libzmq and pyzmq for release version of 
python.
I will be grateful if anyone can help me on this ??
Regards,Gargi


                                          
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev                             
          

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev                             
          

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev                             
          
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to