You are here: Home » Reply

Reply To: how to build from svn repo

#17785

superawx
Participant

@leod:
thanks, i tried to run “autoconf ./configure.in >configure” and that produces the configure script and the following console output:
— snip —
configure.in:494: warning: AC_LIB_PREPARE_PREFIX is m4_require’d but not m4_defun’d
m4/iconv.m4:9: AM_ICONV_LINKFLAGS_BODY is expanded from…
m4/iconv.m4:20: AM_ICONV_LINK is expanded from…
m4/iconv.m4:75: AM_ICONV is expanded from…
configure.in:494: the top level
configure.in:494: warning: AC_LIB_RPATH is m4_require’d but not m4_defun’d
-:25955: error: possibly undefined macro: AC_LIB_PREPARE_PREFIX
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
-:25956: error: possibly undefined macro: AC_LIB_RPATH
-:25961: error: possibly undefined macro: AC_LIB_LINKFLAGS_BODY
-:25969: error: possibly undefined macro: AC_LIB_APPENDTOVAR
— snip —

then i renamed “reconf.sh.templ” to “reconf.sh” and ran it.
the result is the same as above and also other files and symlinks are generated in my project directory.

when i try to run:
./configure prefix=/usr –enable-sqlite3 –enable-mdns –enable-flac –enable-oggvorbis

i get the following error:
— snip —
./configure: line 25961: syntax error near unexpected token `iconv’
./configure: line 25961: ` AC_LIB_LINKFLAGS_BODY(iconv)’
— snip —

can anyone please help me?
what is the right way to generate the required scripts and links?
thanks in advance
awx