Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
librsvg failing on freetype2 version [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dunkirk
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2005
Posts: 88

PostPosted: Mon Nov 06, 2006 5:48 pm    Post subject: librsvg failing on freetype2 version [SOLVED] Reply with quote

I was having two issues with Gnome. 1) I can't get rid of the mail-notification program, no matter how hard I try. It always launches when I log in. 2) Nautilus was resetting itself when I tried to use it to look at NFS-mounted drives. It would suddenly shift back to my home directory, seemingly randomly, after a few seconds. So I decided to upgrade to Gnome 2.16. Why, oh why, do I do such things?

I upgraded with `ACCEPT_KEYWORDS="x86" emerge gnome'. My Treo synchronization -- which I have struggled for years to get right with Evolution -- bit the dust. I lost about an hour this morning screwing with it as various "components" of Evolution kept crashing. Great. I'm convinced that none of the Gnome team has a Palm Pilot, but that's neither here nor there. (And, frankly, with Novell's sell-out to Microsoft, I'm considering a move to KDE just on the principle of the thing.)

ANYWAY, I'm trying to go back (with `emerge -uDN world'), and I'm reaching the point where I need to install librsvg. On its configuration, it's testing for freetype. It's not making that call correctly. I have 2.10 installed. I re-installed it just to make sure, but the test is still failing. There seems to be a difference in `/usr/bin/freetype-config --version' and `/usr/bin/freetype-config --ftversion', and I'm not sure the configure script is handling this correctly. So I edited the freetype-config script to reverse the meaning, but it still fails.

I'm stuck re-emerging Gnome till this is cleared, and, for the first time in running Gentoo in about 3 years, I haven't been able to find the solution (to an emerge problem) on the forums.

enterprise ~ # emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8dk i686)
=================================================================
System uname: 2.6.17-gentoo-r8dk i686 AMD Athlon(tm) MP 2800+
Gentoo Base System version 1.12.6
Last Sync: Mon, 06 Nov 2006 17:00:02 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/david/Work/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac alsa arts beagle berkdb bidi bitmap-fonts cdda cdio cli cracklib crypt cups dbus divx4linux dlloader dri dts dvd dvdr dvdread eds elibc_glibc esd evo evolution fam ffmpeg firefox flac fortran freetype gdbm gif gimp gimpprint gmail gnome gnutls gpm gtk gtk2 hal httpd iconv imap input_devices_keyboard input_devices_mouse ipv6 isdnlog joystick jpeg kde kdefinal kernel_linux libg++ live mad matroska mmx mmxext mono mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam pcre pda pdf perl png ppds pppd python quicktime readline reflection sdl session sox spell spl sse sse2 ssl stream tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_nv video_cards_nvidia vlm vorbis win32codecs wxwindows xml xorg xv xvid zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


enterprise ~ # emerge -uDN world
Calculating world dependencies... done!

>>> Emerging (1 of 64) gnome-base/librsvg-1.0.3 to /

<SNIP>

checking for FREETYPE2 - version >= 6.1.0... no
*** Could not run FREETYPE2 test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means FREETYPE2 was incorrectly installed
*** or that you have moved FREETYPE2 since it was installed. In the latter case, you
*** may want to edit the freetype-config script: /usr/bin/freetype-config
configure: error:
*** FreeType2 2.0.1 or better is required. You can obtain a
*** packaged version of FreeType2 over here:
*** http://developer.eazel.com/eazel-hacking/updates/freetype2
*** source versions are available from ftp://ftp.freetype.org

!!! ERROR: gnome-base/librsvg-1.0.3 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
librsvg-1.0.3.ebuild, line 26: Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
_________________
Acts 17:28, "For in Him we live, and move, and have our being."


Last edited by dunkirk on Mon Nov 06, 2006 9:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Nov 06, 2006 5:57 pm    Post subject: Reply with quote

Quote:
FreeType2 2.0.1 or better is required.

Check which version you have installed on your system.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
hobbes27
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2003
Posts: 87
Location: Germany

PostPosted: Mon Nov 06, 2006 6:17 pm    Post subject: Reply with quote

nixnut wrote:
Quote:
FreeType2 2.0.1 or better is required.

Check which version you have installed on your system.


Same here. My freetype-version is freetype-2.2.1 :(
Back to top
View user's profile Send private message
dunkirk
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2005
Posts: 88

PostPosted: Mon Nov 06, 2006 6:19 pm    Post subject: Reply with quote

enterprise librsvg-1.0.3 # eix freetype

* media-libs/freetype
Available versions: 1.3.1-r4:1 ~1.3.1-r5:1 2.1.9-r1:2 ~2.1.10:2 ~2.1.10-r1:2 2.1.10-r2:2 [M]2.2.1:2
Installed: 2.1.10-r2
Homepage: http://www.freetype.org/
Description: A high-quality and portable font engine
_________________
Acts 17:28, "For in Him we live, and move, and have our being."
Back to top
View user's profile Send private message
dunkirk
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2005
Posts: 88

PostPosted: Mon Nov 06, 2006 7:23 pm    Post subject: Reply with quote

I just tried upgrading to freetype 2.2.x, and that didn't fix it either.

Now I notice that I can't run KDE either. It's not finding `kdestartupconfig', even though it's definitely present and accounted for.

So now I can't run Gnome OR KDE. I've never seen my system so broken before. This is... disheartening.
_________________
Acts 17:28, "For in Him we live, and move, and have our being."
Back to top
View user's profile Send private message
AlefBet
n00b
n00b


Joined: 04 Apr 2005
Posts: 18
Location: Provo, UTAH, USA

PostPosted: Mon Nov 06, 2006 7:40 pm    Post subject: Reply with quote

I don't know if this helps, but I had the same symptom and it appeared to stem from portage wanting to merge a slotted v1.x of librsvg. This appeared to be because portage wanted to downgrade nautilus to v1.x from 2.14. I sidestepped the issue by unmerging nautilus-themes, which appeared to want the older nautilus.
_________________
Of course, I've been wrong before and I'm sure I'll be wrong again. So this may be one of those times.
Back to top
View user's profile Send private message
dunkirk
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2005
Posts: 88

PostPosted: Mon Nov 06, 2006 8:10 pm    Post subject: Reply with quote

Huzzah! That fixed it! Thanks for your help!

For those playing along at home, KDE is working again. It might have been a restart of xdm that got it going. At least I have a GUI while I get Gnome back into shape. Here's to it coming back in with the problems fixed that drove me to upgrading...
_________________
Acts 17:28, "For in Him we live, and move, and have our being."
Back to top
View user's profile Send private message
hobbes27
Tux's lil' helper
Tux's lil' helper


Joined: 11 Apr 2003
Posts: 87
Location: Germany

PostPosted: Mon Nov 06, 2006 9:06 pm    Post subject: Reply with quote

dunkirk wrote:
Huzzah! That fixed it! Thanks for your help!


Same here! :D
Back to top
View user's profile Send private message
zajelo3
n00b
n00b


Joined: 05 Sep 2005
Posts: 60

PostPosted: Mon Nov 06, 2006 9:24 pm    Post subject: Reply with quote

Same problem and the solution worked for me also. How do you find out whats causing a problem like this?
Back to top
View user's profile Send private message
dunkirk
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2005
Posts: 88

PostPosted: Mon Nov 06, 2006 9:30 pm    Post subject: Reply with quote

I'm guessing that an `emerge --tree' will help you see what's depending on what. I missed that trick this time.
_________________
Acts 17:28, "For in Him we live, and move, and have our being."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum