From gwbennett at sentex.ca Sat Jan 29 17:23:16 2011 From: gwbennett at sentex.ca (Greg Bennett) Date: Sat, 29 Jan 2011 12:23:16 -0500 Subject: [cl-opengl-devel] Invoking cl-opengl under ubuntu Message-ID: <4D444D04.2090407@sentex.ca> Good afternoon from Greg Bennett I an venturing into graphics in cl undet linix. Specifically I am running ccl 64-bit under Ubuntu 10.04 using emacs+slime as an interface; but my lisp experience is from Allegro under Windows. Perhaps it is not surprising that I am (slightly) baffled by some of the set-up activities. I downloaded cl-opengl and read the .asd files for it, and for glu, glut, glut-examples too. I saw that all depended on cffi, so I used Ubuntu's apt-get install to do just that - fetch and install cffi - which went smoothly. It took me a while to find out where it was located (!) so I could fix up asdf:*central-registry* with a path to cffi.asd [Off-topic: is there an easy way to find where packages are installed ? The poking about I have done has yielded noting useful. Should I have 'known' cl-cffi would wind up in /usr/share/common-lisp/systems ?] Having twiddled the registry, I used (asdf:operate 'asdf:load-op 'cffi) which started cheerfully but then stopped with an simple-file error. For all the .lisp files in, for example, /usr/share/common-lisp/systems/source/alexandria are owned by root. It was in trying to process alexandria.lisp that things halted. I am the sole user of the linux box, but it seems that I need a way to tell ccl that it should run as root. If I am to build cl-opengl I have to get past this block, so I hope that someone can provide a magic incantation or two. Thanks for all assistance and advice Cheers /Greg Bennett -------------- next part -------------- An HTML attachment was scrubbed... URL: From luismbo at gmail.com Sat Jan 29 19:12:39 2011 From: luismbo at gmail.com (=?ISO-8859-1?Q?Lu=EDs_Oliveira?=) Date: Sat, 29 Jan 2011 19:12:39 +0000 Subject: [cl-opengl-devel] Invoking cl-opengl under ubuntu In-Reply-To: <4D444D04.2090407@sentex.ca> References: <4D444D04.2090407@sentex.ca> Message-ID: On Sat, Jan 29, 2011 at 5:23 PM, Greg Bennett wrote: > If I am to build cl-opengl I have to get past this block, so I hope that > someone can provide a magic > incantation or two. I suggest you uninstall any Lisp packages you got through apt-get and use Quicklisp[1] instead. Once you have it installed, loading cl-opengl and its dependencies will be one (ql:quickload 'cl-opengl) away. Cheers, [1] http://www.quicklisp.org/ -- Lu?s Oliveira http://r42.eu/~luis/