- 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