Menu

Compiling 1.26

Help
Ben
2009-03-23
2012-12-14
  • Ben

    Ben - 2009-03-23

    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

     
    • jef2000

      jef2000 - 2009-03-25

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.