From: Kirill Kuvaldin
Subject: How to deal with external libraries ??
Date: 
Message-ID: <87oe94cwu8.fsf@nevermind.home>
Greeting.

I need to use cl-sdl library in my project.
Since I'm using Debian, I've just said:

$ apt-get install cl-sdl cl-sdl-demos

It seems all required packages has been installed correctly. But i can't
still use cl-sdl. As it mentioned in cl-sdl README file, it needs to
(require :sdl) to load cl-sdl library, but when I type it in SLIME,
the following error has happened:

File-error in function COMMON-LISP::INTERNAL-LOAD:
   "modules:sdl-library" does not exist.
   [Condition of type KERNEL:SIMPLE-FILE-ERROR]

It seems that lisp can't found a library.

-- 
Best regards,
 Kirill

From: GP lisper
Subject: Re: How to deal with external libraries ??
Date: 
Message-ID: <1121418902.37362006c2e32bd3c5064be5aa855382@teranews>
On Fri, 15 Jul 2005 12:11:43 +0400, <···············@gmail.com> wrote:
>
> $ apt-get install cl-sdl cl-sdl-demos
>
> It seems all required packages has been installed correctly. But i can't
> still use cl-sdl. As it mentioned in cl-sdl README file, it needs to
> (require :sdl) to load cl-sdl library, but when I type it in SLIME,
> the following error has happened:

That (require...) will only work in sbcl, or in a patched asdf for
cmucl.  You need asdf fully setup for 'require to work, and that might
be the source of your error.  Make sure the value of
asdf:*CENTRAL-REGISTRY* contains the cl-sdl asdf file locations.


-- 
LOOP :: a Domain Specific Language.
From: Christophe Rhodes
Subject: Re: How to deal with external libraries ??
Date: 
Message-ID: <squ0iwpf1i.fsf@cam.ac.uk>
Kirill Kuvaldin <···············@gmail.com> writes:

> $ apt-get install cl-sdl cl-sdl-demos
>
> File-error in function COMMON-LISP::INTERNAL-LOAD:
>    "modules:sdl-library" does not exist.
>    [Condition of type KERNEL:SIMPLE-FILE-ERROR]

Your first port of call should really be the Debian bug tracking
system.

Christophe
From: Kirill Kuvaldin
Subject: Re: How to deal with external libraries ??
Date: 
Message-ID: <87fyug2lie.fsf@nevermind.home>
Hello Christophe.

On Fri, 15 Jul 2005 10:57:45 +0100 Christophe Rhodes wrote:

> Kirill Kuvaldin <···············@gmail.com> writes:

> > $ apt-get install cl-sdl cl-sdl-demos
> >
> > File-error in function COMMON-LISP::INTERNAL-LOAD:
> >    "modules:sdl-library" does not exist.
> >    [Condition of type KERNEL:SIMPLE-FILE-ERROR]

> Your first port of call should really be the Debian bug tracking
> system.

So, do you mean that this is only Debian-specific bug?
Or cmucl-specific? In sbcl all works fine.

-- 
Best regards,
 Kirill
From: GP lisper
Subject: Re: How to deal with external libraries ??
Date: 
Message-ID: <1121462102.2972f36d55162591c2adf331caa09fc1@teranews>
On Fri, 15 Jul 2005 18:26:33 +0400, <···············@gmail.com> wrote:
>
>> Kirill Kuvaldin <···············@gmail.com> writes:
>
>> > $ apt-get install cl-sdl cl-sdl-demos
>> >
>> > File-error in function COMMON-LISP::INTERNAL-LOAD:
>> >    "modules:sdl-library" does not exist.
>> >    [Condition of type KERNEL:SIMPLE-FILE-ERROR]
>
> Or cmucl-specific? In sbcl all works fine.

(require ...) autoloading only works in cmucl with a patched asdf.


-- 
LOOP :: a Domain Specific Language.
From: =?utf-8?B?UmVuw6k=?= van Bevern
Subject: Re: How to deal with external libraries ??
Date: 
Message-ID: <20050715145058.GA5204@progn.org>
--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 15.07.05, Kirill Kuvaldin wrote:

Hello, Kirill.

> So, do you mean that this is only Debian-specific bug?

Well, yes, it is Debian-specific, but certainly not a bug. :)

Common Lisp libraries are managed in Debian by the
common-lisp-controller (also ubuntu and Gentoo have adopted this).

You are probably interested in this document:
    http://www.cliki.net/common-lisp-controller

> Or cmucl-specific? In sbcl all works fine.

