Re: Building pgeasy on HP-UX

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Building pgeasy on HP-UX
Date: 2003-06-18 21:42:18
Message-ID: 4513.1055972538@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ed L." <pgsql(at)bluepolka(dot)net> writes:
> Anyone know how to properly build pgeasy on HP-UX? It used to build
> seamlessly as part of pgsql. The build doc is pretty sparse.

> cc libpgeasy.o halt.o -L/opt/pgsql/installs/postgresql-7.3.2/lib -lpq -fpic
> -shared -Wl,-x,-soname,libpgeasy.so.3
> -Wl,-rpath,/opt/pgsql/installs/postgresql-7.3.2/lib -o libpgeasy.so.3.0
> cc: warning 422: Unknown option "f" ignored.

HP's cc does not use the same argument switches as gcc. -fpic and
-shared are definitely gcc-isms, and I think the -Wl stuff may be too.
Furthermore ".so" is not the way it's spelled in HPUX.

In short, you've got a gcc-only makefile there. If you have gcc
installed, the path of least resistance would be to use it not cc.
Otherwise you need to re-educate the makefile.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-06-18 21:48:44 Re: How indexes are updated
Previous Message Ernest E Vogelsinger 2003-06-18 21:39:34 Re: Linux supports hot-swappable hardware? [was Re: