Reply
Thread Tools
Posts: 24 | Thanked: 4 times | Joined on May 2010
#1
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
 
w00t's Avatar
Posts: 1,055 | Thanked: 4,107 times | Joined on Oct 2009 @ Norway
#2
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.
__________________
i'm a Qt expert and former Jolla sailor (forever sailing, in spirit).
if you like, read more about me.
if you find me entertaining, or useful, thank me. if you don't, then tell me why.
 

The Following 2 Users Say Thank You to w00t For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#3
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
__________________
N9: Go white or go home
 

The Following 4 Users Say Thank You to daperl For This Useful Post:
Posts: 24 | Thanked: 4 times | Joined on May 2010
#4
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
 
Posts: 24 | Thanked: 4 times | Joined on May 2010
#5
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 ?
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#6
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?
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
Posts: 24 | Thanked: 4 times | Joined on May 2010
#7
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.

Last edited by lasergun; 2010-06-07 at 09:18.
 
Posts: 24 | Thanked: 4 times | Joined on May 2010
#8
w00t - both ./autogen.sh and ./configure --prefix=/usr works well,
but what do I do next in order to get a .deb package?

Thanks
 
Posts: 24 | Thanked: 4 times | Joined on May 2010
#9
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
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#10
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
__________________
N9: Go white or go home
 

The Following 2 Users Say Thank You to daperl For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 11:04.