lurch icon indicating copy to clipboard operation
lurch copied to clipboard

Issue to Install in Puppy Linux

Open MundoDasCPUs opened this issue 3 years ago • 5 comments

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 <purple.h> ^~~~~~~~~~ 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

MundoDasCPUs avatar Apr 02 '21 02:04 MundoDasCPUs

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?

gkdr avatar Apr 03 '21 19:04 gkdr

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.

MundoDasCPUs avatar Apr 03 '21 22:04 MundoDasCPUs

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?

gkdr avatar Jun 03 '21 15:06 gkdr

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 <purple.h> ^~~~~~~~~~ compilation terminated. Makefile:148: recipe for target 'build/lurch.o' failed make: *** [build/lurch.o] Error 1

MundoDasCPUs avatar Nov 20 '21 17:11 MundoDasCPUs

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

EionRobb avatar Nov 20 '21 18:11 EionRobb