From: ·············@gmail.com
Subject: Building Clisp Error (Include path)
Date: 
Message-ID: <1155275404.943977.97300@75g2000cwc.googlegroups.com>
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

From: sds
Subject: Re: Building Clisp Error (Include path)
Date: 
Message-ID: <1155330389.948945.29500@p79g2000cwp.googlegroups.com>
·············@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.
From: ·············@gmail.com
Subject: Re: Building Clisp Error (Include path)
Date: 
Message-ID: <1155331383.722916.117690@b28g2000cwb.googlegroups.com>
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.
From: Alok
Subject: Re: Building Clisp Error (Include path)
Date: 
Message-ID: <1155379922.848739.13070@m79g2000cwm.googlegroups.com>
·············@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
From: Alok
Subject: Re: Building Clisp Error (Include path)
Date: 
Message-ID: <1155380178.511689.279650@i3g2000cwc.googlegroups.com>
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
From: ·············@gmail.com
Subject: Re: Building Clisp Error (Include path)
Date: 
Message-ID: <1155397084.720216.49980@p79g2000cwp.googlegroups.com>
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
From: Alok
Subject: Re: Building Clisp Error (Include path)
Date: 
Message-ID: <1155415571.795231.212350@75g2000cwc.googlegroups.com>
·············@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
From: Alok
Subject: Re: Building Clisp Error (Include path)
Date: 
Message-ID: <1155765664.240090.318460@p79g2000cwp.googlegroups.com>
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