[cl-gd-devel] problems for install cl-gd

Nicolas Lamirault lam at tuxfamily.org
Wed Mar 22 10:08:42 UTC 2006


hi,

Edi Weitz <edi at agharta.de> writes:

> On Wed, 22 Mar 2006 09:46:00 +0100, Nicolas Lamirault <lam at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-gd-devel/attachments/20060322/d3fdfff2/attachment.sig>


More information about the Cl-gd-devel mailing list