Hi,

i'm trying install nspostgres and throw me this error...

[EMAIL PROTECTED] nspostgres-4.0]# make install POSTGRES=/usr/bin ACS=1
INST=/usr/local/aolserver  AOLSERVER=/usr/local/aolserver
gcc -pipe -DBIND_EMULATION -I/usr/bin/include -DFOR_ACS_USE -O2 -Wall
-Wno-implicit-int -fno-strict-aliasing -fPIC -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586
-mtune=pentiumpro -fasynchronous-unwind-tables
-I/usr/local/aolserver/include -I/usr/include/tcl8.4.13  -DNO_CONST
-DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
-DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1
-DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1
-DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DUSE_TERMIOS=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1
-DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1    -c -o
nspostgres.o nspostgres.c
In file included from nspostgres.c:32:
nspostgres.h:48:22: error: libpq-fe.h: No such file or directory
In file included from nspostgres.c:32:
nspostgres.h:169: error: expected specifier-qualifier-list before 'PGconn'
nspostgres.c: In function 'Ns_PgOpenDb':
nspostgres.c:110: error: 'PGconn' undeclared (first use in this function)
nspostgres.c:110: error: (Each undeclared identifier is reported only once
nspostgres.c:110: error: for each function it appears in.)
nspostgres.c:110: error: 'pgConn' undeclared (first use in this function)
nspostgres.c:134: warning: implicit declaration of function 'PQsetdbLogin'
nspostgres.c:142: warning: implicit declaration of function 'PQstatus'
nspostgres.c:142: error: 'CONNECTION_OK' undeclared (first use in this function)
nspostgres.c:150: error: 'NsPgConn' has no member named 'in_transaction'
nspostgres.c:151: error: 'NsPgConn' has no member named 'cNum'
nspostgres.c:152: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:153: error: 'NsPgConn' has no member named 'res'
nspostgres.c:154: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:154: error: 'NsPgConn' has no member named 'nTuples'
nspostgres.c:154: error: 'NsPgConn' has no member named 'curTuple'
nspostgres.c:164: warning: implicit declaration of function 'PQerrorMessage'
nspostgres.c:164: warning: format '%s' expects type 'char *', but
argument 5 has type 'int'
nspostgres.c:165: warning: implicit declaration of function 'PQfinish'
nspostgres.c: In function 'Ns_PgCloseDb':
nspostgres.c:189: error: 'NsPgConn' has no member named 'cNum'
nspostgres.c:192: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:197: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:198: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:198: error: 'NsPgConn' has no member named 'nTuples'
nspostgres.c:198: error: 'NsPgConn' has no member named 'curTuple'
nspostgres.c: In function 'Ns_PgSetErrorstate':
nspostgres.c:214: warning: implicit declaration of function 'PQresultStatus'
nspostgres.c:214: error: 'NsPgConn' has no member named 'res'
nspostgres.c:215: error: 'PGRES_EMPTY_QUERY' undeclared (first use in
this function)
nspostgres.c:216: error: 'PGRES_COMMAND_OK' undeclared (first use in
this function)
nspostgres.c:217: error: 'PGRES_TUPLES_OK' undeclared (first use in
this function)
nspostgres.c:218: error: 'PGRES_COPY_OUT' undeclared (first use in
this function)
nspostgres.c:219: error: 'PGRES_COPY_IN' undeclared (first use in this function)
nspostgres.c:220: error: 'PGRES_NONFATAL_ERROR' undeclared (first use
in this function)
nspostgres.c:221: warning: implicit declaration of function
'PQresultErrorMessage'
nspostgres.c:221: error: 'NsPgConn' has no member named 'res'
nspostgres.c:221: warning: passing argument 2 of 'Tcl_DStringAppend'
makes pointer from integer without a cast
nspostgres.c:224: error: 'PGRES_FATAL_ERROR' undeclared (first use in
this function)
nspostgres.c:225: error: 'NsPgConn' has no member named 'res'
nspostgres.c:225: warning: passing argument 2 of 'Tcl_DStringAppend'
makes pointer from integer without a cast
nspostgres.c:228: error: 'PGRES_BAD_RESPONSE' undeclared (first use in
this function)
nspostgres.c:230: error: 'NsPgConn' has no member named 'res'
nspostgres.c:230: warning: passing argument 2 of 'Tcl_DStringAppend'
makes pointer from integer without a cast
nspostgres.c: In function 'set_transaction_state':
nspostgres.c:250: error: 'NsPgConn' has no member named 'in_transaction'
nspostgres.c:256: error: 'NsPgConn' has no member named 'in_transaction'
nspostgres.c:262: error: 'NsPgConn' has no member named 'in_transaction'
nspostgres.c: In function 'Ns_PgExec':
nspostgres.c:290: warning: implicit declaration of function 'PQclear'
nspostgres.c:290: error: 'NsPgConn' has no member named 'res'
nspostgres.c:308: error: 'NsPgConn' has no member named 'res'
nspostgres.c:308: warning: implicit declaration of function 'PQexec'
nspostgres.c:308: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:320: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:320: error: 'CONNECTION_BAD' undeclared (first use in
this function)
nspostgres.c:322: error: 'NsPgConn' has no member named 'in_transaction'
nspostgres.c:330: error: 'NsPgConn' has no member named 'res'
nspostgres.c:330: error: 'PGRES_NONFATAL_ERROR' undeclared (first use
in this function)
nspostgres.c:336: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:367: error: 'NsPgConn' has no member named 'res'
nspostgres.c:368: error: 'NsPgConn' has no member named 'res'
nspostgres.c:368: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:381: error: 'NsPgConn' has no member named 'res'
nspostgres.c:383: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:383: warning: format '%s' expects type 'char *', but
argument 5 has type 'int'
nspostgres.c:392: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:393: error: 'NsPgConn' has no member named 'curTuple'
nspostgres.c:394: error: 'NsPgConn' has no member named 'nTuples'
nspostgres.c:396: error: 'NsPgConn' has no member named 'res'
nspostgres.c:397: error: 'PGRES_TUPLES_OK' undeclared (first use in
this function)
nspostgres.c:401: error: 'PGRES_COPY_IN' undeclared (first use in this function)
nspostgres.c:402: error: 'PGRES_COPY_OUT' undeclared (first use in
this function)
nspostgres.c:405: error: 'PGRES_COMMAND_OK' undeclared (first use in
this function)
nspostgres.c:407: warning: implicit declaration of function 'PQcmdTuples'
nspostgres.c:407: error: 'NsPgConn' has no member named 'res'
nspostgres.c:407: error: 'NsPgConn' has no member named 'nTuples'
nspostgres.c:407: warning: passing argument 1 of 'sscanf' makes
pointer from integer without a cast
nspostgres.c:412: error: 'NsPgConn' has no member named 'res'
nspostgres.c:412: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:412: warning: format '%s' expects type 'char *', but
argument 5 has type 'int'
nspostgres.c:413: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:413: warning: passing argument 3 of 'Ns_DbSetException'
makes pointer from integer without a cast
nspostgres.c: In function 'Ns_PgResetHandle':
nspostgres.c:432: error: 'NsPgConn' has no member named 'in_transaction'
nspostgres.c:436: error: 'PGRES_COMMAND_OK' undeclared (first use in
this function)
nspostgres.c: In function 'Ns_PgSelect':
nspostgres.c:478: error: 'NsPgConn' has no member named 'res'
nspostgres.c:478: error: 'PGRES_TUPLES_OK' undeclared (first use in
this function)
nspostgres.c:479: error: 'NsPgConn' has no member named 'curTuple'
nspostgres.c:480: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:480: warning: implicit declaration of function 'PQnfields'
nspostgres.c:480: error: 'NsPgConn' has no member named 'res'
nspostgres.c:481: error: 'NsPgConn' has no member named 'nTuples'
nspostgres.c:481: warning: implicit declaration of function 'PQntuples'
nspostgres.c:481: error: 'NsPgConn' has no member named 'res'
nspostgres.c:484: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:485: warning: implicit declaration of function 'PQfname'
nspostgres.c:485: error: 'NsPgConn' has no member named 'res'
nspostgres.c: In function 'Ns_PgGetRow':
nspostgres.c:521: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:525: error: 'NsPgConn' has no member named 'curTuple'
nspostgres.c:525: error: 'NsPgConn' has no member named 'nTuples'
nspostgres.c:527: error: 'NsPgConn' has no member named 'res'
nspostgres.c:528: error: 'NsPgConn' has no member named 'res'
nspostgres.c:529: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:529: error: 'NsPgConn' has no member named 'nTuples'
nspostgres.c:529: error: 'NsPgConn' has no member named 'curTuple'
nspostgres.c:533: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:534: warning: implicit declaration of function 'PQgetvalue'
nspostgres.c:534: error: 'NsPgConn' has no member named 'res'
nspostgres.c:535: error: 'NsPgConn' has no member named 'curTuple'
nspostgres.c:537: error: 'NsPgConn' has no member named 'curTuple'
nspostgres.c: In function 'Ns_PgFlush':
nspostgres.c:560: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:561: error: 'NsPgConn' has no member named 'res'
nspostgres.c:562: error: 'NsPgConn' has no member named 'res'
nspostgres.c:563: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:563: error: 'NsPgConn' has no member named 'nTuples'
nspostgres.c:563: error: 'NsPgConn' has no member named 'curTuple'
nspostgres.c: In function 'blob_get':
nspostgres.c:818: error: 'NsPgConn' has no member named 'res'
nspostgres.c:820: error: 'NsPgConn' has no member named 'res'
nspostgres.c:820: warning: assignment makes pointer from integer without a cast
nspostgres.c:821: error: 'NsPgConn' has no member named 'res'
nspostgres.c:821: warning: assignment makes pointer from integer without a cast
nspostgres.c:826: warning: pointer targets in passing argument 1 of
'decode3' differ in signedness
nspostgres.c:833: error: 'NsPgConn' has no member named 'res'
nspostgres.c:834: error: 'NsPgConn' has no member named 'res'
nspostgres.c: In function 'blob_put':
nspostgres.c:897: warning: pointer targets in passing argument 1 of
'encode3' differ in signedness
nspostgres.c: In function 'blob_dml_file':
nspostgres.c:944: warning: pointer targets in passing argument 1 of
'encode3' differ in signedness
nspostgres.c: In function 'blob_send_to_stream':
nspostgres.c:1038: error: 'NsPgConn' has no member named 'res'
nspostgres.c:1040: error: 'NsPgConn' has no member named 'res'
nspostgres.c:1040: warning: assignment makes pointer from integer without a cast
nspostgres.c:1041: error: 'NsPgConn' has no member named 'res'
nspostgres.c:1041: warning: assignment makes pointer from integer without a cast
nspostgres.c:1045: warning: pointer targets in passing argument 1 of
'decode3' differ in signedness
nspostgres.c:1058: error: 'NsPgConn' has no member named 'res'
nspostgres.c:1059: error: 'NsPgConn' has no member named 'res'
nspostgres.c: In function 'DbFail':
nspostgres.c:1130: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:1130: warning: assignment makes pointer from integer without a cast
nspostgres.c: In function 'parse_bind_variables':
nspostgres.c:1211: warning: unused variable 'first_bind'
nspostgres.c: In function 'PgBindCmd':
nspostgres.c:1327: warning: unused variable 'value_frag_len'
nspostgres.c: In function 'PgCmd':
nspostgres.c:1565: error: 'NsPgConn' has no member named 'in_transaction'
nspostgres.c:1577: error: 'NsPgConn' has no member named 'in_transaction'
nspostgres.c:1601: warning: implicit declaration of function 'PQdb'
nspostgres.c:1601: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:1603: warning: implicit declaration of function 'PQhost'
nspostgres.c:1603: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:1605: warning: implicit declaration of function 'PQoptions'
nspostgres.c:1605: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:1607: warning: implicit declaration of function 'PQport'
nspostgres.c:1607: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:1609: error: 'NsPgConn' has no member named 'cNum'
nspostgres.c:1611: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:1614: error: 'NsPgConn' has no member named 'conn'
nspostgres.c:1614: error: 'CONNECTION_OK' undeclared (first use in
this function)
nspostgres.c:1621: error: 'NsPgConn' has no member named 'nTuples'
nspostgres.c: In function 'Ns_PgBindRow':
nspostgres.c:1691: error: 'NsPgConn' has no member named 'res'
nspostgres.c:1691: error: 'PGRES_TUPLES_OK' undeclared (first use in
this function)
nspostgres.c:1692: error: 'NsPgConn' has no member named 'curTuple'
nspostgres.c:1693: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:1693: error: 'NsPgConn' has no member named 'res'
nspostgres.c:1694: error: 'NsPgConn' has no member named 'nTuples'
nspostgres.c:1694: error: 'NsPgConn' has no member named 'res'
nspostgres.c:1697: error: 'NsPgConn' has no member named 'nCols'
nspostgres.c:1698: error: 'NsPgConn' has no member named 'res'
nspostgres.c: In function 'Ns_PgExec':
nspostgres.c:417: warning: control reaches end of non-void function
nspostgres.c: In function 'Ns_PgOpenDb':
nspostgres.c:169: warning: control reaches end of non-void function
make: *** [nspostgres.o] Error 1

any idea??? i'm using:
- aolserver 4.5.0
- postgresql  8.1.5.1.1
- mandriva 2007
- tcl-8.4.13

i try passing /usr/bin where it's psql createdb, etc... and passing
/var/lib/pgsql where it's data directory...

bye and thanks for any help!!!!

Arturo.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to