This is because the common-lisp-controller integrates itself into the
require command of SBCL. SBCL supports multiple methods that provide
the functionality of "require", the common-lisp-controller provides
one such.

Regards,
    Ren=C3=A9

--W/nzBZO5zC0uMSeA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQCVAwUBQtfNUmXAXAFwWYizAQIy/gP/XQIKqeQb3mjArH4CZVqp7Y52QQSRFCsy
BJl+Y//G8wVadfUoBV2paX5PQD3QVtgmVAskbq5hvXPjAi9LFo/URwc2H5nz4cXl
bo8IQ8pBSDnFKQ4Vx9n+N23B9bYINTv7iekFsZAe2imaS+mbibrKIgExob1Z3tbP
u++f3uiSwGY=
=X9V8
-----END PGP SIGNATURE-----

--W/nzBZO5zC0uMSeA--
From: Christophe Rhodes
Subject: Re: How to deal with external libraries ??
Date: 
Message-ID: <sq3bqg11a3.fsf@cam.ac.uk>
Kirill Kuvaldin <···············@gmail.com> writes:

> Hello Christophe.
>
> On Fri, 15 Jul 2005 10:57:45 +0100 Christophe Rhodes wrote:
>
>> Kirill Kuvaldin <···············@gmail.com> writes:
>
>> > $ apt-get install cl-sdl cl-sdl-demos
>> >
>> > File-error in function COMMON-LISP::INTERNAL-LOAD:
>> >    "modules:sdl-library" does not exist.
>> >    [Condition of type KERNEL:SIMPLE-FILE-ERROR]
>
>> Your first port of call should really be the Debian bug tracking
>> system.
>
> So, do you mean that this is only Debian-specific bug?
> Or cmucl-specific? In sbcl all works fine.

I mean that when you encounter bugs, or even (as in your case) unclear
documentation or usability problems, in a distribution-provided
binary, the only person who knows whether it is a problem that is
distribution-specific or a global problem is the distribution
maintainer, because only he knows what customizations have been
applied.  So the most efficient way of getting your problem looked at
is to communicate with him and trust that he will push the problem on,
rather than doing a broadcast to all and sundry.

Christophe
From: =?utf-8?B?UmVuw6k=?= van Bevern
Subject: Re: How to deal with external libraries ??
Date: 
Message-ID: <20050715131822.GB4972@progn.org>
--iFRdW5/EC4oqxDHL
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 15.07.05, Kirill Kuvaldin wrote:

Hello,

> It seems all required packages has been installed correctly. But i can't
> still use cl-sdl. As it mentioned in cl-sdl README file, it needs to
> (require :sdl) to load cl-sdl library, but when I type it in SLIME,
> the following error has happened:

Use (clc:clc-require :sdl) from the Common Lisp Controller or
(asdf:oos 'asdf:load-op :sdl). Both should on the fly work with your
Debian system, while the latter is more portable, because not all
systems have the Common Lisp Controller.

You could also depend-on SDL in your ASDF system definition.

You can also explicitly load SDL in slime by typing ",load-system" and "sdl=
".

    Ren=C3=A9

--iFRdW5/EC4oqxDHL
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQCVAwUBQte3nmXAXAFwWYizAQKxMgP9Hf6NnWEgYptsL38KAivyQyRrKgl2BTlx
8i7tAHJ5SbG+kFEBYXFGsmng62IpAG6sm0T6wvTldPIZyfJCY/cNcqIkuRY82rZI
lkPxrPNkhR5khWFqDuXi7QKNzanyrAUmwjnj6x9giROTRG2QxRpDic1+bnjPJT9i
f33RjYQOsww=
=/5/R
-----END PGP SIGNATURE-----

--iFRdW5/EC4oqxDHL--
From: Kirill Kuvaldin
Subject: Re: How to deal with external libraries ??
Date: 
Message-ID: <87br542l6k.fsf@nevermind.home>
Hello René.

On Fri, 15 Jul 2005 15:18:23 +0200 René van Bevern wrote:

> On 15.07.05, Kirill Kuvaldin wrote:

> Hello,

> > It seems all required packages has been installed correctly. But i can't
> > still use cl-sdl. As it mentioned in cl-sdl README file, it needs to
> > (require :sdl) to load cl-sdl library, but when I type it in SLIME,
> > the following error has happened:

> Use (clc:clc-require :sdl) from the Common Lisp Controller or
> (asdf:oos 'asdf:load-op :sdl). Both should on the fly work with your
> Debian system, while the latter is more portable, because not all
> systems have the Common Lisp Controller.

Both ways works fine.
Nevertheless portability is not the first question for me now.

>     René

Thanks.

-- 
Best regards,
 Kirill