From BlogBlaster at common-lisp.net Sat Feb 2 04:44:34 2008 From: BlogBlaster at common-lisp.net (BlogBlaster at common-lisp.net) Date: 01 Feb 2008 20:44:34 -0800 Subject: [clbuild-devel] "How would you like to have your ad on 2 Million Websites ?" Message-ID: <20080201204434.843A8CC6131D918C@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From bryan.emrys at gmail.com Sun Feb 3 07:49:31 2008 From: bryan.emrys at gmail.com (Bryan Emrys) Date: Sat, 2 Feb 2008 23:49:31 -0800 Subject: [clbuild-devel] Newbie Confusion Message-ID: <200802022349.32177.bryan.emrys@gmail.com> I have a few questions that indicate a lack of conceptual understanding on my part so any pointers would be appreciated. 1. Running clbuild build as root works, but if I try to run it as a normal user, I'm tripping up over git errors, specifically: UPDATE git pull clsql /usr/bin/git-fetch: line 108: .git/FETCH_HEAD: Permission denied If I run git clone git://git.b9.com/xxxyyyzzz as a stand alone git command as a normal user, it has no problems, but obviously that defeats one of the purposes of clbuild. If I run git fetch git://git.b9.com/xxxyyyzzz it fails with an error message that it is not a valid git directory 2. Clbuild generates a core instance. While I can run clbuild slime [project_name] and start editing, I'm not clear how to that interacts with path names required by config files such as when setting the path names for .emacs, slime, etc. I set up clbuild as a directory under home. My interpretation of the clbuild file is to set my .emacs file as (setq load-path "/home/clbuild/source/slime" load-path) (setq load-path "/home/clbuild/source/slime/contrib" load-path) (load "/home/clbuild/source/slime/slime") (setq inferior-lisp-program "/home/clbuild") (setq slime-use-autodoc-mode nil) (slime-setup '(slime-fancy slime-tramp slime-asdf)) (slime) Running this, however, generates understandable emacs errors "Cannot open load file", "/home/clbuild/source/slime/slime" because there is no such file.The backtrace states: Loading /home/clbuild/source/slime/slime (source)... progn: Cannot open load file: cl So I'm confused on both the slime load and, probably, also how to call lisp in the .emacs file. Thanks for any pointers. Bryan From david at lichteblau.com Sun Feb 3 10:50:26 2008 From: david at lichteblau.com (David Lichteblau) Date: Sun, 3 Feb 2008 11:50:26 +0100 Subject: [clbuild-devel] Newbie Confusion In-Reply-To: <200802022349.32177.bryan.emrys@gmail.com> References: <200802022349.32177.bryan.emrys@gmail.com> Message-ID: <20080203105026.GL16179@radon> Quoting Bryan Emrys (bryan.emrys at gmail.com): > 1. Running clbuild build as root works, but if I try to run it as a > normal user, I'm tripping up over git errors, specifically: > > UPDATE git pull clsql > /usr/bin/git-fetch: line 108: .git/FETCH_HEAD: Permission denied Are you perhaps trying to run clbuild as a normal user in the very same directory that you created as root earlier? In that case, your files are owned by root, and naturally you can't write to them as a normal user. If you work as a normal user in the first place, these problems shouldn't happen. > 2. Clbuild generates a core instance. While I can > run clbuild slime [project_name] and start editing, I'm not clear how > to that interacts with path names required by config files such as > when setting the path names for .emacs, slime, etc. I set up clbuild > as a directory under home. My interpretation of the clbuild file is to > set my .emacs file as You can usually run slime using clbuild slime You shouldn't edit .emacs at all, unless you already have a .emacs that loads an different version of slime. (In that case, remove anything related to slime from your .emacs before using "clbuild slime".) Of course, you -can- configure emacs manually to use the slime downloaded by clbuild, but first I'd recommend trying to get "clbuild slime" up and running. Make sure to download slime before trying to load it, e.g. using clbuild update slime d. From david at lichteblau.com Sun Feb 3 15:08:25 2008 From: david at lichteblau.com (David Lichteblau) Date: Sun, 3 Feb 2008 16:08:25 +0100 Subject: [clbuild-devel] RFI: cl-dot, mw-equiv, redshank In-Reply-To: <67D1FA89-C097-4EA7-8D5E-E14927074C4F@foldr.org> References: <67D1FA89-C097-4EA7-8D5E-E14927074C4F@foldr.org> Message-ID: <20080203150825.GA12054@radon> Quoting Michael Weber (michaelw+clbuild at foldr.org): > attached is a patch to add cl-dot, mw-equiv, and redshank. The first two > have no external Lisp dependencies, redshank depends on slime. I did not > add provisions to load it into emacs, though. Thanks, pushed. > CLAWK would be nice to have, too, but it needs some more cleanup > (defconstant issues) before inclusion. If that is the only issue, it could be added as a wnpp-project. d. From david at lichteblau.com Sun Feb 3 15:24:17 2008 From: david at lichteblau.com (David Lichteblau) Date: Sun, 3 Feb 2008 16:24:17 +0100 Subject: [clbuild-devel] [PATCH] Broken dependencies, new WNPPs In-Reply-To: References: Message-ID: <20080203152417.GB12054@radon> Quoting Victor Kryukov (victor.kryukov at gmail.com): > Anyway, I've attached a patch that fixes that and adds some more WNPP > projects, mainly to support cl-s3 project that provides interface to > Amazon S3. | +s-http-client get_darcs http://www.beta9.be/darcs/s-http-client | +s-utils get_darcs http://www.beta9.be/darcs/s-utils done | +ironclad get_tarball http://www.method-combination.net/lisp/files/ironclad.tar.gz done (using the clbuild mirror instead) | +cl-s3 get_tarball http://homepage.mac.com/svc/cl-s3/cl-s3.tgz not done yet From Feed at common-lisp.net Mon Feb 4 07:50:55 2008 From: Feed at common-lisp.net (Feed at common-lisp.net) Date: 03 Feb 2008 23:50:55 -0800 Subject: [clbuild-devel] Feed Blaster puts your ad right to the screens of millions in 15 Minutes ! Message-ID: <20080203235055.F944838931A13106@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From victor.kryukov at gmail.com Sun Feb 3 18:09:48 2008 From: victor.kryukov at gmail.com (Victor Kryukov) Date: Sun, 3 Feb 2008 12:09:48 -0600 Subject: [clbuild-devel] Newbie Confusion In-Reply-To: <20080203105026.GL16179@radon> References: <200802022349.32177.bryan.emrys@gmail.com> <20080203105026.GL16179@radon> Message-ID: On Feb 3, 2008 4:50 AM, David Lichteblau wrote: > Quoting Bryan Emrys (bryan.emrys at gmail.com): > > 2. Clbuild generates a core instance. While I can > > run clbuild slime [project_name] and start editing, I'm not clear how > > to that interacts with path names required by config files such as > > when setting the path names for .emacs, slime, etc. I set up clbuild > > as a directory under home. My interpretation of the clbuild file is to > > set my .emacs file as > > You can usually run slime using > clbuild slime > > You shouldn't edit .emacs at all, unless you already have a .emacs that > loads an different version of slime. (In that case, remove anything > related to slime from your .emacs before using "clbuild slime".) > > Of course, you -can- configure emacs manually to use the slime > downloaded by clbuild, but first I'd recommend trying to get "clbuild > slime" up and running. Below is just one example how you can organize your .emacs etc. (thanks to Bill Clementson, http://bc.tech.coop/blog/). I keep clbuild under ~/src/clbuild 1. ~/.emacs (excerpt) ;; Slime settings (add-to-list 'load-path "~/src/clbuild/source/slime") (setq inferior-lisp-program "~/bin/mysbcl") (require 'slime-autoloads) (add-hook 'lisp-mode-hook (lambda () (cond ((not (featurep 'slime)) (require 'slime) (normal-mode))))) (eval-after-load "slime" '(progn (add-to-list 'load-path "~/src/clbuild/source/slime/contrib") (slime-setup '(slime-fancy slime-asdf slime-banner)) (setq slime-complete-symbol*-fancy t) (setq slime-complete-symbol-function 'slime-fuzzy-complete-symbol))) (setq slime-backend "~/src/swank-loader.lisp") 2. ~/bin/mysbcl (launches system sbcl with tailored core) #!/bin/sh sbcl --core ~/bin/sbcl.core 3. ~/bin/regenerate-mysbcl-core (regenerates mysbcl core with my favorite packages included). #!/bin/bash cd ~/src/clbuild ./clbuild build alexandria iterate drakma cl-who hunchentoot cl-ppcre cxml slime metabang-bind asdf-system-connections cp ~/src/clbuild/monster.core ~/bin/sbcl.core 4. ~/src/swank-loader.lisp (swank may be already present in the core image, so we're careful to not load it again): (if (not (find-package 'swank-loader)) (let ((slime-dir (merge-pathnames "src/clbuild/source/slime/" (user-homedir-pathname)))) (load (merge-pathnames "swank-loader" slime-dir)))) Best Regards, Victor. From david at lichteblau.com Sun Feb 3 18:27:56 2008 From: david at lichteblau.com (David Lichteblau) Date: Sun, 3 Feb 2008 19:27:56 +0100 Subject: [clbuild-devel] Newbie Confusion In-Reply-To: References: <200802022349.32177.bryan.emrys@gmail.com> <20080203105026.GL16179@radon> Message-ID: <20080203182756.GM16179@radon> Quoting Victor Kryukov (victor.kryukov at gmail.com): > 2. ~/bin/mysbcl (launches system sbcl with tailored core) > > #!/bin/sh > sbcl --core ~/bin/sbcl.core > > 3. ~/bin/regenerate-mysbcl-core (regenerates mysbcl core with my > favorite packages included). Well, it would probably be more in the spirit of clbuild if it did that iself, without the need for yet another wrapper script. The issue is that "clbuild slime" uses "clbuild lisp", and that doesn't use the monster.core. The decision to avoid the core file for interactive use was intentional, but we talked about adding a second command for those users who actually want to use the core file in that situation. Andreas, are you reading this? Do you have a patch for "clbuild monster"? d. From michaelw+clbuild at foldr.org Sun Feb 3 18:31:40 2008 From: michaelw+clbuild at foldr.org (Michael Weber) Date: Sun, 3 Feb 2008 19:31:40 +0100 Subject: [clbuild-devel] clawk, regex In-Reply-To: <20080203150825.GA12054@radon> References: <67D1FA89-C097-4EA7-8D5E-E14927074C4F@foldr.org> <20080203150825.GA12054@radon> Message-ID: <4DBFD937-EF4A-4EDC-BDCC-97ABD9F4F6B3@foldr.org> On Feb 3, 2008, at 16:08 , David Lichteblau wrote: > Quoting Michael Weber (michaelw+clbuild at foldr.org): [...] >> CLAWK would be nice to have, too, but it needs some more cleanup >> (defconstant issues) before inclusion. > > If that is the only issue, it could be added as a wnpp-project. Okay, why not. Patch attached. Cheers, Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: clbuild-clawk.patch Type: application/octet-stream Size: 18219 bytes Desc: not available URL: -------------- next part -------------- From victor.kryukov at gmail.com Sun Feb 3 19:12:33 2008 From: victor.kryukov at gmail.com (Victor Kryukov) Date: Sun, 3 Feb 2008 13:12:33 -0600 Subject: [clbuild-devel] Newbie Confusion In-Reply-To: <20080203182756.GM16179@radon> References: <200802022349.32177.bryan.emrys@gmail.com> <20080203105026.GL16179@radon> <20080203182756.GM16179@radon> Message-ID: On Feb 3, 2008 12:27 PM, David Lichteblau wrote: > Quoting Victor Kryukov (victor.kryukov at gmail.com): > > 2. ~/bin/mysbcl (launches system sbcl with tailored core) > > > > #!/bin/sh > > sbcl --core ~/bin/sbcl.core > > > > 3. ~/bin/regenerate-mysbcl-core (regenerates mysbcl core with my > > favorite packages included). > > Well, it would probably be more in the spirit of clbuild if it did that > iself, without the need for yet another wrapper script. > > > The issue is that "clbuild slime" uses "clbuild lisp", and that doesn't > use the monster.core. > > The decision to avoid the core file for interactive use was intentional, > but we talked about adding a second command for those users who actually > want to use the core file in that situation. My other problem with "clbuild lisp" was that it ignores my .sbclrc - I'm not sure if it is intentional or buggy behavior. From david at lichteblau.com Sun Feb 3 19:18:46 2008 From: david at lichteblau.com (David Lichteblau) Date: Sun, 3 Feb 2008 20:18:46 +0100 Subject: [clbuild-devel] Newbie Confusion In-Reply-To: References: <200802022349.32177.bryan.emrys@gmail.com> <20080203105026.GL16179@radon> <20080203182756.GM16179@radon> Message-ID: <20080203191846.GN16179@radon> Quoting Victor Kryukov (victor.kryukov at gmail.com): > My other problem with "clbuild lisp" was that it ignores my .sbclrc - > I'm not sure if it is intentional or buggy behavior. That behaviour is the default, but it can be configured in clbuild.conf by unsetting USER_INIT. (See `personal initfile' in clbuild.conf.default.) d. From david at lichteblau.com Tue Feb 5 13:12:49 2008 From: david at lichteblau.com (David Lichteblau) Date: Tue, 5 Feb 2008 14:12:49 +0100 Subject: [clbuild-devel] clawk, regex In-Reply-To: <4DBFD937-EF4A-4EDC-BDCC-97ABD9F4F6B3@foldr.org> References: <67D1FA89-C097-4EA7-8D5E-E14927074C4F@foldr.org> <20080203150825.GA12054@radon> <4DBFD937-EF4A-4EDC-BDCC-97ABD9F4F6B3@foldr.org> Message-ID: <20080205131249.GA16164@radon> Quoting Michael Weber (michaelw+clbuild at foldr.org): > Okay, why not. Patch attached. Thanks, patch applied. From david at lichteblau.com Tue Feb 5 14:00:46 2008 From: david at lichteblau.com (David Lichteblau) Date: Tue, 5 Feb 2008 15:00:46 +0100 Subject: [clbuild-devel] Newbie Confusion In-Reply-To: <20080203105026.GL16179@radon> References: <200802022349.32177.bryan.emrys@gmail.com> <20080203105026.GL16179@radon> Message-ID: <20080205140046.GA16915@radon> * I wrote: > > 2. Clbuild generates a core instance. While I can > > run clbuild slime [project_name] and start editing, I'm not clear how > > to that interacts with path names required by config files such as > > when setting the path names for .emacs, slime, etc. I set up clbuild > > as a directory under home. My interpretation of the clbuild file is to > > set my .emacs file as Sorry if I misunderstood your question originally. > You can usually run slime using > clbuild slime > > You shouldn't edit .emacs at all, unless you already have a .emacs that > loads an different version of slime. (In that case, remove anything > related to slime from your .emacs before using "clbuild slime".) > > Of course, you -can- configure emacs manually to use the slime > downloaded by clbuild, but first I'd recommend trying to get "clbuild > slime" up and running. I have just pushed new clbuild features that make it easy to start slime for clbuild without going through "clbuild slime", and to start slime using the monster.core. These instruction should supersede anything you might already have tried in your .emacs. In particular, the workarounds Bill Clementson has previously written about are no longer needed. We have two separate commands: clbuild lisp # starts clbuild without monster.core clbuild preloaded # starts clbuild with monster.core When you run clbuild slime you can choose whether to use the core file or not, and it will use the right one of the above two commands. To do that, just add START_SLIME_USING_CORE=y to clbuild.conf. See clbuild.conf.default for other examples. To see if it worked, check in *inferior-lisp* whether it still tried to load fasls or not. (You don't have to set slime-backend yourself. We also do that for you.) Another new command is clbuild slime-configuration which prints the .emacs excerpt that "clbuild slime" would have loaded, so that you can copy&paste it into your .emacs and start emacs normally. d. From david at lichteblau.com Tue Feb 5 14:22:31 2008 From: david at lichteblau.com (David Lichteblau) Date: Tue, 5 Feb 2008 15:22:31 +0100 Subject: [clbuild-devel] [PATCH] Broken dependencies, new WNPPs In-Reply-To: References: <20080203152417.GB12054@radon> Message-ID: <20080205142231.GA17006@radon> Hi, (I'm Cc'ing my reply to clbuild-devel. I hope that is okay with you.) Quoting Victor Kryukov (victor.kryukov at gmail.com): > 1/ Some more packages for your consideration - I believe they should > go into projects. metabang-bind is the main package here - it provides > nice "bind" facility, everything else is supporting packages. I've > included asdf even though it ships with sbcl because the default ASDF > that ships with sbcl is 10 months old and lacks some useful features - > I've reported it to sbcl-devel and they will be probably fix it soon. > > metabang-bind get_darcs http://common-lisp.net/project/metabang-bind > lift get_darcs http://common-lisp.net/project/lift/darcs/lift > asdf-system-connections get_darcs > http://common-lisp.net/project/cl-containers/asdf-system-connections/darcs/asdf-system-connections > asdf get_cvs_full > :pserver:anonymous at cclan.cvs.sourceforge.net:/cvsroot/cclan asdf I'm really not comfortable with asdf-system-connections. For one thing, I'm not familiar enough with it to decide whether it's good enough for the main projects list or only for wnpp-projects. In addition, since asdf-system-connections actually defines things inside the ASDF package, I'm not even sure keeping it in wnpp-projects would lessen its impact on the rest of clbuild. Hearing that it might be incompatible with ASDF as included in SBCL does not lessen my worries either. Of course, we would like to support as many Lisp projects as possible, but being an alternative to a public wiki edited by random people, we also want to provide just a little bit of quality assurance. That doesn't mean that clbuild will never support asdf extensions. But if such a project is added to clbuild, it needs the support of someone who is (a) familiar with clbuild and (b) familiar with the project in question. If that means we can't add most of Gary King's projects, that's a pity. But perhaps it also highlights an architectural issue with those projects and their dependencies. d. From Income at common-lisp.net Wed Feb 6 07:36:30 2008 From: Income at common-lisp.net (Income at common-lisp.net) Date: 05 Feb 2008 23:36:30 -0800 Subject: [clbuild-devel] "How would you like an extra $500 - $1000 a week ?" Message-ID: <20080205233629.A3E72245D835391D@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From Hit-Booster at common-lisp.net Fri Feb 8 08:05:08 2008 From: Hit-Booster at common-lisp.net (Hit-Booster at common-lisp.net) Date: 08 Feb 2008 00:05:08 -0800 Subject: [clbuild-devel] How to get free quality visitors to your website? Message-ID: <20080208000508.67C81301E9C85A4E@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From BlogBlaster at common-lisp.net Sun Feb 10 07:46:52 2008 From: BlogBlaster at common-lisp.net (BlogBlaster at common-lisp.net) Date: 09 Feb 2008 23:46:52 -0800 Subject: [clbuild-devel] "How would you like to have your ad on 2 Million Websites ?" Message-ID: <20080209234652.47E7DA8AA2F37743@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From Feed at common-lisp.net Tue Feb 12 10:07:50 2008 From: Feed at common-lisp.net (Feed at common-lisp.net) Date: 12 Feb 2008 02:07:50 -0800 Subject: [clbuild-devel] Feed Blaster puts your ad right to the screens of millions in 15 Minutes ! Message-ID: <20080212020750.A79394743E61F8EE@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From ryan at mokeys.org Mon Feb 11 23:48:29 2008 From: ryan at mokeys.org (ryan at mokeys.org) Date: Mon, 11 Feb 2008 18:48:29 -0500 (EST) Subject: [clbuild-devel] new adw-charting repo location Message-ID: <54146.216.155.105.115.1202773709.squirrel@webmail.mokeys.org> I'm changing the location of the adw-charting darcs repo, the attached patch updates the projects file. Thanks, Ryan -------------- next part -------------- A non-text attachment was scrubbed... Name: adw-charting.patch Type: text/x-patch Size: 19150 bytes Desc: not available URL: From stefan-ml at snobis.de Tue Feb 12 16:41:54 2008 From: stefan-ml at snobis.de (Stefan Nobis) Date: Tue, 12 Feb 2008 17:41:54 +0100 Subject: [clbuild-devel] Symlinks to clbuild script Message-ID: Hi. I have something like the following setup: ~/lisp/clbuild ~/bin/clbuild -> ../lisp/clbuild/clbuild with ~/bin being in PATH to be able to call clbuild from everywhere. But this doesn't work because of this snippet at the beginning of clbuild: ,----[ clbuild ] | [...] | self="$0" | while test -h "$self"; do | self=`readlink "$self"` | done | BASE="$(cd "$(dirname $self)" && pwd)" | [...] `---- readlink doesn't resolve to full absolute path and something like '../lisp/clbuild/clbuild' is returned. If called e.g. from ~ cd wouldn't find the target. On Linux this would be easy to solve (readlink -e), but I use MacOS and it's readlink doesn't have such properties. My Shell-Fu is very bad, so is anyone here with an idea how to portably resolve a relative symlink to an absolute path? -- Until the next mail..., Stefan. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 162 bytes Desc: not available URL: From david at lichteblau.com Tue Feb 12 21:46:21 2008 From: david at lichteblau.com (David Lichteblau) Date: Tue, 12 Feb 2008 22:46:21 +0100 Subject: [clbuild-devel] new adw-charting repo location In-Reply-To: <54146.216.155.105.115.1202773709.squirrel@webmail.mokeys.org> References: <54146.216.155.105.115.1202773709.squirrel@webmail.mokeys.org> Message-ID: <20080212214621.GA24582@radon> Quoting ryan at mokeys.org (ryan at mokeys.org): > I'm changing the location of the adw-charting darcs repo, the attached > patch updates the projects file. Thanks, pushed. From david at lichteblau.com Tue Feb 12 21:48:19 2008 From: david at lichteblau.com (David Lichteblau) Date: Tue, 12 Feb 2008 22:48:19 +0100 Subject: [clbuild-devel] Symlinks to clbuild script In-Reply-To: References: Message-ID: <20080212214819.GB24582@radon> Quoting Stefan Nobis (stefan-ml at snobis.de): > ~/bin/clbuild -> ../lisp/clbuild/clbuild > > with ~/bin being in PATH to be able to call clbuild from > everywhere. But this doesn't work because of this snippet at the > beginning of clbuild: Thanks for the report. (readlink -e or -f is what we used initially. Then we switched to the the new code because of MacOS.) I've tried to commit a fix for this, which combines the "cd" step with the readlink loop. Please test! d. From Instant at common-lisp.net Thu Feb 14 10:50:48 2008 From: Instant at common-lisp.net (Instant at common-lisp.net) Date: 14 Feb 2008 02:50:48 -0800 Subject: [clbuild-devel] Can you afford to lose 300, 000 potential customers per year ? Message-ID: <20080214025048.A5216654F7D3CB33@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From victor.kryukov at gmail.com Thu Feb 14 06:09:34 2008 From: victor.kryukov at gmail.com (Victor Kryukov) Date: Thu, 14 Feb 2008 00:09:34 -0600 Subject: [clbuild-devel] Package suggestion: elephant Message-ID: <878x1oyspt.fsf@esculap.gateway.2wire.net> Hello, what do you think about adding Elephant, http://common-lisp.net/project/elephant/index.html, to the list of projects? darcs get http://www.common-lisp.net/project/elephant/darcs/elephant Regards, Victor -- http://macrodefinition.blogspot.com From david at lichteblau.com Thu Feb 14 11:23:41 2008 From: david at lichteblau.com (David Lichteblau) Date: Thu, 14 Feb 2008 12:23:41 +0100 Subject: [clbuild-devel] Package suggestion: elephant In-Reply-To: <878x1oyspt.fsf@esculap.gateway.2wire.net> References: <878x1oyspt.fsf@esculap.gateway.2wire.net> Message-ID: <20080214112340.GS16179@radon> Quoting Victor Kryukov (victor.kryukov at gmail.com): > what do you think about adding Elephant, > http://common-lisp.net/project/elephant/index.html, to the list of > projects? > > darcs get http://www.common-lisp.net/project/elephant/darcs/elephant I would like to support elephant and have recently tried it. Unfortunately it doesn't even build before a configuration file has been set up, and I'm not sure how to handle that. Should we set up a default configuration? Which backend? d. From victor.kryukov at gmail.com Thu Feb 14 13:04:57 2008 From: victor.kryukov at gmail.com (Victor Kryukov) Date: Thu, 14 Feb 2008 07:04:57 -0600 Subject: [clbuild-devel] Re: Package suggestion: elephant References: <878x1oyspt.fsf@esculap.gateway.2wire.net> <20080214112340.GS16179@radon> Message-ID: <874pcbzo1y.fsf@esculap.gateway.2wire.net> David Lichteblau writes: > Quoting Victor Kryukov (victor.kryukov at gmail.com): >> what do you think about adding Elephant, >> http://common-lisp.net/project/elephant/index.html, to the list of >> projects? >> >> darcs get http://www.common-lisp.net/project/elephant/darcs/elephant > > I would like to support elephant and have recently tried it. > > Unfortunately it doesn't even build before a configuration file has been > set up, and I'm not sure how to handle that. > > Should we set up a default configuration? Which backend? Hi David, Why do we need to support a default configuration? BerkeleyDB is probably the most frequenly used backend, and definetely the best in terms of performance / ease of use, but if a lisp library needs some system libraries outside of the Lisp world, that should be user's task to install them E.g. now when you install CLSQL via clbuild it doesn't install MySQL or PostgreSQL automatically - that task is left for the user. Of course we could try to find the right path to libdb4.5.so etc., but what if a user doesn't have it installed yet? I'd suggest to leave the task of modifying my-config.sexp to the user. Regards, Victor. PS. I have some problems using Elephant with the rest of the clbuild world. I.e. if I install Elephant via asdf-install with all the dependencies into ~/.sbcl using default system SBCL (1.0.6 on my Ubuntu), it works just fine. But when I put the latest darcs version in ~/src/clbuild/source and try to open a BDB store, I get some weird SB-SYS:MEMORY-FAULT-ERROR. Do you experience something like that? I'll play with it a little more today and will tell you if I am able to resolve that. PPS. Please do not send replies directly to me - I'm reading them in the newsgroup. -- http://macrodefinition.blogspot.com From david at lichteblau.com Thu Feb 14 13:40:30 2008 From: david at lichteblau.com (David Lichteblau) Date: Thu, 14 Feb 2008 14:40:30 +0100 Subject: [clbuild-devel] Re: Package suggestion: elephant In-Reply-To: <874pcbzo1y.fsf@esculap.gateway.2wire.net> References: <878x1oyspt.fsf@esculap.gateway.2wire.net> <20080214112340.GS16179@radon> <874pcbzo1y.fsf@esculap.gateway.2wire.net> Message-ID: <20080214134030.GT16179@radon> Quoting Victor Kryukov (victor.kryukov at gmail.com): > Why do we need to support a default configuration? It's okay that elephant needs configuration in order to be used. But it's unsatisfactory that it needs configuration in order to be compiled. As a clbuild maintainer, I want to have a single command that tests whether the projects I just downloaded can be compiled. > BerkeleyDB is > probably the most frequenly used backend, and definetely the best in > terms of performance / ease of use, but if a lisp library needs some Thanks, that's interesting to know. > system libraries outside of the Lisp world, that should be user's task > to install them E.g. now when you install CLSQL via clbuild it doesn't > install MySQL or PostgreSQL automatically - that task is left for the > user. CLSQL isn't entirely unproblematic in that regard either. We currently build only the clsql-backends than are written in pure lisp, because we would like to support CLSQL as a main project, and that means that it will be compiled by default. We wouldn't want to require installations MySQL and PostgreSQL just for "clbuild dumpcore --main-projects". (Not to mention oracle...) > Of course we could try to find the right path to libdb4.5.so etc., but > what if a user doesn't have it installed yet? > > I'd suggest to leave the task of modifying my-config.sexp to the user. I suppose we can do that. (But then elephant will never be a main project, only a wnpp-project.) Worse, it would be a wnpp-project that I and other clbuild maintainers can't test without doing extra elephant-specific configuration work for each clbuild checkout. (In an ideal world, I think I would expect elephant to load .so files only on demand, not during compilation. Having written FFI-using code myself, I realize that cffi doesn't make that easy. Being able to load .so files after compilation depends on implementation-specific features, in SBCL's case on the linkage-table. Unfortunately, cffi doesn't provide a portable feature to test for this kind of capability.) > PS. I have some problems using Elephant with the rest of the clbuild > world. I.e. if I install Elephant via asdf-install with all the > dependencies into ~/.sbcl using default system SBCL (1.0.6 on my > Ubuntu), it works just fine. But when I put the latest darcs version > in ~/src/clbuild/source and try to open a BDB store, I get some weird > SB-SYS:MEMORY-FAULT-ERROR. Do you experience something like that? I'll > play with it a little more today and will tell you if I am able to > resolve that. I haven't tried that yet. Thanks, d. From david at lichteblau.com Fri Feb 15 14:21:21 2008 From: david at lichteblau.com (David Lichteblau) Date: Fri, 15 Feb 2008 15:21:21 +0100 Subject: [clbuild-devel] Package suggestion: elephant In-Reply-To: <878x1oyspt.fsf@esculap.gateway.2wire.net> References: <878x1oyspt.fsf@esculap.gateway.2wire.net> Message-ID: <20080215142121.GA29328@radon> Quoting Victor Kryukov (victor.kryukov at gmail.com): > darcs get http://www.common-lisp.net/project/elephant/darcs/elephant Thanks again for the suggestion. Elephant looks like an interesting project. I've added it now as a wnpp-project, but it is indeed "work-needing". Here is the list of issues I noted in the projects file: # - doesn't build at all without a user-written my-config.sexp # - needs sb-posix, but doesn't declare that dependency, meaning that # it doesn't build even with a config file # - ele-clsql loads clsql from the .asd file, not using :depends-on, # which is completely unacceptable # (we blacklist ele-clsql in clbuild.lisp because of that) Unfortunately I don't have the time to work with elephant maintainers to resolve these issues at this time. d. From Income at common-lisp.net Sat Feb 16 14:24:30 2008 From: Income at common-lisp.net (Income at common-lisp.net) Date: 16 Feb 2008 06:24:30 -0800 Subject: [clbuild-devel] "How would you like an extra $500 - $1000 a week ?" Message-ID: <20080216062429.D09A2653B53E1B6D@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From matt.moriarity at gmail.com Sun Feb 17 04:53:23 2008 From: matt.moriarity at gmail.com (Matt Moriarity) Date: Sat, 16 Feb 2008 23:53:23 -0500 Subject: [clbuild-devel] Problem with swank dependencies Message-ID: I'm having a problem with certain projects that depend on swank, such as arnesi and climacs. When I try to install them, I get an error that the package "SWANK" cannot be found. Some error output: Loading fiveam... ; compilation aborted because of fatal error: ; READ failure in COMPILE-FILE: ; SB-INT:SIMPLE-READER-PACKAGE-ERROR at 3402 (line 84, column 47) on #: ; package "SWANK" not found Other than this, clbuild is a great project. Easiest lisp setup I've ever seen. -- Matt Moriarity If Windows is the answer, you haven't properly understood the question. -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at lichteblau.com Sun Feb 17 11:09:06 2008 From: david at lichteblau.com (David Lichteblau) Date: Sun, 17 Feb 2008 12:09:06 +0100 Subject: [clbuild-devel] Problem with swank dependencies In-Reply-To: References: Message-ID: <20080217110906.GV16179@radon> Quoting Matt Moriarity (matt.moriarity at gmail.com): > I'm having a problem with certain projects that depend on swank, such as > arnesi and climacs. When I try to install them, I get an error that the > package "SWANK" cannot be found. > > Some error output: > > Loading fiveam... > ; compilation aborted because of fatal error: > ; READ failure in COMPILE-FILE: > ; SB-INT:SIMPLE-READER-PACKAGE-ERROR at 3402 (line 84, column 47) on > # /home/matt/src/clbuild/source/arnesi/src/log.lisp" {B004061}>: > ; package "SWANK" not found That appears to be a new problem with slime. Loading the swank system doesn't actually load it anymore, unless you manually call (swank-loader::init). I've mentioned the problem on IRC, so perhaps it'll get fixed soon. (If it's still not fixed in a few days, I'd suggest asking on slime-devel.) Thanks, d. From julian at cipht.net Thu Feb 7 19:36:02 2008 From: julian at cipht.net (Julian Squires) Date: Thu, 07 Feb 2008 14:36:02 -0500 Subject: [clbuild-devel] [PATCH] tar may be misdesigned Message-ID: <87y79weezh.fsf@ant.cipht.net> On my OpenBSD system (at least), tar is "misdesigned", so it's necessary to either change check(), or to use GNU tar. I shouldn't even include a patch, but the attached one is just what I used on my system, which was a quick and dirty approach to it. Hmm, and as I was writing this, I was going to say, "otherwise, clbuild seems to work nicely on OpenBSD", but I noticed that 'clbuild list foo' where there are no results gives an error from paste, so there's a tentative patch on that, too. -------------- next part -------------- A non-text attachment was scrubbed... Name: foo.patch Type: text/x-patch Size: 419 bytes Desc: not available URL: -------------- next part -------------- Thanks, -- Julian Squires -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 186 bytes Desc: not available URL: From Hit-Booster at common-lisp.net Mon Feb 18 15:43:00 2008 From: Hit-Booster at common-lisp.net (Hit-Booster at common-lisp.net) Date: 18 Feb 2008 07:43:00 -0800 Subject: [clbuild-devel] How to get free quality visitors to your website? Message-ID: <20080218074300.1BA5B95A774A4520@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From stefan-ml at snobis.de Fri Feb 22 17:08:14 2008 From: stefan-ml at snobis.de (Stefan Nobis) Date: Fri, 22 Feb 2008 18:08:14 +0100 Subject: [clbuild-devel] WNPP: asdf-binary-locations Message-ID: Hi. I would like to add asdf-binary-locations: asdf-binary-locations get_darcs http://common-lisp.net/project/cl-containers/asdf-binary-locations/darcs/asdf-binary-locations Furthermore it may be interesting to integrate it in the build process (I like the idea of a centralized fasl directory). -- Until the next mail..., Stefan. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 162 bytes Desc: not available URL: From david at lichteblau.com Fri Feb 22 17:17:59 2008 From: david at lichteblau.com (David Lichteblau) Date: Fri, 22 Feb 2008 18:17:59 +0100 Subject: [clbuild-devel] WNPP: asdf-binary-locations In-Reply-To: References: Message-ID: <20080222171759.GA16179@radon> Hi, Quoting Stefan Nobis (stefan-ml at snobis.de): > asdf-binary-locations get_darcs http://common-lisp.net/project/cl-containers/asdf-binary-locations/darcs/asdf-binary-locations > > Furthermore it may be interesting to integrate it in the build process > (I like the idea of a centralized fasl directory). thanks for the suggestion. We would like to support as many lisp projects as possible in clbuild. However, currently I'd prefer to maintain a "wait and see" approach towards ASDF extensions, and I won't add asdf-binary-locations at this point. Obviously that's a choice I can only make for my own clbuild branch. If you are interested in packaging up Gary's ASDF extension work in general, and asdf-binary-locations in particular, perhaps you would like to publish a clbuild branch with those changes somewhere yourself? darcs makes that pretty easy. d. From stefan-ml at snobis.de Fri Feb 22 18:44:10 2008 From: stefan-ml at snobis.de (Stefan Nobis) Date: Fri, 22 Feb 2008 19:44:10 +0100 Subject: [clbuild-devel] WNPP: asdf-binary-locations In-Reply-To: <20080222171759.GA16179@radon> (David Lichteblau's message of "Fri\, 22 Feb 2008 18\:17\:59 +0100") References: <20080222171759.GA16179@radon> Message-ID: David Lichteblau writes: > However, currently I'd prefer to maintain a "wait and see" approach > towards ASDF extensions, and I won't add asdf-binary-locations at > this point. I see. Currently I'm too lazy to set up a public darcs repository, so here is the small diff to add support for asdf-binary-locations: diff -rN old-clbuild/clbuild new-clbuild/clbuild 198a199,203 > LOAD_ASDF_BIN_LOCATIONS_CFG="nil" > if [ -e "$BASE/.abl-cfg.lisp" ]; then > LOAD_ASDF_BIN_LOCATIONS_CFG="(load \"$BASE/.abl-cfg.lisp\")" > fi > 202a208 > $eval "$LOAD_ASDF_BIN_LOCATIONS_CFG" \ 219a226 > $eval "$LOAD_ASDF_BIN_LOCATIONS_CFG" \ 242a250 > $eval "$LOAD_ASDF_BIN_LOCATIONS_CFG" \ diff -rN old-clbuild/wnpp-projects new-clbuild/wnpp-projects 43a44 > asdf-binary-locations get_darcs http://common-lisp.net/project/cl-containers/asdf-binary-locations/darcs/asdf-binary-locations And for the curious here is my .abl-cfg.lisp: (asdf:operate 'asdf:load-op :asdf-binary-locations) (setf asdf:*centralize-lisp-binaries* t asdf:*default-toplevel-directory* (merge-pathnames (make-pathname :directory '(:relative "lisp" "fasls")) (user-homedir-pathname))) -- Until the next mail..., Stefan. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 162 bytes Desc: not available URL: From stefan-ml at snobis.de Fri Feb 22 19:03:46 2008 From: stefan-ml at snobis.de (Stefan Nobis) Date: Fri, 22 Feb 2008 20:03:46 +0100 Subject: [clbuild-devel] Only link extra ASDs if project directories exist Message-ID: Hi. New patches: [Only link extra ASDs if project directories exist Stefan Nobis **20080222170139] { hunk ./clbuild 681 - ln -sf $source_dir/mcclim/Experimental/freetype/*.asd ${system_dir}/ - ln -sf $source_dir/eclipse/system.lisp ${system_dir}/eclipse.asd - ln -f -s $source_dir/graphic-forms/src/external-libraries/*/*/*.asd \ - ${system_dir} - ln -sf $source_dir/clg/*/*.asd ${system_dir} - ln -sf $source_dir/cells-gtk/*/*.asd ${system_dir} + [ -d $source_dir/mcclim/Experimental/freetype ] && ln -sf $source_dir/mcclim/Experimental/freetype/*.asd ${system_dir}/ + [ -d $source_dir/eclipse ] && ln -sf $source_dir/eclipse/system.lisp ${system_dir}/eclipse.asd + [ -d $source/graphic-forms/src/external-libraries ] && ln -f -s $source_dir/graphic-forms/src/external-libraries/*/*/*.asd ${syst$ + [ -d $source/clg ] && ln -sf $source_dir/clg/*/*.asd ${system_dir}/ hunk ./clbuild 687 - ln -sf $source_dir/cffi/uffi-compat/uffi.asd ${system_dir}/ + [ -d $source/cffi/uffi-compat ] && ln -sf $source_dir/cffi/uffi-compat/uffi.asd ${system_dir}/ + + return 0 # ensure last test don't return an error code } [Whitespace cleanup Stefan Nobis **20080222183532] { hunk ./clbuild 756 - run gsharp run the Gsharp score editor + run gsharp run the Gsharp score editor hunk ./clbuild 797 -# to return a failure code when invoked using a correct --help option... +# to return a failure code when invoked using a correct --help option... hunk ./clbuild 817 - + hunk ./clbuild 881 - + } -- Until the next mail..., Stefan. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 162 bytes Desc: not available URL: From Instant at common-lisp.net Sat Feb 23 18:36:02 2008 From: Instant at common-lisp.net (Instant at common-lisp.net) Date: 23 Feb 2008 10:36:02 -0800 Subject: [clbuild-devel] Can you afford to lose 300, 000 potential customers per year ? Message-ID: <20080223103601.F3D9A643A3B9614C@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From Income at common-lisp.net Mon Feb 25 01:24:03 2008 From: Income at common-lisp.net (Income at common-lisp.net) Date: 24 Feb 2008 17:24:03 -0800 Subject: [clbuild-devel] "How would you like an extra $500 - $1000 a week ?" Message-ID: <20080224172403.59D767F71AA669BC@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From Hit-Booster at common-lisp.net Wed Feb 27 02:01:09 2008 From: Hit-Booster at common-lisp.net (Hit-Booster at common-lisp.net) Date: 26 Feb 2008 18:01:09 -0800 Subject: [clbuild-devel] How to get free quality visitors to your website? Message-ID: <20080226180109.F491C453B7920548@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From diresu at web.de Thu Feb 28 06:23:18 2008 From: diresu at web.de (Dietrich Bollmann) Date: Thu, 28 Feb 2008 15:23:18 +0900 Subject: [clbuild-devel] `clbuild lisp' and `asdf:*central-registry*'... Message-ID: <1204179798.27437.22.camel@pippi.pippi> Hi, I am using `~/.sbclrc' between other things to add some directories to the `asdf:*central-registry*'. I read on clbuild's homepage ( http://common-lisp.net/project/clbuild/ ) that `~/.sbclrc' is ignored when starting sbcl with `clbuild lisp' when not explicitely told to use it by creating the file `clbuild/clbuild.conf' using `clbuild/clbuild.conf.default' as a model and setting the variable `USER_INIT' to something like `${HOME}/.sbclrc'. But even when doing so, my configured version of `asdf:*central-registry*' would be ignored. I finally found the reason in `clbuild/clbuild' overwriting the value of `asdf:*central-registry*'... I probably could use `clbuild register-asd' to add my asd-files to clbuilds registry but I think it is strange that a configured `asdf:*central-registry*' is ignored even if `USER_INIT' was configured to load `~/.sbclrc'. For the moment I changed the original line set_central_registry="(setq asdf:*central-registry* '(#p \"${system_namestring}\"))" in `clbuild/clbuild' to if test -n "$USER_REGISTRY"; then set_central_registry="(setq asdf:*central-registry* ${USER_REGISTRY})" else set_central_registry="(setq asdf:*central-registry* '(#p \"${system_namestring}\"))" fi and added USER_REGISTRY='asdf:*central-registry*' to `clbuild/clbuild.conf'. But to me this looks rather like a hack than a convincing solution :) Any idea for a better solution? Dietrich PS: Probably a better way would be to set 'asdf:*central-registry*' to the value needed by clbuild before the profile is loaded. By the way, is there some way to test inside of the profile which version of sbcl is used if there are different installations of sbcl? From BlogBlaster at common-lisp.net Thu Feb 28 23:11:49 2008 From: BlogBlaster at common-lisp.net (BlogBlaster at common-lisp.net) Date: 28 Feb 2008 15:11:49 -0800 Subject: [clbuild-devel] "How would you like to have your ad on 2 Million Websites ?" Message-ID: <20080228151148.612592870D4A485F@from.header.has.no.domain> An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Unsubscribe email.txt URL: From diresu at web.de Thu Feb 28 07:54:52 2008 From: diresu at web.de (Dietrich Bollmann) Date: Thu, 28 Feb 2008 16:54:52 +0900 Subject: [clbuild-devel] Exception after clbuild install with debian's sbcl - and the 'common-lisp-controller' Message-ID: <1204185292.27437.46.camel@pippi.pippi> Hi again :) After installing sbcl and and the userland with clbuild I got the following error when trying to run programs with `clbuild run': clbuild run demodemo > ...snip... > unhandled SIMPLE-ERROR in thread #: > Error during processing of --eval option "(load \"/home/dietrich/lisp/clbuild/clbuild.lisp\")": > > failed to find the WRITE-DATE of /home/dietrich/lisp/clbuild/source/slime/swank-loader.fasl: > No such file or directory The reason probably is that the debian sbcl install uses the `common-lisp-controller' ( http://www.cliki.net/common-lisp-controller ) which (citation from http://www.cliki.net/common-lisp-controller ): [...] does not anymore use the logical pathname system. Instead it overrides the asdf:output-files method to divert the fasls to a user, implementation and library specific location. At the moment /var/cache/common-lisp-controller/user-name/implementation/library/. and I could easily fix the problem by compiling the file myself. Still, as the cbuild lisp installation should work with any other lisp to bootstrap, it might be helpful to add some code to the clbuild installation which checks if the fasl file exists and - if not - compiles it before trying to load it. While using my new sbcl installation another related question came to my mind: I was very happy about debian's sbcl to put the fasl files into a directory different from the directory of the source files. Is there some way to obtain the same result using clbuild's sbcl? Thanks, Dietrich