ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Re: Qtopia build on Ubuntu ver 9.04 finally succeeded


From: Stuart Hughes
Subject: [Ltib] Re: Qtopia build on Ubuntu ver 9.04 finally succeeded
Date: Fri, 28 Aug 2009 11:02:10 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Daniel,

Thanks for that, I thought you'd meant that you had to reconfigure and install other target package.

As you found out there are some (host) build machine dependencies. Unfortunately these are hard to track and some of them should not be needed (like the Qt stuff which should be included with qtopia). The list I have is:

For Qtopia2:
e2fsprogs-devel, libjpeg/libjpeg-devel, uuid-dev/libuuid,
gettext (msgfmt), and libxtst-dev

For Qtopia4:
libx11-dev
libpng-dev
libjpeg-dev
Libxext-dev
x11proto-xext-dev
qt3-dev-tools-embedded

zlib/zlib-devel
e2fsprogs/e2fsprogs-devel
libjpeg
libpng/libpng-devel
glib2/glib2-devel
libxml2/libxml2-devel

Currently LTIB only tracks the essential host packages needed on first install and so these get missed. Ideally there should be a way of dynamically adding additional host dependencies based on target packages. However this isn't a minor change and I don't have free time to do this.

Regards, Stuart


address@hidden wrote:
Hi Stuart,

Here is the complete list of packages that I installed: Zlib1g,
Zlib1g-dev, Libuuid1, uuid-dev, e2fslibs, e2fslibs-dev, Libjpeg62,
Libjpeg62-dev, Libpng12-0, Libpng12-dev, Libx11-6, Libx11-dev, libxext6,
libxext-dev, libxtst-6, libxtst-dev, X11proto-core-dev,
X11-proto-xext-dev, Qt3-designer and Qt3-dev-tools-embedded.

These packages will in turn get some dependencies installed. This worked
for me.

The above information was sourced from Freescale document.

regards,
Rajesh Marathe.



Hi Rajesh,

Do you recall what X11 packages you needed to install?  maybe these need
to be added as dependencies of qtopia.

Regards, Stuart

address@hidden wrote:
Hi,

I was able to finally get the build to succeed with latest from CVS. In
fact, I had to install a set of packages including X11 dependencies to
get
the install going.

regards,
Rajesh Marathe.



Hi Stuart,

I am building this for imx27ads platform.

I am not doing any specific configuration as I have just started to
work
on this kit + ltib. I just select the target platform as imx27 and
that's
it as part of configuration. Rest is all default and I assume this
should
be okay. I also saw that QT package inclusion is by default and seems
to
be a MUST.

I ran the command ./ltib.

I have attached the output file "out3" along with this email.

It seems qtopia tools are not built, so do I have to set something in
configuration to get this build beforehand ?

regards,
Rajesh Marathe.




Hi Rajesh,

Which platform are you building? I ran build regressions on imx31ads,
mpc5200, mpc8349itx and mpc8548cds which built okay.

You've chopped the start of the errors so it's hard to say what the
initial trigger was.  As you say maybe it's missing a dependency which
I
have configured in.

Please say: what command did you run? (./ltib or ./ltib -p qtopia),
did
you reconfigure? etc.

Can you send your config/platform/_target_/.config file so I can see
your configuration.

Regards, Stuart

address@hidden wrote:
Hi Stuart,

I took the latest from CVS (With today's patch from Daniel) and still
I
see
some errors while building Qtopia tools.
The errors are like:
-------------------------------------------------------------------------
rdparty/kernel/qmotifdnd_x11.cpp:825: error: 'cur_window' was not
declared
in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:826: error: 'cm' was not declared
in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:829: error: 'False' was not
declared
in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:830: error: 'XSendEvent' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:836: error: 'False' was not
declared
in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:839: error: 'struct DndData' has no
member named 'time'
3rdparty/kernel/qmotifdnd_x11.cpp:839: error: 'CurrentTime' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:842: error: 'cur_window' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:843: error: 'cm' was not declared
in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:847: error: 'XSendEvent' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:860: error: 'cur_window' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:860: error: 'struct DndData' has no
member named 'src_window'
3rdparty/kernel/qmotifdnd_x11.cpp:866: error: 'struct DndData' has no
member named 'property'
3rdparty/kernel/qmotifdnd_x11.cpp:867: error: 'src_targets' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:881: error: 'struct DndData' has no
member named 'property'
3rdparty/kernel/qmotifdnd_x11.cpp:881: error: 'Dnd_transfer_failure'
was
not declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'struct DndData' has no
member named 'property'
3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'struct DndData' has no
member named 'time'
3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'XConvertSelection' was
not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:894: error: 'cm' was not declared
in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:897: error: 'False' was not
declared
in
this scope
3rdparty/kernel/qmotifdnd_x11.cpp:898: error: 'XSendEvent' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:901: error: 'Dnd_selection' was not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:901: error: 'struct DndData' has no
member named 'property'
3rdparty/kernel/qmotifdnd_x11.cpp:902: error: 'Dnd_selection_time'
was
not
declared in this scope
3rdparty/kernel/qmotifdnd_x11.cpp:902: error: 'struct DndData' has no
member named 'time'
make[1]: ***
[tmp/release-shared-linux-g++/3rdparty/kernel/qmotifdnd_x11.o] Error
1
make[1]: Leaving directory
`/home/rmarathe/myltib/cvsltib/ltib/rpm/BUILD/qtopia-free-2.2.0/qt2/src'
*
---------------------------------------------------------------------------
*
*               ERROR: Building Qtopia Tools has failed.
*

--------------------------------------------------------------------------

and more errors follow. It seems the X11 related files are not
installed
in my version of Ubuntu Linux. Any clue ?

regards,
Rajesh Marathe.


















Hi Daniel,

I stripped the \r characters and added a brief description to the
patch
and uploaded it to the GPP (added a -1 to the filename).  I've
updated
the qtopia.spec file and checked into CVS.

Thanks again for the patch.

Regards, Stuart

Stuart Hughes wrote:
Hi Daniel,

Thanks I'll take a look and apply accordingly to CVS.

Regards, Stuart

Daniel Widyanto wrote:
Hi Stuart,

Thanks a lot. Sorry if I cannot help much. The patch was based on
what
we had created to demonstrate our LPC3250 GUI capabilities on
Linux
for a customer.
Another thing that we found was that the latest GLIBC fingerprint
for
open() has changed. Hence it would break the Qtopia compilation.
Also,
there's a qtopia's tool, called pngscale, which suppose to run on
host, but linked to arm library instead.
Attached is the patch to fix those problems. I'm not sure how to
integrate it to LTIB package. Sorry. I should spend time with LTIB
more often =)

Regards,
-daniel

-----Original Message-----
From: Stuart Hughes [mailto:address@hidden Sent: Tuesday, August
25,
2009 4:22 PM
To: Daniel Widyanto
Cc: address@hidden
Subject: Re: [Ltib] qtopia package build failure while building
ltib
from CVS (Savannah)

Hi Daniel,

I re-worked and build-tested your patch (imx27) and have checked
it
in
to Savannah CVS.  Let me know if you think it needs any
adjustments.
I've attached the patch/diff so you can see what changed.

Regards, Stuart

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib











reply via email to

[Prev in Thread] Current Thread [Next in Thread]