Welcome to WebmasterWorld Guest from 50.16.24.12

Forum Moderators: bakedjake

Readline.h

Missing?

   
3:49 am on Aug 11, 2006 (gmt 0)

5+ Year Member



What does it mean if my readline.h library cannot be detected by the system? My PostgreSQL installation fails because it cannot locate the readline library properly. But when I look it up, it is there. Only its last update was 2001, while all the other libraries are updated 2002. What does that mean? I have ran all the readline*.rpm's I can find in my cd, and all the other readline*.src.rpm's, I cannot install, what does this mean. I need the readline.
7:07 am on Aug 11, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you installing PostgreSQL using the .rpm that shipped on your distro CDs?

If not, why not?

7:55 am on Aug 11, 2006 (gmt 0)

5+ Year Member



Thanks, I have to ask that myself. I do not know. I am just, however very near finishing installing it. I've actually made it run and start a service, but now, I can't. For some reason it's busted and the service won't start for some reason.

The only thing in my distro CD is the 7.1.3-2 libs for Postgresql. Are there any postgresql rpms from postgresql.org's site? That's where I got the sources. It is rather troublesome actually to install PostgreSQL from the sources.

If I cannot find any from postgresql.org's where might I find one?

8:42 am on Aug 11, 2006 (gmt 0)

10+ Year Member



You can find RPMs for some distributions at [postgresql.org...] , though it sounds like you have an older distribution and you might have trouble getting them to work. Theoretically you should be able to build from source without problems though.

Readline is required by the command line client program psql; you can build it without readline however, just add --without-readline to the configure options.

9:39 am on Aug 11, 2006 (gmt 0)

5+ Year Member



ZCat, I believe you. I wouldn't have troubles building from source if my gcc and all its libraries were installed properly from the start. However, it wasn't. Now I'm just pissed off I decided to use Fedora Core 4 where rpms are plenty.

I actually managed to finish the installation of Postgresql and even managed to make it run. But when I rebooted my system, voila! When I type 'service postgresql start', nothing happens. But anyways, it's fine. I believe I wouldn't have troubles if I have sticked with Fedora Core 4 from start, especially since I am such a novice on Linux.

9:31 am on Aug 13, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



troubles building from source if my gcc and all its libraries

IMHO development tools such as gcc don't belong on a production machine at all. Updating stuff built from sources is a major pain.

Surely you should pick a distribution that comes with the packages you need?

What distro are you using? If it doesn't come with pgsql I'd advise you to switch to one that does :-(

9:55 am on Aug 14, 2006 (gmt 0)

5+ Year Member



I have done as much as switching to a better distro, FC4, the only thing available to me today. I managed to install the latest PostgresSQL version via rpms. I got troubles however when I was trying to connect to the server via PgAdmin or EMS SQL Manager (those fancy GUI clients which needs you to have the tcl enabled). I think the problem is I don't have the tclConfig.sh. But I cannot determine whether I should just grab it from another server and paste on this one.

And, oh, this is not a production machine.

 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month