Nristen's (g)log
2022-07-25

Failures Compiling Profanity from Source

After installing regolith2 desktop (Ubuntu 22.04) on my System76 laptop I have been tryinging to install Profanity 0.12.x (xmpp client) from source but "make" was always failing.

When the compiling failed, I tried installing from the os repo (version 0.11.1) but when I tried connecting to the server it would fail.

When compiling the latest (v0.12.1) from source, I was very careful to make sure all of the dependencies were installed but I still got errors when running make.

Tonight, I made another attempt:

  1. uninstall profanity 0.11.1 by running,

sudp apt purge profanity

which was successful (no errors)

  1. Downloaded https://profanity-im.github.io/tarballs/profanity-0.12.1.tar.gz

  1. Ran md5sum to make sure the checksum matched what was on the website to verify I had a good download.

  1. After gunzipping and untarring the file, I ran ./configure and make but had the same issue

tar xzf profanity-0.12.1.tar.gz

  1. I looked at the list of dependencies at https://profanity-im.github.io/guide/0120/build.html#pkgdeps again.

  1. I remembered that previously I had cloned and compiled the latest version of libstrophe which went without any problems or at least any errors.

  1. On a whim, I checked to see what version of libstrophe was packaged with the OS repo. It was 0.11. I wondered if maybe the older version being installed with the newer compiled version was causing issues. So I first uninstalled libstrophe using apt remove.

  1. Then I recompiled and reinstalled libstrophe using:

./configure && make && sudo make install

  1. After compiling and reinstalling libstrophe with no erros, I again went back to the profanity-0.12.1 directory.

  1. I ran:

make clean
.configure
make

  1. Woot!!! No errors this time when running make.

  1. Needless to say, after running

sudo make install

profanity ran perfectly and connected instantly upon running

/connect karl@chat.theharrisclan.net 

in profanity.

When I ran /help there were more commands available for me to explore and learn about.

Ok, time to stop this post and go play with profanity.

References:

=> https://profanity.im
=> https://regolith-desktop.com/

Tags: xmpp, profanity, source, compile

Contact:

mailto:nristen@ctrl-c.club

xmpp:karl@chat.theharrisclan.net


=> Nristen (g)log index | Nristen Home

Proxy Information
Original URL
gemini://gemini.ctrl-c.club/~nristen/gemlog/20220725.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
428.385308 milliseconds
Gemini-to-HTML Time
0.770831 milliseconds

This content has been proxied by September (ba2dc).