Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2010-03

installing on RHEL5 (libtinfo)

7 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bruce Bauman

I'm running CentOS 5.3 (x86_64), and want to install FPC 2.4 on my machine, preferably from an RPM, but I can't because of a failed dependency on libtinfo. I've found many references to this problem in the mailing lists, but am unsure of what the easiest solution is.

1) Can I install the FPC RPM with an option to ignore the missing dependency (--ignoredeps?)?
2) Is there a compatible RPM which contains libtinfo somewhere?
3) Is there an updated RPM for FPC 2.4.0 which removes the dependency?

Or, do I need to rebuild the RPM from source after removing the dependency?
Is it easier to rebuild from an SVN checkout of the correct branch, or should I use the original source RPM and rebuild from that?

Thanks for your advice.

-- Bruce
CONFIDENTIALITY NOTICE: This e-mail is confidential and intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please delete it from your computer and contact the sender.

Reply by email

Jonas Maebe
to Bruce Bauman
Bruce Bauman wrote
1) Can I install the FPC RPM with an option to ignore the missing dependency (--ignoredeps?)?

Probably, yes. The only thing that depends on that library is the text mode IDE. The compiler and all other utilities do not use it.

Jonas

Reply by email

Zaher Dirkey
to Zaher Dirkey
Zaher Dirkey wrote 10 lines
On Thu, Mar 4, 2010 at 3:52 PM, Jonas Maebe wrote: > --ignoredeps I have same problem on OpenSUSE 11.2, how i can install FPC 2.4.0 on it. -- Zaher Dirkey

I forced to install by
rpm -i --force --nodeps *.rpm

but the IDE not worked.

Thanks in advanced.

Zaher Dirkey

Reply by email

Juha Manninen
to Zaher Dirkey

Hello.

I forced to install by rpm -i --force --nodeps *.rpm but the IDE not worked.

Right. The text mode IDE is the only thing that doesn't work. Please use Lazarus instead as your IDE. :-)

I remember asking the same question earlier about libtinfo dependency. The answer was something like that there shouldn't be such dependencies any more. It seems to be still there.

Thanks in advanced.

You are welcome!

P.S.
I use OpenSUSE 11.2, too. Could you please, if you are not extremely busy, check if you can reproduce the problem in issue:
0015885: QT Combobox flickers when updating items list URL: http://bugs.freepascal.org/view.php?id=15885

The QT bindings maintainer is not able to reproduce it. I am already prepared to install the official (original) version of QT and a different window manager to see if the problem is related to OpenSuse tweaks.

Regards,
Juha Manninen

Reply by email

Zaher Dirkey
to Juha Manninen
Juha Manninen wrote 14 lines
P.S. I use OpenSUSE 11.2, too. Could you please, if you are not extremely busy, check if you can reproduce the problem in issue: 0015885: QT Combobox flickers when updating items list URL: http://bugs.freepascal.org/view.php?id=15885 The QT bindings maintainer is not able to reproduce it. I am already prepared to install the official (original) version of QT and a different window manager to see if the problem is related to OpenSuse tweaks.

I am new to Linux, i still fighting with it :), but i remember in WiCE slow devices there is a flikker when adding items even when use BeginUpdate/EndUpdate.

For win32/wince add/insert item ignore the UpdateState when recalc the height of combobox,

in \lcl\interfaces\win32\win32listsl.inc

procedure TWin32ComboBoxStringList.Insert(Index: integer; const S: string);
begin
  inherited Insert(Index, S);
  if GetCount = 1 then
    UpdateComboHeight;
end;

Thanks

Zaher Dirkey

Reply by email

Zaher Dirkey
to Juha Manninen: Hello. Right. The text mode IDE is the only thing that doesn't work. Please use Lazarus…
Juha Manninen wrote 16 lines
Hello. > I forced to install by > rpm -i --force --nodeps *.rpm > but the IDE not worked. Right. The text mode IDE is the only thing that doesn't work. Please use Lazarus instead as your IDE. :-) I remember asking the same question earlier about libtinfo dependency. The answer was something like that there shouldn't be such dependencies any more. It seems to be still there.

I resolved my problem,
download from this page
http://rpmfind.net/linux/rpm2html/search.php?query=libtinfo.so.5 ncurses-libs-5.7-3.20090207.fc12.i686.rpm<ftp://rpmfind.net/linux/fedora/releases/12/Everything/i386/os/Packages/ncurses-libs-5.7-3.20090207.fc12.i686.rpm> extract file
/lib/libtinfo.so.5.7
to you PC
/lib
and rename it by remove .7 to be libtinfo.so.5
and launch the FP

Thanks

Zaher Dirkey

Reply by email