Closed bestgen closed 6 years ago
Hi,
Did you try to install libconfig-dev? https://github.com/OpenFastPath/ofp/blob/master/README.md specify you need to install libconfig-dev.
Hello Radulescu and thanks for your reply. I have installed the development package before but it still doesn't work.
[admin@localhost ofp]$ rpm -qa|grep libconfig-devel
libconfig-devel-1.4.9-5.el7.x86_64
=================updates================= Problem solved. I installed odp manually without using git instruction before. I use git to get and install odp again and it works right away. I also download ofp manually at first. When I try to configure, system cannot find gcc to compile the codes. I suppose that the configure files are closely integrated to git?
Anyway. Thanks for the help.
Hello. My development environment is CentOS7 and have manually installed ODP before. Then I download ofp codes and try to compile OFP. I type in
./configure --with-libconfig=/usr/local/lib --with-odp=/usr/local/bin
, then the terminal shows:While I have successfully installed libconfig and use it to compile ODP.
And there is config_init funciton in libconfig.h.
extern LIBCONFIG_API void config_init(config_t *config);
Does anyone have some ideas ? I am a noob. Thx.