Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerging ntp 4.1.2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
WildChild
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 171

PostPosted: Wed Oct 01, 2003 3:27 am    Post subject: Emerging ntp 4.1.2 Reply with quote

When I try to emerge ntp 4.1.2 I get this error:

valhalla conf.d # USE="parse-clocks" emerge ntp
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/ntp-4.1.2 to /
>>> md5 src_uri ;-) ntp-4.1.2.tar.gz
>>> md5 src_uri ;-) ntp-4.1.2-manpages.tbz2
>>> Unpacking source...
>>> Unpacking ntp-4.1.2.tar.gz to /var/tmp/portage/ntp-4.1.2/work
>>> Unpacking ntp-4.1.2-manpages.tbz2 to /var/tmp/portage/ntp-4.1.2/work
* Applying broadcastclient.patch... [ ok ] * Applying 4.1.2-droproot.patch... [ ok ] * Applying linux-config-phone.patch... [ ok ]configure.in:2496: /usr/bin/m4: Warning: Excess arguments to built-in `m4_pushdef' ignored
autom4te-2.57a: /usr/bin/m4 failed with exit status: 1
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
automake-1.7: no `Makefile.am' found or specified

!!! ERROR: net-misc/ntp-4.1.2 failed.
!!! Function src_unpack, Line 50, Exitcode 1
!!! automake



Does anyone knows?
Back to top
View user's profile Send private message
meowsqueak
Veteran
Veteran


Joined: 26 Aug 2003
Posts: 1549
Location: New Zealand

PostPosted: Wed Oct 01, 2003 3:46 am    Post subject: Reply with quote

Try playing around with the WANT_AUTOMAKE variable.

Just in case:

Disclaimer: this is purely a guess, I don't know if this is the solution or not. But I think it is worth looking into. Any comments are welcome.
Back to top
View user's profile Send private message
WildChild
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 171

PostPosted: Wed Oct 01, 2003 4:34 am    Post subject: Reply with quote

emerge sync
emerge -UDV world

automake has been updated and ntp now compile :)
Back to top
View user's profile Send private message
blueiris
n00b
n00b


Joined: 20 May 2003
Posts: 4
Location: Vancouver, Canada

PostPosted: Tue Oct 07, 2003 9:03 am    Post subject: Reply with quote

I tried the emerge thingy but still get the following error message: :(

Code:

Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/ntp-4.1.2 to /
>>> md5 src_uri ;-) ntp-4.1.2.tar.gz
>>> md5 src_uri ;-) ntp-4.1.2-manpages.tbz2
>>> Unpacking source...
>>> Unpacking ntp-4.1.2.tar.gz to /var/tmp/portage/ntp-4.1.2/work
>>> Unpacking ntp-4.1.2-manpages.tbz2 to /var/tmp/portage/ntp-4.1.2/work
 * Applying broadcastclient.patch...                                                                                                                   [ ok ]
 * Applying 4.1.2-droproot.patch...                                                                                                                     [ ok ]
 * Applying linux-config-phone.patch...                                                                                                                 [ ok ]
configure.in:2496: /usr/bin/m4: Warning: Excess arguments to built-in `m4_pushdef' ignored
autom4te-2.57a: /usr/bin/m4 failed with exit status: 1
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
automake-1.7: no `Makefile.am' found or specified

!!! ERROR: net-misc/ntp-4.1.2 failed.
!!! Function src_unpack, Line 52, Exitcode 1
!!! automake


I checked that I have latest automake (1.7.7) emerged.

Any idea??
Back to top
View user's profile Send private message
TGL
Bodhisattva
Bodhisattva


Joined: 02 Jun 2002
Posts: 1978
Location: Rennes, France

PostPosted: Tue Oct 07, 2003 12:19 pm    Post subject: Reply with quote

It's an autoconf bug. You'll find a fix here. The simpliest way to apply it is to:
- save the attached patch in /usr/portage/sys-devel/autoconf/files/autoconf-2.57a-AC_HELP_STRING.diff
- edit /usr/portage/sys-devel/autoconf/autoconf-2.57a.ebuild and add the following line at the end of src_unpack function:
Code:
src_unpack() {
[...]
   epatch ${FILESDIR}/${PN}-2.57a-AC_HELP_STRING.diff
}


Then run the following commands:
Code:
# ebuild /usr/portage/sys-devel/autoconf/autoconf-2.57a.ebuild  digest
# ACCEPT_KEYWORDS="~x86" emerge autoconf

And then you should be able to emerge ntp.
Back to top
View user's profile Send private message
blueiris
n00b
n00b


Joined: 20 May 2003
Posts: 4
Location: Vancouver, Canada

PostPosted: Wed Oct 08, 2003 12:48 am    Post subject: Reply with quote

Yes. It works now. Thanks TGL. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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