Sriram
Sriram

Reputation: 10558

What is the development package for lua 5.1.4?

My machine has lua-5.1.4 installed (from source) but does not have lua.pc. What is the development package to download for lua 5.1.4?

I am new to this myself, so please bear with me while I explain what is 'lua.pc'. If you think some of the information here is incorrect, please make full use of the edit button.

lua.pc or any file with pc for an extension is a file that goes into either /usr/local/lib/pkgconfig/ or /usr/lib/pkgconfig directories. It is a text file containing different fields such as Description etc., information that is used by the make install process. The default installation of lua does not install the lua.pc file. That is because it is the 'normal' package. However, the development package contains this file. The development package creates additional dynamic links (for shared libraries etc.) that are needed during installation of other software where these shared libraries may be dependencies. For more information, read here and here.

Update: lua.pc is present in the etc/ folder within the source tarball.

Upvotes: 0

Views: 905

Answers (1)

jpjacobs
jpjacobs

Reputation: 9549

The lua.pc is in the source tarbal, in the etc folder

Upvotes: 3

Related Questions