Hello everyone,
This is my first post to this list. I've just installed gsll and I'm very much looking forward to using it for numeric programming in Common Lisp. Thanks in advance for gsll!
However, I can't seem to get it going. I'm somewhat new to Common Lisp, and very new to asdf. And I find that much Common Lisp documentation attempts to be so general that it is mostly useful for people who already know the answers. I suspect I am missing something very simple, and has nothing to do with gsll so much as setting up packages in Common Lisp. Nevertheless, I'm not sure whom to ask.
I'm running SBCL with SLIME under Ubuntu 8.10. I followed the gsll installation instructions under "With Debian or Ubuntu", and had no apparent errors. I started SLIME and entered "(asdf:operate 'asdf:load-op :gsll)" and obtained the error "component "cffi-grovel" not found".
It appears that I do have cffi, and all the information I can find about cffi-grovel indicates that it is now integrated with cffi. So I can't add a package but I can't seem to use what I have. What should I do?
Once again, please keep in mind that I am just a beginner regarding asdf and cffi.
Thank you!
Jim Garrett Baltimore, Maryland, USA
Hi Jim,
One option you do have is to acquire asdf-install, which should automagically setup all the dependencies for you. I tend to think it's a better idea to do things manually though, especially when you're starting out, because then you get a better grasp of how things work. I was in your position (new to doing any serious work in common lisp and new to gsll and asdf) only a few months ago, and I think the time setting up asdf and installing stuff manually was time well spent.
To address your specific problem, are all the libraries you're working with at their latest versions? I don't bother getting tarballs any more, I found pretty much every library I've been interested in has a publically accessible repository for either darcs, git, svn or something similar. Get fresh pulls of at least gsll and cffi, delete any .fasl files you might have kicking around, and try again.
I think you are right about cffi-grovel now being integrated into cffi - I have a relatively fresh setup that I put together when I recompiled sbcl a few weeks ago, and I have no .asd file for cffi-grovel and indeed if I try and do (asdf:operate asdf:load-op :cffi-grovel) I get an error that the component cannot be found.
Hope this helps,
Malcolm
On Sun, Aug 9, 2009 at 4:52 PM, Jimjim_garrett@comcast.net wrote:
Hello everyone,
This is my first post to this list. I've just installed gsll and I'm very much looking forward to using it for numeric programming in Common Lisp. Thanks in advance for gsll!
However, I can't seem to get it going. I'm somewhat new to Common Lisp, and very new to asdf. And I find that much Common Lisp documentation attempts to be so general that it is mostly useful for people who already know the answers. I suspect I am missing something very simple, and has nothing to do with gsll so much as setting up packages in Common Lisp. Nevertheless, I'm not sure whom to ask.
I'm running SBCL with SLIME under Ubuntu 8.10. I followed the gsll installation instructions under "With Debian or Ubuntu", and had no apparent errors. I started SLIME and entered "(asdf:operate 'asdf:load-op :gsll)" and obtained the error "component "cffi-grovel" not found".
It appears that I do have cffi, and all the information I can find about cffi-grovel indicates that it is now integrated with cffi. So I can't add a package but I can't seem to use what I have. What should I do?
Once again, please keep in mind that I am just a beginner regarding asdf and cffi.
Thank you!
Jim Garrett Baltimore, Maryland, USA
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
Jim -
You need a recent version of CFFI (more recent than Debian's packaged versions), and then need to recompile.
Works nicely once you get to that stage.
On Sun, Aug 9, 2009 at 6:16 PM, Malcolm Reynoldsmalcolm.reynolds@gmail.com wrote:
Hi Jim,
One option you do have is to acquire asdf-install, which should automagically setup all the dependencies for you. I tend to think it's a better idea to do things manually though, especially when you're starting out, because then you get a better grasp of how things work. I was in your position (new to doing any serious work in common lisp and new to gsll and asdf) only a few months ago, and I think the time setting up asdf and installing stuff manually was time well spent.
To address your specific problem, are all the libraries you're working with at their latest versions? I don't bother getting tarballs any more, I found pretty much every library I've been interested in has a publically accessible repository for either darcs, git, svn or something similar. Get fresh pulls of at least gsll and cffi, delete any .fasl files you might have kicking around, and try again.
I think you are right about cffi-grovel now being integrated into cffi
- I have a relatively fresh setup that I put together when I
recompiled sbcl a few weeks ago, and I have no .asd file for cffi-grovel and indeed if I try and do (asdf:operate asdf:load-op :cffi-grovel) I get an error that the component cannot be found.
Hope this helps,
Malcolm
On Sun, Aug 9, 2009 at 4:52 PM, Jimjim_garrett@comcast.net wrote:
Hello everyone,
This is my first post to this list. I've just installed gsll and I'm very much looking forward to using it for numeric programming in Common Lisp. Thanks in advance for gsll!
However, I can't seem to get it going. I'm somewhat new to Common Lisp, and very new to asdf. And I find that much Common Lisp documentation attempts to be so general that it is mostly useful for people who already know the answers. I suspect I am missing something very simple, and has nothing to do with gsll so much as setting up packages in Common Lisp. Nevertheless, I'm not sure whom to ask.
I'm running SBCL with SLIME under Ubuntu 8.10. I followed the gsll installation instructions under "With Debian or Ubuntu", and had no apparent errors. I started SLIME and entered "(asdf:operate 'asdf:load-op :gsll)" and obtained the error "component "cffi-grovel" not found".
It appears that I do have cffi, and all the information I can find about cffi-grovel indicates that it is now integrated with cffi. So I can't add a package but I can't seem to use what I have. What should I do?
Once again, please keep in mind that I am just a beginner regarding asdf and cffi.
Thank you!
Jim Garrett Baltimore, Maryland, USA
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
- First; uninstall (purge) Ubuntu version of cl-cffi. - Then make a folder like $HOME/lisp-repo in your homedirectory. - Then search for the ".sbcl" folder in your home. If there is not any; create one and a sub folder named "systems". - Then cd to $HOME/lisp-repo and pull the latest cffi on the darcs repo with the following command: $ darcs get http://common-lisp.net/project/cffi/darcs/cffi/ - And lastly cd to $HOME/lisp-repo/cffi and issue the following command that make symbolic links of each *.asd file residing current directory in the folder $HOME/.sbcl/systems: $ for i in *.asd; do `ln -s $PWD/$i -t ~/.sbcl/systems; done
Now open Emacs and when you start slime and required gsll it should work. If it does not; go to http://common-lisp.net/project/cffi/manual/html_node/Installation.html where cffi's dependencies are explained (i.e. Alexandira, Babel and trivial-features). Go download them and make the same things above for them also and try again.
On Sun, Aug 9, 2009 at 10:47 PM, A.J. Rossini blindglobe@gmail.com wrote:
Jim -
You need a recent version of CFFI (more recent than Debian's packaged versions), and then need to recompile.
Works nicely once you get to that stage.
On Sun, Aug 9, 2009 at 6:16 PM, Malcolm Reynoldsmalcolm.reynolds@gmail.com wrote:
Hi Jim,
One option you do have is to acquire asdf-install, which should automagically setup all the dependencies for you. I tend to think it's a better idea to do things manually though, especially when you're starting out, because then you get a better grasp of how things work. I was in your position (new to doing any serious work in common lisp and new to gsll and asdf) only a few months ago, and I think the time setting up asdf and installing stuff manually was time well spent.
To address your specific problem, are all the libraries you're working with at their latest versions? I don't bother getting tarballs any more, I found pretty much every library I've been interested in has a publically accessible repository for either darcs, git, svn or something similar. Get fresh pulls of at least gsll and cffi, delete any .fasl files you might have kicking around, and try again.
I think you are right about cffi-grovel now being integrated into cffi
- I have a relatively fresh setup that I put together when I
recompiled sbcl a few weeks ago, and I have no .asd file for cffi-grovel and indeed if I try and do (asdf:operate asdf:load-op :cffi-grovel) I get an error that the component cannot be found.
Hope this helps,
Malcolm
On Sun, Aug 9, 2009 at 4:52 PM, Jimjim_garrett@comcast.net wrote:
Hello everyone,
This is my first post to this list. I've just installed gsll and I'm very much looking forward to using it for numeric programming in Common Lisp. Thanks in advance for gsll!
However, I can't seem to get it going. I'm somewhat new to Common Lisp, and very new to asdf. And I find that much Common Lisp documentation attempts to be so general that it is mostly useful for people who already know the answers. I suspect I am missing something very simple, and has nothing to do with gsll so much as setting up packages in Common Lisp. Nevertheless, I'm not sure whom to ask.
I'm running SBCL with SLIME under Ubuntu 8.10. I followed the gsll installation instructions under "With Debian or Ubuntu", and had no apparent errors. I started SLIME and entered "(asdf:operate 'asdf:load-op :gsll)" and obtained the error "component "cffi-grovel" not found".
It appears that I do have cffi, and all the information I can find about cffi-grovel indicates that it is now integrated with cffi. So I can't add a package but I can't seem to use what I have. What should I do?
Once again, please keep in mind that I am just a beginner regarding asdf and cffi.
Thank you!
Jim Garrett Baltimore, Maryland, USA
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
-- best, -tony
blindglobe@gmail.com Muttenz, Switzerland. "Commit early,commit often, and commit in a repository from which we can easily roll-back your mistakes" (AJR, 4Jan05).
Drink Coffee: Do stupid things faster with more energy!
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
I'm sorry i realized that i had forgotten the second backtick in the command, it should be: $ for i in *.asd; do `ln -s $PWD/$i -t ~/.sbcl/systems`; done
On Mon, Aug 10, 2009 at 11:25 AM, ozgur ozgurican@gmail.com wrote:
- First; uninstall (purge) Ubuntu version of cl-cffi.
- Then make a folder like $HOME/lisp-repo in your homedirectory.
- Then search for the ".sbcl" folder in your home. If there is not any;
create one and a sub folder named "systems".
- Then cd to $HOME/lisp-repo and pull the latest cffi on the darcs repo
with the following command: $ darcs get http://common-lisp.net/project/cffi/darcs/cffi/
- And lastly cd to $HOME/lisp-repo/cffi and issue the following command
that make symbolic links of each *.asd file residing current directory in the folder $HOME/.sbcl/systems: $ for i in *.asd; do `ln -s $PWD/$i -t ~/.sbcl/systems; done
Now open Emacs and when you start slime and required gsll it should work. If it does not; go to http://common-lisp.net/project/cffi/manual/html_node/Installation.htmlwhere cffi's dependencies are explained (i.e. Alexandira, Babel and trivial-features). Go download them and make the same things above for them also and try again.
On Sun, Aug 9, 2009 at 10:47 PM, A.J. Rossini blindglobe@gmail.comwrote:
Jim -
You need a recent version of CFFI (more recent than Debian's packaged versions), and then need to recompile.
Works nicely once you get to that stage.
On Sun, Aug 9, 2009 at 6:16 PM, Malcolm Reynoldsmalcolm.reynolds@gmail.com wrote:
Hi Jim,
One option you do have is to acquire asdf-install, which should automagically setup all the dependencies for you. I tend to think it's a better idea to do things manually though, especially when you're starting out, because then you get a better grasp of how things work. I was in your position (new to doing any serious work in common lisp and new to gsll and asdf) only a few months ago, and I think the time setting up asdf and installing stuff manually was time well spent.
To address your specific problem, are all the libraries you're working with at their latest versions? I don't bother getting tarballs any more, I found pretty much every library I've been interested in has a publically accessible repository for either darcs, git, svn or something similar. Get fresh pulls of at least gsll and cffi, delete any .fasl files you might have kicking around, and try again.
I think you are right about cffi-grovel now being integrated into cffi
- I have a relatively fresh setup that I put together when I
recompiled sbcl a few weeks ago, and I have no .asd file for cffi-grovel and indeed if I try and do (asdf:operate asdf:load-op :cffi-grovel) I get an error that the component cannot be found.
Hope this helps,
Malcolm
On Sun, Aug 9, 2009 at 4:52 PM, Jimjim_garrett@comcast.net wrote:
Hello everyone,
This is my first post to this list. I've just installed gsll and I'm very much looking forward to using it for numeric programming in Common Lisp. Thanks in advance for gsll!
However, I can't seem to get it going. I'm somewhat new to Common
Lisp,
and very new to asdf. And I find that much Common Lisp documentation attempts to be so general that it is mostly useful for people who already know the answers. I suspect I am missing something very
simple,
and has nothing to do with gsll so much as setting up packages in
Common
Lisp. Nevertheless, I'm not sure whom to ask.
I'm running SBCL with SLIME under Ubuntu 8.10. I followed the gsll installation instructions under "With Debian or Ubuntu", and had no apparent errors. I started SLIME and entered "(asdf:operate 'asdf:load-op :gsll)" and obtained the error "component "cffi-grovel" not found".
It appears that I do have cffi, and all the information I can find
about
cffi-grovel indicates that it is now integrated with cffi. So I can't add a package but I can't seem to use what I have. What should I do?
Once again, please keep in mind that I am just a beginner regarding
asdf
and cffi.
Thank you!
Jim Garrett Baltimore, Maryland, USA
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
-- best, -tony
blindglobe@gmail.com Muttenz, Switzerland. "Commit early,commit often, and commit in a repository from which we can easily roll-back your mistakes" (AJR, 4Jan05).
Drink Coffee: Do stupid things faster with more energy!
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
-- Ozgur
Hi Jim,
I think your specific problem is due to an insufficiently new CFFI (as someone else already said); note that cffi-grovel is not CFFI but is (now) packaged with it. So, basically, you need a newer version of CFFI.
It is difficult to keep package coherence with all the different versions around, especially because in some cases (like CFFI) new versions were created at my request to support GSLL. This is a problem that has been discussed a lot in the CL community and beyond and I don't have a great solution to it. I do however try to keep the information on index.html (which is duplicated on http://common-lisp.net/project/gsll/) up to date, so that if a new version is needed I specify the version in "Requirements." The information under "Download and Install" is my best effort at the various operating and packaging methods but it's not perfect because of all the options that are available. So unfortunately it does require some cultural knowledge of Lisp and some inference, but is designed to accelerate the process for those that have the knowledge. However I think you are doing everything right; as I said the problem appears to be the version of CFFI.
Let us know if a newer version solves your problem.
Liam
On Sun, Aug 9, 2009 at 11:52 AM, Jimjim_garrett@comcast.net wrote:
Hello everyone,
This is my first post to this list. I've just installed gsll and I'm very much looking forward to using it for numeric programming in Common Lisp. Thanks in advance for gsll!
However, I can't seem to get it going. I'm somewhat new to Common Lisp, and very new to asdf. And I find that much Common Lisp documentation attempts to be so general that it is mostly useful for people who already know the answers. I suspect I am missing something very simple, and has nothing to do with gsll so much as setting up packages in Common Lisp. Nevertheless, I'm not sure whom to ask.
I'm running SBCL with SLIME under Ubuntu 8.10. I followed the gsll installation instructions under "With Debian or Ubuntu", and had no apparent errors. I started SLIME and entered "(asdf:operate 'asdf:load-op :gsll)" and obtained the error "component "cffi-grovel" not found".
It appears that I do have cffi, and all the information I can find about cffi-grovel indicates that it is now integrated with cffi. So I can't add a package but I can't seem to use what I have. What should I do?
Once again, please keep in mind that I am just a beginner regarding asdf and cffi.
Thank you!
Jim Garrett Baltimore, Maryland, USA
Gsll-devel mailing list Gsll-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel