Closed GoogleCodeExporter closed 8 years ago
Original comment by W.Wilberforce.Jr@gmail.com
on 11 Jan 2011 at 3:03
Attachments:
Did you comment out or remove from the makefile the line:
mt -manifest $@.manifest -outputresource:$@;2
Original comment by Graham.Dumpleton@gmail.com
on 11 Jan 2011 at 3:05
I am not delete this line.
May be python25 is compile using vc7?
And I am using vc8.
Original comment by W.Wilberforce.Jr@gmail.com
on 11 Jan 2011 at 4:03
Can you try doing a 'name clean'. Remove that line from makefile and try again
to build, install etc.
That line wasn't required for Python 2.5 and so using it may cause problems.
Original comment by Graham.Dumpleton@gmail.com
on 11 Jan 2011 at 4:55
Would also suggest updating to newer Apache version. Remember that some else
was seeing crashes when trying to use SSL and when they upgraded it was fine.
Original comment by Graham.Dumpleton@gmail.com
on 11 Jan 2011 at 4:56
>>Can you try doing a 'name clean'. Remove that line from makefile and try
again
to build, install etc.
I do it.but apache start fail. The information in system event is that:
{{{
The Apache service named reported the following error:
>>> c4\xc4\xa3\xbf\xe9\xa1\xa3 .
}}}
I also write a simple swig file ,complie with vc8, and import to python. It is
fine.
I try to upgrade apache.
Original comment by W.Wilberforce.Jr@gmail.com
on 11 Jan 2011 at 5:03
I think python25 still need manifest embed. Because I compile source using vc8,
not vc7.
* I write a simple swig python module Test
cl /I c:\Python25\include /MD Test.c Test_wrap.c /LD /DLL
c:\Python25\libs\python25.lib
* If not this step, import Test will tell me "Cant found msvcr80.dll"
mt -manifest Test.dll.manifest -outputresource:Test.dll;2
Original comment by W.Wilberforce.Jr@gmail.com
on 11 Jan 2011 at 5:12
You cant arbitrarily change compilers. You must use what Python itself was
compiled with. So, if Python 2.5 used v7 (which can't remember what it used),
you must use that compiler.
Why can't you use newer Python version?
Original comment by Graham.Dumpleton@gmail.com
on 11 Jan 2011 at 5:17
I will find someone have vc7. Because there many cpython module and swig
module, If I upgrade python all things must recompile......
I am sorry. I am try to upgrade.
Original comment by W.Wilberforce.Jr@gmail.com
on 11 Jan 2011 at 6:15
Using vc7 compile, works fine.
Thanks for help.
The reason is Python 2.5 is compile with vc7, and module nedd to compile with
vc7 alos.
Original comment by W.Wilberforce.Jr@gmail.com
on 11 Jan 2011 at 10:33
Original comment by Graham.Dumpleton@gmail.com
on 11 Jan 2011 at 10:47
Original issue reported on code.google.com by
W.Wilberforce.Jr@gmail.com
on 11 Jan 2011 at 2:45