Login
or
register
LuaRocks
Versioned Components For Lua
Overview
Home Page
Mailing list
Browse rocks
Links
Download
Download
Installing on Unix
Installing on Windows
Release history
License
Documentation
Documentation
File formats
Development
Feedback
Dependencies
Anonymous users must enter
captcha
below.
Don't put anything here
Page Parameters
Page Name (for URL)
Don't put anything here
Page Title
Show Advanced Options
Category
Prototype
Don't put anything here
Don't put anything here
Page Content
Don't put anything here
Don't put anything here
LuaRocks handles dependencies on Lua modules — rocks can specify other rocks it depends on, and attempts to fulfill those dependencies at install time. A rock will only be installed if all its dependencies can be fulfilled. LuaRocks also supports verification of dependencies on external libraries. A rock can specify an external package it depends on (for example, a C library), and give to LuaRocks hints on how to detect if it is present, typically as C header or library filenames. LuaRocks then looks for these files in a pre-configured search path and, if found, assumes the dependency is fulfilled. If not found, an error message is reported and the user can then install the missing external dependency (using the tools provided by their operating system) or inform LuaRocks of the location of the external dependency in case it was installed and LuaRocks failed to find it. Dependencies of a rock are specified in its [[Rockspec format|rockspec]] file. See the complete specification of the dependency syntax in the [[Rockspec format]] page and examples in rockspec files of the [http://luarocks.luaforge.net/rocks/ public rocks server].
About this Edit
Minor Edit
Edit Summary
Powered by
Sputnik
|
XHTML 1.1