Fedora Linux Support Community & Resources Center
  #1  
Old 11th January 2012, 02:44 PM
survient Offline
Registered User
 
Join Date: Oct 2011
Posts: 5
linuxchrome
Trying to install/compile qtsixa

Been trying to install qtsixa but having issues with not being able to install python-qt4, it doesn't like PyQt4. When I try to compile from source I get:


make
make -C qtsixa
make[1]: Entering directory `/home/samuel/Downloads/qtsixa/qtsixa-1.5.0/qtsixa'
pyuic4 -o ./gui/ui_qtsixa_mainw.py ./gui/ui/qtsixa_mainw.ui
pyuic4 -o ./gui/ui_qtsixa_aboutw.py ./gui/ui/qtsixa_aboutw.ui
pyuic4 -o ./gui/ui_qtsixa_managew.py ./gui/ui/qtsixa_managew.ui
pyuic4 -o ./gui/ui_qtsixa_newdevw.py ./gui/ui/qtsixa_newdevw.ui
pyuic4 -o ./gui/ui_qtsixa_newprofilew.py ./gui/ui/qtsixa_newprofilew.ui
pyuic4 -o ./gui/ui_qtsixa_preferencesw.py ./gui/ui/qtsixa_preferencesw.ui
pyuic4 -o ./gui/ui_qtsixa_referencew.py ./gui/ui/qtsixa_referencew.ui
pyuic4 -o ./gui/ui_qtsixa_sixpairw.py ./gui/ui/qtsixa_sixpairw.ui
pyrcc4 -o ./gui/qtsixa_rc.py ./icons/qtsixa.qrc
make[1]: Leaving directory `/home/samuel/Downloads/qtsixa/qtsixa-1.5.0/qtsixa'
make -C utils
make[1]: Entering directory `/home/samuel/Downloads/qtsixa/qtsixa-1.5.0/utils'
gcc -Wall -O2 hidraw-dump.c -o bins/hidraw-dump
gcc -Wall -O2 sixad-jack.c -o bins/sixad-jack -ljack -lm
gcc -Wall -O2 sixpair.c -o bins/sixpair -lusb
gcc -Wall -O2 sixpair_kbd.c -o bins/sixpair-kbd -lusb
make -C hcid
make[2]: Entering directory `/home/samuel/Downloads/qtsixa/qtsixa-1.5.0/utils/hcid'
cc -DHAVE_CONFIG_H -I. -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c common/oui.c
cc -DHAVE_CONFIG_H -I. -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c common/dbus.c
cc -DHAVE_CONFIG_H -I. -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c common/textfile.c
common/textfile.c: In function ‘write_key’:
common/textfile.c:163:14: warning: variable ‘pos’ set but not used [-Wunused-but-set-variable]
cc -DHAVE_CONFIG_H -I. -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c common/logging.c
cc -DHAVE_CONFIG_H -I. -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c common/dbus-helper.c
cc -DHAVE_CONFIG_H -I. -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c common/error.c
cc -DHAVE_CONFIG_H -I. -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c common/sdp-xml.c
common/sdp-xml.c: In function ‘convert_raw_data_to_xml’:
common/sdp-xml.c:52:7: warning: variable ‘next_indent’ set but not used [-Wunused-but-set-variable]
cc -DHAVE_CONFIG_H -I. -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c common/sdp-glib.c
cc -DHAVE_CONFIG_H -I. -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c common/hal-dummy.c
cc -DHAVE_CONFIG_H -I. -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c common/notify-inotify.c
rm -f libhelper.a
ar cru libhelper.a oui.o dbus.o textfile.o logging.o dbus-helper.o error.o sdp-xml.o sdp-glib.o hal-dummy.o notify-inotify.o
ranlib libhelper.a
cc -DHAVE_CONFIG_H -I. -I./common -I./mod -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c sdpd/server.c
cc -DHAVE_CONFIG_H -I. -I./common -I./mod -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c sdpd/cstate.c
cc -DHAVE_CONFIG_H -I. -I./common -I./mod -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c sdpd/request.c
cc -DHAVE_CONFIG_H -I. -I./common -I./mod -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c sdpd/service.c
cc -DHAVE_CONFIG_H -I. -I./common -I./mod -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c sdpd/servicedb.c
rm -f libsdpserver.a
ar cru libsdpserver.a server.o cstate.o request.o service.o servicedb.o
server.c:103:10: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c manager.c
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c adapter.c
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c device.c
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c dbus-common.c
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c dbus-error.c
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c dbus-database.c
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c dbus-security.c
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c dbus-service.c
dbus-service.c: In function ‘service_notify’:
dbus-service.c:957:6: warning: integer overflow in expression [-Woverflow]
dbus-service.c: In function ‘init_services’:
dbus-service.c:1016:7: warning: integer overflow in expression [-Woverflow]
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c dbus-test.c
dbus-test.c: In function ‘handle_mtu_response’:
dbus-test.c:195:16: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
dbus-test.c: In function ‘handle_features_response’:
dbus-test.c:210:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c dbus-hci.c
cc -DHAVE_CONFIG_H -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c dbus-sdp.c
rm -f libhciserver.a
ar cru libhciserver.a security.o storage.o parser.o lexer.o kword.o server.o manager.o adapter.o device.o dbus-common.o dbus-error.o dbus-database.o dbus-security.o dbus-service.o dbus-test.o dbus-hci.o dbus-sdp.o
ranlib libhciserver.a
cc -DHAVE_CONFIG_H -I. -I. -I./common -I./sdpd -I./mod -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -c main.c
cc -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -o ../bins/hcid main.o libhciserver.a ./libsdpserver.a ./libhelper.a /usr/lib/libglib-2.0.so -ldbus-1 /usr/lib/libbluetooth.so
make[2]: Leaving directory `/home/samuel/Downloads/qtsixa/qtsixa-1.5.0/utils/hcid'
make[1]: Leaving directory `/home/samuel/Downloads/qtsixa/qtsixa-1.5.0/utils'
make -C sixad
make[1]: Entering directory `/home/samuel/Downloads/qtsixa/qtsixa-1.5.0/sixad'
g++ -Wall -O2 sixad-bin.cpp bluetooth.cpp shared.cpp textfile.cpp -o bins/sixad-bin -lbluetooth
sixad-bin.cpp: In function ‘int main(int, char**)’:
sixad-bin.cpp:39:20: error: taking address of temporary [-fpermissive]
make[1]: *** [sixad_bins] Error 1
make[1]: Leaving directory `/home/samuel/Downloads/qtsixa/qtsixa-1.5.0/sixad'
make: *** [build] Error 2

