checking for libmesode >= 0.9.2... no
checking for libstrophe >= 0.9.2... no
configure: error: Neither libmesode or libstrophe in version >= 0.9.2 found, either is required for profanity
Error 1 with command './configure' on line 100. Exiting.
Huh?
The installation script was:
wget --no-clobber https://github.com/strophe/libstrophe/archive/master.zip
unzip master.zip
cd libstrophe-master
./bootstrap.sh
./configure
make
make install
cd ..
rm -rf libstrophe-master
rm -f master.zip
wget --no-clobber http://www.profanity.im/profanity-0.6.0.zip
unzip profanity-0.6.0.zip
cd profanity-0.6.0
wget http://www.profanity.im/install-all.sh
chmod u+x install-all.sh
./install-all.sh
cd ..
rm -rf profanity-0.6.0
rm -f profanity-0.6.0.zip
Going to switch to 0.5.1 then.
Yet I cannot. Having a problem with pgp encryption:
! Invalid PGP key ID (null): Invalid value, cannot start PGP encryption
Even though I made /pgp setkey successfully.
The bug appeared right after I made a new account.
In the profanity log file:
Hm...
prof: ERR: GPG: Failed to get key. GPGME Invalid value
Yet I successfully exported a public key of the contact with:
gpg --export -a "User Name"
Interestingly, the contact can send me the encrypted messages. Yet I - cannot. Very strange. It looks like I cannot set his public key.
Not sure what to do..
Concerning the first issue: Have you looked in ./config.log after the compilation failure?
Would be nice if you could post the content of the file on https://paste.dismail.de/ or some other pastebin.
Are you using a key ID, like 63C1CF3264BDC8E384D33629E1382990BEDD319B or you mail address/user ID when running /pgp setkey?
I've not used GPG in a while but I think I used the key ID. :)
2 @optmzr
Are you using a key ID, like 63C1CF3264BDC8E384D33629E1382990BEDD319B or you mail address/user ID when running /pgp setkey?
I am using key ID, which I copied from the output of:
gpg --list-key --key-id-format=LONG
which outputs the same keyids as profanity's /pgp keys
Just reconnected to my old account and tried /pgp setkey ...
... it worked.
Oh. I had to do /account set pgpkeyid for my new account. I was doing it wrongly, through /pgp setkey. :)
The error message could be more helpful, though.
@optmzr
"Concerning the first issue: Have you looked in ./config.log after the compilation failure?"
Well, no. I looked into the output of the install-all.sh and tried to use google, which was unsuccessful (that was the reason I inserted the installation of libstrophe-master into the script).
The log is here:
https://da.gd/LhdN -> https://paste.fedoraproject.org/paste/9R36ODrFxNUTc32Xulr6Aw/
Ah! Of course, you set the key for your contact! :)
Maybe (probably) pkg-config doesn't look in /usr/local, could you try to install libstrophe into /usr with:
wget --no-clobber https://github.com/strophe/libstrophe/archive/master.zip
unzip master.zip
cd libstrophe-master
./bootstrap.sh
./configure --prefix=/usr # <---- This
make
make install
cd ..
rm -rf libstrophe-master
rm -f master.zip
...
@optmzr
I looked into the log now and I see that there is a problem with a version of libmesode. I looked into the installation directory of profanity and found 0.9.1 version of that library. Strange. Lets build 0.9.2 and see what happens.
... The error message could be more helpful, though.
Indeed, it should say that no key has been set instead.
@reardenlife
I looked into the log now and I see that there is a problem with a version of libmesode. I looked into the installation directory of profanity and found 0.9.1 version of that library. Strange. Lets build 0.9.2 and see what happens.
FYI both libmesode and libstrophe will work, as libmesode is just a fork of libstrophe, so you only need one of them installed :)
Huh. I found this line in the install-all.sh in the libmesode install function:
git checkout 0.9.1
Though the installator later checks if 0.9.2 is present. :)
Let me comment it out and restart the installer...
Well, yeah.
The installation is successful now.
There seems to be a problem at http://www.profanity.im/install-all.sh , it requests the wrong version of libmesode.
Aha!
Yes, the site http://www.profanity.im is outdated (see: https://profanity-im.github.io/ instead).
We're currently unable to redirect (at least I think so) to the Github pages variant.
It should be updated on the other site, though:
https://github.com/profanity-im/profanity-im.github.io/commit/558c45d41f638ca3c21586c14b0ec8ea1dc24b2a
The original author of profanity owns http://www.profanity.im
The plan was for him to forward from there to the new GitHub hosted domain. Seems he didn't yet have time to do so :)
I encourage everybody to use the new URL since it's the only one we have access too ourselves without delay.
Most helpful comment
Aha!
Yes, the site http://www.profanity.im is outdated (see: https://profanity-im.github.io/ instead).
We're currently unable to redirect (at least I think so) to the Github pages variant.
It should be updated on the other site, though:
https://github.com/profanity-im/profanity-im.github.io/commit/558c45d41f638ca3c21586c14b0ec8ea1dc24b2a