22nd Jan, 2015, 07:19 AM
22nd Jan, 2015, 10:17 AM
(22nd Jan, 2015 07:19 AM)CurlyMo Wrote: [ -> ]What were the exact libraries you had issues with on elementaryos?
Can you guys check how cross-platform this compiled version behaves: http://xbian.org/XBian-installer.zip
In elementaryOS still does not work because it needs "ZLIB" and "GLIBC", but are the only one needed this time.
(I feel like this distro don't include a single lib! )
On mint 17 works fine, but a little more ugly, look: (mine on the left, yours on the right)
Btw what settings have you used?
Also i've found that some of the problems in mine are because of lGl (libGL.so). I have it installed but not in the folder he wants. But i've made a symbolic link the fist time i've posted in this thread so i could compile in the first place, dunno if has something to do with this.
Nevertheless, i feel like making a complete static application is impossible, and since it works in a clean ubuntu and similar, it's ok. The other systems can install the dependencies from the repos (and this dependencies show on the terminal so it's not a big deal i think).
22nd Jan, 2015, 10:31 AM
Can you post the output when it "complains"? And can you post the output of ldd XBian-installer
22nd Jan, 2015, 11:10 AM
(22nd Jan, 2015 10:31 AM)CurlyMo Wrote: [ -> ]Can you post the output when it "complains"? And can you post the output of ldd XBian-installer
When i use this on xbian-installer.pro:
Spoiler (Click to View)
unix {
SOURCES += diskwriter_unix.cpp
HEADERS += diskwriter_unix.h
LIBS += -lz
CONFIG += static
QMAKE_LFLAGS = -static -static-libgcc
}
SOURCES += diskwriter_unix.cpp
HEADERS += diskwriter_unix.h
LIBS += -lz
CONFIG += static
QMAKE_LFLAGS = -static -static-libgcc
}
I get this output, "complains" at the end in bold:
Spoiler (Click to View)
$ make
/home/calhaus/qt-static-5.4.0/bin/uic installer.ui -o ui_installer.h
/home/calhaus/qt-static-5.4.0/bin/uic dialog.ui -o ui_dialog.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o main.o main.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o installer.o installer.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o version.o version.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o dialog.o dialog.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o diskwriter_unix.o diskwriter_unix.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o xbian-installer_plugin_import.o xbian-installer_plugin_import.cpp
/home/calhaus/qt-static-5.4.0/bin/rcc -name rsc rsc.qrc -o qrc_rsc.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o qrc_rsc.o qrc_rsc.cpp
/home/calhaus/qt-static-5.4.0/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/calhaus/qt-static-5.4.0/mkspecs/linux-g++ -I/home/calhaus/Desktop/xbian_instaler_git_copy -I/home/calhaus/qt-static-5.4.0/include -I/home/calhaus/qt-static-5.4.0/include/QtWidgets -I/home/calhaus/qt-static-5.4.0/include/QtGui -I/home/calhaus/qt-static-5.4.0/include/QtXml -I/home/calhaus/qt-static-5.4.0/include/QtNetwork -I/home/calhaus/qt-static-5.4.0/include/QtCore -I/opt/ros/indigo/include -I/usr/include/c++/4.8 -I/usr/include/x86_64-linux-gnu/c++/4.8 -I/usr/include/c++/4.8/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include installer.h -o moc_installer.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o moc_installer.o moc_installer.cpp
/home/calhaus/qt-static-5.4.0/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/calhaus/qt-static-5.4.0/mkspecs/linux-g++ -I/home/calhaus/Desktop/xbian_instaler_git_copy -I/home/calhaus/qt-static-5.4.0/include -I/home/calhaus/qt-static-5.4.0/include/QtWidgets -I/home/calhaus/qt-static-5.4.0/include/QtGui -I/home/calhaus/qt-static-5.4.0/include/QtXml -I/home/calhaus/qt-static-5.4.0/include/QtNetwork -I/home/calhaus/qt-static-5.4.0/include/QtCore -I/opt/ros/indigo/include -I/usr/include/c++/4.8 -I/usr/include/x86_64-linux-gnu/c++/4.8 -I/usr/include/c++/4.8/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include diskwriter.h -o moc_diskwriter.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o moc_diskwriter.o moc_diskwriter.cpp
/home/calhaus/qt-static-5.4.0/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/calhaus/qt-static-5.4.0/mkspecs/linux-g++ -I/home/calhaus/Desktop/xbian_instaler_git_copy -I/home/calhaus/qt-static-5.4.0/include -I/home/calhaus/qt-static-5.4.0/include/QtWidgets -I/home/calhaus/qt-static-5.4.0/include/QtGui -I/home/calhaus/qt-static-5.4.0/include/QtXml -I/home/calhaus/qt-static-5.4.0/include/QtNetwork -I/home/calhaus/qt-static-5.4.0/include/QtCore -I/opt/ros/indigo/include -I/usr/include/c++/4.8 -I/usr/include/x86_64-linux-gnu/c++/4.8 -I/usr/include/c++/4.8/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include dialog.h -o moc_dialog.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o moc_dialog.o moc_dialog.cpp
/home/calhaus/qt-static-5.4.0/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/calhaus/qt-static-5.4.0/mkspecs/linux-g++ -I/home/calhaus/Desktop/xbian_instaler_git_copy -I/home/calhaus/qt-static-5.4.0/include -I/home/calhaus/qt-static-5.4.0/include/QtWidgets -I/home/calhaus/qt-static-5.4.0/include/QtGui -I/home/calhaus/qt-static-5.4.0/include/QtXml -I/home/calhaus/qt-static-5.4.0/include/QtNetwork -I/home/calhaus/qt-static-5.4.0/include/QtCore -I/opt/ros/indigo/include -I/usr/include/c++/4.8 -I/usr/include/x86_64-linux-gnu/c++/4.8 -I/usr/include/c++/4.8/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include diskwriter_unix.h -o moc_diskwriter_unix.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o moc_diskwriter_unix.o moc_diskwriter_unix.cpp
g++ -static -Wl,-O1 -o XBian-installer main.o installer.o version.o dialog.o diskwriter_unix.o xbian-installer_plugin_import.o qrc_rsc.o moc_installer.o moc_diskwriter.o moc_dialog.o moc_diskwriter_unix.o -L/home/calhaus/qt-static-5.4.0/lib -lQt5Widgets -lgobject-2.0 -lQt5Xml -L/home/calhaus/qt-static-5.4.0/plugins/platforms -lqwayland-egl -lwayland-egl -lqwayland-generic -lQt5WaylandClient -lxkbcommon -lwayland-client -lwayland-cursor -lqxcb -lX11-xcb -lXi -lxcb-render-util -lSM -lICE -lxcb-glx -lxcb-render -ldbus-1 -lxcb -lxcb-image -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr -lxcb-shape -lxcb-keysyms -lQt5PlatformSupport -lfontconfig -lfreetype -lXrender -lXext -lX11 -ludev -lEGL -L/home/calhaus/qt-static-5.4.0/plugins/imageformats -lqdds -lqicns -lqico -lqjp2 -ljasper -lqmng -lmng -lqtga -lqtiff -ltiff -lqwbmp -lqwebp -lQt5Gui -ljpeg -lpng -lqtharfbuzzng -L/home/calhaus/qt-static-5.4.0/plugins/bearer -lqconnmanbearer -lqgenericbearer -lqnmbearer -lQt5Network -lQt5DBus -lQt5Core -lz -licui18n -licuuc -licudata -lm -ldl -pthread -lgthread-2.0 -lglib-2.0 -lrt -lGL -lpthread
/usr/bin/ld: cannot find -lwayland-egl
/usr/bin/ld: cannot find -ludev
/usr/bin/ld: cannot find -lEGL
/home/calhaus/qt-static-5.4.0/plugins/platforms/libqxcb.a(qglxintegration.o): In function `QGLXContext::getProcAddress(QByteArray const&)':
qglxintegration.cpp.text+0x1fe8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: cannot find -lGL
/home/calhaus/qt-static-5.4.0/lib/libQt5Core.a(qfilesystemengine_unix.o): In function `QFileSystemEngine::resolveGroupName(unsigned int)':
qfilesystemengine_unix.cpp.text+0x805): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libglib-2.0.a(libglib_2_0_la-gutils.o): In function `g_get_user_database_entry':
(.text+0x245): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/calhaus/qt-static-5.4.0/lib/libQt5Widgets.a(qfiledialog.o): In function `qt_tildeExpansion(QString const&, bool*)':
qfiledialog.cpp.text+0x8b89): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/calhaus/qt-static-5.4.0/plugins/platforms/libqxcb.a(qxcbsessionmanager.o): In function `sm_performSaveYourself(QXcbSessionManager*)':
qxcbsessionmanager.cpp.text+0x1124): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libICE.a(icetrans.o): In function `_IceTransSocketUNIXConnect':
(.text+0x2a6d): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libICE.a(icetrans.o): In function `_IceTransGetPeerNetworkId':
(.text+0x4786): warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libICE.a(icetrans.o): In function `_IceTransSocketINETCreateListener':
(.text+0xf59): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: error: ld returned 1 exit status
make: *** [XBian-installer] Error 1
/home/calhaus/qt-static-5.4.0/bin/uic installer.ui -o ui_installer.h
/home/calhaus/qt-static-5.4.0/bin/uic dialog.ui -o ui_dialog.h
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o main.o main.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o installer.o installer.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o version.o version.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o dialog.o dialog.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o diskwriter_unix.o diskwriter_unix.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o xbian-installer_plugin_import.o xbian-installer_plugin_import.cpp
/home/calhaus/qt-static-5.4.0/bin/rcc -name rsc rsc.qrc -o qrc_rsc.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o qrc_rsc.o qrc_rsc.cpp
/home/calhaus/qt-static-5.4.0/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/calhaus/qt-static-5.4.0/mkspecs/linux-g++ -I/home/calhaus/Desktop/xbian_instaler_git_copy -I/home/calhaus/qt-static-5.4.0/include -I/home/calhaus/qt-static-5.4.0/include/QtWidgets -I/home/calhaus/qt-static-5.4.0/include/QtGui -I/home/calhaus/qt-static-5.4.0/include/QtXml -I/home/calhaus/qt-static-5.4.0/include/QtNetwork -I/home/calhaus/qt-static-5.4.0/include/QtCore -I/opt/ros/indigo/include -I/usr/include/c++/4.8 -I/usr/include/x86_64-linux-gnu/c++/4.8 -I/usr/include/c++/4.8/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include installer.h -o moc_installer.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o moc_installer.o moc_installer.cpp
/home/calhaus/qt-static-5.4.0/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/calhaus/qt-static-5.4.0/mkspecs/linux-g++ -I/home/calhaus/Desktop/xbian_instaler_git_copy -I/home/calhaus/qt-static-5.4.0/include -I/home/calhaus/qt-static-5.4.0/include/QtWidgets -I/home/calhaus/qt-static-5.4.0/include/QtGui -I/home/calhaus/qt-static-5.4.0/include/QtXml -I/home/calhaus/qt-static-5.4.0/include/QtNetwork -I/home/calhaus/qt-static-5.4.0/include/QtCore -I/opt/ros/indigo/include -I/usr/include/c++/4.8 -I/usr/include/x86_64-linux-gnu/c++/4.8 -I/usr/include/c++/4.8/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include diskwriter.h -o moc_diskwriter.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o moc_diskwriter.o moc_diskwriter.cpp
/home/calhaus/qt-static-5.4.0/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/calhaus/qt-static-5.4.0/mkspecs/linux-g++ -I/home/calhaus/Desktop/xbian_instaler_git_copy -I/home/calhaus/qt-static-5.4.0/include -I/home/calhaus/qt-static-5.4.0/include/QtWidgets -I/home/calhaus/qt-static-5.4.0/include/QtGui -I/home/calhaus/qt-static-5.4.0/include/QtXml -I/home/calhaus/qt-static-5.4.0/include/QtNetwork -I/home/calhaus/qt-static-5.4.0/include/QtCore -I/opt/ros/indigo/include -I/usr/include/c++/4.8 -I/usr/include/x86_64-linux-gnu/c++/4.8 -I/usr/include/c++/4.8/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include dialog.h -o moc_dialog.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o moc_dialog.o moc_dialog.cpp
/home/calhaus/qt-static-5.4.0/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/calhaus/qt-static-5.4.0/mkspecs/linux-g++ -I/home/calhaus/Desktop/xbian_instaler_git_copy -I/home/calhaus/qt-static-5.4.0/include -I/home/calhaus/qt-static-5.4.0/include/QtWidgets -I/home/calhaus/qt-static-5.4.0/include/QtGui -I/home/calhaus/qt-static-5.4.0/include/QtXml -I/home/calhaus/qt-static-5.4.0/include/QtNetwork -I/home/calhaus/qt-static-5.4.0/include/QtCore -I/opt/ros/indigo/include -I/usr/include/c++/4.8 -I/usr/include/x86_64-linux-gnu/c++/4.8 -I/usr/include/c++/4.8/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include diskwriter_unix.h -o moc_diskwriter_unix.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../qt-static-5.4.0/mkspecs/linux-g++ -I. -I../../qt-static-5.4.0/include -I../../qt-static-5.4.0/include/QtWidgets -I../../qt-static-5.4.0/include/QtGui -I../../qt-static-5.4.0/include/QtXml -I../../qt-static-5.4.0/include/QtNetwork -I../../qt-static-5.4.0/include/QtCore -I. -I. -o moc_diskwriter_unix.o moc_diskwriter_unix.cpp
g++ -static -Wl,-O1 -o XBian-installer main.o installer.o version.o dialog.o diskwriter_unix.o xbian-installer_plugin_import.o qrc_rsc.o moc_installer.o moc_diskwriter.o moc_dialog.o moc_diskwriter_unix.o -L/home/calhaus/qt-static-5.4.0/lib -lQt5Widgets -lgobject-2.0 -lQt5Xml -L/home/calhaus/qt-static-5.4.0/plugins/platforms -lqwayland-egl -lwayland-egl -lqwayland-generic -lQt5WaylandClient -lxkbcommon -lwayland-client -lwayland-cursor -lqxcb -lX11-xcb -lXi -lxcb-render-util -lSM -lICE -lxcb-glx -lxcb-render -ldbus-1 -lxcb -lxcb-image -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-shm -lxcb-randr -lxcb-shape -lxcb-keysyms -lQt5PlatformSupport -lfontconfig -lfreetype -lXrender -lXext -lX11 -ludev -lEGL -L/home/calhaus/qt-static-5.4.0/plugins/imageformats -lqdds -lqicns -lqico -lqjp2 -ljasper -lqmng -lmng -lqtga -lqtiff -ltiff -lqwbmp -lqwebp -lQt5Gui -ljpeg -lpng -lqtharfbuzzng -L/home/calhaus/qt-static-5.4.0/plugins/bearer -lqconnmanbearer -lqgenericbearer -lqnmbearer -lQt5Network -lQt5DBus -lQt5Core -lz -licui18n -licuuc -licudata -lm -ldl -pthread -lgthread-2.0 -lglib-2.0 -lrt -lGL -lpthread
/usr/bin/ld: cannot find -lwayland-egl
/usr/bin/ld: cannot find -ludev
/usr/bin/ld: cannot find -lEGL
/home/calhaus/qt-static-5.4.0/plugins/platforms/libqxcb.a(qglxintegration.o): In function `QGLXContext::getProcAddress(QByteArray const&)':
qglxintegration.cpp.text+0x1fe8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: cannot find -lGL
/home/calhaus/qt-static-5.4.0/lib/libQt5Core.a(qfilesystemengine_unix.o): In function `QFileSystemEngine::resolveGroupName(unsigned int)':
qfilesystemengine_unix.cpp.text+0x805): warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libglib-2.0.a(libglib_2_0_la-gutils.o): In function `g_get_user_database_entry':
(.text+0x245): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/calhaus/qt-static-5.4.0/lib/libQt5Widgets.a(qfiledialog.o): In function `qt_tildeExpansion(QString const&, bool*)':
qfiledialog.cpp.text+0x8b89): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/home/calhaus/qt-static-5.4.0/plugins/platforms/libqxcb.a(qxcbsessionmanager.o): In function `sm_performSaveYourself(QXcbSessionManager*)':
qxcbsessionmanager.cpp.text+0x1124): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libICE.a(icetrans.o): In function `_IceTransSocketUNIXConnect':
(.text+0x2a6d): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libICE.a(icetrans.o): In function `_IceTransGetPeerNetworkId':
(.text+0x4786): warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libICE.a(icetrans.o): In function `_IceTransSocketINETCreateListener':
(.text+0xf59): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: error: ld returned 1 exit status
make: *** [XBian-installer] Error 1
Errors of our executable in elementaryOS:
Spoiler (Click to View)
$ sudo ./XBian-installer
./XBian-installer: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.3.5' not found (required by ./XBian-installer)
./XBian-installer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by ./XBian-installer)
./XBian-installer: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.3.5' not found (required by ./XBian-installer)
./XBian-installer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by ./XBian-installer)
Spoiler (Click to View)
$ ldd ./XBian-installer
./XBian-installer: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.3.5' not found (required by ./XBian-installer)
./XBian-installer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by ./XBian-installer)
linux-vdso.so.1 => (0x00007fffc2ffb000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7a8a91e000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f7a8a707000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f7a8a4f5000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f7a8a1c0000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f7a89fbd000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f7a89d9e000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7a89b81000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7a89881000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7a89584000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7a8936e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7a88faf000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7a8ab32000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f7a88da8000)
./XBian-installer: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.3.5' not found (required by ./XBian-installer)
./XBian-installer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.17' not found (required by ./XBian-installer)
linux-vdso.so.1 => (0x00007fffc2ffb000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7a8a91e000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f7a8a707000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f7a8a4f5000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f7a8a1c0000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f7a89fbd000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f7a89d9e000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7a89b81000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7a89881000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7a89584000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7a8936e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7a88faf000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7a8ab32000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f7a88da8000)
22nd Jan, 2015, 06:00 PM
22nd Jan, 2015, 07:01 PM
Did you made it an executable: chmod +x XBian-installer?
22nd Jan, 2015, 09:26 PM
(22nd Jan, 2015 07:01 PM)CurlyMo Wrote: [ -> ]Did you made it an executable: chmod +x XBian-installer?
havent seen any info about it before
we still trying to make it "idiot" prove, right?
working this way, but as mentioned, it does look a bit weird and oldish style
edit:as usual, I do what user would do not a developer or advanced user of Linux
22nd Jan, 2015, 10:59 PM
Can you guys try the last upload: http://www.xbian.org/XBian-installer.zip
22nd Jan, 2015, 11:06 PM
(22nd Jan, 2015 10:59 PM)CurlyMo Wrote: [ -> ]Can you guys try the last upload: http://www.xbian.org/XBian-installer.zip
Terminal
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Reinstalling the application may fix this problem.
Reinstalling the application may fix this problem.
22nd Jan, 2015, 11:27 PM
Damn, i can't seem to get past that issue.
23rd Jan, 2015, 12:53 AM
(22nd Jan, 2015 11:27 PM)CurlyMo Wrote: [ -> ]Damn, i can't seem to get past that issue.
wish I could help you
23rd Jan, 2015, 04:58 AM
Same xcb problem.
I think we should go with the dynamic app.
For a clean Ubuntu (and Mint) 14.04 and 14.10 (and probably 1 year recent distros) everything is already included and works fine.
elementaryOS release luna is still based on ubuntu 12.04, it's kind of old. and they don't even have qt5 stuff on the repos. :/
Tried the new upcoming elementary (Freya), it got dependency issues, easily solved by installing "qt5-default"
If users got dependencies problems, it shows in the terminal output which ones are and they can go and install what's missing, and "qt5-default" should install everything needed for it to work.
In my opinion it's easy to use a small installer and include a readme file telling people to install "qt5-default" if they have faulty dependencies,it's needs to get only 19.8MB of files (84MB extracted), not that much, smaller that the static executable and most systems dont even need it .
(Also it's easier for users to compile the git version dynamically).
I think we should go with the dynamic app.
For a clean Ubuntu (and Mint) 14.04 and 14.10 (and probably 1 year recent distros) everything is already included and works fine.
elementaryOS release luna is still based on ubuntu 12.04, it's kind of old. and they don't even have qt5 stuff on the repos. :/
Tried the new upcoming elementary (Freya), it got dependency issues, easily solved by installing "qt5-default"
If users got dependencies problems, it shows in the terminal output which ones are and they can go and install what's missing, and "qt5-default" should install everything needed for it to work.
In my opinion it's easy to use a small installer and include a readme file telling people to install "qt5-default" if they have faulty dependencies,it's needs to get only 19.8MB of files (84MB extracted), not that much, smaller that the static executable and most systems dont even need it .
(Also it's easier for users to compile the git version dynamically).
23rd Jan, 2015, 05:12 AM
(23rd Jan, 2015 04:58 AM)calhaus Wrote: [ -> ]Same xcb problem.the best option I would say, as I mentioned before
I think we should go with the dynamic app.
For a clean Ubuntu (and Mint) 14.04 and 14.10 (and probably 1 year recent distros) everything is already included and works fine.
elementaryOS release luna is still based on ubuntu 12.04, it's kind of old. and they don't even have qt5 stuff on the repos. :/
Tried the new upcoming elementary (Freya), it got dependency issues, easily solved by installing "qt5-default"
If users got dependencies problems, it shows in the terminal output which ones are and they can go and install what's missing, and "qt5-default" should install everything needed for it to work.
In my opinion it's easy to use a small installer and include a readme file telling people to install "qt5-default" if they have faulty dependencies. (it's around 65mb if i'm not mistaken, not that much, and most systems dont even need it).
(Also it's easier for users to compile the git version dynamically).
btw, how many of you heard of anyone used elementaryOS before I mentioned it? I had it installed just to test. it was nice eye candy looking thing but as you can see there are some issues, and trust me, it wasnt just this. there were so many other issues.
And I still think, the best is to focus on most common and most used
23rd Jan, 2015, 05:24 AM
(23rd Jan, 2015 05:12 AM)rikardo1979 Wrote: [ -> ]Yes. in the most common works fine. (Haven't tested debian, fedora, arch or suse, but they should have qt5 dependencies installed or in the repos also, or they can download and install qt5-default).(23rd Jan, 2015 04:58 AM)calhaus Wrote: [ -> ]Same xcb problem.the best option I would say, as I mentioned before
I think we should go with the dynamic app.
For a clean Ubuntu (and Mint) 14.04 and 14.10 (and probably 1 year recent distros) everything is already included and works fine.
elementaryOS release luna is still based on ubuntu 12.04, it's kind of old. and they don't even have qt5 stuff on the repos. :/
Tried the new upcoming elementary (Freya), it got dependency issues, easily solved by installing "qt5-default"
If users got dependencies problems, it shows in the terminal output which ones are and they can go and install what's missing, and "qt5-default" should install everything needed for it to work.
In my opinion it's easy to use a small installer and include a readme file telling people to install "qt5-default" if they have faulty dependencies. (it's around 65mb if i'm not mistaken, not that much, and most systems dont even need it).
(Also it's easier for users to compile the git version dynamically).
btw, how many of you heard of anyone used elementaryOS before I mentioned it? I had it installed just to test. it was nice eye candy looking thing but as you can see there are some issues, and trust me, it wasnt just this. there were so many other issues.
And I still think, the best is to focus on most common and most used
(About elementary, never used it, just new it was really simple and installed their music player (noise) because of it's simplicity and had the things i needed, but did not worked 100% at the time and removed it)
23rd Jan, 2015, 05:27 AM
I still not giving up