#7319: gdmodule requires libiconv on cygwin
-------------------------------+--------------------------------------------
Reporter: mhansen | Owner: tbd
Type: defect | Status: closed
Priority: major | Milestone: sage-4.4.1
Component: cygwin | Resolution: fixed
Keywords: | Author: Mike Hansen
Upstream: N/A | Reviewer: David Kirkby, William Stein
Merged: sage-4.4.1.alpha2 | Work_issues:
-------------------------------+--------------------------------------------
Comment(by was):
I'm having trouble with this on Cygwin now:
{{{
E_LIBFONTCONFIG -I/home/wstein/sage-4.4.3.alpha1/local/include
-I/usr/include -I/usr/include/X11 -I/home/wstein/sage-4.4.3.al
-c _gdmodule.c -o build/temp.cygwin-1.7.1-i686-2.6/_gdmodule.o
_gdmodule.c:152: warning: function declaration isn’t a prototype
_gdmodule.c:169: warning: function declaration isn’t a prototype
_gdmodule.c: In function ‘image_string’:
_gdmodule.c:993: warning: pointer targets in passing argument 5 of
‘gdImageString’ differ in signedness
_gdmodule.c: In function ‘image_string16’:
_gdmodule.c:1008: warning: passing argument 5 of ‘gdImageString16’ from
incompatible pointer type
_gdmodule.c: In function ‘image_stringup’:
_gdmodule.c:1022: warning: pointer targets in passing argument 5 of
‘gdImageStringUp’ differ in signedness
_gdmodule.c: In function ‘image_stringup16’:
_gdmodule.c:1037: warning: passing argument 5 of ‘gdImageStringUp16’ from
incompatible pointer type
gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin-1.7.1-i686-2.6/_gdmodule.o
-L/home/wstein/sage-4.4.3.alpha1/local/
1 -L/home/wstein/sage-4.4.3.alpha1/local/lib/python2.6/config -lgd -lpng12
-lz -lfreetype -liconv -lfontconfig -lpython2.6 -o
-2.6/_gd.dll
build/temp.cygwin-1.7.1-i686-2.6/_gdmodule.o: In function `write_file':
/home/wstein/sage-4.4.3.alpha1/spkg/build/gdmodule-0.56.p7/src/_gdmodule.c:248:
undefined reference to `_gdImagePngPtr'
/home/wstein/sage-4.4.3.alpha1/spkg/build/gdmodule-0.56.p7/src/_gdmodule.c:250:
undefined reference to `_gdImagePng'
build/temp.cygwin-1.7.1-i686-2.6/_gdmodule.o:_gdmodule.c:(.rdata+0x7e4):
undefined reference to `_gdImageCreateFromPng'
build/temp.cygwin-1.7.1-i686-2.6/_gdmodule.o:_gdmodule.c:(.rdata+0x824):
undefined reference to `_gdImageCreateFromPngCtx'
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Failure to build gdmodule
real 0m3.434s
user 0m0.760s
sys 0m1.991s
sage: An error occurred while installing gdmodule-0.56.p7
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7319#comment:18>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en.