roboforum.ru

Технический форум по робототехнике.

x86-qtopia + arm-qtopia

x86-qtopia + arm-qtopia

Сообщение bekor » 26 янв 2012, 10:23

Привет,
подскажите пожалуйста как установить x86-qtopia и arm-qtopia в Ubuntu.
сделал все как описано здесь http://equallybad.blogspot.com/search/label/friendlyarm
но после команды ./build-all в процессе компиляции останавливается и выводит такие сообщения при x86-qtopia
Код: Выделить всёРазвернуть
checking for Qtopia... ./configure: line 24305: test: : integer expression
expected
configure: error: Cannot link small Qtopia Application. For more details
look at
the end of config.log
make: *** No targets specified and no makefile found.  Stop.
strip: 'konq-embed/src/konqueror': No such file
cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory
mkdir: cannot create directory
`qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such
file or directory
cp: cannot create regular file
`qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/pics/konqueror': No such
file or directory
cp: cannot create regular file
`qtopia-2.2.0-FriendlyARM/qtopia/image/opt/Qtopia/apps/Applications': No
such file or directory

а при arm-qtopia

Код: Выделить всёРазвернуть
sudo ./build-all

This is the Qtopia Free Edition.

You are licensed to use this software under the terms of
the Qtopia Free Edition License.

Type '?' to view the Qtopia Free Edition License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the Qtopia Free Edition License?
Using the following configurations:
QPE_CFG="'edition' 'pda' '-displaysize' '240x320' '-fontfamilies' 'helvetica fixed micro smallsmooth smoothtimes unifont' '-luuid' -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"
QTE_CFG="'-embedded' '-no-xft' '-qconfig' 'qpe' '-depths' '16,32' '-system-jpeg' '-qt-zlib' '-qt-libpng' '-gif' '-no-g++-exceptions' '-no-qvfb' '-tslib' -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"
QT2_CFG="'-no-opengl' '-no-xft' -platform 'linux-g++'"
DQT_CFG="'-no-xft' '-thread' -platform 'linux-g++'"

Qtopia is now configured.

Type "make"              to build the qtopia bundle (and the tools, if required).
Type "make install"      to install Qtopia.
Type "make cleaninstall" to install Qtopia after removing the image first (avoid stale files in the image).
Type "make clean"        to clean the qtopia bundle.

Type "make tools"        to build the tools bundle.
Type "make cleantools"   to clean the tools bundle.

To manually build a particular component (eg. because it failed to build)
source the set...Env script. eg. . ./setQpeEnv; cd $QPEDIR; make

/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/scripts/buildQtopia
Qtopia Tools exist.

***********************************
********* Build Qt/Embedded *******
***********************************
QTE_CFG="'-embedded' '-no-xft' '-qconfig' 'qpe' '-depths' '16,32' '-system-jpeg' '-qt-zlib' '-qt-libpng' '-gif' '-no-g++-exceptions' '-no-qvfb' '-tslib' -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"


This is the Qt/Embedded Free Edition.

You are licensed to use this software under the terms of
the GNU General Public License (GPL).

Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the license?
symlink created for src/tools/qconfig-qpe.h

Building on:   linux-g++-shared
Building for:  linux-arm-g++-shared

Thread support..................... no
Configuration...................... qconfig-qpe.h

Creating makefiles...
Qt is now configured for building. Just run make.
To reconfigure, run make clean and configure.

make[1]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/src'

***********************************
********* Build Qtopia ************
***********************************
QPE_CFG="'edition' 'pda' '-displaysize' '240x320' '-fontfamilies' 'helvetica fixed micro smallsmooth smoothtimes unifont' '-luuid' -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"

The following configuration values have been guessed or autodetected:
    -arch arm
    -edition pda
    -fontsizes all
    -fontstyles 50 50i 75 75i
    -languages en_US

WARNING: defaultbuttons-arm.conf does not exist.
Symlinking header files to include directory
Creating qmake...No makedepend available
make[1]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/qmake'
.make[1]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/qmake'

Creating pngscale...make[1]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/util/pngscale'
...make[1]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/util/pngscale'

Generating makefiles................................................................................................................
make[1]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia'
make[2]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
make[3]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
cd qt && make -f Makefile
make[4]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/qt'
make[5]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/qt'
make[5]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/qt'
make[4]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/qt'
cd libraries/qtopia && make -f Makefile
make[4]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia'
make[5]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia'
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -fPIC  -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"qpe\" -DQTOPIA_TRTARGET=\"libqpe\" -DQT_NO_DEBUG -I/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-arm-g++ -I. -I../../../include/qtopia/private -I../../../pics/qpe -I../../../include -I/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/include -I../../../include/qtopia/private/ -I.moc/release-shared/ -o .obj/release-shared/qmemoryfile.o qmemoryfile.cpp
make[5]: arm-linux-g++: Command not found
make[5]: *** [.obj/release-shared/qmemoryfile.o] Error 127
make[5]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] Error 2
make[3]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia'

***********************************************************************

*                  ERROR: Building Qtopia has failed.

* Please search the make output for any error messages.

* Hint: If the configuration has changed since the last successfull
* build consider using make clean to ensure that all binaries
* are rebuilt using the new configuration.

* For more information about the build process please use a browser
* and go to the getting started section in:
*     /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/doc/html/index.html

***********************************************************************
/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/scripts/buildQtopia -build qpe install
Qtopia Tools exist.

***********************************
********* Build Qtopia ************
***********************************
QPE_CFG="'edition' 'pda' '-displaysize' '240x320' '-fontfamilies' 'helvetica fixed micro smallsmooth smoothtimes unifont' '-luuid' -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-arm-g++'"

make[1]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia'
make[2]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
make[3]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
cd qt && make -f Makefile
make[4]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/qt'
make[5]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/qt'
make[5]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/qt'
make[4]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/qt'
cd libraries/qtopia && make -f Makefile
make[4]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia'
make[5]: Entering directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia'
arm-linux-g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -fPIC  -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"qpe\" -DQTOPIA_TRTARGET=\"libqpe\" -DQT_NO_DEBUG -I/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/mkspecs/qws/linux-arm-g++ -I. -I../../../include/qtopia/private -I../../../pics/qpe -I../../../include -I/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qt2/include -I../../../include/qtopia/private/ -I.moc/release-shared/ -o .obj/release-shared/qmemoryfile.o qmemoryfile.cpp
make[5]: arm-linux-g++: Command not found
make[5]: *** [.obj/release-shared/qmemoryfile.o] Error 127
make[5]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src/libraries/qtopia'
make[3]: *** [sub-libraries-qtopia] Error 2
make[3]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/qtopia'
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... no
checking for strip... strip
checking for style of include used by make... GNU
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found.  Stop.
./build-konq: line 12: arm-linux-strip: command not found
cp: cannot stat `qtopia-2.2.0-FriendlyARM/qtopia/image/opt': No such file or directory
/bin/rm: cannot remove `opt/Qtopia/lib/fonts/helvetica_*': No such file or directory
opt/Qtopia/lib/fonts/
opt/Qtopia/lib/fonts/helvetica_120_50.qpf
opt/Qtopia/lib/fonts/songti_160_50.qpf
opt/Qtopia/lib/fonts/fontdir
opt/Qtopia/lib/fonts/helvetica_120_50_t5.qpf
cp: cannot stat `konq/konq-embed/src/konqueror': No such file or directory
mkdir: cannot create directory `opt/Qtopia/pics/konqueror': No such file or directory
cp: cannot create regular file `opt/Qtopia/pics/konqueror': No such file or directory
mkdir: cannot create directory `opt/Qtopia/apps/FriendlyARM': No such file or directory
cp: cannot create regular file `opt/Qtopia/apps/FriendlyARM/': No such file or directory
./mktarget: line 18: opt/Qtopia/apps/FriendlyARM/.directory: No such file or directory
opt/
opt/kde/
opt/kde/share/
opt/kde/share/config/
opt/kde/share/config/charsets
opt/kde/share/apps/
opt/kde/share/apps/khtml/
opt/kde/share/apps/khtml/css/
opt/kde/share/apps/khtml/css/html4.css
opt/Qtopia/
opt/Qtopia/lib/
opt/Qtopia/lib/fonts/
opt/Qtopia/lib/fonts/songti_160_50.qpf
opt/Qtopia/lib/fonts/helvetica_120_50.qpf
opt/Qtopia/lib/fonts/fontdir
opt/Qtopia/lib/fonts/helvetica_120_50_t5.qpf
name@name-desktop:/opt/FriendlyARM/mini2440/arm-qtopia$
bekor
 
