QNX : POSSIBLE BUG IN CONFIGURE ?

From: "Maurizio" <maurizio(dot)c(at)libero(dot)it>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: QNX : POSSIBLE BUG IN CONFIGURE ?
Date: 2001-04-02 09:29:05
Message-ID: 003e01c0bb57$5f0e5ea0$7394fea9@maurizio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all

As I posted few days ago I started checking postgresql 7.1RC1 in QNX 4.25. The last I checked was 7.1b3.

the problem is :

when I execute configure it recognize the executable suffix as .map and this is not right. And the test program fails.
If I try the same in 7.1b3 all works good.

Then I tried to modify configure :
line 1472
*.c | *.o | *.obj | *.map) ;; // I added *.map

With this all works. I can compile but when I run initdb it crashes. this is the output file
---------------
Running with debug mode on.

Initdb variables:
PGDATA=/usr/local/pgsql/data1
datadir=/usr/local/pgsql/share
PGPATH=//1/usr/local/pgsql/bin
TEMPFILE=/tmp/initdb.25146
MULTIBYTE=
MULTIBYTEID=0
POSTGRES_SUPERUSERNAME=maurizio
POSTGRES_SUPERUSERID=100
TEMPLATE1_BKI=/usr/local/pgsql/share/template1.bki
GLOBAL_BKI=/usr/local/pgsql/share/global.bki
TEMPLATE1_DESCR=/usr/local/pgsql/share/template1.description
GLOBAL_DESCR=/usr/local/pgsql/share/global.description
POSTGRESQL_CONF_SAMPLE=/usr/local/pgsql/share/postgresql.conf.sample
PG_HBA_SAMPLE=/usr/local/pgsql/share/pg_hba.conf.sample
PG_IDENT_SAMPLE=/usr/local/pgsql/share/pg_ident.conf.sample
This database system will be initialized with username "maurizio".
This user will own all the data files and must also own the server process.

Creating directory /usr/local/pgsql/data1
Creating directory /usr/local/pgsql/data1/base
Creating directory /usr/local/pgsql/data1/global
Creating directory /usr/local/pgsql/data1/pg_xlog
Creating template1 database in /usr/local/pgsql/data1/base/1
Running: //1/usr/local/pgsql/bin/postgres -boot -x1 -C -F -D/usr/local/pgsql/data1 -d template1
DEBUG: database system was shut down at 2001-04-02 10:59:31 cest
DEBUG: CheckPoint record at (0, 8)
DEBUG: Redo record at (0, 8); Undo record at (0, 8); Shutdown TRUE
DEBUG: NextTransactionId: 514; NextOid: 16384
DEBUG: database system is in production state
<proname name>
<proowner int4>
<prolang oid>
<proisinh bool>
<proistrusted bool>
<proiscachable bool>
<proisstrict bool>
<pronargs int2>
<proretset bool>
<prorettype oid>
<proargtypes oidvector>
<probyte_pct int4>
<properbyte_cpu int4>
<propercall_cpu int4>
<prooutin_ratio int4>
<prosrc text>
<probin bytea>

> creating bootstrap relation
bootstrap relation created ok
> Commit End
tuple 1242<Inserting value: 'boolin'
Typ == NULL, typeindex = 3 idx = 0
boolin End InsertValue
Inserting value: '100'
Typ == NULL, typeindex = 6 idx = 1
100 End InsertValue
Inserting value: '12'
Typ == NULL, typeindex = 9 idx = 2
12 End InsertValue
Inserting value: 'f'
Typ == NULL, typeindex = 0 idx = 3
f End InsertValue
Inserting value: 't'
Typ == NULL, typeindex = 0 idx = 4
t End InsertValue
Inserting value: 't'
Typ == NULL, typeindex = 0 idx = 5
t End InsertValue
Inserting value: 't'
Typ == NULL, typeindex = 0 idx = 6
t End InsertValue
Inserting value: '1'
Typ == NULL, typeindex = 4 idx = 7
1 End InsertValue
Inserting value: 'f'
Typ == NULL, typeindex = 0 idx = 8
f End InsertValue
Inserting value: '16'
Typ == NULL, typeindex = 9 idx = 9
16 End InsertValue
Inserting value: '0'
Typ == NULL, typeindex = 13 idx = 10
End InsertValue
Inserting value: '100'
Typ == NULL, typeindex = 6 idx = 11
100 End InsertValue
Inserting value: '0'
Typ == NULL, typeindex = 6 idx = 12
0 End InsertValue
Inserting value: '0'
Typ == NULL, typeindex = 6 idx = 13
0 End InsertValue
Inserting value: '100'
Typ == NULL, typeindex = 6 idx = 14
100 End InsertValue
Inserting value: 'boolin'
Typ == NULL, typeindex = 8 idx = 15
boolin End InsertValue
Inserting value: '-'
Typ == NULL, typeindex = 1 idx = 16
- End InsertValue
Insert Begin
InsertOneTuple oid 1242, 17 attrs
---------------------

I don't know how configure works but from 7.1b3 to 7.1RC1 something was changed in it and I think this is the problem in QNX.

I also checked my coimpiler but I can compile all but the last postgresql version.

Could You help me ?

Thanks.

Maurizio Cauci
DREAMTECH di Cauci Maurizio
Via Ronchetti, 2 - 21013 Gallarate (VA)
www.dreamtech-it.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak 2001-04-02 10:08:07 Re: plpython for postgres 7.1
Previous Message Michael Meskes 2001-04-02 08:19:24 CVS commits