Unix Technical Forum

Re: Readline, Postgresql and Solaris

This is a discussion on Re: Readline, Postgresql and Solaris within the pgsql Novice forums, part of the PostgreSQL category; --> "Garcia, Joshua" <Joshua.Garcia@xerox.com> writes: >> Just as a hint, configure needs to find both the include files and the ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 11:06 PM
Tom Lane
 
Posts: n/a
Default Re: Readline, Postgresql and Solaris

"Garcia, Joshua" <Joshua.Garcia@xerox.com> writes:
>> Just as a hint, configure needs to find both the include files and the
>> readline library file. You may need to specify --with-includes and/or
>> --with-libraries to get the compiler to look in the right place, if
>> you didn't install readline into the "standard" directories /usr/include
>> and /usr/lib.


> Hmm...when I installed readline I only did a ./configure and a 'make
> install.' I don't know how else to make it install to the standard
> directories


Its default is probably to install in /usr/local/include and
/usr/local/lib. gcc is usually configured to search those directories
by default, but most vendor cc's aren't. Try saying
--with-includes=/usr/local/include etc.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 11:06 PM
Garcia, Joshua
 
Posts: n/a
Default Re: Readline, Postgresql and Solaris

Thanks. That fixed the readline problem. I ended up getting another
problem. So I gave up trying to install to non-default directories and
just switched to root and installed that way. That all worked.

Thanks again,
Josh

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Friday, August 11, 2006 9:06 AM
To: Garcia, Joshua
Cc: pgsql-novice@postgresql.org
Subject: Re: [NOVICE] Readline, Postgresql and Solaris

"Garcia, Joshua" <Joshua.Garcia@xerox.com> writes:
>> Just as a hint, configure needs to find both the include files and

the
>> readline library file. You may need to specify --with-includes

and/or
>> --with-libraries to get the compiler to look in the right place, if
>> you didn't install readline into the "standard" directories

/usr/include
>> and /usr/lib.


> Hmm...when I installed readline I only did a ./configure and a 'make
> install.' I don't know how else to make it install to the standard
> directories


Its default is probably to install in /usr/local/include and
/usr/local/lib. gcc is usually configured to search those directories
by default, but most vendor cc's aren't. Try saying
--with-includes=/usr/local/include etc.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:17 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com