Problem to compiling with SunStudio

From: <monika(dot)koenig(at)bonn(dot)de>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Problem to compiling with SunStudio
Date: 2009-07-29 05:44:11
Message-ID: 7ED515972F38F740AAF07A10C46B8E320390A7F4@SV5883.intern.stadt-bn.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hey,

thanks for the answer, but I can't solve the problem....How can I tell Sunstdio to use the right path???

readline is a package with ist installed under /opt/sfw. Here are the paths /opt/sfw/include and /opt/sfw/lib which include readline. In which way must I change the configure-command?

Regards,

Monika König

-----Ursprüngliche Nachricht-----
Von: pgsql-admin-owner(at)postgresql(dot)org [mailto:pgsql-admin-owner(at)postgresql(dot)org] Im Auftrag von Tom Lane
Gesendet: Montag, 27. Juli 2009 16:31
An: König, Monika (62-24)
Cc: pgsql-admin(at)postgresql(dot)org
Betreff: Re: [ADMIN] Problem to compiling with SunStudio

<monika(dot)koenig(at)bonn(dot)de> writes:
> when I compile without Sunstudio, everythings goes well:
> ...
> How can I compile with SunStudio using readline???

IOW, readline is there and gcc finds it, but SunStudio doesn't.
I'd bet a nickel it's in /usr/local/. gcc is customarily configured to search /usr/local/include and /usr/local/lib automatically, but vendor cc's usually are not.

regards, tom lane

--
Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org) To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

_____________________________________

Bleiben Sie mit dem 'Bericht aus Bonn' auf dem Laufenden. Informationen aus dem Rathaus, Veranstaltungstipps und aktuelle Nachrichten jetzt im Abo, kostenlos!
http://www.bonn.de/service/newsletter/bonn_de/index.html?lang=de

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss.

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2009-07-29 07:15:53 Re: General queries regarding backup
Previous Message Kristopher Kiger 2009-07-28 19:20:12 Postgres/C'ish question