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

7.4RC1 failed to build on Linux

From: Kenji Sugita <sugita(at)srapc1327(dot)sra(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: 7.4RC1 failed to build on Linux
Date: 2003-11-04 02:00:57
Message-ID: 20031104.110057.74744662.sugita@srapc1327.sra.co.jp (view raw or flat)
Thread:
Lists: pgsql-hackers
  Failed to build on Linux.
  
$ uname -mrp
2.2.18-0ph1smp i686 unknown
$ uname -mr 
2.2.18-0ph1smp i686
$ cat /etc/redhat-release 
Red Hat Linux release 6.2 (Zoot)
$ gcc --version
2.95.3
$ cat ../myconf 
#!/bin/sh

CFLAGS=-O2 ./configure                  \
    --with-tcl                          \
    --without-tk                        \
    --prefix=/opt/pgsql/7.4RC1          \
    --enable-integer-datetimes
$ ../myconf 2>&1 | tee myconf.out
...
$ time make 2>&1 | tee make.out
...
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations pgtclAppInit.o -L../../../src/interfaces/libpgtcl -lpgtcl -L../../../src/interfaces/libpq -lpq -L/usr/lib -ltcl8.0jp -ldl  -lieee -lm -L../../../src/port  -Wl,-rpath,/opt/pgsql/7.4RC1/lib -lz -lreadline -lcrypt -lresolv -lnsl -ldl -lm -lbsd  -lpgport -o pgtclsh
../../../src/interfaces/libpgtcl/libpgtcl.so: undefined reference to `Tcl_NewByteArrayObj'
../../../src/interfaces/libpgtcl/libpgtcl.so: undefined reference to `Tcl_GetByteArrayFromObj'
collect2: ld returned 1 exit status
make[3]: *** [pgtclsh] Error 1
make[3]: Leaving directory `/usr/local/pgsql/7.4RC1/build/src/bin/pgtclsh'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/pgsql/7.4RC1/build/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/pgsql/7.4RC1/build/src'
make: *** [all] Error 2
Command exited with non-zero status 2
206.91user 12.52system 3:39.38elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (523032major+569611minor)pagefaults 0swaps
$ 
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations pgtclAppInit.o -L../../../src/interfaces/libpgtcl -lpgtcl -L../../../src/interfaces/libpq -lpq -L/usr/lib -ltcl8.0jp -ldl  -lieee -lm -L../../../src/port  -Wl,-rpath,/opt/pgsql/7.4RC1/lib -lz -lreadline -lcrypt -lresolv -lnsl -ldl -lm -lbsd  -lpgport -o pgtclsh
../../../src/interfaces/libpgtcl/libpgtcl.so: undefined reference to `Tcl_NewByteArrayObj'
../../../src/interfaces/libpgtcl/libpgtcl.so: undefined reference to `Tcl_GetByteArrayFromObj'
collect2: ld returned 1 exit status
make[3]: *** [pgtclsh] Error 1
make[3]: Leaving directory `/usr/local/pgsql/7.4RC1/build/src/bin/pgtclsh'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/pgsql/7.4RC1/build/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/pgsql/7.4RC1/build/src'
make: *** [all] Error 2
Command exited with non-zero status 2
206.91user 12.52system 3:39.38elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (523032major+569611minor)pagefaults 0swaps
$ 


Kenji Sugita                                      

Responses

pgsql-hackers by date

Next:From: Marc G. FournierDate: 2003-11-04 02:33:02
Subject: Re: 7.4RC1 failed to build on Linux
Previous:From: Marc G. FournierDate: 2003-11-04 00:51:51
Subject: Re: 7.4RC1 tag'd, branched and bundled ...

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