it should be trivial if you do it in steps:

1. svn co http://svn.edgewall.org/repos/genshi/trunk/ genshi-trunk
2. add the following to setup.cfg:
[build]
compiler=mingw32

i am not sure if you need mingw installed. compile fails then with:

creating build\temp.win32-2.5\Release\genshi
c:\apps\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -Ic:\apps
\python25\include -Ic:\apps\python25\PC -c genshi/_speedups.c -o build
\temp.win32-2.5\Release\genshi\_speedups.o

genshi/_speedups.c:535: warning: 'MarkupType' defined locally after
being referenced with dllimport linkage
writing build\temp.win32-2.5\Release\genshi\_speedups.def
c:\apps\mingw\bin\gcc.exe -mno-cygwin -shared -s build
\temp.win32-2.5\Release\genshi\_speedups.o build\temp.win32-2.5\Release
\genshi\_speedups.def -Lc:\apps\python25\libs -Lc
:\apps\python25\PCBuild -lpython25 -lmsvcr71 -o build
\lib.win32-2.5\genshi\_speedups.pyd
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x179): undefined reference to `_imp__MarkupType'
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x180): undefined reference to `_imp__MarkupType'
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x260): undefined reference to `_imp__MarkupType'
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x408): undefined reference to `_imp__MarkupType'
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x7a9): undefined reference to `_imp__MarkupType'
build\temp.win32-2.5\Release\genshi\_speedups.o:_speedups.c:(.text
+0x7f4): more undefined references to `_imp__MarkupType' follow
collect2: ld returned 1 exit status
**********************************************************************
WARNING:
An optional C extension could not be compiled, speedups will not be
available.
**********************************************************************
creating build\bdist.win32

i created a ticket: http://genshi.edgewall.org/ticket/165 for this.

rupert.


On Dec 10, 2:01 pm, aldana <[EMAIL PROTECTED]> wrote:
> seems not too trivial.
>
> genshi 0.5 is neccessary, so i tried to install genshi, which makes
> problems. it says:
>
> "error: Python was built with VisualStudio 2003; extensions must be
> built with a compiler that can gererate compatible binaries [...]"
>
> so i need to install a vs-compiler. the only one we got here is
> VisualStudio 2005, will that work (is it downgrade compatible)?
> maybe it is easier to go with Python2.4?
>
> please tell if the effort spent is not worth (too unstable plugins).
>
> thanks!
>
> On Dec 10, 10:32 am, aldana <[EMAIL PROTECTED]> wrote:
>
>
>
> > hi,
>
> > we are using trac 0.11dev with Python 2.5. we want to introduce
> > estimations and time cuts for that.
>
> > is the WorkLogPlugin and TimingEstimation plugin stable enough to be
> > used in production?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to