[FR/EN] Erreur installation bcrypt / bcrypt error installation

Hello les ami(e)s,
Dans ma quête de continuer l’installation de mon Pod j’ai commencé le tuto sur l’installation du serveur Jabber Prosody/XMPP. Ce qui m’a renvoyé vers la page du Wiki Debian pour installer Prosody. Mais lorsque j’arrive à la partie ou il faut installer bcrypt (luarocks install bcrypt) j’ai un message d’erreur que je ne comprends pas…

Hello all
In my quest to continue de setup of my own Pod, i began the tutorial on the install of Jabber server Prosody/XMPP. Following to the Wiki Debian to install Prosody. But when i try to install bcrypt with the command “luarocks install bcrypt” i’ve an error message saying “fatal error: lua.h: No such file or directory”

[root@localhost:~] 1 # luarocks install bcrypt
Installing https://luarocks.org/bcrypt-2.1-4.src.rock
Warning: variable CFLAGS was not passed in build_variables
gcc -I/usr/include/lua5.2 -DOPENSSL_cleanse=explicit_bzero -D__BSD_VISIBLE -DHAVE_STRNDUP -Iinclude -Wall -Wno-pointer-sign -O2 -fPIC -DNDEBUG -O0 -c -o compat/safebfuns.o compat/safebfuns.c
gcc -I/usr/include/lua5.2 -DOPENSSL_cleanse=explicit_bzero -D__BSD_VISIBLE -DHAVE_STRNDUP -Iinclude -Wall -Wno-pointer-sign -O2 -fPIC -DNDEBUG -c -o compat/bcrypt/bcrypt.o compat/bcrypt/bcrypt.c
gcc -I/usr/include/lua5.2 -DOPENSSL_cleanse=explicit_bzero -D__BSD_VISIBLE -DHAVE_STRNDUP -Iinclude -Wall -Wno-pointer-sign -O2 -fPIC -DNDEBUG -c -o compat/bcrypt/blowfish.o compat/bcrypt/blowfish.c
gcc -I/usr/include/lua5.2 -DOPENSSL_cleanse=explicit_bzero -D__BSD_VISIBLE -DHAVE_STRNDUP -Iinclude -Wall -Wno-pointer-sign -O2 -fPIC -DNDEBUG -c -o compat/arc4random/arc4random.o compat/arc4random/arc4random.c
gcc -I/usr/include/lua5.2 -DOPENSSL_cleanse=explicit_bzero -D__BSD_VISIBLE -DHAVE_STRNDUP -Iinclude -Wall -Wno-pointer-sign -O2 -fPIC -DNDEBUG -c -o compat/strlcpy.o compat/strlcpy.c
gcc -I/usr/include/lua5.2 -DOPENSSL_cleanse=explicit_bzero -D__BSD_VISIBLE -DHAVE_STRNDUP -Iinclude -Wall -Wno-pointer-sign -O2 -fPIC -DNDEBUG -c -o compat/sha/sha512.o compat/sha/sha512.c
gcc -I/usr/include/lua5.2 -DOPENSSL_cleanse=explicit_bzero -D__BSD_VISIBLE -DHAVE_STRNDUP -Iinclude -Wall -Wno-pointer-sign -O2 -fPIC -DNDEBUG -c -o compat/getentropy/getentropy_linux.o compat/getentropy/getentropy_linux.c
gcc -I/usr/include/lua5.2 -DOPENSSL_cleanse=explicit_bzero -D__BSD_VISIBLE -DHAVE_STRNDUP -Iinclude -Wall -Wno-pointer-sign -O2 -fPIC -DNDEBUG -c -o src/main.o src/main.c
src/main.c:19:10: fatal error: lua.h: No such file or directory
#include <lua.h>
^~~~~~~
compilation terminated.
make: *** [: src/main.o] Error 1

Error: Build error: Failed building.

J’ai l’impression qu’il ne trouve pas le fichier “lua.h” or quand je le cherche je le trouve bien :

I thinks the file lua.h is missing but if i lauch a search i found it

[root@localhost:~] 1 # find / -name “lua.h”
/usr/include/lua5.1/lua.h

Quelqu’un aurait il une idée pour m’aider svp ? Merci
Does anyone an idea to help me please ? Thanks a lot

Scott
Podmaster dicespora.net

Ok donc j’ai trouvé comment me sortir de cette erreur…
So i finaly found how to exit this error…

—> apt install lua5.2*

c’est barbare mais au moins j’ai pu terminé mon installation de Prosody !
Alors maintenant j’ai souci de configuration Nginx… Mon diaspora* fonctionne bien tant que je n’active pas le Chat… mais ça… ça va faire un nouveau billet dans le support ^^

It’s barbare but i was able to finish the installation of Prosody ! Now i’ve a new soucy on nginx configuration… My pod works well without chat activation but when i enable it, it crashe in loop. See you in a new ticket for that :wink:

Scott
Podmaster dicespora.net