[ADMIN] readline support

2000-11-04 Thread Marcin Mazurek

Hi,
simple/stupid question, but can't figureout it myself:
Why can't it find radline headers files if they really are there?
pg7.0.2, Linux Debian 2.2
mtldb:/usr/local/src/postgresql-7.0.2/src# ./configure
--with-includes=/usr/include/readline  | grep readline
- setting CPPFLAGS=  -I/usr/include/readline
checking for main in -lreadline... (cached) no
checking for using_history in -lreadline... (cached) no
checking for readline.h... (cached) no
checking for readline/history.h... (cached) no
checking for readline/readline.h... (cached) no

mtldb:/usr/local/src/postgresql-7.0.2/src# ls /usr/include/readline
chardefs.h  history.h  keymaps.h  readline.h  rlconf.h  rlstdc.h  tilde.h
mtldb:/usr/local/src/postgresql-7.0.2/src#

tia
mazek

Marcin Mazurek

--  
Kierownik Działu Systemowego
MULTINET SA o/Poznan
http://www.multinet.pl/



Re: [ADMIN] readline support

2000-11-04 Thread Bogdan Paduraru

Remove the config.cache  and after that runn configure!

Marcin Mazurek wrote:

> Hi,
> simple/stupid question, but can't figureout it myself:
> Why can't it find radline headers files if they really are there?
> pg7.0.2, Linux Debian 2.2
> mtldb:/usr/local/src/postgresql-7.0.2/src# ./configure
> --with-includes=/usr/include/readline  | grep readline
> - setting CPPFLAGS=  -I/usr/include/readline
> checking for main in -lreadline... (cached) no
> checking for using_history in -lreadline... (cached) no
> checking for readline.h... (cached) no
> checking for readline/history.h... (cached) no
> checking for readline/readline.h... (cached) no
>
> mtldb:/usr/local/src/postgresql-7.0.2/src# ls /usr/include/readline
> chardefs.h  history.h  keymaps.h  readline.h  rlconf.h  rlstdc.h  tilde.h
> mtldb:/usr/local/src/postgresql-7.0.2/src#
>
> tia
> mazek
>
> Marcin Mazurek
>
> --
> Kierownik Działu Systemowego
> MULTINET SA o/Poznan
> http://www.multinet.pl/




Re: [ADMIN] JDBC make problem

2000-11-04 Thread Bruce Momjian

My guess is that you are using Kaffe.  It does not handle self-dependent
compiles like Sun java.  The only solution is to download the
precompiled jar file from the URL in the interfaces/jdbcc README.


[ Charset ISO-8859-15 unsupported, converting... ]
> Hello,
> I tried to build the JDBC2 driver from Postgresql 7.0.2 distribution
> (/src/interfaces/jdbc), but I got errors :
> $ make jdbc2 jar
> 
> (echo "package org.postgresql;" ;\
>  echo "public class DriverClass {" ;\
>  echo "public static String
> connectClass=\"org.postgresql.jdbc2.Connection\";" ;\
>  echo "}" \
> ) >org/postgresql/DriverClass.java
> rm -f postgresql.jar
> make[1]: Entering directory
> `/usr/src/postgresql-7.0.2/src/interfaces/jdbc'
> javac -g org/postgresql/DriverClass.java
> javac -g org/postgresql/Connection.java
> org/postgresql/Connection.java:7: Class org.postgresql.Field not found
> in import.
> import org.postgresql.Field;
>^
> org/postgresql/Connection.java:8: Package org.postgresql.fastpath not
> found in import.
> import org.postgresql.fastpath.*;
>^
> org/postgresql/Connection.java:9: Package org.postgresql.largeobject not
> found in import.
> import org.postgresql.largeobject.*;
>^
> org/postgresql/Connection.java:10: Package org.postgresql.util not found
> in import.
> import org.postgresql.util.*;
>^
> 4 errors
> make[1]: *** [org/postgresql/Connection.class] Error 1
> make[1]: Leaving directory
> `/usr/src/postgresql-7.0.2/src/interfaces/jdbc'
> make: *** [jdbc2] Error 2
> 
> Can you help, please?
> 
> Bogdan
> 
> 


-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 853-3000
  +  If your life is a hard drive, |  830 Blythe Avenue
  +  Christ can be your backup.|  Drexel Hill, Pennsylvania 19026



[ADMIN] Text files question

2000-11-04 Thread Bogdan Paduraru

Hi,
How can I store text files in a Postgresql db?
Is there a limit of chars?

Thanx,
Bogdan