Newbie question, installing hugs on redhat 7.2

I'm trying to install the current version of hugs on a red hat 7.1 system (running on VMWare 2.0.1 on top of Win 2K). I downloaded the file hugs98-Dec2001-1.i386.rpm onto the freshly-installed red hat 7.1 (no other software has been installed). It complains that libreadline.so.4 is needed. The system has the package readline-4.1-9 installed which provides libreadline.so.4.1. It appears to require exactly libreadline.so.4 (not >= 4). So, I tried uninstalling readline-4.1-9 so as to install the older package but it complained (unsurprisingly) that lots of packages rely on readline so it wouldn't erase it. I could try a --force with the erase but that seems a tad drastic. Does anyone know a workaround for this, or please tell me if I'm just doing something stupid. Thanks! Simon Handley Palo Alto, CA, USA __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com

S H
I downloaded the file hugs98-Dec2001-1.i386.rpm onto the freshly-installed red hat 7.1 (no other software has been installed). It complains that libreadline.so.4 is needed. The system has the package readline-4.1-9 installed which provides libreadline.so.4.1. It appears to require exactly libreadline.so.4 (not >= 4).
Try making a symbolic link from libreadline.so.4 to libreadline.so.4.1, i.e. cd /usr/lib; ln -s libreadline.so.4.1 libreadline.so.4 Regards, Malcolm

Does anyone know a workaround for this, or please tell me if I'm just doing something stupid.
It sounds like there's a problem in the RPM package since Hugs itself isn't that fussy. You could install Hugs from source yourself. 1) Download the tarfile from http://haskell.org/hugs 2) Untar it 3) cd hugs98/src/unix ./configure --prefix=$HOME --with-readline cd .. make install This should significantly less than 5 minutes. -- Alastair Reid alastair@reid-consulting-uk.ltd.uk Reid Consulting (UK) Limited http://www.reid-consulting-uk.ltd.uk/alastair/

On Monday 19 August 2002 04:33 am, Alastair Reid wrote:
Does anyone know a workaround for this, or please tell me if I'm just doing something stupid.
It sounds like there's a problem in the RPM package since Hugs itself isn't that fussy. You could install Hugs from source yourself.
Alternate approach, which works in general for RPM, assuming you have access to src packages: Download the src RPM from the hugs web page http://cvs.haskell.org/Hugs/downloads/hugs98-Dec2001-1.src.rpm Then, rebuild the package. This will cause the dependencies to be calculated based on what you have on your machine. # rpm --rebuild hugs98-Dec2001-1.src.rpm # rpm -Uvh /usr/src/redhat/RPMS/i386/hugs98-Dec2001-1.i386.rpm (Newly built packages get dumped in /usr/src/redhat/RPMS, you can change that directory, but it's probably not worth it for a one-off) --Jeff
participants (4)
-
Alastair Reid
-
Jeffrey R Lewis
-
Malcolm Wallace
-
S H