EionRobb / purple-instagram

Instagram protocol plugin for libpurple
GNU General Public License v3.0
39 stars 4 forks source link

how to install it ? #7

Open kascesar opened 5 years ago

kascesar commented 5 years ago

plz, can u giveme some information how to compile it, or how to install it under linux!

EionRobb commented 5 years ago

Whoops, I thought I had the instructions on the front page, sorry. Should be the same as all my other plugins when compiling from scratch:

Install devel headers/libs for libpurple and libjson-glib [libglib2.0-dev, libjson-glib-dev and libpurple-dev]

git clone git://github.com/EionRobb/purple-instagram.git
cd purple-instagram
make
sudo make install
kascesar commented 5 years ago

nice, works perfect! thnks you! :)

negasis commented 5 years ago

Hey what about windows? How do I use this with Windows?

EionRobb commented 5 years ago

Whoops. Windows: https://eion.robbmob.com/libinstagram.dll

retrolinuxuser commented 2 years ago

Whoops, I thought I had the instructions on the front page, sorry. Should be the same as all my other plugins when compiling from scratch:

Install devel headers/libs for libpurple and libjson-glib [libglib2.0-dev, libjson-glib-dev and libpurple-dev]

git clone git://github.com/EionRobb/purple-instagram.git
cd purple-instagram
make
sudo make install

I need help I get these errors when I try to use "make"

cc -fPIC -O2 -g -pipe -shared -o libinstagram.so libinstagram.c purple2compat/http.c purple2compat/purple-socket.c pkg-config purple glib-2.0 json-glib-1.0 zlib --libs --cflags -ldl -Ipurple2compat -g -ggdb Package json-glib-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `json-glib-1.0.pc' to the PKG_CONFIG_PATH environment variable Package 'json-glib-1.0', required by 'virtual:world', not found libinstagram.c:4:10: fatal error: glib.h: No such file or directory 4 | #include | ^~~~ compilation terminated. In file included from purple2compat/http.c:22: purple2compat/http.h:31:10: fatal error: glib.h: No such file or directory 31 | #include | ^~~~ compilation terminated. In file included from purple2compat/purple-socket.c:22: purple2compat/purple-socket.h:31:10: fatal error: connection.h: No such file or directory 31 | #include "connection.h"

EionRobb commented 2 years ago

@retrolinuxuser looks like you missed a step: "Install devel headers/libs for libpurple and libjson-glib [libglib2.0-dev, libjson-glib-dev and libpurple-dev]"

retrolinuxuser commented 2 years ago

Whoops, I thought I had the instructions on the front page, sorry. Should be the same as all my other plugins when compiling from scratch:

Install devel headers/libs for libpurple and libjson-glib [libglib2.0-dev, libjson-glib-dev and libpurple-dev]

git clone git://github.com/EionRobb/purple-instagram.git
cd purple-instagram
make
sudo make install

I need help I get these errors when I try to use "make"

cc -fPIC -O2 -g -pipe -shared -o libinstagram.so libinstagram.c purple2compat/http.c purple2compat/purple-socket.c pkg-config purple glib-2.0 json-glib-1.0 zlib --libs --cflags -ldl -Ipurple2compat -g -ggdb Package json-glib-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `json-glib-1.0.pc' to the PKG_CONFIG_PATH environment variable Package 'json-glib-1.0', required by 'virtual:world', not found libinstagram.c:4:10: fatal error: glib.h: No such file or directory 4 | #include | ^~~~ compilation terminated. In file included from purple2compat/http.c:22: purple2compat/http.h:31:10: fatal error: glib.h: No such file or directory 31 | #include | ^~~~ compilation terminated. In file included from purple2compat/purple-socket.c:22: purple2compat/purple-socket.h:31:10: fatal error: connection.h: No such file or directory 31 | #include "connection.h"

@retrolinuxuser looks like you missed a step: "Install devel headers/libs for libpurple and libjson-glib [libglib2.0-dev, libjson-glib-dev and libpurple-dev]"

thanks for the help but I'm getting this error.

sudo dnf install libglib2.0-dev Last metadata expiration check: 0:25:06 ago on Fri 19 Nov 2021 09:11:29 AM CST. No match for argument: libglib2.0-dev Error: Unable to find a match: libglib2.0-dev

I'm using fedora linux.