LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-26-2016, 09:17 AM   #1
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
building tox (multiplatform instant messaging)


I've been trying to build tox, a multimedia messenger, and I was
aiming at building its qt client (qtox). So I successively went on
building/installing:
1. qrencode
2. sqlcipher
3. openal
4. lame
5. libxkbcommon
6. qt5
7. libfilteraudio
8. opus
9. libsodium
10. speex
11. x264
12. ffmpeg
13. toxcore

which went well, but when I tried to build qtox I got a compilation
error, so I switched to another client
14. utox
That one was easy to build, install, and test.

https://tox.chat/
 
Old 08-26-2016, 09:35 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Were you trying to find out why qTox wouldn't build or just providing an alternative to people who can't build it?
 
Old 08-26-2016, 09:37 AM   #3
the3dfxdude
Member
 
Registered: May 2007
Posts: 730

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
Do you know what the differences are between the two? I hadn't seen all the deps on qtox. I think I stopped first at just seeing qt5, since utox didn't need anything like that. Nothing wrong with qt5 of course, just not what I want to spend more than a few minutes on just for one app (I don't have any qt5 so far). But even then, ffmpeg, lame, openal, x264, are all things that are beyond utox. utox seems to be full featured enough as it is.
 
Old 08-26-2016, 09:56 AM   #4
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by bassmadrigal View Post
Were you trying to find out why qTox wouldn't build or just providing an alternative to people who can't build it?
I guess I was providing an alternative.
 
Old 08-26-2016, 10:11 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
You could also share the compilation log so we can try and find a solution for the error.
I was planning on compiling qtox myself... for inclusion into one of my future PLASMA5 Live ISO images (since the majority of dependencies would already be fulfilled by the PLASMA5 package set).
 
Old 08-26-2016, 10:20 AM   #6
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by the3dfxdude View Post
Do you know what the differences are between the two? I hadn't seen all the deps on qtox. I think I stopped first at just seeing qt5, since utox didn't need anything like that. Nothing wrong with qt5 of course, just not what I want to spend more than a few minutes on just for one app (I don't have any qt5 so far). But even then, ffmpeg, lame, openal, x264, are all things that are beyond utox. utox seems to be full featured enough as it is.
As I was aiming at building a qt5 client, the list is longer than necessary for building a gtk client.

But still: toxcore, libfilteraudio, opus, libsodium, OpenAL are prerequisites for building utox

utox requires: libfilteraudio, toxcore
toxcore requires: requires: opus, libsodium
libfilteraudio requires: OpenAL
libsodium, OpenAL have no requirements

So for utox the list should be
1. openal
2. libfilteraudio
3. opus
4. libsodium
5. toxcore
6. utox

For a description of the different clients:
https://tox.chat/clients.html

Last edited by vonbiber; 08-26-2016 at 10:22 AM. Reason: forgot to add a link showing the description of different clients
 
Old 08-26-2016, 10:50 AM   #7
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
I just built qTox and all deps yesterday on a clean install of -current. I didn't have any issues.

I've used qTox since I found out about it and when I tried uTox it just felt "stripped down" to me and everything looked oversized. Things may have changed since then but I think that qTox is the better choice. That of course is just my opinion.

And I think your build list is a little long for qTox, this is what I build for qTox (and in this order);

qrencode
OpenAL
libfilteraudio
libxkbcommon
qt5 - (AlienBob)
ffmpeg - (AlienBob)
opus
libsodium
toxcore
sqlcipher
qTox

Last edited by Skaendo; 08-26-2016 at 10:54 AM.
 
Old 08-26-2016, 11:19 AM   #8
the3dfxdude
Member
 
Registered: May 2007
Posts: 730

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
Quote:
Originally Posted by vonbiber View Post
As I was aiming at building a qt5 client, the list is longer than necessary for building a gtk client.
Oh ok. Now I understand the list you posted. So it is basically the same, plus qt5. I'll be interested in it in a later date, but not now. I think qtox might be a more complete client, but so far I can't see what the difference is. Do you know any difference?

Edit: @Skaendo, same question on qtox, since you are already there. How long ago did you try utox? Last time I was using any tox client, I don't think there was any kind of video support, so, it has changed quite rapidly.

Last edited by the3dfxdude; 08-26-2016 at 11:22 AM.
 
Old 08-26-2016, 11:54 AM   #9
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by the3dfxdude View Post
Oh ok. Now I understand the list you posted. So it is basically the same, plus qt5. I'll be interested in it in a later date, but not now. I think qtox might be a more complete client, but so far I can't see what the difference is. Do you know any difference?

Edit: @Skaendo, same question on qtox, since you are already there. How long ago did you try utox? Last time I was using any tox client, I don't think there was any kind of video support, so, it has changed quite rapidly.
It was some time ago that I tried uTox, probably not long after I heard about Tox, I'd say 6m to 1y ago. It just felt like a stripped down version to me. I couldn't tell you the specific differences, but the UI did look different than the image that is posted now. Everything looked "oversized". Honestly, to me it felt like comparing Windows to Linux (Linux being qTox).

On qTox I've used the chat, group chat, file transfer, smileys and screenshot. I haven't used the call or video chat yet. But I like qTox a lot.
Attached Thumbnails
Click image for larger version

Name:	screenshot10.png
Views:	24
Size:	32.4 KB
ID:	22855  

Last edited by Skaendo; 08-26-2016 at 11:59 AM.
 
Old 08-27-2016, 01:33 AM   #10
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by Alien Bob View Post
You could also share the compilation log so we can try and find a solution for the error.
I was planning on compiling qtox myself... for inclusion into one of my future PLASMA5 Live ISO images (since the majority of dependencies would already be fulfilled by the PLASMA5 package set).
I figured out what went wrong. My qt5 symbolic links are all messed up.
qmake-qt5 points to the qt4 qmake

When I replaced
Code:
qmake-qt5 ....
by
Code:
/usr/lib$LIBDIRSUFFIX/qt5/bin/qmake ...
everything worked fine.
Now I'll have to fix my qt5.SlackBuild and rebuild and reinstall qt5
By the way these lines (in qtox.SlackBuild from slackbuilds.org) can be safely deleted:
Code:
# Prevent multilib interference
if [ "$ARCH" = "x86_64" ]; then
  sed -i '/\/usr\/lib\/glib-2.0\/include/d' qtox.pro
  sed -i '/\/usr\/lib\/gtk-2.0\/include/d' qtox.pro
fi
(
Code:
grep /include/ qtox.pro
yields
Code:
    INCLUDEPATH += ./libs/include/
)
 
Old 08-28-2016, 01:38 AM   #11
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
I built and installed qtox on slackware 14.2 without a hitch (after I rebuilt and reinstalled qt5).

Also on my slackware 14.1 system I built/installed utox (for that,
you need to add to the list of dependencies, mentioned earlier, lipvx
(should be installed before you start building toxcore).
lipvx is part of the slackware 14.2 distribution
 
Old 08-28-2016, 02:27 AM   #12
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by vonbiber View Post
I built and installed qtox on slackware 14.2 without a hitch (after I rebuilt and reinstalled qt5).

Also on my slackware 14.1 system I built/installed utox (for that,
you need to add to the list of dependencies, mentioned earlier, lipvx
(should be installed before you start building toxcore).
lipvx is part of the slackware 14.2 distribution
So is there any really visible or functional differences between uTox and qTox?
 
Old 08-28-2016, 06:50 AM   #13
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by Skaendo View Post
So is there any really visible or functional differences between uTox and qTox?
I don't know about functionality yet.

But it looks like qtox has a more polished UI.

Both qtox and utox store the configs in ~.config/tox
utox stores 2 data files and an empty folder named avatars

qtox stores an ascii file named qtox.ini and 3 data files (extensions: db, ini, tox
and the name is the name of the profile).

utox screenshot:
http://vonbiber.byethost17.com/tmp/u01.png

qtox screenshot:
http://vonbiber.byethost17.com/tmp/q01.png
 
1 members found this post helpful.
Old 08-28-2016, 11:42 AM   #14
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Thanks for the info.

uTox current version is 0.9.8. (just FYI, I hope your not really using 0.5)
 
Old 08-28-2016, 02:13 PM   #15
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Original Poster
Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by Skaendo View Post
uTox current version is 0.9.8. (just FYI, I hope your not really using 0.5)
As a matter of fact, I was.
Thanks for the info, I'll try 0.9.8
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Instant Messaging thunyiwe Linux - Newbie 2 05-08-2008 07:35 AM
instant messaging paul62 Slackware 2 06-15-2005 03:47 AM
instant messaging arlothemoo Linux - General 2 08-19-2002 06:43 AM
instant messaging mmls Linux - Newbie 2 06-12-2002 01:39 PM
Instant messaging help Jasutinsama Linux - General 0 02-14-2001 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration