You are not logged in.
Pages: 1
when i try install xrdp from AUR,but some error taken place:
configure.ac:5: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.ac:5: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
then i install it in the way of Xrdparchwiki
changed 'AM_CONFIG_HEADER' to 'AC_CONFIG_HEADERS' in the"configure.ac" file,and type:
makepkg -s
the above error taken place as well.
finally i checked the "configure.ac" file,the 'AM_CONFIG_HEADERS' became 'AC_CONFIG_HEADER' again!!!
Last edited by zuriaake (2013-02-03 09:34:41)
Offline
"makepkg --noextract" if you're going to be changing files.
Offline
"makepkg --noextract" if you're going to be changing files.
Type:
makepkg --noextract
Then:
ln: failed to create symbolic link ‘/tmp/yaourt-tmp-asche/aur-xrdp/src/xrdp-v0.6.0/sesman/tools/config.c’: File exists
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
configure.ac:5: warning: macro 'AM_CONFIG_HEADERS' not found in library
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:5: warning: macro 'AM_CONFIG_HEADERS' not found in library
autoreconf: running: /usr/bin/autoconf --force
configure.ac:5: error: possibly undefined macro: AM_CONFIG_HEADERS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Offline
Edit, sorry, didn't read it correctly. You misspelled the new macro name, AM vs AC
Last edited by Scimmia (2013-02-03 02:44:03)
Offline
You said you changed AM_CONFIG_HEADER to AC_CONFIG_HEADERS, but it looks like you only did half of it.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
You said you changed AM_CONFIG_HEADER to AC_CONFIG_HEADERS, but it looks like you only did half of it.
What's Another half ?:)
Offline
changed 'AM_CONFIG_HEADER' to 'AC_CONFIG_HEADERS' in the"configure.ac" file,and type:
makepkg -s
the above error taken place as well.
finally i checked the "configure.ac" file,the 'AM_CONFIG_HEADERS' became 'AC_CONFIG_HEADER' again!!!
You have to make the change inside the PKGBUILD:
build() {
cd "$pkgname-v$pkgver"
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
./bootstrap
...
}
Well you don't have to do it this way.. it's just the easiest imo..
Last edited by tdy (2013-02-03 08:49:24)
Offline
zuriaake wrote:changed 'AM_CONFIG_HEADER' to 'AC_CONFIG_HEADERS' in the"configure.ac" file,and type:
makepkg -s
the above error taken place as well.
finally i checked the "configure.ac" file,the 'AM_CONFIG_HEADERS' became 'AC_CONFIG_HEADER' again!!!
You have to make the change inside the PKGBUILD:
build() {
cd "$pkgname-v$pkgver"
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
./bootstrap
...
}Well you don't have to do it this way.. it's just the easiest imo..
THX you Very Much!!!
it works!!!!!!
Offline
The other half was that you *said* you had added the S to the end and changed the M to a C, but clearly you had only actually added the S to the end.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Pages: 1