Обсуждение: Re: [GENERAL] UnixWare chokes --- Resolution

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

Re: [GENERAL] UnixWare chokes --- Resolution

От
"Jun Zhang"
Дата:
After commented the line with "ecpg" (there is only one such line)
from the GNUmake file, the make all didn't go very far but ended with
the following message:

make -C utils all
make[1]: Entering directory `/home/humphrey/postgresql-6.4.2/src/utils'
cc -I../include -I../backend       -c version.c
UX:acomp: ERROR: "/usr/include/strings.h", line 20: identifier redeclared:
strca
secmp
UX:acomp: ERROR: "/usr/include/stdlib.h", line 169: identifier redeclared:
srand
om
make[1]: *** [version.o] Error 1
make[1]: Leaving directory `/home/humphrey/postgresql-6.4.2/src/utils'
make: *** [all] Error 2

I used 6.4.2 on UnixWare 2.1.3.

Jun

----------
> From: Thomas Good <tomg@admin.nrnet.org>
> To: Bruce Momjian <maillist@candle.pha.pa.us>
> Cc: pgsql-general@postgreSQL.org; scrappy@hub.org
> Subject: Re: [GENERAL] UnixWare chokes --- Resolution
> Date: Thursday, April 29, 1999 8:55 AM
>
> Bruce - by commenting ecpg out of the interfaces Makefile I got
> all of Postgres to compile and have successfully run initdb...
>
> As soon as I can resolve the IpcMemory errors I hope to have this
> thing going.
>
> Thanks for all of your help,
> Tom
> ----
>          North Richmond Community Mental Health Center
>
>          Thomas Good   Information Systems Coordinator
>          E-Mail:       tomg@ { admin | q8 } .nrnet.org
>          Phone:        718-354-5528
>          Fax:          718-354-5056
>
>                  Empowered by PostgreSQL 6.3.2
>
>

Re: [GENERAL] UnixWare chokes --- Resolution

От
Thomas Good
Дата:
On Thu, 29 Apr 1999, Jun Zhang wrote:

> After commented the line with "ecpg" (there is only one such line)
> from the GNUmake file, the make all didn't go very far but ended with
> the following message:

I'm sorry but I'm confused...you did *not* succeed in compiling?
I eventually did succeed and am now looking at increasing semaphores
and shared memory so that the d*mn IpcMemory errors take a hike.

I am no fan of UnixWare.  It was a real dance to get UUCP over TCP
working - and sendmail was also a week of fun.  It is hard for me to
believe that this was once ATT src code.  Of course, ATT never would
have released it in this state...that was done by Novell with an
encore by SCO.

I plan to get a pint (or three) and start on my kernel rebuild later.
(Expletive deleted) I thought BSD was the unix for kernel rebuilds
(based on the philosophy that the user should be able to build something
specially tailored to his/her needs).  System V kernels are supposed
to handle *any* eventuality.  Hah...

In the event I'm reading you correctly and your compilation failed:

Once I rm'd ecpg from the Makefile list in ./interfaces I was able
to compile and then install.  Next I added /usr/local/pgsql/lib
to LD_LIBRARY_PATH and I ran initdb.  Now I need to get the postmaster
fired up and that means more shared memory.

BTW, this is PG 6.3.2 on UW 2.1.2...

Good luck with your situation.  If I can do anything to help (send my
log notes, whatever) let me know.  I'd be willing to send binaries
if you like.

Cheers,
Tom

> make -C utils all
> make[1]: Entering directory `/home/humphrey/postgresql-6.4.2/src/utils'
> cc -I../include -I../backend       -c version.c
> UX:acomp: ERROR: "/usr/include/strings.h", line 20: identifier redeclared:
> strca
> secmp
> UX:acomp: ERROR: "/usr/include/stdlib.h", line 169: identifier redeclared:
> srand
> om
> make[1]: *** [version.o] Error 1
> make[1]: Leaving directory `/home/humphrey/postgresql-6.4.2/src/utils'
> make: *** [all] Error 2
>
> I used 6.4.2 on UnixWare 2.1.3.
>
> Jun
>
> ----------
> > From: Thomas Good <tomg@admin.nrnet.org>
> > To: Bruce Momjian <maillist@candle.pha.pa.us>
> > Cc: pgsql-general@postgreSQL.org; scrappy@hub.org
> > Subject: Re: [GENERAL] UnixWare chokes --- Resolution
> > Date: Thursday, April 29, 1999 8:55 AM
> >
> > Bruce - by commenting ecpg out of the interfaces Makefile I got
> > all of Postgres to compile and have successfully run initdb...
> >
> > As soon as I can resolve the IpcMemory errors I hope to have this
> > thing going.
> >
> > Thanks for all of your help,
> > Tom
> > ----
> >          North Richmond Community Mental Health Center
> >
> >          Thomas Good   Information Systems Coordinator
> >          E-Mail:       tomg@ { admin | q8 } .nrnet.org
> >          Phone:        718-354-5528
> >          Fax:          718-354-5056
> >
> >                  Empowered by PostgreSQL 6.3.2
> >
> >
>

----
         North Richmond Community Mental Health Center

         Thomas Good   Information Systems Coordinator
         E-Mail:       tomg@ { admin | q8 } .nrnet.org
         Phone:        718-354-5528
         Fax:          718-354-5056

                 Empowered by PostgreSQL 6.3.2