Сообщения: 13
Зарегистрирован: 19 авг 2011, 20:25

Re: x86-qtopia + arm-qtopia

Сообщение danko » 29 янв 2012, 01:19

у меня уже две темы с проблемой, что невозможно установить, я не знаю, устанавливал ли кто вообще хоть раз что нибудь до конца, все темы с установкой )))
работает ли вообще эта плата, или нет.
danko
 
Сообщения: 8
Зарегистрирован: 27 янв 2012, 23:38
прог. языки: C, C++

Re: x86-qtopia + arm-qtopia

Сообщение bekor » 30 янв 2012, 10:58

Да уж, немного туговато с этой платой.
Но у меня всетаки получилось установить x86-qtopia и arm-qtopia те что на диске,
и даже компилил hello world с графическим интерфейсом и запустил ее на плате все заработало,
так как мне так и никто ничего не подсказал по этому поводу после недолгих обдуманий мне в голову пришла мысль как решить проблему с установкой высшеперечисленного.
Все просто, при неудачной компиляции надо была снести папку с распакованными пакетами потом заного все распаковать строго следуя инструкциям по ссылке в первом посту, но фишка в том что перед исполнением команды ./build-all надо копировать содержимое всех скриптов setDqtEnv, setQpeEnv, ... и.т.д из каталога /opt/FriendlyARM/mini2440/arm-qtopia/qtopia-2.2.0-FriendlyARM/ в .bashrc вашего терминала, потом сделать logout и login на хостовой машине чтобы изменения вступили в силу и только после этого выполнить долгожданную команду ./build-all
Долгий поцесс компиляции запустится по ходу терминал будет обильно выплевывать вонингами но в конце все будет работать.
bekor
 
Сообщения: 13
Зарегистрирован: 19 авг 2011, 20:25


Вернуться в mini2440

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 0

cron