gkdr / lurch

XEP-0384: OMEMO Encryption for libpurple.
GNU General Public License v3.0
289 stars 32 forks source link

Issue to Install in Puppy Linux #169

Open MundoDasCPUs opened 3 years ago

MundoDasCPUs commented 3 years ago

I am trying to install lurch in puppy linux, but i got this error:

make install-home

Package purple was not found in the pkg-config search path. Perhaps you should add the directory containing `purple.pc' to the PKG_CONFIG_PATH environment variable No package 'purple' found cc -fPIC -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I./headers/jabber -I./lib/libomemo/src -I./lib/axc/src -I./lib/axc/lib/libsignal-protocol-c/src -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch.c -o build/lurch.o ./src/lurch.c:7:10: fatal error: purple.h: No such file or directory

include

      ^~~~~~~~~~

compilation terminated. Makefile:148: recipe for target 'build/lurch.o' failed make: *** [build/lurch.o] Error 1

I checked the dependence in PPM and all was installed. Thanks

gkdr commented 3 years ago

hi, and thanks for the report! it looks like the dev headers are missing, which often have to be installed separately. i failed to find a searchable package registry for the puppy package manager (which is assume PPM stands for), so i can't say for sure. which dependencies exactly did you make sure are installed?

MundoDasCPUs commented 3 years ago

Hi, I installed that's dependence:

cmake_3.10.2 git-all_2.17.1 libpurple0_2.12.0 libmxml1_2.10-1 libxml2_2.9.4 libsqlite3-0_3.22.0 libgcrypt20_1.8.1 build-essential_12.4

My puppy linux is bionic_puppy x86. Have packets .pet (propriety of puppy) and this distro get parts of Ubuntu 18 TLS to complement the library.

gkdr commented 3 years ago

sorry i didn't get back to you earlier. as i said, i couldn't really find a package registry. if it's ubuntu based, the dev headers are in fact in a separate package. here is the list of packages needed for debian from the readme:

sudo apt install git cmake libpurple-dev libmxml-dev libxml2-dev libsqlite3-dev libgcrypt20-dev build-essential

can you try installing the -dev packages?

MundoDasCPUs commented 3 years ago

when i set make install-home, i got this error:

make install-home Package purple was not found in the pkg-config search path. Perhaps you should add the directory containing `purple.pc' to the PKG_CONFIG_PATH environment variable No package 'purple' found cc -fPIC -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I./headers/jabber -I./lib/libomemo/src -I./lib/axc/src -I./lib/axc/lib/libsignal-protocol-c/src -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch.c -o build/lurch.o ./src/lurch.c:7:10: fatal error: purple.h: No such file or directory

include

      ^~~~~~~~~~

compilation terminated. Makefile:148: recipe for target 'build/lurch.o' failed make: *** [build/lurch.o] Error 1

EionRobb commented 3 years ago

@MundoDasCPUs you're still missing the purple-dev package