Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-18-2010, 03:02 PM   #1
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
Build process problem

I was trying to build the popupmenu from the 4.0 source. Failed at the first step:

dr800@dr800-desktop:~/dr800/projects/popupmenu$ autoreconf --install

configure.ac:15: error: possibly undefined macro: AC_PROG_INTLTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

Where is AC_PROG_INTLTOOL defined?
CoolDragon is offline   Reply With Quote
Old 06-18-2010, 03:22 PM   #2
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
OK, the SDK document forgot to mention that you need to install "intltool" package.

Now autoreconf and configure are all fine, but make has these error:

dr800@dr800-desktop:~/dr800/projects/popupmenu$ make
make all-recursive
make[1]: Entering directory `/home/dr800/dr800/projects/popupmenu'
Making all in include
make[2]: Entering directory `/home/dr800/dr800/projects/popupmenu/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dr800/dr800/projects/popupmenu/include'
Making all in src
make[2]: Entering directory `/home/dr800/dr800/projects/popupmenu/src'
Makefile:279: .deps/dialog.Po: No such file or directory
Makefile:280: .deps/ipc.Po: No such file or directory
Makefile:281: .deps/main.Po: No such file or directory
Makefile:282: .deps/menustore.Po: No such file or directory
Makefile:283: .deps/pixlist.Po: No such file or directory
Makefile:284: .deps/popup.Po: No such file or directory
Makefile:285: .deps/statusbar.Po: No such file or directory
Makefile:286: .deps/taskbar.Po: No such file or directory
make[2]: *** No rule to make target `.deps/taskbar.Po'. Stop.
make[2]: Leaving directory `/home/dr800/dr800/projects/popupmenu/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dr800/dr800/projects/popupmenu'
make: *** [all] Error 2


How do you generate those .Po file?
CoolDragon is offline   Reply With Quote
Old 06-18-2010, 03:37 PM   #3
luite
Connoisseur
luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.
 
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
run intltoolize first, so you run:
# intltoolize
# autoreconf --install
# ./configure --host=arm-poky-linux-gnueabi
# make

Last edited by luite; 06-18-2010 at 03:40 PM.
luite is offline   Reply With Quote
Old 06-18-2010, 04:46 PM   #4
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
Thanks. I figured this out. I have never used intltoolize before.

Another question: what make target should I use to make a release build. My compiled popupmenu is way bigger than the original one: 233k vs 68k.
CoolDragon is offline   Reply With Quote
Old 06-18-2010, 04:50 PM   #5
luite
Connoisseur
luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.
 
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
try
# arm-poky-linux-gnueabi-strip popupmenu

Update, I should add that you can have it stripped automatically by make install-strip, for example by:
# ./configure --host-arm-poky-linux-gnueabi --prefix=/usr
# make
# make install-strip DESTDIR=/home/user/popupmenu-install

Last edited by luite; 06-18-2010 at 04:56 PM.
luite is offline   Reply With Quote
Old 06-18-2010, 04:51 PM   #6
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by CoolDragon View Post
Thanks. I figured this out. I have never used intltoolize before.

Another question: what make target should I use to make a release build. My compiled popupmenu is way bigger than the original one: 233k vs 68k.
that's because the binary contains debug information.
Run strip against it.
Btw, not the strip binary in /usr/bin, but the ine in /usr/local/poky/arm.../bin
Iņigo is offline   Reply With Quote
Old 06-18-2010, 05:07 PM   #7
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
Thanks. Now mine is about the same size of the original one. (small change)
CoolDragon is offline   Reply With Quote
Old 06-19-2010, 03:01 AM   #8
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Quote:
Originally Posted by luite View Post
try
# arm-poky-linux-gnueabi-strip popupmenu

Update, I should add that you can have it stripped automatically by make install-strip, for example by:
# ./configure --host-arm-poky-linux-gnueabi --prefix=/usr
# make
# make install-strip DESTDIR=/home/user/popupmenu-install
Some of the firmware components also require a: --sysconfdir=/etc in the configure call (at least for the R1.7.1 firmware).
Mackx is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Process Modules LarryLaser Calibre 3 02-10-2010 12:32 PM
Build Problem ali_sade OpenInkpot 1 04-15-2009 04:46 AM
New Conversion Process Gideon Kindle Formats 2 02-19-2009 11:04 PM
iLiad threads (process) kran iRex Developer's Corner 0 06-06-2008 09:25 AM
The process of buying. mastermx Sony Reader 18 08-12-2007 09:32 PM


All times are GMT -4. The time now is 03:58 AM.


MobileRead.com is a privately owned, operated and funded community.