LinuxQuestions.org
Help answer threads with 0 replies.
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 01-18-2009, 12:06 PM   #1
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Rep: Reputation: 20
QuteCom on Slackware 12.2


Dear all,

I can not compile QuteCom.
Does one of you has successfully installed QuteCom on Slackware 12.2?
Best,

Eric.
 
Old 01-18-2009, 01:12 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I just tried and it seems to be a very difficult one to compile. I've tried and it doesn't want to. But if you wish to try, I got close. First you need to have qt4 installed, if you don't have it, then install it. You'll also need other dependencies like libsndfile and speex and ffmpeg and more.

I would recommend maybe try to find an rpm and use 'rpm2tgz' and then install it, maybe it'll work. If not, try compiling it and post back if you have problems, I've had to modify the makefile and fix some C code and it still won't compile. As usual, this project code is in a terrible state.
 
Old 01-18-2009, 10:08 PM   #3
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by aihaike View Post
Dear all,
I can not compile QuteCom.
Does one of you has successfully installed QuteCom on Slackware 12.2?
I took a look at the qutecom website and took a stab at getting it to run. I downloaded the 2.2-RC3 version and looked at the INSTALL.txt file. According to this file you need a C++ compiler, QT4, BOOST, and CMake. The C compiler and Cmake should be installed in a full Slackware install and QT4 and Boost can be downloaded and compiled from slackbuilds.org. I did a quick google search and there are some patches to get the RC3 version to compile on Linux. I found the message here and the resulting patches I used to compile QuteCom are here. There are some other packages needed for compiling so make sure you read INSTALL.txt carefully. With that information I compiled QuteCom successfully. I made a slackbuild for QuteCom. If you'd like to use it for reference or to even compile the program then you're welcome to it. My qutecom.SlackBuild is available here.
The only issue I found was when I ran QuteCom from the command line it gave me this message.
Code:
[root@darkstar]:qutecom
(info) 18:17:53 [Common] void QtLanguage::loadLanguageFromConfig(): no Qt translation available for locale 'en_US'
During compilation there were several warnings but they didn't seem to interfere with the compile. Since this is a release candidate the warnings seem consistent with this type of release. There are some more patches that could be used but you can apply them yourself. The bugtracker is here.
 
Old 01-19-2009, 04:08 AM   #4
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Original Poster
Rep: Reputation: 20
Thank you for your replies guys,

Actually,

I've successfully compiled it on slackware 12.1. And with the 12.2 I get:


[ 43%] Building C object wifo/phapi/CMakeFiles/phapi.dir/phcodec-avcodec-wrapper.o
/home/germaneau/soft/qutecom/qutecom-2.2-RC3/wifo/phapi/phcodec-avcodec-wrapper.c:55: warning: no previous prototype for 'ph_avcodec_wrapper_init'
/home/germaneau/soft/qutecom/qutecom-2.2-RC3/wifo/phapi/phcodec-avcodec-wrapper.c: In function 'phcodec_avcodec_encoder_init':
/home/germaneau/soft/qutecom/qutecom-2.2-RC3/wifo/phapi/phcodec-avcodec-wrapper.c:126: error: 'AVCodecContext' has no member named 'rtp_mode'
make[2]: *** [wifo/phapi/CMakeFiles/phapi.dir/phcodec-avcodec-wrapper.o] Error 1
make[1]: *** [wifo/phapi/CMakeFiles/phapi.dir/all] Error 2
make: *** [all] Error 2


I knew about these patches you gave me the references but Idonot know how to use them. Just now I get:


patch -p1 < ../../qutecom_googlebreakpad_64.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/libs/3rdparty/googlebreakpad/CMakeLists-internal-unix.txt b/libs/3rdparty/googlebreakpad/CMakeLists-internal-unix.txt
|--- a/libs/3rdparty/googlebreakpad/CMakeLists-internal-unix.txt
|+++ b/libs/3rdparty/googlebreakpad/CMakeLists-internal-unix.txt
--------------------------
File to patch:


Can you please explain to me?
I've just try your script and the result is


./compile.sh: line 76: (: command not found


Best,

Eric.

Last edited by aihaike; 01-19-2009 at 04:10 AM.
 
Old 01-19-2009, 04:20 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Try a different level so, '-p2' or '-p3', and make sure you put the patch in the main source directory.

What I did to get past that error is open '/home/germaneau/soft/qutecom/qutecom-2.2-RC3/wifo/phapi/phcodec-avcodec-wrapper.c' and comment out line 126 using a '//' in front of it.
 
Old 01-19-2009, 04:53 AM   #6
aihaike
Member
 
Registered: Feb 2006
Location: Paris, France
Distribution: Slackware, CentOS
Posts: 270

Original Poster
Rep: Reputation: 20
Thumbs up

Thank you very much,

with your script I've apply patches correctly and then after commented out that line the program compiled.
Best,

Eric.
 
Old 01-19-2009, 05:15 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Cool, it really compiled ? Amazing, really. Well, if so, glad to hear that.
 
Old 01-19-2009, 08:04 AM   #8
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by aihaike View Post
Thank you very much,

with your script I've apply patches correctly and then after commented out that line the program compiled.
Glad it helped. Line 126 was actually deleted with the patch "qutecom_wifo_phapi.patch" file.

Last edited by larryhaja; 01-19-2009 at 08:30 AM.
 
  


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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM

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

All times are GMT -5. The time now is 10:28 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