LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2007, 12:10 PM   #1
rainman4_8
LQ Newbie
 
Registered: Nov 2003
Location: washington
Distribution: still looking
Posts: 16

Rep: Reputation: 0
Why i hate linux - dependency hell


Started this morning out wanting to use Rdesktop so i could start working more on my linux box.

Linux Redhat ES

The Rdesktop.rpm required Cairo. After a long string of downloading one file then another here is what I have:



ATK-1.9.1 (installed)
bzr-0.14 (installed)
cairo-1.2.6 (failed, required front-end Fontconfig and freetype)
fontconfig-2.3.2 (failed, compile error see below)
glib-2.6.6 (installed)
gtk+-2.6.9 (pending other dependencies)
jpeg-6b (installed)
libpng-1.2.8 (installed)
pango-1.8.2 (installed)
pkg-config-0.21 (installed)
tiff-3.7.4 (installed)



So the first question, is there an easier way then downloading each individual package above? I would download one, try to install it and find out i needed another one. Major PITA!!!

At this point I'm stuck. I can't install free type due to a compilcation error which is preventing me from installing Cairo, and thus GTK, and finally rdesktop (where I started 2 hrs. ago).


Here is the compile error. Obviously i'm not an expert user so if there's additional information that i should provide please let me know.


Thanks,
James


./configure is fine
make results with below:

