[maemo-developers] sbox2 update

From: Laurent GUERBY laurent at guerby.net
Date: Wed Mar 14 22:10:34 EET 2007
On Wed, 2007-03-14 at 21:46 +0200, Lauri Leukkunen wrote:
> On 3/14/07, Laurent GUERBY <laurent at guerby.net> wrote:
> > After installing a bunch of missing packages on my amd64 feisty box, I'm
> > now stuck at some obscure automake-1.7 messages whil trying to build
> > maemo-mapper-1.4.3.
> >
> > May be I didn't untar in the right directory?
> It shouldn't matter, but I typically put the sources into my $HOME/src
> directory, you don't need to put them inside the buildroot dir.
> Do you have libtool for your host? I did an equivalent of

$ libtool --version
ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365 2005/12/18

> apt-get install gnome-devel automake1.7

It installed more than 100 packages.

After that:

[SB2] guerby at pc2 ~/work/maemo/tmp $ cd maemo-mapper-1.4.3/
[SB2] guerby at pc2 ~/work/maemo/tmp/maemo-mapper-1.4.3 $ dpkg-buildpackage -rfakeroot -d          
dpkg-buildpackage: source package is maemo-mapper
dpkg-buildpackage: source version is 1.4.3-1
dpkg-buildpackage: source changed by John Costigan <gnuite at gmail.com>
dpkg-buildpackage: host architecture arm
dpkg-buildpackage: source version without epoch 1.4.3-1
 fakeroot debian/rules clean
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/home/guerby/work/maemo/tmp/maemo-mapper-1.4.3'
make[1]: *** No rule to make target `clean'.  Stop.
make[1]: Leaving directory `/home/guerby/work/maemo/tmp/maemo-mapper-1.4.3'
make: [clean] Error 2 (ignored)
 dpkg-source -b maemo-mapper-1.4.3
dpkg-source: building maemo-mapper in maemo-mapper_1.4.3-1.tar.gz
dpkg-source: building maemo-mapper in maemo-mapper_1.4.3-1.dsc
 debian/rules build
+ glib-gettextize --copy --force
cd: 140: can't cd to /usr/share/glib-2.0/gettext
gettext source directory '/usr/share/glib-2.0/gettext' doesn't exist
+ libtoolize --automake --copy --force
cd: 159: can't cd to /usr/share/libtool
libtoolize: cannot list files in `/usr/share/libtool'
+ intltoolize --automake --copy --force
+ aclocal-1.7
+ autoconf --force
+ autoheader --force
+ automake-1.7 --add-missing --copy --force-missing --foreign
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
configure.ac:27: installing `./config.guess'
configure.ac:27: installing `./config.sub'
configure.ac:27: required file `./ltmain.sh' not found
src/Makefile.am: installing `./compile'
src/Makefile.am: installing `./depcomp'
make: *** [configure-stamp] Error 1
[SB2] guerby at pc2 ~/work/maemo/tmp/maemo-mapper-1.4.3 $ cd /usr/share/glib-2.0/gettext
bash: cd: /usr/share/glib-2.0/gettext: No such file or directory

Outside of sb2 I do have the mentionned directory:

guerby at pc2:~/work/maemo/scratchbox$  ls -l /usr/share/glib-2.0/gettext
total 8
-rwxr-xr-x 1 root root 1988 2007-03-09 14:52 mkinstalldirs
drwxr-xr-x 2 root root 4096 2007-03-14 20:58 po

I tried to rebuild hello within SB2 and it didn't work anymore:

[SB2] guerby at pc2 ~/work/maemo/tmp $ gcc -o hello hello.c
hello.c:2:19: error: stdio.h: No such file or directory
hello.c: In function 'main':
hello.c:3: warning: incompatible implicit declaration of built-in
function 'printf'

I'm really confused at how the thing is supposed to be working :).

I noticed that some scratchbox.sb2cache and  buildroot.sb2cache
directories appeared.


More information about the maemo-developers mailing list