Any ideas? Thanks.
Reply With Quote
  #2  
Old 1st April 2012, 02:32 AM
hmaarrfk Offline
Registered User
 
Join Date: Oct 2011
Posts: 220
linuxchrome
Re: Trying to install/compile qtsixa

Same bug here (With fedora 16 x64) (I had to go through and change references of /usr/lib/ to /usr/lib64/ though, but I get stuck at the same place.....)
Reply With Quote
  #3  
Old 1st April 2012, 03:20 AM
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,808
linuxfirefox
Re: Trying to install/compile qtsixa

sixad-bin.cpp: In function ‘int main(int, char**)’:
sixad-bin.cpp:39:20: error: taking address of temporary [-fpermissive]


Quote:
-fpermissive
Downgrade some diagnostics about nonconformant code from errors to warnings. Thus, using -fpermissive will allow some nonconforming code to compile.
The current gcc is pickier about syntax and that code has a problem.
The compiler is telling you add the "-fpermissive" flag to the compule.
Look at adding "-fpermissive" to the CFLAGS (mayne in a makefile) and rebuilding.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #4  
Old 1st April 2012, 04:20 AM
hmaarrfk Offline
Registered User
 
Join Date: Oct 2011
Posts: 220
linuxchrome
Re: Trying to install/compile qtsixa

Thanks. That let made sure it compiled. I'll have to work on getting it to install, but that will be for an other day.
Reply With Quote
  #5  
Old 2nd April 2012, 09:24 AM
hmaarrfk Offline
Registered User
 
Join Date: Oct 2011
Posts: 220
linuxchrome
Re: Trying to install/compile qtsixa

I managed to compile and install it (Although i do not actually have a sixaxis to test it with)
you have to change references of addgroup to groupadd
you can find them by issuing a
Code:
cd THE TOP DIRECTORY
make clean
grep groupadd . -R
and changing the references manually by opening the files and editing them.

Then
Code:
make
sudo make install
sudo make install-system
should work.
Reply With Quote
Reply

Tags
install or compile, qtsixa

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
YUM install vs compile ... which is better? dj29152 Using Fedora 7 30th June 2010 05:24 AM
New install - Fedora 10 - need to compile kernel? bg3075 Installation, Upgrades and Live Media 12 4th June 2009 11:32 PM
QT and QWT compile/ install problems Scotsguy101 Installation, Upgrades and Live Media 0 30th April 2009 11:43 AM
How to compile/install rfswitch donjuan2001 Hardware & Laptops 6 19th February 2007 01:05 PM
Can't install rpms or compile C!!! lancelottjones Using Fedora 4 28th March 2005 02:56 PM


Current GMT-time: 01:54 (Tuesday, 02-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat