From: Aleksej S. <as...@in...> - 2009-01-05 18:22:47
|
Sam Steingold <sd...@gn...> writes: > Aleksej Saushev wrote: >> >> 1. I have installed CLISP in pretty bare configuration (readline, FFI, iconv). >> 2. I have installed something large, which uses that CLISP (Maxima or FriCAS). >> 3. I want to try Postgres, thus I install Postgres server and client. >> 4. Now I need CLISP module to work with Postgres, but I don't want to >> rebuild something large I installed previously (see 2). > > why do you need to rebuild [2]? > you do not rebuild emacs or vim when you upgrade gcc, do you? > >> I cannot "tar zxf clisp-2.47.tar.gz && cd .../modules/postgresql >> && ./configure && make && make install", because it wants modprep.fas, >> which isn't built this way. > > huh?! this is wrong. > postgresql does not use modprep. I tried gdbm module to simplify handling, it does use. This makes things even more complex, modules are not built in uniform way, gdbm does use modprep.fas, which isn't built. >> It is pretty hard to grok that clisp-link machinery, which is unclear >> how to make it behave well with package management system, even if I >> simplify things: let's assume I want to install it under another prefix, >> than my installed CLISP. >> >> It would be nice, if documentation contained some (even simplistic!) >> description what is to be done to install separatly built module. >> Something like test case, that this machinery works. > > I agree that clisp could benefit from a better documented clisp-link. > It would be nice if you documented your experiences - this would be a good > start for the doc. > > Alas, I do not quite understand what you are doing. > > do you still have your clisp build directory? Of course, no. > are you trying to use the existing system-wide installation? Yes. Let's assume it comes pre-installed from OS vendor binaries. > in both cases, building a module and creating a linking set with it is > extensively documented in > http://clisp.cons.org/impnotes/modules.html#mod-overview > with an example in > http://clisp.cons.org/impnotes/modules.html#mod-set-example > and more in http://clisp.cons.org/impnotes/dffi.html > > Did you look there? I did, and this didn't make it more clear to me (unfortunatly). I'll try harder a bit later. -- HE CE3OH... |