Forums

Skip to content

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

NTP weird dependencies

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
deribin
n00b
n00b
Posts: 71
Joined: Mon Feb 03, 2003 9:06 am
Location: Prague

NTP weird dependencies

  • Quote

Post by deribin » Mon Nov 14, 2005 6:07 am

Hi!

Trying to set up my laptop with small number of packages and found the weird thing. When I'm trying to emerge ntp I got amount of packages to be merged:

Code: Select all

$ emerge -p ntp

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-crypt/mhash-0.9.2
[ebuild  N    ] dev-libs/libmcrypt-2.5.7
[ebuild  N    ] net-www/gentoo-webroot-default-0.2
[ebuild  N    ] dev-libs/apr-0.9.7
[ebuild  N    ] app-misc/mime-types-4
[ebuild  N    ] dev-libs/apr-util-0.9.7
[ebuild  N    ] net-www/apache-2.0.55
[ebuild  N    ] app-text/sablotron-1.0.1
[ebuild  NS   ] sys-libs/db-1.85-r3
[ebuild  N    ] dev-java/java-config-1.2.11-r1
[ebuild  N    ] dev-java/blackdown-jdk-1.4.2.02
[ebuild  NS   ] media-libs/freetype-1.3.1-r5
[ebuild  N    ] net-libs/libwww-5.4.0-r4
[ebuild  N    ] dev-php/mod_php-4.4.0-r9
[ebuild  N    ] dev-lang/swig-1.3.25
[ebuild  N    ] sys-libs/libcap-1.10-r5
[ebuild  N    ] net-misc/ntp-4.2.0.20050303-r1
[ebuild  N    ] dev-php/php-4.4.0-r4

8O 8O 8O
Can somebody explain me WHY I must install JAVA, APACHE, PHP just to have ntp ?????? :twisted:

PS: building from sources works just fine and solve all my problems, but....
Top
TheRAt
Veteran
Veteran
User avatar
Posts: 1580
Joined: Mon Jun 03, 2002 10:50 pm

  • Quote

Post by TheRAt » Mon Nov 14, 2005 7:24 am

Please post the output from emerge --info
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Top
deribin
n00b
n00b
Posts: 71
Joined: Mon Feb 03, 2003 9:06 am
Location: Prague

  • Quote

Post by deribin » Mon Nov 14, 2005 7:29 am

$ emerge --info
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r3, 2.6.14-gentoo-r1 i686)
=================================================================
System uname: 2.6.14-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.10GHz
Gentoo Base System version 1.12.0_pre10
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.11
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.20-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/dis ... ons/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups curl dbus djvu dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran gdbm gif glut gnome gnutls gpm gstreamer gtk gtk2 i8x0 icq idn imlib ipv6 java jpeg jpeg2k kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg msn ncurses new-login nls ogg oggvorbis opengl oss pam pcre pdflib perl php png python qt quicktime readline recode ruby sasl sdl smime spell sql sqlite sse2 ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode utf8 vorbis wifi win32codecs xchat xine xml xml2 xmms xslt xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Top
Suicidal
l33t
l33t
User avatar
Posts: 959
Joined: Wed Jul 30, 2003 4:55 am
Location: /dev/null

Re: NTP weird dependencies

  • Quote

Post by Suicidal » Mon Nov 14, 2005 7:42 am

deribin wrote:Can somebody explain me WHY I must install JAVA, APACHE, PHP just to have ntp ?????? :twisted:

PS: building from sources works just fine and solve all my problems, but....
Because ntp depends on swig which depends on php which depends on apache2 and java according to your use flags.
Top
deribin
n00b
n00b
Posts: 71
Joined: Mon Feb 03, 2003 9:06 am
Location: Prague

Re: NTP weird dependencies

  • Quote

Post by deribin » Mon Nov 14, 2005 7:49 am

Suicidal wrote:Because ntp depends on swig
Hmmm.... what's it used for by ntp?
Top
deribin
n00b
n00b
Posts: 71
Joined: Mon Feb 03, 2003 9:06 am
Location: Prague

  • Quote

Post by deribin » Mon Nov 14, 2005 7:57 am

Sure I can do:

Code: Select all

env USE="-X -java -perl -php -python" emerge  ntp
But I still wondering why emerging the relatively simple command-line application leads me to emerging so much pakages with "default" flags.
Top
Suicidal
l33t
l33t
User avatar
Posts: 959
Joined: Wed Jul 30, 2003 4:55 am
Location: /dev/null

  • Quote

Post by Suicidal » Mon Nov 14, 2005 9:12 am

deribin wrote:Sure I can do:

Code: Select all

env USE="-X -java -perl -php -python" emerge  ntp
But I still wondering why emerging the relatively simple command-line application leads me to emerging so much pakages with "default" flags.
Seems to me that swig is the culprit; use flags like this can sometimes have a "domino effect".
If you dont need the full functionality of ntp you can try openntpd it works nicely, and has far less dependencies.

For me on my machines I have hundreds of clients syncing with each of my servers so I prefer the tools that ntpdc provides.

Another solution would be to set your use flags on a package by package basis using /etc/protage/package.keywords
Top
deribin
n00b
n00b
Posts: 71
Joined: Mon Feb 03, 2003 9:06 am
Location: Prague

  • Quote

Post by deribin » Mon Nov 14, 2005 9:52 am

Suicidal wrote:Another solution would be to set your use flags on a package by package basis using /etc/protage/package.keywords
Sure, I will.
I did it, actually, by using /etc/portage/package.use entry for net-misc/ntp with above flags:

Code: Select all

net-misc/ntp -X -java -perl -php -python
But this "domino effect" looks really strange.
Is it really necessary to use swig here? I just don't see a reason.

PS: It's fair enough for me to use only ntpdate from ntpd package, with help of /etc/init.d/ntp-client script, as I do it on my other computers. Emerging openntpd will not give you this script, that's why I'm playing with ntpd. (yeah, I know, it's stupid. :) )
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Mon Nov 14, 2005 12:07 pm

deribin wrote:net-misc/ntp -X -java -perl -php -python
You're associating the USE flags with the wrong package. The USE flags for the packages would be clear if you run:

Code: Select all

emerge -petv ntp
Stick with ntp, it's excellent.
Improve your font rendering and ALSA sound
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Mon Nov 14, 2005 5:46 pm

Moved from Installing Gentoo to Portage & Programming.
Portage question, so moved here
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
Top
Post Reply

10 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