Skip site navigation (1) Skip section navigation (2)

(forw) Compile Issue, current CVS/UnixWare 7.1.1

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org>
Cc: PostgreSQL Bugs List <pgsql-bugs(at)postgresql(dot)org>
Subject: (forw) Compile Issue, current CVS/UnixWare 7.1.1
Date: 2001-05-27 21:33:29
Message-ID: 20010527163329.A9671@lerami.lerctr.org (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
I fixed it:

Index: describe.c
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/src/bin/psql/describe.c,v
retrieving revision 1.31
diff -c -r1.31 describe.c
*** describe.c	2001/05/09 17:57:42	1.31
--- describe.c	2001/05/27 21:32:27
***************
*** 925,935 ****
  	headers[cols] = NULL;
  
  	strcpy(buf,
! 		   "SELECT u.usename AS \"User Name\"\n
!                  , u.usesysid AS \"User ID\"\n
!                  , u.usesuper AS \"Super User\"\n
!                  , u.usecreatedb AS \"Create DB\"\n
!               FROM pg_user u\n");
  	if (name)
  	{
  		strcat(buf, "   WHERE u.usename ~ '^");
--- 925,935 ----
  	headers[cols] = NULL;
  
  	strcpy(buf,
! 		   "SELECT u.usename AS \"User Name\"\n"
!                  ", u.usesysid AS \"User ID\"\n"
!                  ", u.usesuper AS \"Super User\"\n"
!                  ", u.usecreatedb AS \"Create DB\"\n"
!               "FROM pg_user u\n");
  	if (name)
  	{
  		strcat(buf, "   WHERE u.usename ~ '^");
----- Forwarded message from Larry Rosenman <ler(at)lerctr(dot)org> -----

From: Larry Rosenman <ler(at)lerctr(dot)org>
Subject: Compile Issue, current CVS/UnixWare 7.1.1
Date: Sun, 27 May 2001 16:28:16 -0500
Message-ID: <20010527162816(dot)A8989(at)lerami(dot)lerctr(dot)org>
User-Agent: Mutt/1.3.18i
X-Mailer: Mutt http://www.mutt.org/
To: PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org>
Cc: PostgreSQL Bugs List <pgsql-bugs(at)postgresql(dot)org>

Just tried to update one of my dev boxes to 7.2devel...


cc -O -K inline -I../../../src/interfaces/libpq -I../../../src/include -I/usr/local/include  -c -o describe.o describe.c
UX:acomp: ERROR: "describe.c", line 928: newline in string literal
UX:acomp: ERROR: "describe.c", line 929: undefined symbol: u
UX:acomp: ERROR: "describe.c", line 929: undefined struct/union member: usesysid
UX:acomp: WARNING: "describe.c", line 929: left operand of "." must be struct/union object
UX:acomp: ERROR: "describe.c", line 929: Syntax error before or at: AS
UX:acomp: ERROR: "describe.c", line 929: invalid source character: '\'
UX:acomp: ERROR: "describe.c", line 929: newline in string literal
UX:acomp: ERROR: "describe.c", line 930: invalid source character: '\'
UX:acomp: ERROR: "describe.c", line 930: newline in string literal
UX:acomp: ERROR: "describe.c", line 931: invalid source character: '\'
UX:acomp: ERROR: "describe.c", line 931: newline in string literal
UX:acomp: ERROR: "describe.c", line 932: invalid source character: '\'
UX:acomp: ERROR: "describe.c", line 932: newline in string literal
UX:acomp: ERROR: "describe.c", line 939: Syntax error before or at: "ORDER BY \"User Name\"\n"
UX:acomp: WARNING: "describe.c", line 939: declaration missing specifiers: assuming "int"
UX:acomp: ERROR: "describe.c", line 939: identifier redeclared: strcat
UX:acomp: WARNING: "describe.c", line 941: declaration missing specifiers: assuming "int"
UX:acomp: ERROR: "describe.c", line 941: undefined symbol: buf
UX:acomp: WARNING: "describe.c", line 941: improper pointer/integer combination: arg #1
UX:acomp: WARNING: "describe.c", line 941: improper pointer/integer combination: op "="
UX:acomp: ERROR: "describe.c", line 941: non-constant initializer: op "CALL"
UX:acomp: ERROR: "describe.c", line 942: Syntax error before or at: if
UX:acomp: ERROR: "describe.c", line 942: syntax error, probably missing ",", ";" or "="
UX:acomp: ERROR: "describe.c", line 942: identifier redefined: res
UX:acomp: ERROR: "describe.c", line 942: cannot recover from previous errors
gmake[3]: *** [describe.o] Error 1
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/bin/psql'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/ler/pg-dev/pgsql/src/bin'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/ler/pg-dev/pgsql/src'
gmake: *** [all] Error 2

Configure input:

CC=cc CXX=CC ./configure  --prefix=/usr/local/pgsql --enable-syslog \
	--with-CXX --with-perl --enable-multibyte --enable-cassert \
	--with-includes=/usr/local/include --with-libs=/usr/local/lib \
	--with-tcl --with-tclconfig=/usr/local/lib \
	--with-tkconfig=/usr/local/lib  --enable-locale --with-python

Any ideas?

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

----- End forwarded message -----

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

pgsql-hackers by date

Next:From: Peter EisentrautDate: 2001-05-27 21:55:35
Subject: Re: [HACKERS] Compile Issue, current CVS/UnixWare 7.1.1
Previous:From: Larry RosenmanDate: 2001-05-27 21:28:16
Subject: Compile Issue, current CVS/UnixWare 7.1.1

pgsql-bugs by date

Next:From: Peter EisentrautDate: 2001-05-27 21:55:35
Subject: Re: [HACKERS] Compile Issue, current CVS/UnixWare 7.1.1
Previous:From: Larry RosenmanDate: 2001-05-27 21:28:16
Subject: Compile Issue, current CVS/UnixWare 7.1.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group