QT5 compile problems on BBB

hi,
i want to compile qt5 on my BBB.
I use the defaut qt5-compile-guide(http://qt-project.org/wiki/Building_Qt_5_from_Git).(Not the RaspPI-guide. The RaspPI-guide dont work for BB).
At first i got some errors with pch. I fixed that with the configure-option -no-pch.
Now i get this error, at the “make -j 4”-command: http://www.pic-upload.de/view-20002151/2013-07-09-17.32.45.jpg.html.
I know that he dont find a directory but dont know how to fix.

Please help me.

lolxdfly

I don't have the BBB but I've built 5.1.1 on Pandaboard and ODROID-X.
Perhaps "make clean" or "make distclean" to make sure there is nothing left over from the previous configure.
I use this configuration:-
./configure -developer-build -opensource -nomake examples -nomake tests -no-pch -qt-xcb

Now doing "./init-repository --no-webkit" on the BBW. I may be looking at a 24+ hour native build.
Regards
Sid.

I had alot of problems compiling qt version <5.1.0. Qt 5.1.0 was the
least buggy version I found. You can try the following and let me
know:

mkdir -p qtbase/src/gui/.pcb/debug-shared/Qt5Gui
make

Also, let me know if you can compile static qt library from qt 5.0.0
to 5.1.0 source. I always had a problem with linking with a
platform plugin while compiling glib-compile-resources.

Hi,
I removed the complete qt5-dir and made it new.
then i do

./configure -developer-build -opensource -nomake examples -nomake tests -no-pch -qt-xcb

and he compiled sucessful, i think:
http://www7.pic-upload.de/29.07.13/uefypwpk1vth.jpg
But the “make install” step is failing:
http://www7.pic-upload.de/29.07.13/1tag3bzf2lz.jpg

I don’t think “make install” works. To use Qt5 on Beaglebone White, x86_64, Pandaboard and ODROID-X I use export to add it to the PATH. # export PATH=/opt/Qt-5.1.1/qt5/qtbase/bin:$PATH # qmake -v &nb sp; QMake version 3.0 &n bsp; Using Qt version 5.1.1 in /opt/Qt-5.1.1/qt5/qtbase/lib Any apps built then uses Qt5. Regards Sid.

Marcel,

can you send me the error log to make install? I can’t pull up the pix attachment.

Error-Log:

collect2: ld returned 1 exit status

make[6]:***[/home/…/qtbase/lib/libQt5DesignerComponents.so.5.1.0] Error 1

make[6]: Leave directory /home/…/qttools/src/designer/src/components/lib

make[5]: *** [sub-lib-install_subtargets] Error 2

make[6]: Leave directory /home/…/qttools/src/designer/src/components/

make[5]: *** [sub-lib-install_subtargets] Error 2

make[6]: Leave directory /home/…/qttools/src/designer/src/

make[5]: *** [sub-lib-install_subtargets] Error 2

make[6]: Leave directory /home/…/qttools/src/designer/

make[5]: *** [sub-lib-install_subtargets] Error 2

make[6]: Leave directory /home/…/qttools/src/

make[5]: *** [sub-lib-install_subtargets] Error 2

make[6]: Leave directory /home/…/qttools/

make[5]: *** [sub-lib-install_subtargets] Error 2

root@ubuntu-armhf:/home/…/qt5#

sorry the full lengh was too long. Say if i should add more!

its too short, why dont you attached the entire build log as a file attachment,

I did that:

export PATH=/opt/Qt-5.1.1/qt5/qtbase/

bin:$PATH

qmake -v

Output:

Qmake version 2.01a

Using QT version 4.8.1 in/usr/lib/arm-linux-gnueabihf

How can i get the build-log?? ;D

pipe the output to a log file

make install &> /tmp/qt_build.log

Here is the full log:
http://www.file-upload.net/download-7899072/qtbuild.log.html

The reason why you got that error b/c u did not setup the path for installation,

try the following,

make clean;
mkdir -p /opt/qt5.1-sdk
./configure -prefix /opt/qt5.1-sdk -developer-build -opensource -nomake examples -nomake tests -no-pch -qt-xcb -confirm-license

make -j4; make install;

You also got an error linking to listwidgeteditor. If i were you, and would reconfigure without developer-build option, b/c it may be work in progress

Sorry I didn't make it clear that it was an example of qt-5.1.1 on my systems.
In your case:-
export PATH=/home/ubuntu/qt5/src/qt-everywhere-opensource-src-5.1.0/qtbase/bin:$PATH
That's where qmake for qt5 is built.

This is what is in the directory when it's first created.
lancelot@slipstream:~/ftp/JUL13/qt-everywhere-opensource-src-5.1.0/qtbase/bin> ls
findtr fixqt4headers.pl syncqt.pl
lancelot@slipstream:~/ftp/JUL13/qt-everywhere-opensource-src-5.1.0/qtbase/bin>

When the build is complete qtbase/bin contains:-
assistant findtr lconvert lrelease moc qcollectiongenerator qdbuscpp2xml qdbusxml2cpp qhelpconverter qmake qmlbundle qmlplugindump qmlscene qmlviewer rcc uic xmlpatternsvalidator
designer fixqt4headers.pl linguist lupdate pixeltool qdbus qdbusviewer qdoc qhelpgenerator qml1plugindump qmlmin qmlprofiler qmltestrunner qt.conf syncqt.pl xmlpatterns

Regards
Sid.

Hi,
i deleted the whole qt5-folder and did:

mkdir -p /opt/qt5.1-sdk
./configure -prefix /opt/qt5.1-sdk -developer-build -opensource -nomake examples -nomake tests -no-pch -qt-xcb -confirm-license
make -j4; make install;

i got Errors(sorry i forgot to link it to a textfile):

BuMp

PS:Configure without developer-build didnt change the error!

I can't remember if I got the same build failure.
It was cured by increasing swap to 4GB, you need that much swap.
Regards
Sid.

Hi,
i completly reinstalled ubuntu/lxde, becouse i demaged the system with the swap-file.
But now i have sucessful added 4GB Swap to my BBB.
I doesn’t fix the error. I had the same error of the 7th.Aug :frowning:

lolxdfly

BUMP