मुझे libnice-0.1.10 बनाने का प्रयास करते समय ऐसी त्रुटियां आती हैं। समाधान के लिए, मैं possibly undefined macro: AC_MSG_ERROR का पालन कर रहा हूं, लेकिन अभी भी वहां नहीं जा रहा है।AS_IF और AC_MSG_ERROR: त्रुटि: संभवतः अपरिभाषित मैक्रो
कुछ कार्यक्रम संस्करण
uname: 3.5.0-23-generic
m4: 1.4.16
automake: 1.14.1
autoconf: 2.69
libtoolize: 2.4.2
मैं भी ACLOCAL_FLAGS = जोड़ने "- मैं /.../share/aclocal" bashrc में।
ऑटोोजेन से यहां बताया गया है।
$ ./autogen.sh
configure.ac:331: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/gtk-doc.m4:7: GTK_DOC_CHECK is expanded from...
configure.ac:331: the top level
configure.ac:331: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/gtk-doc.m4:7: GTK_DOC_CHECK is expanded from...
configure.ac:331: the top level
configure.ac:331: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/gtk-doc.m4:7: GTK_DOC_CHECK is expanded from...
configure.ac:331: the top level
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:331: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/gtk-doc.m4:7: GTK_DOC_CHECK is expanded from...
configure.ac:331: the top level
configure.ac:331: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/gtk-doc.m4:7: GTK_DOC_CHECK is expanded from...
configure.ac:331: the top level
configure.ac:331: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
m4/gtk-doc.m4:7: GTK_DOC_CHECK is expanded from...
configure.ac:331: the top level
configure.ac:105: error: possibly undefined macro: AS_IF
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:218: error: possibly undefined macro: AC_MSG_ERROR
autoreconf: /opt/oblong/deps-64-10/bin/autoconf failed with exit status: 1
धन्यवाद मदद के लिए बहुत कुछ!
क्या आपके पास ['pkg-config'] है (http://www.freedesktop.org/wiki/Software/pkg-config/) स्थापित है? देखें कि: '/.../ शेयर/एक्लोकल/pkg.m4' मौजूद है या नहीं। 'ACLOCAL_INCLUDE' सेट करना आवश्यक नहीं होना चाहिए - वह निर्देशिका पहले से ही ऑटोकॉन्फ़ का हिस्सा है - और यह libnice' m4' निर्देशिकाओं में खोज को रोक सकती है। –