(i just copied the bottom of the output, let me know if you need more)

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/freetype2 -I/usr/local/include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DFONTCONFIG_PATH=\"/usr/local/etc/fonts\" -I.. -I../src -g -O2 -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c -fPIC -DPIC -o .libs/fcfreetype.o
fcfreetype.c:53:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:58:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:59:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:60:10: #include expects "FILENAME" or <FILENAME>
fcfreetype.c: In function `FcGetPixelSize':
fcfreetype.c:953: error: dereferencing pointer to incomplete type
fcfreetype.c: In function `FcFreeTypeQuery':
fcfreetype.c:1430: error: dereferencing pointer to incomplete type
fcfreetype.c:1437: error: dereferencing pointer to incomplete type
fcfreetype.c:1460: error: dereferencing pointer to incomplete type
fcfreetype.c:1540: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: warning: implicit declaration of function `FT_MODULE_CLASS'
fcfreetype.c:1557: warning: nested extern declaration of `FT_MODULE_CLASS'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1557: error: dereferencing pointer to incomplete type
fcfreetype.c:1557: error: invalid type argument of `->'
fcfreetype.c:1594: error: dereferencing pointer to incomplete type
fcfreetype.c:1604: error: dereferencing pointer to incomplete type
fcfreetype.c: In function `GetScriptTags':
fcfreetype.c:2698: error: `TT_Face' undeclared (first use in this function)
fcfreetype.c:2698: error: (Each undeclared identifier is reported only once
fcfreetype.c:2698: error: for each function it appears in.)
fcfreetype.c:2698: error: syntax error before "tt_face"
fcfreetype.c:2707: error: `tt_face' undeclared (first use in this function)
fcfreetype.c:2710: warning: implicit declaration of function `FT_STREAM_POS'
fcfreetype.c:2710: warning: nested extern declaration of `FT_STREAM_POS'
fcfreetype.c:2714: warning: implicit declaration of function `FT_STREAM_SEEK'
fcfreetype.c:2714: warning: nested extern declaration of `FT_STREAM_SEEK'
fcfreetype.c:2714: warning: implicit declaration of function `FT_FRAME_ENTER'
fcfreetype.c:2714: warning: nested extern declaration of `FT_FRAME_ENTER'
fcfreetype.c:2717: warning: implicit declaration of function `FT_GET_USHORT'
fcfreetype.c:2717: warning: nested extern declaration of `FT_GET_USHORT'
fcfreetype.c:2719: warning: implicit declaration of function `FT_FRAME_EXIT'
fcfreetype.c:2719: warning: nested extern declaration of `FT_FRAME_EXIT'
fcfreetype.c:2735: warning: implicit declaration of function `FT_SET_ERROR'
fcfreetype.c:2735: warning: nested extern declaration of `FT_SET_ERROR'
fcfreetype.c:2735: warning: implicit declaration of function `FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2735: warning: nested extern declaration of `FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2735: error: syntax error before "FT_ULong"
fcfreetype.c:2744: warning: implicit declaration of function `FT_GET_ULONG'
fcfreetype.c:2744: warning: nested extern declaration of `FT_GET_ULONG'
fcfreetype.c:2775: warning: implicit declaration of function `FT_FREE'
fcfreetype.c:2775: warning: nested extern declaration of `FT_FREE'
fcfreetype.c:2702: warning: unused variable `memory'
fcfreetype.c: In function `FcFontCapabilities':
fcfreetype.c:2832: warning: nested extern declaration of `FT_FREE'
fcfreetype.c:2788: warning: unused variable `memory'
make[2]: *** [fcfreetype.lo] Error 1
make[2]: Leaving directory `/local/downloads/fontconfig-2.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/downloads/fontconfig-2.3.1'
make: *** [all] Error 2
 
Old 03-06-2007, 12:15 PM   #2
mohama
Member
 
Registered: May 2005
Location: solar-system->earth->northern hemisphere
Distribution: ubunutu+knoppix+suse
Posts: 197

Rep: Reputation: 31
replay ,

hello .
i don't use redHat , but why don't you just check whether what you want to install is exists in the installation cd ... which means go to the kde package managment and search for it there ... because if it exists there ,the dependences will be istalled automaticaly ..!

good luck !
 
Old 03-06-2007, 12:25 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Huh? Doesn't Redhat have a package manager like Fedora does? That would really surprise me, becaue Redhat is only the commercial version of Fedora. In Fedora you would just type

yum -y install package

and it would automatically download any required dependencies, too. Yes, there is the occasional hitch but so far I've seen only two small dependency issues - and I must've downloaded several hundreds of packages and updates since FC6 came out.

Last edited by jay73; 03-06-2007 at 12:59 PM.
 
Old 03-06-2007, 12:58 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
http://sial.org/howto/yum/
http://www.eth0.us/yum-rhel
http://www.linuxquestions.org/questi...d.php?t=342206
may be of help to you
 
Old 03-06-2007, 02:47 PM   #5
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
compiling from scratch something complicated like gnome and freinds is not for the uninitiated.
 
Old 03-06-2007, 03:42 PM   #6
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 735

Rep: Reputation: 76
Hi.

The RHEL 4 / Update 4 that I have been using shows that:

rdesktop-1.3.1-5.i386

is available from up2date. See man page for details ... cheers, makyo

Last edited by makyo; 03-06-2007 at 10:27 PM.
 
Old 03-06-2007, 06:27 PM   #7
rainman4_8
LQ Newbie
 
Registered: Nov 2003
Location: washington
Distribution: still looking
Posts: 16

Original Poster
Rep: Reputation: 0
Unfortunately I can not use up2date or yum.

It is a work desktop and despite being forced to use RH enterprise we are not given subscriptions or access to auto-updates (supposedly a security concern).

Any tips on the compile error? I also recently heard about CentOS, is there a RPM I can download that will work with my version of RH?
 
Old 03-06-2007, 07:23 PM   #8
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
my understanding of the error is:
this
http://freetype.sourceforge.net/free...ype-2.2.0.html
freetype used to leave exposed experimental defines for developement and testing purposes.
fontconfig starting using these non API includes when they should not have.
freetype took the includes out for cleaner code which broke fontconfig.

solution
use an older version of freetype

from now on if you need to compile a bunch of dependant stuff use a "beyond Linux from Scratch" book as a guide
 
Old 03-22-2007, 04:31 PM   #9
rainman4_8
LQ Newbie
 
Registered: Nov 2003
Location: washington
Distribution: still looking
Posts: 16

Original Poster
Rep: Reputation: 0
FYI -

The fix was to install pkg-config first
then install the other packages ensuring Lib Xft is installed prior to Pango.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dependency HELL vortmax Fedora 4 11-23-2006 03:28 PM
Dependency Hell Mithrilhall Linux - Newbie 5 04-28-2006 10:29 AM
please help me I'm in dependency hell baronsam Linux - Software 5 11-05-2004 09:33 PM
Is this what they mean by dependency hell? john_walsh54 Linux - Software 1 10-10-2003 07:52 AM
Dependency Hell Time Lord Mandriva 2 09-09-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration