Re: How do I make a program in Common Lisp?




Alex Mizrahi wrote:
(message (Hello 'pupeno@xxxxxxxxxx)
(you :wrote :on '(Sat, 04 Aug 2007 04:33:32 -0700))
(

p> $ apt-get install

so, you question is how to do a package for Debian.
that's quite different from "make a program in Common Lisp".
i think you can find documentation on creating Debian packages on Debian
site.

No. As you can see I also listed other package managers, so it can be
Debian, RedHat, Gentoo, FreeBSD, whatever. And, also, I specified that
it should be runable from bash (which you didn't quote).

you can also try to find existing package to check how it's done and do it
in that way.
i would suggest to run aptitude and check packages that depend on
common-lisp-controller, for exampe -- common-lisp-controller is a thingie
that handles library dependencies "automatically" among multiple Common Lisp
implementations.
so you can apt-get source some package to see how it's built, installed etc.
also, if you really want to create a Debian package, you might want to
contact Kevin Rosenberg or Peter van Eynde -- they are maintainers of many
Debian Common Lisp packages.

I already know there are libraries for Debian, I already know how to
package them, heck! I even packaged some of them and maintained
repositories of them for people that want them. Now, if you take a
look, you'll notice that the only things packaged are libraries, there
are no programs.

also, consider following things. if users of your progam are lispers, they
would be happy if it would be a library, as REPL acts as shell for lispers.

No, my programs aren't for lispers, my programs are for everybody (or
anybody interested in them). I don't live in Lisp REPL and I hate it
when I install a Lisp program and I have to figure out what function
to run in a REPL and even then, I have to run a REPL (which I don't do
for any other programs in any other languages).

Unix users are quite comfortable bulding programs from source,

I'm not targeting Unix. All the OSs I'm targeting are modern OSs which
have a package manager with the idea of solving the problems related
to building from source. I run Kubuntu and I haven't built from source
even one of the programs I run daily, and so do many people using
these OSs.

so you can
just ship tarball with makefile, and write required libs in README. no real
need for automatically installable packages.

Even then, how will you build a program in a Makefile other than
generating a huge image?

Thank you.

.



Relevant Pages

  • Re: Code correctness, and testing strategies
    ... automate the testing a bit more. ... the shell scripts & control files work correctly, that the debian ... package had all the files in the correct places etc). ... Install the package under a chroot ...
    (comp.lang.python)
  • Re: FHS question
    ... doing software package installation or removal. ... The system and the admin. ... You as the admin are free to install software in /opt. ... Debian and that bug reports should not go to Debian for that software ...
    (Debian-User)
  • Re: Best Linux version to port from OpenServer 5.0.5/6
    ... 5.0.5/6, to Linux. ... > something that doesn install aload of crap you don't need... ... > The package management allows easy installs of packages ... Debian will never die!,See ...
    (comp.unix.sco.misc)
  • Re: freedom of debian
    ... While Debian does have a great package management system. ... do is install the stable version of some package on Debian Stable, ... software is packaged linked to the newer libraries. ...
    (Debian-User)
  • Re: the best Linux for me
    ... I've ben using debian on my desktop for about 8 years, ... What's Debian's package / distro system called? ... cl-clx-sbcl - An X11 Common Lisp client library for SBCL ... You can also see how out of date my unstable install ...
    (comp.lang.lisp)