Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Fedora Core 5: idb -gui fails

kraft
Beginner
1,245 Views
Hi,

under Fedora Core 5 and intel fortran 9.0 and 9.1 beta
idb -gui
complains for not being able to loading libXft.so.1
(Core 5 provides libXft.so.2 in /usr/lib)
after installing libXft.so.1 from Core 4 in /usr/X11R6/lib
it works but no fonts are shown.
Trying to install fonts from Core 4 I get
dependency conflicts.

What can I do?
Thanks
Dieter
0 Kudos
7 Replies
Steven_L_Intel1
Employee
1,245 Views
FC5 is not a supported or tested distribution. Unfortunately, each new version of FC seems to break something... (just like about every other Linux distro) I suggest that you send a support request to Intel Premier Support where idb experts will investigate.
0 Kudos
joe_krahn
Beginner
1,245 Views
FC4 also has libXft.so.2, so it seems that a workaround may be possible. It is probably a problem with a dependent library, not a need to install fonts. But, it may require a new build of libXft.so.1.

It's not specific to Intel. Maybe someone will build a 'compat' libXft.so.1. I will install FC5 soon, so I may have to figure this out as well.
0 Kudos
a_coluccelli
Beginner
1,245 Views
Hi. I have done a little workaround to install idb on FC5, through the conversion of Debian package libXft1 to RPM. It seems Fedora Core does not release libXft1 anymore, so I tried to search from other distro. Here is the details:
1. download the debian package from http://packages.debian.org/stable/libs/libxft1. I downloaded the i386 stable version libxft1_4.3.0.dfsg.1-14sarge1_i386.deb
2. download and install a software to convert deb to rpm. I used Alien 8.64 (http://packages.debian.org/unstable/source/alien) compiled from source. It simply requires perl and rpmbuild installed.
3. convert deb to rpm: alien -r libxft1_4.3.0.dfsg.1-14sarge1_i386.deb
4. install the resulting rpm: rpm -Uvh libxft1-4.3.0.dfsg.1-15.i386.rpm
5. install the Intel debugger... it should be ok, now!
0 Kudos
kraft
Beginner
1,245 Views
Hi,
Thanks for your workaround;
after implementing it, libexpat.so.1 was not found.
Therefore I did the same with libexpat1_1.95.8-3_i386.deb
Then the gui showed up but the fonts had only "placeholders"

When I cut and paste these ("placeholders" or outlines), I get the correct information,
e.g.
The debugger is not managing a process right now, or it is loading one.
or
program msqpopt
implicit none
integer :: i, j, m, n, meq, mode, iter, exmp, ex0, exf, ktrace, &
idf, idg, imode, iout, iout_tex, maxitn, iopt, ip
logical lprint, mysqp, tprint
integer, parameter :: nmax = 10, mmax = 11, lw = nmax*(nmax+1)/2+15*mmax
real(8) :: dnrm2, dx, f, featol, opttol, acc, acc1, acc2a, acc2r, acc3
real(8), dimension(nmax) :: g, x, xl, xu, xs, change
real(8), dimension(mmax) :: c, acc3t

etc.

Can you give some further hint, please.
Thanks
Dieter
0 Kudos
umar
Beginner
1,245 Views
I simply create a logical link:

ln -s /usr/lib/libXft.so.2 /usr/lib/libXft.so.1

on FC5, which solved my problem!
0 Kudos
kraft
Beginner
1,245 Views
Joe Krahn wrote:
I forgot what the actual problem was. In general, it is a case of getting the right shared library version, or recompiling against a new shared library. If you need help, send me a description of the problem, and I will try to give some advice.
http://softwareforums.intel.com/en-us/forums//topic/43732
I installed libxft.so.1 and libexpat.so.1 and I got the gui of idb
but only outlined fonts (boxes)
when I cut and paste these into an editor they give the correct text
see attached jpeg file
Dieter
0 Kudos
andreasvelten
Beginner
1,245 Views
from umar@compsci.cas.vande:
I simply create a logical link:

ln -s /usr/lib/libXft.so.2 /usr/lib/libXft.so.1

on FC5, which solved my problem!
----------------------------------------
It worked for me too. The install script still fails but you can install the idb rpm from the data subdirectory with
#rpm -ivh --nodeps

0 Kudos
Reply