Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    hildon-input-method package building (compiling)

    Reply
    Page 1 of 2 | 1   2   | Next
    lasergun | # 1 | 2010-06-06, 22:09 | Report

    Hi all,
    I am trying to build the hildon-input-method package taken from:
    http://repository.maemo.org/pool/maemo5.0/free/h/

    I am pretty new to all of this.
    I made some reading, and ran the ./autogen.sh script, and it worked flawlessly.
    What should I do now in order to compile and create a .deb file?

    I also read that I should run the 'make' function after the 'autogen.sh'.
    For some reason it didn't make a valid Makefile.

    I would really appreciate your help!

    Thanks

    NBD

    Edit | Forward | Quote | Quick Reply | Thanks

     
    w00t | # 2 | 2010-06-06, 22:16 | Report

    Hi lasergun,

    Out of curiosity, what are you trying to do? If you're trying to hack up a portrait keyboard, it might be useful to collaborate with our effort: http://talk.maemo.org/showthread.php?t=55371

    Otherwise.. if I understand you rightly, you're wondering why there's no makefile? Make sure you run something like:
    ./configure --prefix=/usr
    after you've run ./autogen.sh.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to w00t For This Useful Post:
    lasergun, nicolai

     
    daperl | # 3 | 2010-06-07, 00:21 | Report

    I'm guessing you're in the scratchbox FREMANTLE_ARMEL target.

    If so, forget all the autogen stuff, blow away the source directory you were working in, and just do the following:

    Code:
    apt-get source hildon-input-method
    cd hildon-input-method-2.1.46
    fakeroot dpkg-buildpackage -b -d -nc -rfakeroot

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to daperl For This Useful Post:
    clasificado, lasergun, lcuk, w00t

     
    lasergun | # 4 | 2010-06-07, 04:57 | Report

    Great guys!
    Thanks a lot!

    What I am trying to do is to make an autotext feature for the N900, where you can set your own text shortcuts, text autoreplace:
    https://garage.maemo.org/projects/autotext/

    Thanks again!

    NBD

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lasergun | # 5 | 2010-06-07, 05:16 | Report

    I'm trying to run :
    fakeroot dpkg-buildpackage -b -d -nc -rfakeroot

    and it throws me this error:
    make: *** [config.status] Error 1
    dpkg-buildpackage: failure: debian/rules build gave error exit status 2

    What should I do ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    daperl | # 6 | 2010-06-07, 05:40 | Report

    Originally Posted by lasergun View Post
    I'm trying to run :
    fakeroot dpkg-buildpackage -b -d -nc -rfakeroot

    and it throws me this error:
    make: *** [config.status] Error 1
    dpkg-buildpackage: failure: debian/rules build gave error exit status 2

    What should I do ?
    What directory are you in?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to daperl For This Useful Post:
    lasergun

     
    lasergun | # 7 | 2010-06-07, 07:23 | Report

    this one:

    /home/maemo/hildon-input-method/hildon-input-method-2.1.46

    The apt-get source hildon-input-method didn't work for some reason, and I tried running the dpkg-... on the hildon-input-method trunk.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by lasergun; 2010-06-07 at 09:18.

     
    lasergun | # 8 | 2010-06-07, 09:24 | Report

    w00t - both ./autogen.sh and ./configure --prefix=/usr works well,
    but what do I do next in order to get a .deb package?

    Thanks

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lasergun | # 9 | 2010-06-07, 09:47 | Report

    opps, sorry for that,
    I didn't notice that the ./configure throws this:

    configure: error: Package requrements (gtk+-2.0 >=2.14.7) were not met:
    Requested 'gtk+-2.0 <- 2.114.17' but version of GTK+ is 2.14.4

    Well.. I know what it means, but what is the best way to solve this ?

    Thanks

    Edit | Forward | Quote | Quick Reply | Thanks

     
    daperl | # 10 | 2010-06-07, 14:22 | Report

    I think you need to upgrade your SDK to PR 1.2. Inside scratchbox, do the following:

    Code:
    apt-get update
    fakeroot apt-get upgrade

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to daperl For This Useful Post:
    lasergun, w00t

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout