Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Amule wants to install gtk and Xorg [Solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
didumos
Guru
Guru
Posts: 322
Joined: Thu Jan 19, 2006 4:46 pm
Location: uk

Amule wants to install gtk and Xorg [Solved]

  • Quote

Post by didumos » Wed Apr 12, 2006 8:57 pm

I'm trying to install amule with just the remote/daemon features and no wxGTK graphics interface (as it's a headless server). The problem i'm having is that it always wants to pull in gtk and the monolithic xorg package. Here is the output from emerge -pvt amule

Code: Select all

[ebuild  N    ] net-p2p/amule-2.0.3-r4  +amuled -debug -gtk +nls +remote -stats -unicode 2,103 kB 
[ebuild  N    ]  x11-libs/wxGTK-2.6.2-r1  -X -debug -doc -gnome -joystick -odbc -opengl -sdl -unicode 12,753 kB 
[ebuild  N    ]   x11-libs/gtk+-2.8.12  -debug -doc +jpeg +tiff -xinerama 11,722 kB 
[ebuild  N    ]    x11-misc/shared-mime-info-0.16  735 kB 
[ebuild  N    ]     dev-util/intltool-0.34.1  127 kB 
[ebuild  N    ]      dev-perl/XML-Parser-2.34  -minimal 224 kB 
[ebuild  N    ]    x11-libs/pango-1.10.3  -debug -doc 1,157 kB 
[ebuild  N    ]    dev-libs/atk-1.10.3  -debug -doc -static 529 kB 
[ebuild  N    ] x11-terms/xterm-207  -Xaw3d -doc -toolbar +truetype -unicode 727 kB 
[ebuild  N    ]  sys-apps/utempter-0.5.5.6  20 kB 
[ebuild  N    ]   app-arch/rpm2targz-9.0-r3  2 kB 
[ebuild  N    ]    virtual/x11-6.8  0 kB 
[ebuild  N    ]     x11-base/xorg-x11-6.8.2-r6  (-3dfx) (-3dnow) +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers -ipv6 -minimal (-mmx) +nls -nocxx -opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 45,134 kB 
[ebuild  N    ]      x11-apps/ttmkfdir-3.0.9-r3  19 kB 
[ebuild  N    ]    x11-libs/cairo-1.0.2  -X -doc -glitz +png 1,424 kB 
[ebuild  N    ]     media-libs/fontconfig-2.2.3  732 kB
As you can see, the gtk use flag for amule and the X use flag for wxGTK are both disabled and so (as I understood it) this should just install the wxGTK base without any actual gui libraries. Here is package.use (trying to follow these directions):

Code: Select all

sys-libs/glibc userlocales
net-p2p/amule amuled -gtk remote
x11-libs/wxGTK -debug -doc -gnome -gtk2 -joystick -odbc -opengl -sdl -unicode -wxgtk1
emerge --info:

Code: Select all

Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 acpi apache2 apm audiofile avi berkdb bitmap-fonts bzip2 crypt dri eds emboss encode expat foomaticdb fortran gd gif gmp gpm gstreamer imlib isdnlog jpeg ldap libwww lzw lzw-tiff mhash mp3 mpeg mysql ncurses nls ogg pam pdflib perl php png pppd python quicktime readline samba spell ssl symlink tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
make.conf:

Code: Select all

CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
USE="-ipv6 symlink -doc -X acpi -alsa apache2 apm bzip2 -cups crypt -examples foomaticdb gd -gnome -gtk -gtk2 -hal -java -lm_sensors -nsplugin -opengl -openal -oss php -kde -qt samba zlib -sdl ssl ldap jpeg mysql png tiff truetype xml2"
PORTAGE_NICENESS=15
Thanks :)
Last edited by didumos on Thu Apr 13, 2006 12:47 am, edited 1 time in total.
Top
aaronf0
Tux's lil' helper
Tux's lil' helper
Posts: 121
Joined: Wed Dec 08, 2004 9:03 pm

  • Quote

Post by aaronf0 » Wed Apr 12, 2006 10:24 pm

it looks like its hardcoded into the ebuild. youll either have to path the ebuild, or submit a bug report.
Top
didumos
Guru
Guru
Posts: 322
Joined: Thu Jan 19, 2006 4:46 pm
Location: uk

  • Quote

Post by didumos » Thu Apr 13, 2006 12:47 am

You're right, well spotted. It was simply a matter of editing the ebuild so that the gtk/glib dependancies relied on the X use flag. I put this new ebuild in my overlay (along with required patches) and it installed fine. I'm still fiddling about trying to get the web interface working but I got both daemons running so it seems ok.

Thanks :)
Top
aaronf0
Tux's lil' helper
Tux's lil' helper
Posts: 121
Joined: Wed Dec 08, 2004 9:03 pm

  • Quote

Post by aaronf0 » Thu Apr 13, 2006 8:59 pm

you might want to supply the modded ebuild with a bug report on the tracker so it can get into portage.
Top
didumos
Guru
Guru
Posts: 322
Joined: Thu Jan 19, 2006 4:46 pm
Location: uk

  • Quote

Post by didumos » Thu Apr 13, 2006 11:10 pm

I was a bit hesitant to submit a bug because it was my first time working with bugzilla and it was such a trivial change to the ebuild. But hey, I submitted it here: Bug #129877

Thanks again

Edit: Doh, it had already been reported here: Bug #109515. Searching for bugs on bugzilla seems a bit hit and miss because I did spend a while searching under the obvious names. Ah well.
Top
aaronf0
Tux's lil' helper
Tux's lil' helper
Posts: 121
Joined: Wed Dec 08, 2004 9:03 pm

  • Quote

Post by aaronf0 » Fri Apr 14, 2006 3:25 pm

their search is very hit and miss. you just have to look at the obvious ones, then apoligize when the connect your bug to someone elses :roll:
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic