Author Topic: WANTED: Several packages that need to be recompiled  (Read 8912 times)

VeeDubb

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://
WANTED: Several packages that need to be recompiled
« Reply #15 on: February 01, 2004, 07:39:24 pm »
I know it \'should\' be that easy.  But it\'s just not.  I have don\'e what you suggest many times over with many slight variations and I have never found a single program that will compile correctly.  I can install programs from source on my desktop, but that is all set up for me by mandrake, all I have to do is ./configure make make install.

Maybe when I have a few days and nothing to do I\'ll try again....

Not one.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
WANTED: Several packages that need to be recompiled
« Reply #16 on: February 02, 2004, 04:11:27 am »
I invite you to look at our shiny new build system OpenEmbedded, which _greatly_ simplifies cross compiling stuff. As an example, see what I had to do to cross compile the PetitPainture and get a working ipkg out of it:

Code: [Select]
DESCRIPTION="Pressure-Sensitive Paint Program for Opie/Qtopia"

SECTION="base"

PRIORITY="optional"

LICENSE="GPL"

RDEPENDS="libqpe1"

DEPENDS="virtual/libc"



SRC_URI = http://sun.dhis.portside.net/~sakira/archive/SPainter_1.0-1_src.tar.gz

S = ${WORKDIR}/SPainter



inherit palmtop



QMAKE_PROFILES = spainter.pro



do_install() {

        install -d ${D}/opt/QtPalmtop/{bin,apps/Applications,pics}

        install -D -m 755 petitpeintu ${D}/opt/QtPalmtop/bin/petitpeintu

        install -D -m 644 ${FILESDIR}/petitpeintu.desktop ${D}/opt/QtPalmtop/apps/Applications/petitpeintu.desktop

        install -d ${D}/opt/QtPalmtop/pics

        cp -a *.png ${D}/opt/QtPalmtop/pics/

}


It can\'t get much easier than that...
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

VeeDubb

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://
WANTED: Several packages that need to be recompiled
« Reply #17 on: February 02, 2004, 05:50:04 pm »
LOL, I love developers!  You guy\'s are hilarious.  THat is total giberish to me.  THanks for trying Mickeyl, but you shouldn\'t waste time on ignorant oafs like me, spend your time on OZ3.4, I want to see that rom!   LOL.  

I\'ll see what I can do tonight if I can get my linux box to stay up.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
WANTED: Several packages that need to be recompiled
« Reply #18 on: February 02, 2004, 06:57:28 pm »
:-) To tell the truth it\'s also a little confusing for me, but in context it makes sense.

Mickey, in an attempt to get round my bitkeeper/Windows troubles I\'m trying to obtain/build/dual boot a PC to install Linux on at uni, could you give me a vague estimation of the amount of HD space which I\'ll need for the complete set of OE packages + temp space for compilation?

Cheers,


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Richjn

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • http://
WANTED: Several packages that need to be recompiled
« Reply #19 on: February 02, 2004, 07:03:53 pm »
Lardman

Half the answer for you no doubt mickeyl will lcomment if I have goofed up.

The OE build + packages + docs are 48 mb this of course doesn\'t include your cross-compiler etc. I\'m not sure how much temp space you would require but my guess would be the same again.

sorry for not being preccise I\'m just in the process of setting it up myself.

Richard

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
WANTED: Several packages that need to be recompiled
« Reply #20 on: February 03, 2004, 05:03:18 am »
Last time I compiled the _full_ OE (_much_ more packages than you really need to get a booting image) it took around 4G of temp. For a minimal booting image you\'ll need ~1G.

Oh and... btw., I really thought you would be surprised about how small and elegant that build file is... you see there is basically no need to tell the build system anything other than individual package metadata (e.g. which package is that and what files belong to it).

All the ugly details have been abstracted into the base build system and dedicated build classes - that\'s quite an achievement... really
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
WANTED: Several packages that need to be recompiled
« Reply #21 on: February 03, 2004, 06:01:28 am »
Quote
Oh and... btw., I really thought you would be surprised about how small and elegant that build file is... you see there is basically no need to tell the build system anything other than individual package metadata (e.g. which package is that and what files belong to it).

Oh, if that\'s all that\'s needed then yes I am impressed.

Cheers for the space data, I\'ve got a spare 10GB disk somewhere round here, time to find redundant computer and put it to work.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Richjn

  • Full Member
  • ***
  • Posts: 121
    • View Profile
    • http://
WANTED: Several packages that need to be recompiled
« Reply #22 on: February 03, 2004, 06:25:52 am »
4 GB Yikes shows how little I know !!!  :shock:

Never thought about it before.

mickeyl thanks for the advice now I have my build enviroment up and running I will try and do something usefull with it.  :wink:


Richard

bluey

  • Full Member
  • ***
  • Posts: 125
    • View Profile
    • http://
WANTED: Several packages that need to be recompiled
« Reply #23 on: February 24, 2004, 01:57:45 am »
Isn\'t it possible to make a wrapper for libs which were compiled with gcc2? Since compat libs don\'t apply to them...
SL-5500 - OZ 3.5.3
256Mb Kingston SD Card
64Mb PQI CF Card
Netgear MA701 WiFi CF Card
Mandriva GNU/Linux LE2005
Dreaming of a C model...

Hrw

  • Hero Member
  • *****
  • Posts: 1366
    • View Profile
WANTED: Several packages that need to be recompiled
« Reply #24 on: March 17, 2004, 04:05:27 am »
If someone of you have source of subapplet can you share it? community.zaurus.com is \"host not found\" and I want to try to compile it for OZ 3.3.6-pre1

-----

I got sources from Steve Essery and managed to get it built using OpenEmbedded enviroment. It works ok on my Zaurus but I have to get it packaged (it is my 1st attempt to generate package for Zaurus - I created some for Debian).

Sources, package for gcc2 based and tarball for gcc3 based are on my homepage:

http://www.hrw.one.pl/zaurus/
OpenZaurus 3.5.4x Release Manager
OpenEmbedded, Ångström, Poky developer
My website

Misc embedded hardware.