Ok, the problem is not in gdmodule, but libgd ask for symbols that
were in libfl and libfontconfig (at least on my box ;)

I am not working with hg yet (this is planned for the weekend), so
this is just a "classic" diff:

61,72c61,65
< import os
< if os.uname()[0][:6] == "CYGWIN":
<     want_libs = [
<         "gd", "png", "z", "freetype", "libiconv"
<     ]
<     libs = filetest(libdirs, want_libs)
<     libs.append('libiconv')
< else:
<     want_libs = [
<         "gd", "png", "z", "freetype"
<     ]
<     libs = filetest(libdirs, want_libs)
---
> want_libs = [
>     "gd", "png", "z", "freetype", "iconv", "fl", "fontconfig"
> ]
>
> libs = filetest(libdirs, want_libs)
82a76,77
> libs.append('iconv')
>
110,111d104
< print libs
<

in case this gets mangled the patch is also at
http://fsmath.mathematik.uni-dortmund.de/~mabshoff/patches/SAGE-2.4.2-fix-gdmodule-on-cygwin.patch

Besides compiling this patch also quiets a warning about a missing
libiconv because there is an extra lib in want_libs at, i.e.
"libiconv" instead of "iconv"

Cheers,

Michael



--~--~---------~--~----~------------~-------~--~----~
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/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to