Hello

> >  The version No. postgresql is
> >  postgresql-8.1.4.

The postgresql-8.1.4 is in cygwin application binaries.
So I have to build postgres 8.2.7 or later by myself.


I will try it later.
However there might be some reason that postgresql on cygwin distribution is 
still 8.1.4.
In case of trouble, I will ask reason at cygwin ML.


Thanks!

Tatsuro





--- Xavier Delacour <[EMAIL PROTECTED]> wrote:

> On Tue, May 6, 2008 at 4:00 AM, Tatsuro MATSUOKA <[EMAIL PROTECTED]> wrote:
> > Hello
> >
> >  This is a report but not claim.
> >  However if somebody will give me advises, it would be grateful.
> >
> >  The version No. postgresql is
> >  postgresql-8.1.4.
> 
> The problem here is that the wrapper was generated against postgres
> 8.2.7, and so included some functions that didn't exist in 8.1.4. I
> submitted a change that removes the wrappers for those functions. Can
> you please try again?
> 
> As an aside, I'm not sure there is a lot of value in exposing the
> entire C interface for these databases.. however it does give the user
> more flexibility without having to leave Octave. Eg, using what's
> there, one could possibly write all (or most of) a Matlab compatible
> database toolbox using only .m files.
> 
> Thanks,
> Xavier
> 
> >
> >  Regards
> >
> >  Tatsuro
> >
> >
> >  ************************
> >  In ./configure
> >
> >  checking sql.h usability... no
> >  checking sql.h presence... yes
> >  configure: WARNING: sql.h: present but cannot be compiled
> >  configure: WARNING: sql.h:     check for missing prerequisite headers?
> >  configure: WARNING: sql.h: see the Autoconf documentation
> >  configure: WARNING: sql.h:     section "Present But Cannot Be Compiled"
> >  configure: WARNING: sql.h: proceeding with the preprocessor's result
> >  configure: WARNING: sql.h: in the future, the compiler will take precedence
> >   :
> >  octave-forge is configured with
> >    octave:      octave (version 3.0.1)
> >    mkoctfile:   mkoctfile for Octave 1
> >    swig:        pre-generated
> >    postgres:    yes
> >    mysql:       mysql/mysql.h not found
> >    sqlite3:     yes
> >    odbc:        yes
> >
> >  make
> >  CXXFLAGS=-O0 mkoctfile -DHAVE_OCTAVE_30 -v -o postgres.oct 
> > postgres_wrap.cpp -lpq
> >  /opt/octave/gcc-3.4.4dw2/bin/g++ -c -I/opt/octave/gcc-3.4.4dw2/include
> >  -I/opt/octave/octave-3.0.1/include 
> > -I/opt/octave/octave-3.0.1/include/octave-3.0.1
> >  -I/opt/octave/octave-3.0.1/include/octave-3.0.1/octave 
> > -I/opt/octave/octave-3.0.1/include
> -mieee-fp
> >  -O0 -DHAVE_OCTAVE_30 postgres_wrap.cpp -o postgres_wrap.o
> >  postgres_wrap.cpp: In function `octave_value_list 
> > _wrap_PQisthreadsafe(const
> octave_value_list&,
> >  int)':
> >  postgres_wrap.cpp:6219: error: `PQisthreadsafe' undeclared (first use this 
> > function)
> >  postgres_wrap.cpp:6219: error: (Each undeclared identifier is reported 
> > only once for each
> function it
> >  appears in.)
> >  postgres_wrap.cpp: In function `octave_value_list _wrap_PQnparams(const 
> > octave_value_list&,
> int)':
> >  postgres_wrap.cpp:7014: error: `PQnparams' undeclared (first use this 
> > function)
> >  postgres_wrap.cpp: In function `octave_value_list _wrap_PQparamtype(const 
> > octave_value_list&,
> int)':
> >  postgres_wrap.cpp:7047: error: `PQparamtype' undeclared (first use this 
> > function)
> >  postgres_wrap.cpp: In function `octave_value_list 
> > _wrap_PQdescribePrepared(const
> octave_value_list&,
> >  int)':
> >  postgres_wrap.cpp:7081: error: `PQdescribePrepared' undeclared (first use 
> > this function)
> >  postgres_wrap.cpp: In function `octave_value_list 
> > _wrap_PQdescribePortal(const
> octave_value_list&,
> >  int)':
> >  postgres_wrap.cpp:7116: error: `PQdescribePortal' undeclared (first use 
> > this function)
> >  postgres_wrap.cpp: In function `octave_value_list 
> > _wrap_PQsendDescribePrepared(const
> >  octave_value_list&, int)':
> >  postgres_wrap.cpp:7151: error: `PQsendDescribePrepared' undeclared (first 
> > use this function)
> >  postgres_wrap.cpp: In function `octave_value_list 
> > _wrap_PQsendDescribePortal(const
> octave_value_list&,
> >  int)':
> >  postgres_wrap.cpp:7186: error: `PQsendDescribePortal' undeclared (first 
> > use this function)
> >  postgres_wrap.cpp: In function `octave_value_list 
> > _wrap_PQescapeStringConn(const
> octave_value_list&,
> >  int)':
> >  postgres_wrap.cpp:7325: error: `PQescapeStringConn' undeclared (first use 
> > this function)
> >  postgres_wrap.cpp: In function `octave_value_list 
> > _wrap_PQescapeByteaConn(const
> >  octave_value_list&, int)':
> >  postgres_wrap.cpp:7376: error: `PQescapeByteaConn' undeclared (first use 
> > this function)
> >  postgres_wrap.cpp: In function `octave_value_list _wrap_lo_write(const 
> > octave_value_list&,
> int)':
> >  postgres_wrap.cpp:7832: error: invalid conversion from `const char*' to 
> > `char*'
> >  postgres_wrap.cpp:7832: error:   initializing argument 3 of `int 
> > lo_write(PGconn*, int,
> char*,
> >  size_t)'
> >  postgres_wrap.cpp: In function `octave_value_list _wrap_lo_create(const 
> > octave_value_list&,
> int)':
> >  postgres_wrap.cpp:7948: error: `lo_create' undeclared (first use this 
> > function)
> >  postgres_wrap.cpp: In function `octave_value_list _wrap_PQmblen(const 
> > octave_value_list&,
> int)':
> >  postgres_wrap.cpp:8126: error: invalid conversion from `const char*' to 
> > `const unsigned
> char*'
> >  postgres_wrap.cpp:8126: error:   initializing argument 1 of `int 
> > PQmblen(const unsigned
> char*, int)'
> >  postgres_wrap.cpp: In function `octave_value_list _wrap_PQdsplen(const 
> > octave_value_list&,
> int)':
> >  postgres_wrap.cpp:8161: error: invalid conversion from `const char*' to 
> > `const unsigned
> char*'
> >  postgres_wrap.cpp:8161: error:   initializing argument 1 of `int 
> > PQdsplen(const
> >  unsigned char*, int)'
> >  postgres_wrap.cpp: In function `octave_value_list 
> > _wrap_PQencryptPassword(const
> >  octave_value_list&, int)':
> >  postgres_wrap.cpp:8214: error: `PQencryptPassword' undeclared (first use 
> > this function)
> >  make[1]: *** [postgres.oct] Error 1
> >  make[1]: Leaving directory
> >
> >  --------------------------------------
> >  GANBARE! NIPPON! Win your ticket to Olympic Games 2008.
> >  http://pr.mail.yahoo.co.jp/ganbare-nippon/
> >
> >  -------------------------------------------------------------------------
> >  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> >  Don't miss this year's exciting event. There's still time to save $100.
> >  Use priority code J8TL2D2.
> >  
> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> >  _______________________________________________
> >  Octave-dev mailing list
> >  [email protected]
> >  https://lists.sourceforge.net/lists/listinfo/octave-dev
> >
> 


--------------------------------------
GANBARE! NIPPON! Win your ticket to Olympic Games 2008.
http://pr.mail.yahoo.co.jp/ganbare-nippon/

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to