[cl-gd-devel] problems for install cl-gd
hi, i use cl-gd in some of my projects. currently, i would like to install cl-gd-0.5.1 CL-USER> (asdf:oos 'asdf:load-op :cl-gd) [...] CL-USER> (asdf:oos 'asdf:load-op :cl-gd-test) [...] CL-USER> (cl-gd-test:TEST) Test 1 failed with the following error: Attempt to call an undefined alien function. Test 2 failed with the following error: Attempt to call an undefined alien function. Test 3 failed with the following error: Attempt to call an undefined alien function. Test 4 failed with the following error: Attempt to call an undefined alien function. Test 5 failed with the following error: File #P"/home/nicolas/.sbcl/site/cl-gd-0.5.1/test/one-pixel.png" could not be found Test 6 failed with the following error: File #P"/home/nicolas/.sbcl/site/cl-gd-0.5.1/test/one-pixel.png" could not be found Test 7 failed with the following error: Attempt to call an undefined alien function. Test 8 failed with the following error: Attempt to call an undefined alien function. Test 9 failed with the following error: Attempt to call an undefined alien function. Test 10 failed with the following error: Attempt to call an undefined alien function. Test 11 failed with the following error: Attempt to call an undefined alien function. Test 12 failed with the following error: Attempt to call an undefined alien function. Test 13 failed with the following error: Attempt to call an undefined alien function. Test 14 failed with the following error: Attempt to call an undefined alien function. Test 15 failed with the following error: Attempt to call an undefined alien function. Test 16 failed with the following error: Attempt to call an undefined alien function. Test 17 failed with the following error: Attempt to call an undefined alien function. Test 18 failed with the following error: Attempt to call an undefined alien function. Test 19 failed with the following error: Attempt to call an undefined alien function. Done. i use sbcl 0.9.9, UFFI 1.5.9 and cl-gd 0.5.1 somebody it already had this problem ? thanks for any help. -- Nicolas Lamirault
On Wed, 22 Mar 2006 09:46:00 +0100, Nicolas Lamirault <lam@tuxfamily.org> wrote:
i use cl-gd in some of my projects.
So, it worked before?
currently, i would like to install cl-gd-0.5.1
CL-USER> (asdf:oos 'asdf:load-op :cl-gd)
[...]
Any interesting messages here?
Test 1 failed with the following error: Attempt to call an undefined alien function.
This looks as if the C library wasn't loaded.
Test 6 failed with the following error: File #P"/home/nicolas/.sbcl/site/cl-gd-0.5.1/test/one-pixel.png" could not be found
Is there a PNG at that location? Did you install with ASDF-INSTALL? Cheers, Edi.
hi, Edi Weitz <edi@agharta.de> writes:
On Wed, 22 Mar 2006 09:46:00 +0100, Nicolas Lamirault <lam@tuxfamily.org> wrote:
i use cl-gd in some of my projects.
So, it worked before?
yes perfectly
currently, i would like to install cl-gd-0.5.1
CL-USER> (asdf:oos 'asdf:load-op :cl-gd)
[...]
Any interesting messages here?
in the output i see this : ; compiling (DEF-FUNCTION ("gdImageDestroy" GD-IMAGE-DESTROY) ...) ; compiling (DEF-FUNCTION ("gdImageColorAllocate" ; GD-IMAGE-COLOR-ALLOCATE) ...) ; compiling (DEF-FUNCTION ("gdImageColorAllocateAlpha" ; GD-IMAGE-COLOR-ALLOCATE-ALPHA) ...) ; compiling (DEF-FUNCTION ("gdImageColorDeallocate" ; GD-IMAGE-COLOR-DEALLOCATE) ...) ; compiling (DEF-FUNCTION ("gdImageColorExact" GD-IMAGE-COLOR-EXACT) ; ...) ; compiling (DEF-FUNCTION ("gdImageColorClosest" ; GD-IMAGE-COLOR-CLOSEST) ...) ; compiling (DEF-FUNCTION ("gdImageColorClosestHWB" ; GD-IMAGE-COLOR-CLOSEST-HWB) ...) ; compiling (DEF-FUNCTION ("gdImageColorClosestAlpha" ; GD-IMAGE-COLOR-CLOSEST-ALPHA) ...) ; compiling (DEF-FUNCTION ("gdImageColorResolve" ; GD-IMAGE-COLOR-RESOLVE) ...) ; compiling (DEF-FUNCTION ("gdImageColorResolveAlpha" ; GD-IMAGE-COLOR-RESOLVE-ALPHA) ...) ; compiling (DEF-FUNCTION ("gdImageColorTransparent" ; GD-IMAGE-COLOR-TRANSPARENT) ...) ; compiling (DEF-FUNCTION ("gdImageGetGetTransparent" ; GD-IMAGE-GET-TRANSPARENT) ...) ; compiling (DEF-FUNCTION ("gdImageGetGetTransparent" ; GD-IMAGE-GET-TRANSPARENT) ...) ; compiling (DEF-FUNCTION ("gdImageSetAntiAliased" ; GD-IMAGE-SET-ANTI-ALIASED) ...) ; compiling (DEF-FUNCTION ("gdImageSetAntiAliasedDontBlend" ; GD-IMAGE-SET-ANTI-ALIASED-DO-NOT-BLEND) ...) ; compiling (DEF-FUNCTION ("gdImageSetBrush" GD-IMAGE-SET-BRUSH) ...) ; compiling (DEF-FUNCTION ("gdImageSetTile" GD-IMAGE-SET-TILE) ...) ; compiling (DEF-FUNCTION ("gdImageSetStyle" GD-IMAGE-SET-STYLE) ...) ; compiling (DEF-FUNCTION ("gdImageSetThickness" ; GD-IMAGE-SET-THICKNESS) ...) ; compiling (DEF-FUNCTION ("gdImageSetThickness" ; GD-IMAGE-SET-THICKNESS) ...) ; compiling (DEF-FUNCTION ("gdImageAlphaBlending" ; GD-IMAGE-ALPHA-BLENDING) ...) ; compiling (DEF-FUNCTION ("gdImageSaveAlpha" GD-IMAGE-SAVE-ALPHA) ; ...) ; compiling (DEF-FUNCTION ("gdImageGetRed" GD-IMAGE-GET-RED) ...) ; compiling (DEF-FUNCTION ("gdImageGetGreen" GD-IMAGE-GET-GREEN) ...) ; compiling (DEF-FUNCTION ("gdImageGetBlue" GD-IMAGE-GET-BLUE) ...) ; compiling (DEF-FUNCTION ("gdImageGetAlpha" GD-IMAGE-GET-ALPHA) ...) ; compiling (DEF-FUNCTION ("gdImageGetColorsTotal" ; GD-IMAGE-GET-COLORS-TOTAL) ...) ; compiling (DEF-FUNCTION ("gdImageSetClip" GD-IMAGE-SET-CLIP) ...) ; compiling (DEF-FUNCTION ("gdImageGetClip" GD-IMAGE-GET-CLIP) ...) ; compiling (DEF-FUNCTION ("gdImageSetPixel" GD-IMAGE-SET-PIXEL) ...) ; compiling (DEF-FUNCTION ("gdImageLine" GD-IMAGE-LINE) ...) ; compiling (DEF-FUNCTION ("gdImagePolygon" GD-IMAGE-POLYGON) ...) ; compiling (DEF-FUNCTION ("gdImagePolygon" GD-IMAGE-POLYGON) ... ; /home/nicolas/.sbcl/site/cl-gd-0.5.1/gd-uffi.fasl written ; compilation finished in 0:00:03 STYLE-WARNING: Undefined alien: "gdImageCreate" STYLE-WARNING: Undefined alien: "gdImageCreateTrueColor" STYLE-WARNING: Undefined alien: "gdImageCreateFromJpegFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromPngFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromGdFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromGd2File" STYLE-WARNING: Undefined alien: "gdImageCreateFromGd2PartFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromXbmFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromXpm" STYLE-WARNING: Undefined alien: "gdImageCreateFromGifFile" [...]
Test 1 failed with the following error: Attempt to call an undefined alien function.
This looks as if the C library wasn't loaded.
Test 6 failed with the following error: File #P"/home/nicolas/.sbcl/site/cl-gd-0.5.1/test/one-pixel.png" could not be found
Is there a PNG at that location?
no so i create it, ans the output : CL-USER> (cl-gd-test:TEST) Test 1 failed with the following error: Attempt to call an undefined alien function. Test 2 failed with the following error: Attempt to call an undefined alien function. Test 3 failed with the following error: Attempt to call an undefined alien function. Test 4 failed with the following error: Attempt to call an undefined alien function. Test 5 failed with the following error: Attempt to call an undefined alien function. Test 6 failed with the following error: Attempt to call an undefined alien function. Test 7 failed with the following error: Attempt to call an undefined alien function. Test 8 failed with the following error: Attempt to call an undefined alien function. Test 9 failed with the following error: Attempt to call an undefined alien function. Test 10 failed with the following error: Attempt to call an undefined alien function. Test 11 failed with the following error: Attempt to call an undefined alien function. Test 12 failed with the following error: Attempt to call an undefined alien function. Test 13 failed with the following error: Attempt to call an undefined alien function. Test 14 failed with the following error: Attempt to call an undefined alien function. Test 15 failed with the following error: Attempt to call an undefined alien function. Test 16 failed with the following error: Attempt to call an undefined alien function. Test 17 failed with the following error: Attempt to call an undefined alien function. Test 18 failed with the following error: Attempt to call an undefined alien function. Test 19 failed with the following error: Attempt to call an undefined alien function. Done.
Did you install with ASDF-INSTALL?
yes Before, i use cl-gd installed by APT.
Cheers, Edi.
-- Nicolas Lamirault
On Wed, 22 Mar 2006 11:08:42 +0100, Nicolas Lamirault <lam@tuxfamily.org> wrote:
in the output i see this :
STYLE-WARNING: Undefined alien: "gdImageCreateTrueColor" STYLE-WARNING: Undefined alien: "gdImageCreateFromJpegFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromPngFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromGdFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromGd2File" STYLE-WARNING: Undefined alien: "gdImageCreateFromGd2PartFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromXbmFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromXpm" STYLE-WARNING: Undefined alien: "gdImageCreateFromGifFile"
These are functions that are defined in cl-gd-glue.so. If you install yourself (without apt-get), you have to compile it from source unless it's still around in /usr/lib or wherever apt-get put the old version. I just think it's strange that you don't get a message about missing C libraries. HTH, Edi.
so i uninstall cl-gd using asdf-install. (I notice that cl-gd-test.asd isn't deleted from system directory. ASDF-INSTALL bug ?) i install cl-gd (Version 0.4.2-4) by apt, and i haven't any errors with this version. regards Nicolas Lamirault <lam@tuxfamily.org> writes:
hi,
Edi Weitz <edi@agharta.de> writes:
On Wed, 22 Mar 2006 09:46:00 +0100, Nicolas Lamirault <lam@tuxfamily.org> wrote:
i use cl-gd in some of my projects.
So, it worked before?
yes perfectly
currently, i would like to install cl-gd-0.5.1
CL-USER> (asdf:oos 'asdf:load-op :cl-gd)
[...]
Any interesting messages here?
in the output i see this :
; compiling (DEF-FUNCTION ("gdImageDestroy" GD-IMAGE-DESTROY) ...) ; compiling (DEF-FUNCTION ("gdImageColorAllocate" ; GD-IMAGE-COLOR-ALLOCATE) ...) ; compiling (DEF-FUNCTION ("gdImageColorAllocateAlpha" ; GD-IMAGE-COLOR-ALLOCATE-ALPHA) ...) ; compiling (DEF-FUNCTION ("gdImageColorDeallocate" ; GD-IMAGE-COLOR-DEALLOCATE) ...) ; compiling (DEF-FUNCTION ("gdImageColorExact" GD-IMAGE-COLOR-EXACT) ; ...) ; compiling (DEF-FUNCTION ("gdImageColorClosest" ; GD-IMAGE-COLOR-CLOSEST) ...) ; compiling (DEF-FUNCTION ("gdImageColorClosestHWB" ; GD-IMAGE-COLOR-CLOSEST-HWB) ...) ; compiling (DEF-FUNCTION ("gdImageColorClosestAlpha" ; GD-IMAGE-COLOR-CLOSEST-ALPHA) ...) ; compiling (DEF-FUNCTION ("gdImageColorResolve" ; GD-IMAGE-COLOR-RESOLVE) ...) ; compiling (DEF-FUNCTION ("gdImageColorResolveAlpha" ; GD-IMAGE-COLOR-RESOLVE-ALPHA) ...) ; compiling (DEF-FUNCTION ("gdImageColorTransparent" ; GD-IMAGE-COLOR-TRANSPARENT) ...) ; compiling (DEF-FUNCTION ("gdImageGetGetTransparent" ; GD-IMAGE-GET-TRANSPARENT) ...) ; compiling (DEF-FUNCTION ("gdImageGetGetTransparent" ; GD-IMAGE-GET-TRANSPARENT) ...) ; compiling (DEF-FUNCTION ("gdImageSetAntiAliased" ; GD-IMAGE-SET-ANTI-ALIASED) ...) ; compiling (DEF-FUNCTION ("gdImageSetAntiAliasedDontBlend" ; GD-IMAGE-SET-ANTI-ALIASED-DO-NOT-BLEND) ...) ; compiling (DEF-FUNCTION ("gdImageSetBrush" GD-IMAGE-SET-BRUSH) ...) ; compiling (DEF-FUNCTION ("gdImageSetTile" GD-IMAGE-SET-TILE) ...) ; compiling (DEF-FUNCTION ("gdImageSetStyle" GD-IMAGE-SET-STYLE) ...) ; compiling (DEF-FUNCTION ("gdImageSetThickness" ; GD-IMAGE-SET-THICKNESS) ...) ; compiling (DEF-FUNCTION ("gdImageSetThickness" ; GD-IMAGE-SET-THICKNESS) ...) ; compiling (DEF-FUNCTION ("gdImageAlphaBlending" ; GD-IMAGE-ALPHA-BLENDING) ...) ; compiling (DEF-FUNCTION ("gdImageSaveAlpha" GD-IMAGE-SAVE-ALPHA) ; ...) ; compiling (DEF-FUNCTION ("gdImageGetRed" GD-IMAGE-GET-RED) ...) ; compiling (DEF-FUNCTION ("gdImageGetGreen" GD-IMAGE-GET-GREEN) ...) ; compiling (DEF-FUNCTION ("gdImageGetBlue" GD-IMAGE-GET-BLUE) ...) ; compiling (DEF-FUNCTION ("gdImageGetAlpha" GD-IMAGE-GET-ALPHA) ...) ; compiling (DEF-FUNCTION ("gdImageGetColorsTotal" ; GD-IMAGE-GET-COLORS-TOTAL) ...) ; compiling (DEF-FUNCTION ("gdImageSetClip" GD-IMAGE-SET-CLIP) ...) ; compiling (DEF-FUNCTION ("gdImageGetClip" GD-IMAGE-GET-CLIP) ...) ; compiling (DEF-FUNCTION ("gdImageSetPixel" GD-IMAGE-SET-PIXEL) ...) ; compiling (DEF-FUNCTION ("gdImageLine" GD-IMAGE-LINE) ...) ; compiling (DEF-FUNCTION ("gdImagePolygon" GD-IMAGE-POLYGON) ...) ; compiling (DEF-FUNCTION ("gdImagePolygon" GD-IMAGE-POLYGON) ...
; /home/nicolas/.sbcl/site/cl-gd-0.5.1/gd-uffi.fasl written ; compilation finished in 0:00:03 STYLE-WARNING: Undefined alien: "gdImageCreate" STYLE-WARNING: Undefined alien: "gdImageCreateTrueColor" STYLE-WARNING: Undefined alien: "gdImageCreateFromJpegFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromPngFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromGdFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromGd2File" STYLE-WARNING: Undefined alien: "gdImageCreateFromGd2PartFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromXbmFile" STYLE-WARNING: Undefined alien: "gdImageCreateFromXpm" STYLE-WARNING: Undefined alien: "gdImageCreateFromGifFile"
[...]
Test 1 failed with the following error: Attempt to call an undefined alien function.
This looks as if the C library wasn't loaded.
Test 6 failed with the following error: File #P"/home/nicolas/.sbcl/site/cl-gd-0.5.1/test/one-pixel.png" could not be found
Is there a PNG at that location?
no so i create it, ans the output :
CL-USER> (cl-gd-test:TEST) Test 1 failed with the following error: Attempt to call an undefined alien function. Test 2 failed with the following error: Attempt to call an undefined alien function. Test 3 failed with the following error: Attempt to call an undefined alien function. Test 4 failed with the following error: Attempt to call an undefined alien function. Test 5 failed with the following error: Attempt to call an undefined alien function. Test 6 failed with the following error: Attempt to call an undefined alien function. Test 7 failed with the following error: Attempt to call an undefined alien function. Test 8 failed with the following error: Attempt to call an undefined alien function. Test 9 failed with the following error: Attempt to call an undefined alien function. Test 10 failed with the following error: Attempt to call an undefined alien function. Test 11 failed with the following error: Attempt to call an undefined alien function. Test 12 failed with the following error: Attempt to call an undefined alien function. Test 13 failed with the following error: Attempt to call an undefined alien function. Test 14 failed with the following error: Attempt to call an undefined alien function. Test 15 failed with the following error: Attempt to call an undefined alien function. Test 16 failed with the following error: Attempt to call an undefined alien function. Test 17 failed with the following error: Attempt to call an undefined alien function. Test 18 failed with the following error: Attempt to call an undefined alien function. Test 19 failed with the following error: Attempt to call an undefined alien function. Done.
Did you install with ASDF-INSTALL?
yes Before, i use cl-gd installed by APT.
Cheers, Edi.
-- Nicolas Lamirault
participants (2)
-
Edi Weitz -
Nicolas Lamirault