chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Can an egg have a library and executable with the sa


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] Can an egg have a library and executable with the same name?
Date: Thu, 25 Nov 2010 04:46:09 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

Hi Alan

On Wed, 24 Nov 2010 20:16:55 -0700 Alan Post <address@hidden> wrote:

> My egg, genturfa'i, has an executable and a library.  I've named the
> library genturfahi and the executable genturfahi-peg.  I'd rather
> name the executable genturfahi too, though I suspect I'm not able to
> do that.
>
> Is this true?  If it isn't, can someone point me to an egg that has
> a library and an executable named after the egg?

As Peter mentioned, awful does that. You just have to be careful
with the ids given to `install-program' and `install-extension' (they
must be different).

That was pointed by Jim.  He wrote about that in CG #9 (paragraph right
before the "Yolklore" section):

,----[ http://gazette.call-cc.org/issues/9.html ]
| And now a public service announcement. Egg authors, now hear this. When
| your egg installs both library files via install-extension and also an
| executable via install-program, you need to use different IDs for
| each. By convention, the library files should use the name of the egg
| (such as chicken-doc) and the executable should use this same name with
| something appended, such as chicken-doc-cmd. This prevents the
| uninstaller from losing track of files. Specifically, the .setup-info
| files created by chicken-install to track extension metadata will
| clobber each other if the IDs are identical.
`----

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

[Prev in Thread] Current Thread [Next in Thread]