Re: Building pgeasy on HP-UX

From: Bruce Momjian <pgman(at)candle(dot)pha(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 19:01:17
Message-ID: 200306181901.h5IJ1He22212@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I think you have to use the flags used to compile an ordinary library,
or use the flags used to build libpq. My guess is that cc doesn't
understand -fpic in this situation.

When pgeasy was part of the main distribution, you had configure finding
the proper flags, but now, each interface is on its own.

---------------------------------------------------------------------------

Ed L. wrote:
> 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.
>
>
> # gmake
> ...
> 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.
> cc: warning 422: Unknown option "i" ignored.
> cc: warning 422: Unknown option "h" ignored.
> cc: warning 422: Unknown option "a" ignored.
> cc: warning 401: "-s" defeats the purpose of "-p"; "-s" ignored.
> # gmake install
> install libpgeasy.so.3.0 /opt/pgsql/installs/postgresql-7.3.2/lib
> install: libpgeasy.so.3.0 was not found anywhere!
> gmake: *** [install] Error 2
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message matt 2003-06-18 19:27:12 Re: PostgreSQL calibration
Previous Message scott.marlowe 2003-06-18 19:00:48 Re: PostgreSQL alternative to "Oracle Real Application