makefile - Error while trying to make a RabbitMQ C-master project -
i trying build own project, i.e., smart_parking using rabbitmq c-master. link c apis is: https://github.com/alanxz/rabbitmq-c
i made folder name smart_parking in rabbitmq folder. wrote cmakelists.txt files , edited makefile.am follows:
cmakelists.txt:
# vim:set ts=2 sw=2 sts=2 et: include_directories(${librabbitmq_include_dirs}) if (win32) set(platform_dir win32) else (win32) set(platform_dir unix) endif (win32) set(common_srcs utils.h utils.c ${platform_dir}/platform_utils.c ) add_executable(client_1 client_1.c ${common_srcs}) target_link_libraries(client_1 ${rmq_library_target}) add_executable(client_2 client_2.c ${common_srcs}) target_link_libraries(client_2 ${rmq_library_target}) add_executable(client_3 client_3.c ${common_srcs}) target_link_libraries(client_3 ${rmq_library_target}) add_executable(client_4 client_4.c ${common_srcs}) target_link_libraries(client_4 ${rmq_library_target})
makefile.am:
if smart_parking noinst_ltlibraries += smart_parking/libutils.la smart_parking_libutils_la_sources = \ smart_parking/utils.c \ smart_parking/utils.h smart_parking_libutils_la_cflags = $(am_cflags) if os_unix smart_parking_libutils_la_sources += smart_parking/unix/platform_utils.c endif if os_win32 smart_parking_libutils_la_sources += smart_parking/win32/platform_utils.c smart_parking_libutils_la_cflags += -i$(top_srcdir)/tools/win32/msinttypes endif noinst_programs = \ smart_parking/client_1 \ smart_parking/client_2 \ smart_parking/client_3 \ smart_parking/client_4 smart_parking_client_1_sources = smart_parking/client_1.c smart_parking_client_1_ldadd = \ smart_parking/libutils.la \ librabbitmq/librabbitmq.la smart_parking_client_2_sources = smart_parking/client_2.c smart_parking_client_2_ldadd = \ smart_parking/libutils.la \ librabbitmq/librabbitmq.la smart_parking_client_3_sources = smart_parking/client_3.c smart_parking_client_3_ldadd = \ smart_parking/libutils.la \ librabbitmq/librabbitmq.la smart_parking_client_4_sources = smart_parking/client_4.c smart_parking_client_4_ldadd = \ smart_parking/libutils.la \ librabbitmq/librabbitmq.la endif
but when try make project, following error:
gen tools/doc/amqp-publish.1 usage: xmlto [option]... format xml options are: -v verbose output (-vv verbose) -x stylesheet use specified stylesheet instead of choosing 1 -m fragment use xsl fragment customize stylesheet -o directory put output in specified directory instead of current working directory -p postprocopts pass option postprocessor --extensions turn on stylesheet extensions tool chain --noautosize not autodetect paper size via locales or paperconf --noclean temp files not deleted automatically (good diagnostics) --noextensions not use passivetex/fop extensions --searchpath colon-separated list of fallback directories --skip-validation not attempt validate input before processing --stringparam paramname=paramvalue pass named parameter stylesheet command line --with-fop use fop formatting (if fop available) --with-dblatex use dblatex formatting (if dblatex available) available formats depend on type of xml file (which determined automatically). documents of type "docbook": awt dvi epub fo html htmlhelp html-nochunks javahelp man mif pcl pdf ps svg text txt xhtml xhtml-nochunks documents of type "xhtml1": awt dvi fo mif pcl pdf ps svg txt documents of type "fo": awt dvi mif pcl pdf ps svg txt make[1]: *** [tools/doc/amqp-publish.1] error 1 make[1]: leaving directory `/home/l4tmm/desktop/smart parking simulation in c/rabbitmq-c' make: *** [all] error 2
the usage: xmlto [option]... format xml
error due xmlto being called incorrectly build script. disable doc generation passing in --disable-docs
configure script.
wiki
Comments
Post a Comment