List Info

Thread: compiling with autoconf




compiling with autoconf
user name
2006-03-23 04:57:48
i have another problem, when i try to recompile configure.in
with autoconf  
it cause error
~	configure.in:32: error: possibly undefined macro:
AM_GNU_GETTEXT
~      	If this token and others are legitimate, please use 

m4_pattern_allow.
~      	See the Autoconf documentation.
and when i try add m4_pattern_allow(AM....) it doesn't make
error, but  
when i try to execute make it cause error
  g++ -DPACKAGE_NAME=\"\"
-DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\"  
-DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"ambulant\"  
-DVERSION=\"1.6.1\" -DSTDC_HEADERS=1
-DHAVE_DIRENT_H=1  
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1  
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1  
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  
-DLTDL_SHLIB_EXT=\".so\"
-DLTDL_SYSSEARCHPATH=\"/lib:/usr/lib\"  
-DLTDL_OBJDIR=\".libs/\"
-DHAVE_PRELOADED_SYMBOLS=1 -DHAVE_LIBDL=1  
-DHAVE_DLERROR=1 -DHAVE_ARGZ_H=1 -DHAVE_ERROR_T=1
-DHAVE_ARGZ_APPEND=1  
-DHAVE_ARGZ_CREATE_SEP=1 -DHAVE_ARGZ_INSERT=1
-DHAVE_ARGZ_NEXT=1  
-DHAVE_ARGZ_STRINGIFY=1 -DHAVE_ASSERT_H=1 -DHAVE_CTYPE_H=1  
-DHAVE_ERRNO_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STDLIB_H=1  
-DHAVE_STDIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1
-DHAVE_STRCHR=1  
-DHAVE_STRRCHR=1 -DHAVE_MEMCPY=1 -DHAVE_MEMMOVE=1
-DHAVE_STRCMP=1  
-DHAVE_CLOSEDIR=1 -DHAVE_OPENDIR=1 -DHAVE_READDIR=1
-DHAVE_LTDL=1  
-DHAVE_ASSERT_H=1 -DHAVE_CTYPE_H=1 -DHAVE_ERRNO_H=1
-DHAVE_MALLOC_H=1  
-DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1
-DHAVE_UNISTD_H=1  
-DHAVE_STRING_H=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1
-DHAVE_MEMCPY=1  
-DHAVE_MEMMOVE=1 -DHAVE_STRCMP=1 -DHAVE_CLOSEDIR=1
-DHAVE_OPENDIR=1  
-DHAVE_READDIR=1 -DWITH_LTDL_PLUGINS=1 -DUSE_SMIL21=1  
-DWITH_EXTERNAL_DOM=1 -DWITH_EXPAT=1 -DHAVE_PTHREAD=1 -I.
-I.  
-I../../include -I../../include -I/usr/include
-I/usr/lib/qt3//include  
-DWITH_FFMPEG -DWITH_FFMPEG_AVFORMAT  
-I/mnt/ta/ambulant-1.6.1/third_party_packages/ffmpeg-cvs/lib
avcodec  
-I/mnt/ta/ambulant-1.6.1/third_party_packages/ffmpeg-cvs/lib
avformat  
-I/mnt/ta/ambulant-1.6.1/third_party_packages/ffmpeg-cvs/lib
avutil  
-I../../libltdl
-DAMBULANT_DATADIR=\"/usr/local/share/ambulant\&quo
t; -g -O2  
-pthread -MT expat_parser.lo -MD -MP -MF
.deps/expat_parser.Tpo -c  
lib/expat_parser.cpp  -fPIC -DPIC -o .libs/expat_parser.o
In file included from
/usr/include/g++/i586-suse-linux/bits/c++locale.h:44,
                  from /usr/include/g++/iosfwd:46,
                  from
/usr/include/g++/bits/stl_algobase.h:70,
                  from /usr/include/g++/memory:54,
                  from /usr/include/g++/string:48,
                  from
../../include/ambulant/lib/sax_handler.h:31,
                  from
../../include/ambulant/lib/expat_parser.h:31,
                  from lib/expat_parser.cpp:24:
/usr/include/libintl.h:40: error: syntax error before
`const'
/usr/include/libintl.h:44: error: syntax error before
`const'
/usr/include/libintl.h:51: error: syntax error before
`const'
/usr/include/libintl.h:60: error: syntax error before
`unsigned'
/usr/include/libintl.h:66: error: syntax error before
`unsigned'
/usr/include/libintl.h:72: error: syntax error before
`unsigned'
/usr/include/libintl.h:81: error: syntax error before
`const'
/usr/include/libintl.h:85: error: syntax error before
`const'
/usr/include/libintl.h:90: error: syntax error before
`const'
make[2]: *** [expat_parser.lo] Error 1
make[2]: Leaving directory
`/mnt/ta/ambulant-1.6.1/src/libambulant'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/ta/ambulant-1.6.1/src'
make: *** [all-recursive] Error 1

can i ask for suggestion about that
_______________________________________________
Ambulant-users mailing list
Ambulant-usersambulantplayer.org
http://www.ambulantplayer.org/mailman/listinfo/ambu
lant-users
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )