From: Roger Ostrander
Subject: UFFI Problems
Date: 
Message-ID: <2padnRDa_KZZPWHfRVn-3Q@speakeasy.net>
Hello all,

   So I just recently started my way through the Practical Common Lisp 
book, and already I'm hooked on the language.  I've been using the 
lisp-in-a-box provided by the PCL website on my mac laptop as the 
development environment.

   I recently thought, if I'm going to be spending a lot of time in 
clisp, I'd like to see if I can't get my favorite libraries working for 
it.  Specifically, I'm trying to get SDL up and running (via CL-SDL). 
The problem is that it uses UFFI, which I can't get to work at all.

What I do (in emacs via slime and CLISP at the REPL):

CL-USER> (push "/usr/src/lisp" asdf:*central-registry*)
   ("/usr/src/lisp" *DEFAULT-PATHNAME-DEFAULTS*)

CL-USER> (asdf:operate 'asdf:load-op :uffi)
; loading system definition from /usr/src/lisp/uffi.asd into #<PACKAGE 
ASDF3248>
;; Loading file /usr/src/lisp/uffi.asd
;; Loaded file /usr/src/lisp/uffi.asd

And then the error rolls in:

component "uffi" not found
   [Condition of type ASDF:MISSING-COMPONENT]

   After googling both the internet and this newsgroup for about a day 
and a half, I'm at my wit's end.  I installed another lisp library (LTK) 
and it's working just fine.  The error messages looks, to me, like it's 
/finding/ uffi just fine, but then something trips it up and it dies.

   Any pointers?

From: Pascal Bourguignon
Subject: Re: UFFI Problems
Date: 
Message-ID: <87fytfi8o3.fsf@thalassa.informatimago.com>
Roger Ostrander <··········@llynmir.net> writes:
> [...]
>    I recently thought, if I'm going to be spending a lot of time in
> clisp, [...]
> component "uffi" not found
> [...]
>    Any pointers?

See: http://www.cliki.net/UFFI


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
Small brave carnivores
Kill pine cones and mosquitoes
Fear vacuum cleaner
From: Kenny Tilton
Subject: Re: UFFI Problems
Date: 
Message-ID: <lL4Le.9047$%w.8645@twister.nyc.rr.com>
Roger Ostrander wrote:
> Hello all,
> 
>   So I just recently started my way through the Practical Common Lisp 
> book, and already I'm hooked on the language.  I've been using the 
> lisp-in-a-box provided by the PCL website on my mac laptop as the 
> development environment.
> 
>   I recently thought, if I'm going to be spending a lot of time in 
> clisp, I'd like to see if I can't get my favorite libraries working for 
> it.  Specifically, I'm trying to get SDL up and running (via CL-SDL). 
> The problem is that it uses UFFI, which I can't get to work at all.
> 
> What I do (in emacs via slime and CLISP at the REPL):
> 
> CL-USER> (push "/usr/src/lisp" asdf:*central-registry*)
>   ("/usr/src/lisp" *DEFAULT-PATHNAME-DEFAULTS*)
> 
> CL-USER> (asdf:operate 'asdf:load-op :uffi)
> ; loading system definition from /usr/src/lisp/uffi.asd into #<PACKAGE 
> ASDF3248>
> ;; Loading file /usr/src/lisp/uffi.asd
> ;; Loaded file /usr/src/lisp/uffi.asd
> 
> And then the error rolls in:
> 
> component "uffi" not found
>   [Condition of type ASDF:MISSING-COMPONENT]
> 
>   After googling both the internet and this newsgroup for about a day 
> and a half, I'm at my wit's end.  I installed another lisp library (LTK) 
> and it's working just fine.  The error messages looks, to me, like it's 
> /finding/ uffi just fine, but then something trips it up and it dies.
> 
>   Any pointers?

That's weird. I usually get that message when ASDF cannot find the .asd, 
which is not the case here.

You land in a backtrace, right? Can you figure out exactly where the 
error is being generated and then do some old-fashioned debugging? Add 
some print statements, etc? At least collect that info and then post 
here again.

-- 
Kenny

Why Lisp? http://lisp.tech.coop/RtL%20Highlight%20Film

"I've wrestled with reality for 35 years, Doctor, and I'm happy to state 
I finally won out over it."
     Elwood P. Dowd, "Harvey", 1950
From: Marco Baringer
Subject: Re: UFFI Problems
Date: 
Message-ID: <m2irybf5gk.fsf@soma.local>
Roger Ostrander <··········@llynmir.net> writes:

> CL-USER> (push "/usr/src/lisp" asdf:*central-registry*)
>    ("/usr/src/lisp" *DEFAULT-PATHNAME-DEFAULTS*)
>
> CL-USER> (asdf:operate 'asdf:load-op :uffi)
> ; loading system definition from /usr/src/lisp/uffi.asd into #<PACKAGE
>   ASDF3248>
> ;; Loading file /usr/src/lisp/uffi.asd
> ;; Loaded file /usr/src/lisp/uffi.asd
>
> And then the error rolls in:
>
> component "uffi" not found
>    [Condition of type ASDF:MISSING-COMPONENT]

this probably means the .asd file broken. are you sure you're using a
recent install and that you haven't messed with the .asd? you could
try 2 things: 1) upgrade uffi (maybe you're using a broken version) 2)
send the problem to ··········@b9.com and see what they say.

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen
From: Kevin Rosenberg
Subject: Re: UFFI Problems
Date: 
Message-ID: <slrndfptra.ktl.kevin@tiger.med-info.com>
On 2005-08-12, Roger Ostrander <··········@llynmir.net> wrote:
> The problem is that it uses UFFI, which I can't get to work at all.
> What I do (in emacs via slime and CLISP at the REPL):

UFFI currently supports AllegroCL, CMUCL, Lispwrks, OpenMCL, & SBCL.
CLISP is not currently supported and that is the reason you're getting
that error message. I've received patches with partial CLISP support
from Joerg Hoehle. However, I've not yet integrated his patches into
UFFI.

Kevin