Mini6410 and Qtopia 2.20 in Fedora 20 ?

Go To Last Post
14 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guys,

I got this error when doing "build-all" for qtopia2.20 for x86 on Fedora
20,
I have installed Qt :
[root@localhost x86-qtopia]# yum install qt
Loaded plugins: langpacks, refresh-packagekit
Package 1:qt-4.8.6-5.fc20.i686 already installed and latest version
Nothing to do
[root@localhost x86-qtopia]#

The error :

configure: WARNING: libjpeg not found. disable JPEG support.
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not
found. Please check your installation!

Any fix ?
thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Any fix ?

Do you read English? You have already been told how to fix that in the error message itself?!?

(but personally I'd want JPEG support so would install libjpeg-dev as it asks).

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I tried installing libjpeg-dev

the result :
[root@localhost ~]# yum install libjpg-dev
Loaded plugins: langpacks, refresh-packagekit
updates/20/i386/metalink | 3.6 kB 00:00
updates | 4.9 kB 00:00
updates/20/i386/primary_db | 8.6 MB 00:13
(1/2): updates/20/i386/updateinfo | 1.1 MB 00:02
(2/2): updates/20/i386/pkgtags | 1.0 MB 00:03
No package libjpg-dev available.
Error: Nothing to do
[root@localhost ~]# yum install libjpeg-dev
Loaded plugins: langpacks, refresh-packagekit
No package libjpeg-dev available.
Error: Nothing to do
[root@localhost ~]#

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Your repo may call it something else. I'm just going by what the Debian/Ubuntu repositories call the package:

uid23021@lxl0060u:~/avrtest$ apt-cache search libjpeg
libjpeg-dev - Independent JPEG Group's JPEG runtime library (dependency package)
libjpeg-progs - Programs for manipulating JPEG files (dependency package)
libjpeg-turbo-progs - Programs for manipulating JPEG files
libjpeg-turbo8 - IJG JPEG compliant runtime library.
libjpeg-turbo8-dbg - Debugging symbols for the libjpeg-turbo library
libjpeg-turbo8-dev - Development files for the IJG JPEG library
libjpeg62 - Independent JPEG Group's JPEG runtime library (version 6.2)
libjpeg62-dbg - Development files for the IJG JPEG library (version 6.2)
libjpeg62-dev - Development files for the IJG JPEG library (version 6.2)
libjpeg8 - Independent JPEG Group's JPEG runtime library (dependency package)
libjpeg8-dbg - Independent JPEG Group's JPEG runtime library (dependency package)
libjpeg8-dev - Independent JPEG Group's JPEG runtime library (dependency package)
libjpeg-turbo-test - Program for testing libjpeg-turbo

I believe yum supports "yum search" and "yum provides" commands. they should aid in finding the name of the package that delivers the JPEG development headers.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What I got :

[root@localhost ~]# yum search libjpeg
Loaded plugins: langpacks, refresh-packagekit
============================= N/S matched: libjpeg =============================
libjpeg-turbo-devel.i686 : Headers for the libjpeg-turbo library
libjpeg-turbo-static.i686 : Static version of the libjpeg-turbo library
mingw32-libjpeg-turbo.noarch : MinGW Windows Libjpeg-turbo library
mingw32-libjpeg-turbo-static.noarch : Static version of the MinGW Windows
: Libjpeg-turbo library
mingw64-libjpeg-turbo.noarch : MinGW Windows Libjpeg-turbo library
mingw64-libjpeg-turbo-static.noarch : Static version of the MinGW Windows
: Libjpeg-turbo library
libjpeg-turbo.i686 : A MMX/SSE2 accelerated library for manipulating JPEG image
: files
libjpeg-turbo-utils.i686 : Utilities for manipulating JPEG images

Name and summary matches only, use "search all" for everything.
[root@localhost ~]#

which one do I need ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have :

[root@localhost ~]# yum install libjpeg-turbo
Loaded plugins: langpacks, refresh-packagekit
Package libjpeg-turbo-1.3.1-2.fc20.i686 already installed and latest version
Nothing to do
[root@localhost ~]#

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'd say none of those look like what you need. So presumably your OS repository does not package this file?

I see you are using MinGW. Personally I would never try to use one of these "fake" linux operating systems like Cygwin or MinGW on top of Windows to build something like this.

Why don't you just install VirtualBox then a well known Linux distor like Ubuntu into a virtual machine? Surely that's how everyone doing Linux development on Windows does things these days? Cygwin and MinGW were solutions in the days when virtual machines didn't exist or weren't reliable. But everyone surely dual-hosts Windows/Linux using VmWare or VirtualBox these days?

Also when you want to do something like mount a rootfs via NFS it's going to be tons easier to do it in a real Linux machine than some faked system too.

(personally I use the opposite. I actually run Linux as my main PC operating system then use VirtualBox to have XP and Win7 as guests in that but as you have a Win host then I'd use the Windows version of Virtualbox and run Ubuntu (probably) in that).

One of the appeals of using Ubuntu rather than anything else is that it's what almost everyone else is using so you can find answers to virtually every question about how to achieve something in Ubuntu via Google. Support for things like Cygwin or MinGw or even other Linux distros may not be as good.

If you are serious about Linux development you definitely want to be running some form of "full" Linux anyway.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I got this at the end of build :

checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qte) not found. Please check your installation!
For more details about this problem, 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

where can I see config.log ? thanks

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

where can I see config.log ?

Isn't that why the Linux find command was invented? (but I'd sort of assume it would be in the build directory??).

Anyway, again your error seems clear - you don't have a version of QT >= 2.2.2 installed.

Another argument for using "real Linux" for this is that it's more likely that its repository is going to be up to date (or closer anyway) I suspect that even if your building system does have QT the issue may be that it's simply a version that is too old.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I use Fedora 20, I have tried compiling with ubuntu, it's not working too...

Yes, I'm using Virtual Machine....

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Qt is already installed, it says,

[root@localhost qtopia-2.2.0-FriendlyARM]# yum install qt
Loaded plugins: langpacks, refresh-packagekit
Package 1:qt-4.8.6-5.fc20.i686 already installed and latest version
Nothing to do
[root@localhost qtopia-2.2.0-FriendlyARM]#

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

I use Fedora 20, I have tried compiling with ubuntu, it's not working too...

Yes, I'm using Virtual Machine....


then why did you have mingw packages listed? Oh well.
Quote:

Qt is already installed, it says,

Then it's probably QT-dev not just QT that it required.

this is the general pattern when you ./configure something. It checks the dependencies and for most things that involves a check in /usr/include (or below) that a particular .h file for a library or other object is present. When a .configure says "can't find foo" it usually means you need to install foo-dev or libfoo-dev. The -dev packages are the ones for developers who are writing code rather than just using it. So libjpeg is for anyone who wants to just use a program that decodes JPEGs while libjpeg-dev is for those who want to write programs themselves that call the functions in libjpeg.

Similarly I imagine there's a "qt" package for those who just want to run some QT based programs against it, then there'll likely be a qt-dev (or similar) for those who actually want to write QT based programs.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

this one ?

It looks very likely.

Again the joy of using a popular Linux is that whatever you are trying to do someone (and often 50+ people) will have tried to do it before. So if I google "ubuntu build qtopia" I get 67,600 hits and there's a strong chance any issue I am having will be covered in one of those (use more keyqords to filter).

(surprising how many of those threads mention FriendlyARM boards too!).