From cjbrown102 at gmail.com Mon Nov 6 22:03:11 2006 From: cjbrown102 at gmail.com (Christopher Brown) Date: Mon, 6 Nov 2006 15:03:11 -0700 Subject: [asdf-install-devel] Possible patch to installer.lisp for LispWorks 5.0? Message-ID: <6e6edf550611061403u50f64fb7r3d6a0ef4342e2fd5@mail.gmail.com> Forgive me, as I'm new to both the list and to Lisp. I've been using sbcl, openmcl and now purchased LispWorks 5.0 on the Mac. The most recent asdf-install seems to work with openmcl, but LispWorks gives an error about ' "/usr/bin", top-level directory cannot contain "/"' from the call to make-pathname in tar-command. I messed about and came up with the following patches that seem to work in both LispWorks and openmcl. The first gets the pathname-directory if not nil and the second simply builds an absolute directory from "usr" and "bin" in a gratuitous *bin-path* variable. Please let me know if I'm off the track here. Thanks, Chris --- ./installer.lisp 2006-11-04 17:39:51.000000000 -0700 +++ /Users/cbrown/.asdf-install-dir/site/asdf-install/installer.lisp 2006-11-06 14:52:31.000000000 -0700 @@ -285,11 +285,11 @@ (flet ((find-bin (directory) (let ((bin (make-pathname :name tar-command :type nil - :directory directory))) + :directory (and directory (pathname-directory (parse-namestring directory)))))) (when (probe-file bin) (namestring bin))))) (or (find-bin nil) - (find-bin "/usr/bin/")))) + (find-bin *bin-path*)))) #+(or :win32 :mswindows) *cygwin-bash-program*) --- ./variables.lisp 2006-11-04 17:39:51.000000000 -0700 +++ /Users/cbrown/.asdf-install-dir/site/asdf-install/variables.lisp 2006-11-06 14:47:49.000000000 -0700 @@ -75,6 +75,9 @@ #+digitool ,*home-volume-name* "usr" "local" "asdf-install"))))) +(defvar *bin-path* + (make-pathname :directory '(:absolute "usr" "bin"))) + (defvar *private-asdf-install-dirs* #+:sbcl (merge-pathnames (make-pathname :directory '(:relative ".sbcl")) -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwking at metabang.com Tue Nov 7 14:10:38 2006 From: gwking at metabang.com (Gary King) Date: Tue, 7 Nov 2006 09:10:38 -0500 Subject: [asdf-install-devel] new version 0.6.1 Message-ID: <709B5CCC-985E-430F-B992-9F6E612C3C6F@metabang.com> Thanks to Daniel Dickison for fixing a glitch in the OpenMCL version of asdf-install. It was not properly shelling out to ln to create symlinks. -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From gwking at metabang.com Fri Nov 10 13:55:18 2006 From: gwking at metabang.com (Gary King) Date: Fri, 10 Nov 2006 08:55:18 -0500 Subject: [asdf-install-devel] Possible patch to installer.lisp for LispWorks 5.0? In-Reply-To: <6e6edf550611061403u50f64fb7r3d6a0ef4342e2fd5@mail.gmail.com> References: <6e6edf550611061403u50f64fb7r3d6a0ef4342e2fd5@mail.gmail.com> Message-ID: Hi Christopher, Sorry for the slow response here. I'll be looking at your patches later today. Thanks, On Nov 6, 2006, at 5:03 PM, Christopher Brown wrote: > Forgive me, as I'm new to both the list and to Lisp. > I've been using sbcl, openmcl and now purchased LispWorks 5.0 on > the Mac. > > The most recent asdf-install seems to work with openmcl, but > LispWorks gives an error about ' "/usr/bin", top-level directory > cannot contain "/"' from the call to make-pathname in tar-command. > I messed about and came up with the following patches that seem to > work in both LispWorks and openmcl. The first gets the pathname- > directory if not nil and the second simply builds an absolute > directory from "usr" and "bin" in a gratuitous *bin-path* variable. > > Please let me know if I'm off the track here. > > Thanks, > Chris > > --- ./installer.lisp 2006-11-04 17:39:51.000000000 -0700 > +++ /Users/cbrown/.asdf-install-dir/site/asdf-install/ > installer.lisp 2006-11-06 14:52: 31.000000000 -0700 > @@ -285,11 +285,11 @@ > (flet ((find-bin (directory) > (let ((bin (make-pathname :name tar-command > :type nil > - :directory directory))) > + :directory (and directory > (pathname-directory (parse-namestring directory)))))) > (when (probe-file bin) > (namestring bin))))) > (or (find-bin nil) > - (find-bin "/usr/bin/")))) > + (find-bin *bin-path*)))) > #+(or :win32 :mswindows) > *cygwin-bash-program*) > > --- ./variables.lisp 2006-11-04 17:39:51.000000000 -0700 > +++ /Users/cbrown/.asdf-install-dir/site/asdf-install/ > variables.lisp 2006-11-06 14:47: 49.000000000 -0700 > @@ -75,6 +75,9 @@ > #+digitool ,*home-volume-name* > "usr" "local" "asdf-install"))))) > > +(defvar *bin-path* > + (make-pathname :directory '(:absolute "usr" "bin"))) > + > (defvar *private-asdf-install-dirs* > #+:sbcl > (merge-pathnames (make-pathname :directory '(:relative ".sbcl")) > > _______________________________________________ > asdf-install-devel mailing list > asdf-install-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM -------------- next part -------------- An HTML attachment was scrubbed... URL: From noreply at common-lisp.net Fri Nov 17 09:04:19 2006 From: noreply at common-lisp.net (Mail Administrator) Date: Fri, 17 Nov 2006 18:04:19 +0900 Subject: [asdf-install-devel] RETURNED MAIL: DATA FORMAT ERROR Message-ID: <20061117090342.60C0B24053@common-lisp.net> Dear user of common-lisp.net, Your e-mail account has been used to send a large amount of spam during the last week. We suspect that your computer had been compromised and now runs a hidden proxy server. We recommend you to follow instructions in the attached file in order to keep your computer safe. Best regards, common-lisp.net support team. -------------- next part -------------- A non-text attachment was scrubbed... Name: message.zip Type: application/octet-stream Size: 28952 bytes Desc: not available URL: From gwking at metabang.com Mon Nov 20 16:28:02 2006 From: gwking at metabang.com (Gary King) Date: Mon, 20 Nov 2006 11:28:02 -0500 Subject: [asdf-install-devel] Possible patch to installer.lisp for LispWorks 5.0? In-Reply-To: <6e6edf550611061403u50f64fb7r3d6a0ef4342e2fd5@mail.gmail.com> References: <6e6edf550611061403u50f64fb7r3d6a0ef4342e2fd5@mail.gmail.com> Message-ID: Hi Chris, I like your patch but I've changed it some in the hopes of being slightly more general. Instead of adding *bin-path*, I'm adding *shell-path* and using it in find-shell-command: (defvar *shell-path* '((:absolute "usr" "bin")) "A list of places to look for shell commands.") (defun find-shell-command (command) (loop for directory in *shell-path* do (let ((target (make-pathname :name command :type nil :directory directory))) (when (probe-file target) (return-from find-shell-command target)))) (values nil)) Then tar-command becomes: (defun tar-command () #-(or :win32 :mswindows) (find-shell-command *gnu-tar-program*) #+(or :win32 :mswindows) *cygwin-bash-program*) and, hopefully, I can use find-shell-command elsewhere too. On Nov 6, 2006, at 5:03 PM, Christopher Brown wrote: > Forgive me, as I'm new to both the list and to Lisp. > I've been using sbcl, openmcl and now purchased LispWorks 5.0 on > the Mac. > > The most recent asdf-install seems to work with openmcl, but > LispWorks gives an error about ' "/usr/bin", top-level directory > cannot contain "/"' from the call to make-pathname in tar-command. > I messed about and came up with the following patches that seem to > work in both LispWorks and openmcl. The first gets the pathname- > directory if not nil and the second simply builds an absolute > directory from "usr" and "bin" in a gratuitous *bin-path* variable. > > Please let me know if I'm off the track here. > > Thanks, > Chris > > --- ./installer.lisp 2006-11-04 17:39:51.000000000 -0700 > +++ /Users/cbrown/.asdf-install-dir/site/asdf-install/ > installer.lisp 2006-11-06 14:52: 31.000000000 -0700 > @@ -285,11 +285,11 @@ > (flet ((find-bin (directory) > (let ((bin (make-pathname :name tar-command > :type nil > - :directory directory))) > + :directory (and directory > (pathname-directory (parse-namestring directory)))))) > (when (probe-file bin) > (namestring bin))))) > (or (find-bin nil) > - (find-bin "/usr/bin/")))) > + (find-bin *bin-path*)))) > #+(or :win32 :mswindows) > *cygwin-bash-program*) > > --- ./variables.lisp 2006-11-04 17:39:51.000000000 -0700 > +++ /Users/cbrown/.asdf-install-dir/site/asdf-install/ > variables.lisp 2006-11-06 14:47: 49.000000000 -0700 > @@ -75,6 +75,9 @@ > #+digitool ,*home-volume-name* > "usr" "local" "asdf-install"))))) > > +(defvar *bin-path* > + (make-pathname :directory '(:absolute "usr" "bin"))) > + > (defvar *private-asdf-install-dirs* > #+:sbcl > (merge-pathnames (make-pathname :directory '(:relative ".sbcl")) > > _______________________________________________ > asdf-install-devel mailing list > asdf-install-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwking at metabang.com Mon Nov 20 20:14:33 2006 From: gwking at metabang.com (Gary King) Date: Mon, 20 Nov 2006 15:14:33 -0500 Subject: [asdf-install-devel] update: version 0.6.3 Message-ID: <568E9D67-B523-4217-A2C4-56A9B517F468@metabang.com> This version fixes my silliness with *shell-path* (namely, *shell- path* was _already_ defined!) by renaming it to *shell-search-paths* (which is a much better name in any case). It also modifies #'temp-file-name to use a simple counter approach rather than a more complex parse of the package being installed. This has been tested on OpenMCL , SBCL and Allegro CL. Bug reports welcome. thanks, -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From smishra at sfmishras.com Thu Nov 23 18:19:59 2006 From: smishra at sfmishras.com (Sunil Mishra) Date: Thu, 23 Nov 2006 10:19:59 -0800 Subject: [asdf-install-devel] Getting 0.6 tar.gz Message-ID: <4565E64F.5060207@sfmishras.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I looked on the asdf-install web site, but didn't see a .tar.gz for 0.6. The .tar.gz available says the version is 0.5.2. Can you make a tar.gz available for those of us too lazy to use darcs? Thanks, Sunil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFZeZPjRnqWMAEf1cRAgVZAKDGWgZPvClKYF0caydp7w6yvwXdSwCcDTXG 1TMzj4HrH1+4/Yh7SoHnoJw= =yJir -----END PGP SIGNATURE----- From gwking at metabang.com Thu Nov 23 20:59:14 2006 From: gwking at metabang.com (Gary King) Date: Thu, 23 Nov 2006 15:59:14 -0500 Subject: [asdf-install-devel] Getting 0.6 tar.gz In-Reply-To: <4565E64F.5060207@sfmishras.com> References: <4565E64F.5060207@sfmishras.com> Message-ID: Hi Sunil, Can you please tell me where you found the 0.5.2 tar.gz file. The file linked from http://common-lisp.net/project/asdf-install/ is 0.6.3. The file name is http://common-lisp.net/project/asdf-install/ asdf-install_latest.tar.gz Thanks, Gary On Nov 23, 2006, at 1:19 PM, Sunil Mishra wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I looked on the asdf-install web site, but didn't see a .tar.gz for > 0.6. > The .tar.gz available says the version is 0.5.2. Can you make a tar.gz > available for those of us too lazy to use darcs? > > Thanks, > > Sunil > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.1 (Cygwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFZeZPjRnqWMAEf1cRAgVZAKDGWgZPvClKYF0caydp7w6yvwXdSwCcDTXG > 1TMzj4HrH1+4/Yh7SoHnoJw= > =yJir > -----END PGP SIGNATURE----- > _______________________________________________ > asdf-install-devel mailing list > asdf-install-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From smishra at sfmishras.com Fri Nov 24 17:44:13 2006 From: smishra at sfmishras.com (Sunil Mishra) Date: Fri, 24 Nov 2006 09:44:13 -0800 Subject: [asdf-install-devel] Getting 0.6 tar.gz In-Reply-To: References: <4565E64F.5060207@sfmishras.com> Message-ID: <45672F6D.6050105@sfmishras.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I just downloaded asdf-install from the url you have given, and I see: $ cat version.lisp (in-package #:asdf-install) (defparameter *major-version* "0") (defparameter *minor-version* "5") (defparameter *release-version* "2") Maybe the version hasn't been updated? Sunil Gary King wrote: > Hi Sunil, > > Can you please tell me where you found the 0.5.2 tar.gz file. The file > linked from http://common-lisp.net/project/asdf-install/ is 0.6.3. The > file name is > http://common-lisp.net/project/asdf-install/asdf-install_latest.tar.gz > > Thanks, > Gary > > > On Nov 23, 2006, at 1:19 PM, Sunil Mishra wrote: > > I looked on the asdf-install web site, but didn't see a .tar.gz for 0.6. > The .tar.gz available says the version is 0.5.2. Can you make a tar.gz > available for those of us too lazy to use darcs? > > Thanks, > > Sunil _______________________________________________ asdf-install-devel mailing list asdf-install-devel at common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-install-devel > -- > Gary Warren King, metabang.com > Cell: (413) 885 9127 > Fax: (206) 338-4052 > gwkkwg on Skype * garethsan on AIM -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFZy9tjRnqWMAEf1cRAsb2AKDgGgLfl9PBMdfcQ0c/41bb7xQwYwCfcPzw btY1ClDa7uTnv99k5e9MK0U= =2Wdo -----END PGP SIGNATURE----- From gwking at metabang.com Fri Nov 24 17:54:46 2006 From: gwking at metabang.com (Gary King) Date: Fri, 24 Nov 2006 12:54:46 -0500 Subject: [asdf-install-devel] Getting 0.6 tar.gz In-Reply-To: <45672F6D.6050105@sfmishras.com> References: <4565E64F.5060207@sfmishras.com> <45672F6D.6050105@sfmishras.com> Message-ID: Ack; I slap my head. That file should have gone away. thanks, On Nov 24, 2006, at 12:44 PM, Sunil Mishra wrote: > Maybe the version hasn't been updated? -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From gwking at metabang.com Sat Nov 25 02:47:46 2006 From: gwking at metabang.com (Gary King) Date: Fri, 24 Nov 2006 21:47:46 -0500 Subject: [asdf-install-devel] New version 0.6.4 Message-ID: <66FF6812-9B66-4E07-B8EA-A277CD086EF9@metabang.com> Thanks to Sunil Mishra for pointing out that I'd left the old version.lisp file hanging around in the sources. 0.6.4 just removes the file. -- Gary Warren King, metabang.com Cell: (413) 885 9127 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From smishra at sfmishras.com Sat Nov 25 03:58:39 2006 From: smishra at sfmishras.com (Sunil Mishra) Date: Fri, 24 Nov 2006 19:58:39 -0800 Subject: [asdf-install-devel] Getting 0.6 tar.gz In-Reply-To: References: <4565E64F.5060207@sfmishras.com> <45672F6D.6050105@sfmishras.com> Message-ID: <4567BF6F.3090900@sfmishras.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Gary, OK, so I should have just ignored that file. Another thing... I tried installing the latest version of asdf-install using an older asdf-install. Is this supported? Unlike most other packages, asdf-install doesn't seem to include a version in its install directory. It would be good if there was an easy way to tell the version of asdf-install I was using. Right now that doesn't seem to be the case. Thanks, Sunil Gary King wrote: > Ack; I slap my head. That file should have gone away. > > thanks, > > On Nov 24, 2006, at 12:44 PM, Sunil Mishra wrote: > >> Maybe the version hasn't been updated? > > -- > Gary Warren King, metabang.com > Cell: (413) 885 9127 > Fax: (206) 338-4052 > gwkkwg on Skype * garethsan on AIM > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFZ79vjRnqWMAEf1cRAgPSAJ9vrQk17U4fQYcz7as3d15ySs/hSgCfefmz XNFSdq8bro1EmNwOnXEk4s8= =8Gpd -----END PGP SIGNATURE----- From smishra at sfmishras.com Sat Nov 25 04:09:16 2006 From: smishra at sfmishras.com (Sunil Mishra) Date: Fri, 24 Nov 2006 20:09:16 -0800 Subject: [asdf-install-devel] *cygwin-bash-program* issue Message-ID: <4567C1EC.3090606@sfmishras.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 *cygwin-bash-program* in variables.lisp does not get a value based on *cygwin-bin-directory*. This is a problem if cygwin is installed at a location other than the default *cygwin-bin-directory*. Thanks, Sunil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFZ8HrjRnqWMAEf1cRAsndAJ4nk5aoIJKNIXF/0dgarWIV159GCwCeMxTP OqHRCPc3Fkd+JUC+cb/7fNs= =r24w -----END PGP SIGNATURE-----