If the libraries are correctly installed, you should see their version number with the following command:
pkg-config --modversion lua log4cpp
If it's not the case, the libraries are not cerrectly installed. Or pkg-config doesn't find them.
To work with pkg-config, each library has to install a config file with extension ".rc" in one of the directories where pkg-config looks for it. All the details can be found in pkg-config man page.
If one of the libs is intalled with a different name (E.g. the .rc file is lua51.rc instead of lua.rc), you can add option --with-lua=lua51 to make it use lua51.rc.
For syno-x07, the lua functionality is included in linknx package (no need to install external libs)
For all the Optware and OpenWRT packages, log4cpp is disabled and the internal logger is used instead.
Regards,
Jean-François
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jeff,
I've compiled log4cpp and lua, but linknx does not find these packages.
Where should I exactly install these packages ?
Another question :
Do the syno x07 package contain lua and log4cpp ?
Or should I install them before ?
Thanks for your great job.
Ben
Hi,
Linknx uses pkg-config to find lua and log4cpp libraries.
http://pkg-config.freedesktop.org/wiki/
http://linux.die.net/man/1/pkg-config
If the libraries are correctly installed, you should see their version number with the following command:
pkg-config --modversion lua log4cpp
If it's not the case, the libraries are not cerrectly installed. Or pkg-config doesn't find them.
To work with pkg-config, each library has to install a config file with extension ".rc" in one of the directories where pkg-config looks for it. All the details can be found in pkg-config man page.
If one of the libs is intalled with a different name (E.g. the .rc file is lua51.rc instead of lua.rc), you can add option --with-lua=lua51 to make it use lua51.rc.
For syno-x07, the lua functionality is included in linknx package (no need to install external libs)
For all the Optware and OpenWRT packages, log4cpp is disabled and the internal logger is used instead.
Regards,
Jean-François