View previous topic :: View next topic |
Author |
Message |
WildChild Apprentice
Joined: 14 Sep 2003 Posts: 171
|
Posted: Wed Oct 01, 2003 3:27 am Post subject: Emerging ntp 4.1.2 |
|
|
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 |
|
|
meowsqueak Veteran
Joined: 26 Aug 2003 Posts: 1549 Location: New Zealand
|
Posted: Wed Oct 01, 2003 3:46 am Post subject: |
|
|
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 |
|
|
WildChild Apprentice
Joined: 14 Sep 2003 Posts: 171
|
Posted: Wed Oct 01, 2003 4:34 am Post subject: |
|
|
emerge sync
emerge -UDV world
automake has been updated and ntp now compile |
|
Back to top |
|
|
blueiris n00b
Joined: 20 May 2003 Posts: 4 Location: Vancouver, Canada
|
Posted: Tue Oct 07, 2003 9:03 am Post subject: |
|
|
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 |
|
|
TGL Bodhisattva
Joined: 02 Jun 2002 Posts: 1978 Location: Rennes, France
|
Posted: Tue Oct 07, 2003 12:19 pm Post subject: |
|
|
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 |
|
|
blueiris n00b
Joined: 20 May 2003 Posts: 4 Location: Vancouver, Canada
|
Posted: Wed Oct 08, 2003 12:48 am Post subject: |
|
|
Yes. It works now. Thanks TGL. |
|
Back to top |
|
|
|