[SATLUG] compiling latest kphone
Chris Lemire
good_bye300 at yahoo.com
Fri May 30 14:14:20 CDT 2008
Bruce Dubbs <bruce.dubbs at gmail.com> wrote: Chris Lemire wrote:
> Thanks! That did the trick, and here's what I used.
> # export QTDIR=/usr/lib64/qt-3.3/
> So, I might have to create a custom launcher for this app. Something like the
> following.
> QTDIR=/usr/lib64/qt-3.3/ kphone
> That way the qt4 apps don't conflict.
Umm, no. QTDIR is used for building, not running. You may needs something like:
LD_LIBRARY_PATH=/usr/lib64/qt-3.3/ kphone
-- Bruce
--
_______________________________________________
SATLUG mailing list
SATLUG at satlug.org
http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
Powered by Rackspace (www.rackspace.com)
[root at localhost kphone]# export QTDIR=/usr/lib64/qt-3.3/
[root at localhost kphone]# ./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking whether gcc needs -traditional... (cached) no
checking for moc... (cached) /usr/lib64/qt-3.3//bin/moc
checking for uic... (cached) /usr/lib64/qt-3.3//bin/uic
checking location of Qt header files... (cached) /usr/lib64/qt-3.3//include
checking location of Qt library... (cached) /usr/lib64/qt-3.3//lib
(cached) checking if Qt is multi-threaded... (cached) yes
checking whether to enable thread... yes
checking whether to enable srtp... no
checking for main in -lX11... (cached) yes
checking for main in -lXext... (cached) yes
checking for main in -lXt... (cached) yes
checking for main in -lICE... (cached) yes
checking for main in -lSM... (cached) yes
checking for main in -lpng... (cached) yes
checking for main in -lssl... (cached) yes
checking for openssl/md5.h... (cached) yes
checking for main in -lasound... (cached) yes
checking for alsa/asoundlib.h... (cached) yes
checking whether to enable ALSA... yes
checking for main in -ljack... (cached) no
checking for jack/jack.h... (cached) no
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for select... (cached) yes
checking whether to enable debugging... no
creating ./config.status
creating Makefile
creating kphone/Makefile
creating dissipate2/Makefile
creating ilbc/Makefile
creating gsm/Makefile
creating icons/Makefile
creating po/Makefile
creating config.h
config.h is unchanged
Now type 'make', followed by 'make install' as root.
[root at localhost kphone]# make
make[1]: Entering directory `/home/chris/Download/kphone/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/chris/Download/kphone/po'
make[1]: Entering directory `/home/chris/Download/kphone/dissipate2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/chris/Download/kphone/dissipate2'
make[1]: Entering directory `/home/chris/Download/kphone/gsm'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/chris/Download/kphone/gsm'
make[1]: Entering directory `/home/chris/Download/kphone/ilbc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/chris/Download/kphone/ilbc'
make[1]: Entering directory `/home/chris/Download/kphone/kphone'
c++ -I/usr/lib64/qt-3.3//include -Wall -O3 -I. -I../gsm -I../ilbc -I../dissipate2 -DHAVE_CONFIG_H -DSHARE_DIR=\"/usr/local/share/apps/kphone\" -DPO_DIR=\"/usr/local/share/kphone/translations//\" -c -o main.o main.cpp
In file included from main.cpp:5:
kcallwidget.h:70: error: extra qualification KCallWidget:: on member setDTMFSender
In file included from main.cpp:7:
kphoneview.h:57: error: extra qualification KPhoneView:: on member DoCall
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/chris/Download/kphone/kphone'
make: *** [all] Error 2
[root at localhost kphone]#
Now it gets passed configure, but not make. I googled it and got very few results but the one that kept coming up the most and best match was about compiling on mips architecture I think. Someone said it would be reported as a bug and provided a patch. I've tried that patch over and over again with Travis M.'s help, and have not succeeded.
[root at localhost kphone]# cat patchtest
--- ./kphone/kphoneview.h~ 2006-03-20 13:57:59.000000000 +0000
+++ ./kphone/kphoneview.h 2006-03-20 13:58:06.000000000 +0000
@@ -54,7 +54,7 @@
QString getStunSrv( void );
void kphoneQuit( void );
bool getState( void );
- KCallWidget *KPhoneView::DoCall( QString num, SipCall::CallType ctype );
+ KCallWidget *DoCall( QString num, SipCall::CallType ctype );
signals:
void stateChanged( void );
--- ./kphone/kcallwidget.h~ 2006-03-20 13:58:15.000000000 +0000
+++ ./kphone/kcallwidget.h 2006-03-20 13:58:20.000000000 +0000
@@ -67,7 +67,7 @@
void clickHangup( void );
void setHide( void );
bool isHided( void ) const { return hided; }
- void KCallWidget::setDTMFSender( QString &s );
+ void setDTMFSender( QString &s );
public slots:
void pleaseDial( const SipUri &dialuri );
[root at localhost kphone]# patch -N -i patchtest
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- ./kphone/kphoneview.h~ 2006-03-20 13:57:59.000000000 +0000
|+++ ./kphone/kphoneview.h 2006-03-20 13:58:06.000000000 +0000
--------------------------
File to patch: ^C
[root at localhost kphone]# patch -N -p1 -i patchtest
patching file kphone/kphoneview.h
Hunk #1 FAILED at 54.
1 out of 1 hunk FAILED -- saving rejects to file kphone/kphoneview.h.rej
patching file kphone/kcallwidget.h
Hunk #1 FAILED at 67.
1 out of 1 hunk FAILED -- saving rejects to file kphone/kcallwidget.h.rej
[root at localhost kphone]#
Also, sorry about the repeated emails. I couldn't figure out why after hours my emails were not making it to the list, so I kept trying, and there was a big time delay from the time I sent the emails to the time they got to the list.
Christopher Lemire <christopher.lemire at gmail.com>
SKYPE AND LQ FORUMS: fakie_flip
AIM AND YIM: good bye300
IRC: linux_user400354
GTALK, JABBER AND MSN: recursivequicksort at jabber.org
More information about the SATLUG
mailing list