Re: [ADMIN] Still having problems on compiling PostgreSQL 6.5.3 on IRIX 6.5

Поиск
Список
Период
Сортировка
От Richard NAGY
Тема Re: [ADMIN] Still having problems on compiling PostgreSQL 6.5.3 on IRIX 6.5
Дата
Msg-id 38834AFA.EBB27AD4@presenceweb.com
обсуждение исходный текст
Ответ на Still having problems on compiling PostgreSQL 6.5.3 on IRIX 6.5  (Richard NAGY <richard@presenceweb.com>)
Список pgsql-admin
Sarah Officer wrote:

> I have installed version 6.5.3 on an SGI O2 running IRIX6.5.  Here
> is what 'uname -a' returns:
>         IRIX wasp 6.5 11051733 IP32
> I had a few problems with the prefix, and I don't remember why I set
> the --disable-shared flag, but here's how I configured:
>
> configure --prefix=$TOP/swl/IRIX6.5 \
>  --exec_prefix=$TOP/swl/IRIX6.5 --disable-shared --with-tcl \
>  --with-CC=cc
>
> I compiled:
>
> gmake COPT="-O2"
> gmake COPT="-O2" install
>
> The prefix & exec_prefix didn't do what I expected, and apparently I
> should have listed the path to for tcl on the with-tcl argument, but
> stuff compiled otherwise.  The configure script found the correct
> template by itself.  It looks like the main differences are that I
> disabled shared libraries and you turned off C++.  ??
>
> I hope this helps.
>
> Sarah Officer
> officers@aries.tucson.saic.com
>
>

Hello Sarah !
Thank you very much for your help.
I tried to append the "--disable-shared" flag to the configure command but I
always have the same error!
My uname -a returns : IRIX64 presence2 6.5 05190003 IP27
The (nearly) full output is :

