Re: [Jepp-users] Problem building Jep 3.3.4
Brought to you by:
mrjohnson0
From: Nathan J. <ndj...@gm...> - 2015-06-22 14:49:44
|
Ok, this is very weird. I'm not sure what is going on. LNK 4001: https://msdn.microsoft.com/en-us/library/2k353w7f.aspx LNK 1159: https://msdn.microsoft.com/en-us/library/aa234450%28v=vs.60%29.aspx But the .obj files are clearly specified in your command line and the output file is clearly specified as jep.pyd which it should be. I talked to the developer who built it with Windows here, he said he had problems building it when Java was installed under Program Files. He also said he "used the Microsoft Visual C++ 2008 Express Edition but this ships with just the 32 bit compiler. You need to manually enable this in the express version, Information on doing this can be found here: https://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/ ". If possible, can you try building it with Java installed elsewhere? You might be able to make a symbolic link to your Java install and just change JAVA_HOME to test that. On Mon, Jun 22, 2015 at 8:31 AM, Günther Weidenholzer < Gue...@lc...> wrote: > Hi Nathan, > > thank you very much for your quick reply! > Unfortunately, I experienced the same issue using the latest source when > running "python setup.py build". > > Best regards, > Günther > > > > *Günther Weidenholzer* > Dipl-Ing. > > > >>> Nathan Jensen <ndj...@gm...> 22.06.2015 14:45 >>> > Hi, that error sounds very familiar..... The 3.3.1 through 3.3.4 releases > were all related to issues fixing installs with pip. You might try > downloading the source from the github page and then running python > setup.py clean build install and seeing if that works better or gets the > same error. > > I haven't tried Jep with python3 yet, but I don't think it will work due > to jep's usage of PyInt. Python 3 compatibility for Jep is scheduled for > the 3.4 release, it's next on my list of TODOs. > > On Mon, Jun 22, 2015 at 3:02 AM, Günther Weidenholzer < > Gue...@lc...> wrote: > >> Hi everyone! >> >> I tried to instell Jep 3.3.4 on two machines, both failing with the same >> error: >> >> #1: Windows Vista 32 bit, JDK 1.8.0_45 (32bit), Python 2.7 (32 bit, >> Anaconda 2.2.0) >> #2: Windows 7 64 bit, JDK 1.8.0_05 (64bit), Python 2.7 (64 bit, Miniconda) >> >> I used "Microsoft Visual C++ Compiler for Python 2.7" >> https://www.microsoft.com/en-us/download/details.aspx?id=44266 >> >> Here is the console output of machine #2 after typing "pip install jep" >> ... >> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\link.exe >> /DLL /nologo /INCREMENTAL:NO "/LIBPATH:C:\Program >> Files\Java\jdk1.8.0_05\lib\" /LIBPATH:C:\Miniconda\libs >> /LIBPATH:C:\Miniconda\PCbuild\amd64 jvm.lib python27.lib >> build\temp.win-amd64-2.7\Release\src\jep\invocationhandler.obj >> build\temp.win-amd64-2.7\Release\src\jep\jep.obj >> build\temp.win-amd64-2.7\Release\src\jep\pyembed.obj >> build\temp.win-amd64-2.7\Release\src\jep\pyjarray.obj >> build\temp.win-amd64-2.7\Release\src\jep\pyjclass.obj >> build\temp.win-amd64-2.7\Release\src\jep\pyjfield.obj >> build\temp.win-amd64-2.7\Release\src\jep\pyjlist.obj >> build\temp.win-amd64-2.7\Release\src\jep\pyjmethod.obj >> build\temp.win-amd64-2.7\Release\src\jep\pyjmethodwrapper.obj >> build\temp.win-amd64-2.7\Release\src\jep\pyjobject.obj >> build\temp.win-amd64-2.7\Release\src\jep\util.obj >> build\temp.win-amd64-2.7\Release\src\jep\python\jep_object.obj >> /OUT:build\lib.win-amd64-2.7\jep.pyd >> /MANIFESTFILE:build\temp.win-amd64-2.7\Release\src\jep\jep.pyd.manifest >> >> LINK : warning LNK4001: no object files specified; libraries used >> >> LINK : warning LNK4068: /MACHINE not specified; defaulting to X64 >> >> LINK : fatal error LNK1159: no output file specified >> >> Using JAVA_HOME: C:\Program Files\Java\jdk1.8.0_05 >> >> error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio >> 9.0\\VC\\BIN\\amd64\\link.exe' failed with exit status 1159 >> >> >> >> -- >> It would be great if anybody could help solving this problem. >> >> Btw, is ist possible to install JEP 3.3.4 for Python 3.4? >> >> >> Thanks in advance, >> Günther Weidenholzer >> >> >> >> >> ------------------------------------------------------------------------------ >> Monitor 25 network devices or servers for free with OpManager! >> OpManager is web-based network management software that monitors >> network devices and physical & virtual servers, alerts via email & sms >> for fault. Monitor 25 devices for free with no restriction. Download now >> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o >> _______________________________________________ >> Jepp-users mailing list >> Jep...@li... >> https://lists.sourceforge.net/lists/listinfo/jepp-users >> >> > |