Re: clg using sbcl on Macintel

Karim Haddad <[email protected]> Mon, 4 Jun 2007 15:22:51 +0200
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
Dear Espen

Great thanx
THe compilation works alright, But ....
Hello-world doesn't pass. This is the output of Sbcl :

;; This buffer is for notes you don't want to save, and for Lisp  
evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.

BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
; loading system definition from
; /Users/haddad/Work/OM/clg/systems/clg-tools.asd into #<PACKAGE  
"ASDF1">
; registering #<SYSTEM CLG-TOOLS {11D827E9}> as CLG-TOOLS
; loading system definition from /Users/haddad/Work/OM/clg/systems/ 
atk.asd into
; #<PACKAGE "ASDF0">
; registering #<SYSTEM ATK {1186AD61}> as ATK
; loading system definition from /Users/haddad/Work/OM/clg/systems/ 
gdk.asd into
; #<PACKAGE "ASDF0">
; registering #<SYSTEM GDK {119E7189}> as GDK
; loading system definition from /Users/haddad/Work/OM/clg/systems/ 
cairo.asd
; into #<PACKAGE "ASDF0">
; registering #<SYSTEM CAIRO {11B980F9}> as CAIRO
; loading system definition from /Users/haddad/Work/OM/clg/systems/ 
glib.asd
; into #<PACKAGE "ASDF0">
; loading system definition from /Users/haddad/Work/OM/clg/systems/ 
gffi.asd
; into #<PACKAGE "ASDF1">
; registering #<SYSTEM GFFI {11D70C49}> as GFFI
; registering #<SYSTEM GLIB {1163BC81}> as GLIB
; loading system definition from /Users/haddad/Work/OM/clg/systems/ 
pango.asd
; into #<PACKAGE "ASDF0">
; registering #<SYSTEM PANGO {11997501}> as PANGO
* (load "hello-world.lisp")

debugger invoked on a SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR:
   Attempt to call an undefined alien function.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
   0: [CONTINUE ] Return from callback function
   1: [RE-INVOKE] Re-invoke callback function
   2: [ABORT    ] Disconnect and exit signal handler
   3:             Exit debugger, returning to top level.

(SB-KERNEL::UNDEFINED-ALIEN-FUNCTION-ERROR)

here i choose continue:


0] 0

T
* WARNING: Pango: `script_engine_init': dlsym(3) failed
WARNING:
    Pango: Failed to load Pango module '/opt/local/lib/pango/1.6.0/ 
modules/pango-
basic-fc.so' for id 'BasicScriptEngineFc'
WARNING: Pango: `script_engine_init': dlsym(3) failed
WARNING: Pango: `script_engine_init': dlsym(3) failed
WARNING: Pango: `script_engine_init': dlsym(3) failed
WARNING: Pango: `script_engine_init': dlsym(3) failed
WARNING: Pango: `script_engine_init': dlsym(3) failed
WARNING: Pango: `script_engine_init': dlsym(3) failed
WARNING: Pango: `script_engine_init': dlsym(3) failed
WARNING: Pango: `script_engine_init': dlsym(3) failed
WARNING: Pango: pango_shape called with bad font, expect ugly output
WARNING:
    Pango: pango_font_get_glyph_extents called with null font  
argument, expect ug
ly output
WARNING:
    Pango: _pango_cairo_font_install called with bad font, expect  
ugly output
Hello World!
It appears it is the pango or font gtk issue. Because i get the  
window with no fonts

I have taken a look on the Native version. Does it work with clg ?
if yes i will test it . The thing is, they say we must uninstall the  
x11 ports .

Best
K



Le 4 juin 07 à 12:55, Espen S Johnsen a écrit :

> Karim Haddad <[email protected]> writes:
>
>> I did a cvs and now i am getting evenmore x11 things:
>>
>> ; /Users/haddad/Work/OM/clg/gdk/defpackage.fasl written
>> ; compilation finished in 0:00:00
>> ; $ gcc -bundle -o "/Users/haddad/Work/OM/clg/gdk/alien.dylib" "/
>> Users/haddad/Work/OM/clg/gdk/alien/glue.o"
>> /usr/bin/ld: Undefined symbols:
>> _cairo_xlib_surface_get_display
>> _cairo_xlib_surface_get_drawable
>> _gdk_window_lookup_for_display
>> _gdk_x11_display_get_xdisplay
>
> I first thought you were using the native Mac OS X port of Gtk+, but I
> guess you're using the X version? The likely cause for this error was
> then some missing linker flags.
>
> If I've got it right this time, you should now be able get passed this
> and hopefully get hello-world working.
>
> -- 
> Espen
>


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/