Building REDHAWK CF from Source on Fedora24

筅森魡賤 提交于 2019-12-06 04:18:48

I also had to patch the framework in the same spots as you suggested and took the same approach as you. I also had to configure with the following:

CXXFLAGS='-g -O2 -fpermissive' ./configure --disable-log4cxx

as I did not have log4cxx and a dnf search did not find it.

As for the make test call, you'll need to have omniNames running for those to execute I believe. You should be able to sudo systemctl start omniNames.service if you have omniORB-servers installed. I was running in a docker image so I started it directly with:

/usr/bin/omniNames -start -always -logdir /var/log/omniORB/ -errlog /var/log/omniORB/error.log

since I believe I would need to do some extra work to get systemctl playing nice in docker. After this the unit tests should run. Although I also performed a make install and sourced the profile.d scripts in $OSSIEHOME/etc/profile.d. Of course, I do not have omniEvents installed so mine are riddled with:

ERROR:DomainManager - Service unvailable, Unable to create event channel: IDM_Channel

Regarding the cleanomni script, this script is very system dependent and I believe only works on CentOS6. It should, stop the omni services, remove the "logs" (which act more like persistence), then restart them. Depending on how omniNames is started / compiled the logging directory may be different per system. I usually just clean it by hand or have a bash script to stop/clean/start the services.

After a long wait my unit tests did finish with the following results:

Ran 498 tests in 1587.850s FAILED (failures=11, errors=35)

This is likely not a good assessment though; some of the tests depend on omniEvents, some depend on libraries like valgrind being installed, some require BULKIO etc. So your millage may vary on the test results and may require addition inspection to see if the failures are legit or not.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!