Skip to content

error: could not find expected file curl/curl.h, or curl/curl.h for curl -- you may have to install curl in your system and/or pass curl_dir or curl_incdir to the luarocks command. example: luarocks install lua-curl curl_dir=/usr/local

License

Notifications You must be signed in to change notification settings

george0884/lua-curl-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

error: could not find expected file curl/curl.h, or curl/curl.h for curl -- you may have to install curl in your system and/or pass curl_dir or curl_incdir to the luarocks command. example: luarocks install lua-curl curl_dir=/usr/local

Este error se debe a un error de ubicacion de curl

para arregalarlo ubicar la carpeta curl en /usr/include/

Clonamos repositorio.

git clone https://github.com/george0884/lua-curl-error

Descomprimimos.

cd lua-curl-error && tar -xzvf curl.tar.gz

Copiamos la carpeta.

sudo cp curl -r /usr/include/

Monocomando recomendado, no deja residuos.

git clone https://github.com/george0884/lua-curl-error && cd lua-curl-error && tar -xzvf curl.tar.gz && sudo cp curl -r /usr/include/ && cd .. && sudo rm -Rf lua-curl-error

Done!.

About

error: could not find expected file curl/curl.h, or curl/curl.h for curl -- you may have to install curl in your system and/or pass curl_dir or curl_incdir to the luarocks command. example: luarocks install lua-curl curl_dir=/usr/local

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published