I installed postgresql and I am getting the following error when I
build clisp:
checking for postgres_ext.h presence... no
configure: error: cannot find PostgreSQL headers
make: *** [postgresql] Error 1
I found the header in the /usr/local/pgsql/include/ path. How do I
include this path in the build?
Thanks,
Mike
·············@gmail.com wrote:
> I installed postgresql and I am getting the following error when I
> build clisp:
>
> checking for postgres_ext.h presence... no
> configure: error: cannot find PostgreSQL headers
> make: *** [postgresql] Error 1
>
>
> I found the header in the /usr/local/pgsql/include/ path. How do I
> include this path in the build?
./configure --help
points you to
./configure --help-modules
which sais, inter alia:
modules/postgresql:
--with-libpq-prefix[=DIR] search for libpq in DIR/include and
DIR/lib
run './modules/postgresql/configure --help' for more information
so, try
$ ./configure --with-module=postgresql --with-libpq-prefix=/usr/local
--build build-pq
Sam.
Thanks to everyone. I finally got it up and running. Sadly enough I
have been using clisp for the last 5 years, and this is the first time
compiling from the source.
Thanks again,
Mike
sds wrote:
> ·············@gmail.com wrote:
> > I installed postgresql and I am getting the following error when I
> > build clisp:
> >
> > checking for postgres_ext.h presence... no
> > configure: error: cannot find PostgreSQL headers
> > make: *** [postgresql] Error 1
> >
> >
> > I found the header in the /usr/local/pgsql/include/ path. How do I
> > include this path in the build?
>
> ./configure --help
> points you to
> ./configure --help-modules
> which sais, inter alia:
>
> modules/postgresql:
> --with-libpq-prefix[=DIR] search for libpq in DIR/include and
> DIR/lib
> run './modules/postgresql/configure --help' for more information
>
> so, try
> $ ./configure --with-module=postgresql --with-libpq-prefix=/usr/local
> --build build-pq
>
> Sam.
·············@gmail.com wrote:
> Thanks to everyone. I finally got it up and running. Sadly enough I
> have been using clisp for the last 5 years, and this is the first time
> compiling from the source.
Have you tried other Lisp implementations like SBCL? Although I must
say that I like the readline library auto-completion of CLISP in
windows. Does anyone know how to enable this in SBCL?
Alok
Alok wrote:
> Although I must
> say that I like the readline library auto-completion of CLISP in
> windows. Does anyone know how to enable this in SBCL?
Ok found a hack from Edi Weitz page using Google
http://weitz.de/completions.html
But I would prefer some other method which can build an SBCL with
readline enabled within. Anyone tried that yet?
Alok
Another option is using etags with emacs and using the auto-completion
from that. That's what I use. The best part is that it has a
"Jump-to-tag" option where it opens the file and goes to the right
line.
Mike
Alok wrote:
> Alok wrote:
> > Although I must
> > say that I like the readline library auto-completion of CLISP in
> > windows. Does anyone know how to enable this in SBCL?
>
> Ok found a hack from Edi Weitz page using Google
> http://weitz.de/completions.html
>
> But I would prefer some other method which can build an SBCL with
> readline enabled within. Anyone tried that yet?
>
> Alok
·············@gmail.com wrote:
> Another option is using etags with emacs and using the auto-completion
> from that. That's what I use. The best part is that it has a
> "Jump-to-tag" option where it opens the file and goes to the right
> line.
>
> Mike
Try SLIME, if you use emacs. It does a much better job then plain old
etags or ctags. However, I was interested about auto-completion within
the Lisp Interpreter, like in CLISP.
Alok
Alok wrote:
> Alok wrote:
> > Although I must
> > say that I like the readline library auto-completion of CLISP in
> > windows. Does anyone know how to enable this in SBCL?
>
> Ok found a hack from Edi Weitz page using Google
> http://weitz.de/completions.html
>
> But I would prefer some other method which can build an SBCL with
> readline enabled within. Anyone tried that yet?
Found this on CLiki http://www.cliki.net/sb-readline
Alok