/usr/local/bin/make lexverify
make[1]: Entering directory `/usr1/src/postgresql-6.5.3/src'
/usr/local/bin/make -C lextest all
make[2]: Entering directory `/usr1/src/postgresql-6.5.3/src/lextest'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr1/src/postgresql-6.5.3/src/lextest'
make[1]: Leaving directory `/usr1/src/postgresql-6.5.3/src'
/usr/local/bin/make -C utils all
make[1]: Entering directory `/usr1/src/postgresql-6.5.3/src/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr1/src/postgresql-6.5.3/src/utils'
/usr/local/bin/make -C backend all
make[1]: Entering directory `/usr1/src/postgresql-6.5.3/src/backend'
/usr/local/bin/make -C access all
make[2]: Entering directory `/usr1/src/postgresql-6.5.3/src/backend/access'
/usr/local/bin/make -C common  SUBSYS.o
make[3]: Entering directory
`/usr1/src/postgresql-6.5.3/src/backend/access/common'
cc -I../../../include -I../../../backend    -U_NO_XOPEN4 -I../..   -c
heaptuple.c -o heaptuple.o
No such feature exists (-5,116)

"../../../include/catalog/pg_attribute.h", line 42: error(1065): expected a
";"
  {
  ^

"../../../include/catalog/pg_attribute.h", line 77: warning(1012): parsing
          restarts here after previous syntax error
        int4            attnelems;
                                 ^

"../../../include/catalog/pg_attribute.h", line 118: error(1166): expected a
          declaration
  } FormData_pg_attribute;
  ^

"../../../include/catalog/pg_attribute.h", line 132: error(1020): identifier
          "FormData_pg_attribute" is undefined
  typedef FormData_pg_attribute *Form_pg_attribute;
          ^

"../../../include/catalog/pg_am.h", line 37: error(1065): expected a ";"
  {
  ^

"../../../include/catalog/pg_am.h", line 58: warning(1012): parsing restarts
          here after previous syntax error
        regproc         amcreate;
                                ^

"../../../include/catalog/pg_am.h", line 60: error(1166): expected a
          declaration
  } FormData_pg_am;
  ^

"../../../include/catalog/pg_am.h", line 67: error(1020): identifier
          "FormData_pg_am" is undefined
  typedef FormData_pg_am *Form_pg_am;
          ^

"../../../include/catalog/pg_class.h", line 54: error(1065): expected a ";"
  {
  ^

"../../../include/catalog/pg_class.h", line 75: warning(1012): parsing
          restarts here after previous syntax error
        int2            relfkeys;               /* # of FOREIGN KEYs */
                                ^

"../../../include/catalog/pg_class.h", line 80: error(1166): expected a
          declaration
  } FormData_pg_class;
  ^

"../../../include/catalog/pg_class.h", line 90: error(1020): identifier
          "FormData_pg_class" is undefined
  typedef FormData_pg_class *Form_pg_class;
          ^

"../../../include/catalog/pg_type.h", line 41: error(1065): expected a ";"
  {
  ^

"../../../include/catalog/pg_type.h", line 64: warning(1012): parsing
restarts
          here after previous syntax error
        char            typtype;
                               ^

"../../../include/catalog/pg_type.h", line 111: error(1166): expected a
          declaration
  } FormData_pg_type;
  ^

"../../../include/catalog/pg_type.h", line 118: error(1020): identifier
          "FormData_pg_type" is undefined
  typedef FormData_pg_type *Form_pg_type;
          ^

"heaptuple.c", line 60: error(1130): expression must have
          pointer-to-struct-or-union type
                data_length = att_align(data_length, att[i]->attlen,
att[i]->attalign);
                              ^

"heaptuple.c", line 60: error(1130): expression must have
          pointer-to-struct-or-union type
                data_length = att_align(data_length, att[i]->attlen,
att[i]->attalign);
                              ^

"heaptuple.c", line 60: error(1130): expression must have
          pointer-to-struct-or-union type
                data_length = att_align(data_length, att[i]->attlen,
att[i]->attalign);
                              ^
"heaptuple.c", line 61: error(1130): expression must have
          pointer-to-struct-or-union type
                data_length = att_addlength(data_length, att[i]->attlen,
value[i]);
                              ^

"heaptuple.c", line 61: error(1130): expression must have
          pointer-to-struct-or-union type
                data_length = att_addlength(data_length, att[i]->attlen,
value[i]);
                              ^

"heaptuple.c", line 116: error(1130): expression must have
          pointer-to-struct-or-union type
                data = (char *) att_align((long) data, att[i]->attlen,
att[i]->attalign);
                                ^

"heaptuple.c", line 116: error(1130): expression must have
          pointer-to-struct-or-union type
                data = (char *) att_align((long) data, att[i]->attlen,
att[i]->attalign);
                                ^
"heaptuple.c", line 116: error(1130): expression must have
          pointer-to-struct-or-union type
                data = (char *) att_align((long) data, att[i]->attlen,
att[i]->attalign);
                                ^

"heaptuple.c", line 117: error(1130): expression must have
          pointer-to-struct-or-union type
                switch (att[i]->attlen)
                        ^

"heaptuple.c", line 125: error(1130): expression must have
          pointer-to-struct-or-union type
                                *data = att[i]->attbyval ?
                                        ^

"heaptuple.c", line 129: error(1130): expression must have
          pointer-to-struct-or-union type
                                *(short *) data = (att[i]->attbyval ?
                                                   ^

"heaptuple.c", line 134: error(1130): expression must have
          pointer-to-struct-or-union type
                                *(int32 *) data = (att[i]->attbyval ?
                                                   ^

"heaptuple.c", line 140: error(1130): expression must have
          pointer-to-struct-or-union type
                                                att[i]->attlen);
                                                ^

"heaptuple.c", line 143: error(1130): expression must have
          pointer-to-struct-or-union type
                data = (char *) att_addlength((long) data, att[i]->attlen,
value[i]);
                                ^

"heaptuple.c", line 143: error(1130): expression must have
          pointer-to-struct-or-union type
                data = (char *) att_addlength((long) data, att[i]->attlen,
value[i]);
                                ^

"heaptuple.c", line 424: error(1130): expression must have
          pointer-to-struct-or-union type
                if (att[attnum]->attcacheoff != -1)
                    ^

"heaptuple.c", line 426: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[attnum]),
                                       ^

"heaptuple.c", line 426: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[attnum]),
                                       ^

"heaptuple.c", line 426: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[attnum]),
                                       ^

"heaptuple.c", line 426: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[attnum]),
                                       ^

"heaptuple.c", line 426: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[attnum]),
                                       ^

"heaptuple.c", line 426: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[attnum]),
                                       ^

"heaptuple.c", line 426: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[attnum]),
                                       ^
"heaptuple.c", line 426: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[attnum]),
                                       ^

"heaptuple.c", line 430: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[0]), tp);
                                       ^

"heaptuple.c", line 430: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[0]), tp);
                                       ^

"heaptuple.c", line 430: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[0]), tp);
                                       ^

"heaptuple.c", line 430: error(1130): expression must have
          pointer-to-struct-or-union type
                        return (Datum) fetchatt(&(att[0]), tp);
                                       ^

"heaptuple.c", line 441: error(1130): expression must have
          pointer-to-struct-or-union type
                                if (att[j]->attlen < 1 &&
!VARLENA_FIXED_SIZE(att[j]))
                                    ^

"heaptuple.c", line 441: error(1130): expression must have
          pointer-to-struct-or-union type
                                if (att[j]->attlen < 1 &&
!VARLENA_FIXED_SIZE(att[j]))
                                                           ^

"heaptuple.c", line 441: error(1130): expression must have
          pointer-to-struct-or-union type
                                if (att[j]->attlen < 1 &&
!VARLENA_FIXED_SIZE(att[j]))
                                                           ^
"heaptuple.c", line 465: error(1130): expression must have
          pointer-to-struct-or-union type
                att[0]->attcacheoff = 0;
                ^

"heaptuple.c", line 467: error(1130): expression must have
          pointer-to-struct-or-union type
                while (att[j]->attcacheoff > 0)
                       ^

"heaptuple.c", line 470: error(1130): expression must have
          pointer-to-struct-or-union type
                if (!VARLENA_FIXED_SIZE(att[j - 1]))
                     ^

"heaptuple.c", line 470: error(1130): expression must have
          pointer-to-struct-or-union type
                if (!VARLENA_FIXED_SIZE(att[j - 1]))
                     ^

"heaptuple.c", line 471: error(1130): expression must have
          pointer-to-struct-or-union type
                        off = att[j - 1]->attcacheoff + att[j - 1]->attlen;
                              ^

"heaptuple.c", line 471: error(1130): expression must have
          pointer-to-struct-or-union type
                        off = att[j - 1]->attcacheoff + att[j - 1]->attlen;
                                                        ^

"heaptuple.c", line 473: error(1130): expression must have
          pointer-to-struct-or-union type
                        off = att[j - 1]->attcacheoff + att[j -
1]->atttypmod;
                              ^

"heaptuple.c", line 473: error(1130): expression must have
          pointer-to-struct-or-union type
                        off = att[j - 1]->attcacheoff + att[j -
1]->atttypmod;
                                                        ^
"heaptuple.c", line 478: error(1130): expression must have
          pointer-to-struct-or-union type
                          att[j]->attcacheoff == -1 &&
                          ^

"heaptuple.c", line 481: error(1130): expression must have
          pointer-to-struct-or-union type
                           att[j]->attlen > 0 ||
VARLENA_FIXED_SIZE(att[j]))); j++)
                           ^

"heaptuple.c", line 481: error(1130): expression must have
          pointer-to-struct-or-union type
                           att[j]->attlen > 0 ||
VARLENA_FIXED_SIZE(att[j]))); j++)
                                                 ^

"heaptuple.c", line 481: error(1130): expression must have
          pointer-to-struct-or-union type
                           att[j]->attlen > 0 ||
VARLENA_FIXED_SIZE(att[j]))); j++)
                                                 ^

"heaptuple.c", line 525: error(1130): expression must have
          pointer-to-struct-or-union type
                        if (usecache && att[i]->attcacheoff != -1)
                                        ^
(...)

"heaptuple.c", line 755: error(1130): expression must have
          pointer-to-struct-or-union type
                        value[attoff] = heap_getattr(tuple,
                                        ^

97 errors detected in the compilation of "heaptuple.c".
make[3]: *** [heaptuple.o] Error 2
make[3]: Leaving directory
`/usr1/src/postgresql-6.5.3/src/backend/access/common'
make[2]: *** [submake] Error 2
make[2]: Leaving directory `/usr1/src/postgresql-6.5.3/src/backend/access'
make[1]: *** [access.dir] Error 2
make[1]: Leaving directory `/usr1/src/postgresql-6.5.3/src/backend'
make: *** [all] Error 2



I'm going crazy!
I have compiled PostgreSQL 6.5.1 with JAVA and JDBC on Linux on an i686
without any problems but on our IRIX .....!

Is your file template/irix5 the original one ?

Greetings.
--
Richard NAGY




В списке pgsql-admin по дате отправления:

Предыдущее
От: Sarah Officer
Дата:
Сообщение: Re: [ADMIN] Still having problems on compiling PostgreSQL 6.5.3 on IRIX 6.5
Следующее
От: Christophe Phan-Chan
Дата:
Сообщение: how to capture the flow between a postmaster and other client with a java server program