06-18-2010, 03:02 PM | #1 |
Addict
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? |
06-18-2010, 03:22 PM | #2 |
Addict
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? |
06-18-2010, 03:37 PM | #3 |
Connoisseur
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. |
06-18-2010, 04:46 PM | #4 |
Addict
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. |
06-18-2010, 04:50 PM | #5 |
Connoisseur
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. |
06-18-2010, 04:51 PM | #6 | |
Guru
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:
Run strip against it. Btw, not the strip binary in /usr/bin, but the ine in /usr/local/poky/arm.../bin |
|
06-18-2010, 05:07 PM | #7 |
Addict
Posts: 244
Karma: 124
Join Date: Feb 2010
Device: none
|
Thanks. Now mine is about the same size of the original one. (small change)
|
06-19-2010, 03:01 AM | #8 | |
Guru
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
|
Quote:
|
|
Thread Tools | Search this Thread |
|
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 |