Description of problem: The rhm-docs c++ example Makefiles contain this mistake: LDFLAGS=-l-lqpidclient This will cause of course compilation issue. C++ examples cannot be build w/o Makefile modifications. Version-Release number of selected component (if applicable): rhm-docs-0.5.752937-1.el5 How reproducible: 100% Steps to Reproduce: 1. install rhm-docs 2. run make to build c++ examples 3. Actual results: c++ cannot compile. Expected results: c++ should compile. Additional info: https://rhts.redhat.com/cgi-bin/rhts/test_log.cgi?id=7206128: [05:55:11] Compiling mrg c++ XML exchange examples make[1]: Entering directory `/usr/share/doc/rhm-0.5/cpp/xml-exchange' g++ -I/usr/include/qpid-boost -l-lqpidclient declare_queues.cpp -o declare_queues /usr/bin/ld: cannot find -l-lqpidclient collect2: ld returned 1 exit status make[1]: *** [declare_queues] Error 1 make[1]: Leaving directory `/usr/share/doc/rhm-0.5/cpp/xml-exchange' [05:55:15] .WARNING:compiling failed...trying to recover dirname: extra operand `/usr/include/boost/test/utils/runtime/parameter.hpp' Try `dirname --help' for more information. make[1]: Entering directory `/usr/share/doc/rhm-0.5/cpp/xml-exchange' g++ -I/.. -l-lqpidclient declare_queues.cpp -o declare_queues /usr/bin/ld: cannot find -l-lqpidclient collect2: ld returned 1 exit status make[1]: *** [declare_queues] Error 1 make[1]: Leaving directory `/usr/share/doc/rhm-0.5/cpp/xml-exchange'
rhm-0.5# rpm -q rhm-docs rhm-docs-0.5.753238-1.el5 rhm-0.5# grep -r "LDFLAGS" */*/Makefile cpp/direct/Makefile:LDFLAGS=-lqpidclient cpp/failover/Makefile:LDFLAGS=-lqpidclient cpp/fanout/Makefile:LDFLAGS=-lqpidclient cpp/pub-sub/Makefile:LDFLAGS=-lqpidclient cpp/qmf-console/Makefile:LDFLAGS=-lqmfconsole cpp/request-response/Makefile:LDFLAGS=-lqpidclient cpp/xml-exchange/Makefile:LDFLAGS=-lqpidclient
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-0434.html