Re: [COMMITTERS] pgsql/src/backend/utils/mb encnames.c

Поиск
Список
Период
Сортировка
Искать

Re: [COMMITTERS] pgsql/src/backend/utils/mb encnames.c

От:
Larry Rosenman <ler@lerctr.org>
Дата:
* Marc G. Fournier  [010907 10:06]:
> CVSROOT:	/home/projects/pgsql/cvsroot
> Module name:	pgsql
> Changes by:	scrappy@hub.org	01/09/07 11:01:45
> 
> Modified files:
> 	src/backend/utils/mb: encnames.c 
> 
> Log message:
> 	Remove variable length macros used in debugging, per Karel.

Now we die differently:

    -e "s,@configure@,$configure,g" \
    -e 's,@version@,7.2devel,g' \
  pg_config.sh >pg_config
chmod a+x pg_config
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/bin/pg_config'
gmake[3]: Entering directory `/home/ler/pg-dev/pgsql/src/bin/pg_encoding'
gmake -C ../../../src/interfaces/libpq all
gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/interfaces/libpq'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/interfaces/libpq'
cc -O -K inline -g -I../../../src/include -I/usr/local/include  -c -o pg_encoding.o pg_encoding.c
UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
cc -O -K inline -g pg_encoding.o -L../../../src/interfaces/libpq -lpq -L/usr/local/lib -Wl,-R/usr/local/pgsql/lib -lz -lresolv -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  -o pg_encoding
UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
Undefined			first referenced
symbol  			    in file
pg_valid_server_encoding            pg_encoding.o
UX:ld: ERROR: Symbol referencing errors. No output written to pg_encoding
gmake[3]: *** [pg_encoding] Error 1
gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/bin/pg_encoding'
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 \
	--enable-debug \
	--with-tcl --with-tclconfig=/usr/local/lib \
	--with-tkconfig=/usr/local/lib  --enable-locale --with-python
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

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

Re: [COMMITTERS] pgsql/src/backend/utils/mb encnames.c

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

I am seeing no failure here with enable-multibyte and enable-locale.
Can you update cvs, do a make clean, and try again.

> * Marc G. Fournier  [010907 10:06]:
> > CVSROOT:	/home/projects/pgsql/cvsroot
> > Module name:	pgsql
> > Changes by:	scrappy@hub.org	01/09/07 11:01:45
> > 
> > Modified files:
> > 	src/backend/utils/mb: encnames.c 
> > 
> > Log message:
> > 	Remove variable length macros used in debugging, per Karel.
> 
> Now we die differently:
> 
>     -e "s,@configure@,$configure,g" \
>     -e 's,@version@,7.2devel,g' \
>   pg_config.sh >pg_config
> chmod a+x pg_config
> gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/bin/pg_config'
> gmake[3]: Entering directory `/home/ler/pg-dev/pgsql/src/bin/pg_encoding'
> gmake -C ../../../src/interfaces/libpq all
> gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/interfaces/libpq'
> gmake[4]: Nothing to be done for `all'.
> gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/interfaces/libpq'
> cc -O -K inline -g -I../../../src/include -I/usr/local/include  -c -o pg_encoding.o pg_encoding.c
> UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
> cc -O -K inline -g pg_encoding.o -L../../../src/interfaces/libpq -lpq -L/usr/local/lib -Wl,-R/usr/local/pgsql/lib -lz -lresolv -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  -o pg_encoding
> UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
> Undefined			first referenced
> symbol  			    in file
> pg_valid_server_encoding            pg_encoding.o
> UX:ld: ERROR: Symbol referencing errors. No output written to pg_encoding
> gmake[3]: *** [pg_encoding] Error 1
> gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/bin/pg_encoding'
> 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 \
> 	--enable-debug \
> 	--with-tcl --with-tclconfig=/usr/local/lib \
> 	--with-tkconfig=/usr/local/lib  --enable-locale --with-python
> > 
> > 
> > ---------------------------(end of broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> 

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

Re: [COMMITTERS] pgsql/src/backend/utils/mb encnames.c

От:
Larry Rosenman <ler@lerctr.org>
Дата:
Still Fails here....

LER

* Bruce Momjian  [010907 11:27]:
> 
> I am seeing no failure here with enable-multibyte and enable-locale.
> Can you update cvs, do a make clean, and try again.
> 
> > * Marc G. Fournier  [010907 10:06]:
> > > CVSROOT:	/home/projects/pgsql/cvsroot
> > > Module name:	pgsql
> > > Changes by:	scrappy@hub.org	01/09/07 11:01:45
> > > 
> > > Modified files:
> > > 	src/backend/utils/mb: encnames.c 
> > > 
> > > Log message:
> > > 	Remove variable length macros used in debugging, per Karel.
> > 
> > Now we die differently:
> > 
> >     -e "s,@configure@,$configure,g" \
> >     -e 's,@version@,7.2devel,g' \
> >   pg_config.sh >pg_config
> > chmod a+x pg_config
> > gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/bin/pg_config'
> > gmake[3]: Entering directory `/home/ler/pg-dev/pgsql/src/bin/pg_encoding'
> > gmake -C ../../../src/interfaces/libpq all
> > gmake[4]: Entering directory `/home/ler/pg-dev/pgsql/src/interfaces/libpq'
> > gmake[4]: Nothing to be done for `all'.
> > gmake[4]: Leaving directory `/home/ler/pg-dev/pgsql/src/interfaces/libpq'
> > cc -O -K inline -g -I../../../src/include -I/usr/local/include  -c -o pg_encoding.o pg_encoding.c
> > UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
> > cc -O -K inline -g pg_encoding.o -L../../../src/interfaces/libpq -lpq -L/usr/local/lib -Wl,-R/usr/local/pgsql/lib -lz -lresolv -lgen -lld -lnsl -lsocket -ldl -lm -lreadline -ltermcap  -o pg_encoding
> > UX:cc: WARNING: debugging and optimization mutually exclusive; -O disabled
> > Undefined			first referenced
> > symbol  			    in file
> > pg_valid_server_encoding            pg_encoding.o
> > UX:ld: ERROR: Symbol referencing errors. No output written to pg_encoding
> > gmake[3]: *** [pg_encoding] Error 1
> > gmake[3]: Leaving directory `/home/ler/pg-dev/pgsql/src/bin/pg_encoding'
> > 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 \
> > 	--enable-debug \
> > 	--with-tcl --with-tclconfig=/usr/local/lib \
> > 	--with-tkconfig=/usr/local/lib  --enable-locale --with-python
> > > 
> > > 
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 4: Don't 'kill -9' the postmaster
> > 
> > -- 
> > Larry Rosenman                     http://www.lerctr.org/~ler
> > Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> > 
> 
> -- 
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 853-3000
>   +  If your life is a hard drive,     |  830 Blythe Avenue
>   +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

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