[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Scratchbox-devel] Help on building scratchbox-1.0.2 in debian-amd64



On Wed, 23 Nov 2005, Li Weichen wrote:

> Hi everyone,
>
> I am trying to build scratchbox-1.0.2 in Debian-amd64.  But I encounter an
> error while building.  The commands I input and errors are below:
>
> #tar xzvf scratchbox-1.0.2.tar.gz
> #cd scratchbox-1.0.2
> #cp ../scratchbox-base-75.tar.gz tools/scratchbox-base/download/
> #./build
> [.......]
> dh_installdocs -plibstdc++5
> echo "See /usr/share/doc/gcc-3.3-base for more information" \
>         > debian/libstdc++5/usr/share/doc/libstdc++5/README.Debian
> dh_installchangelogs -plibstdc++5
> debian/dh_rmemptydirs -plibstdc++5
> dh_strip -plibstdc++5
> dh_compress -plibstdc++5
> dh_fixperms -plibstdc++5
> DH_COMPAT=3 dh_makeshlibs -plibstdc++5 \
>         -V 'libstdc++5 (>= 1:3.3.4-1)'
> cat debian/libstdc++5/DEBIAN/shlibs >> debian/shlibs.local
> cat: debian/libstdc++5/DEBIAN/shlibs: No such file or directory
> make[3]: *** [stamps/08-binary-stamp-libstdcxx] Error 1
> make[3]: Leaving directory
> `/downloads/scratchbox/scratchbox-1.0.2/compilers/host_gcc/work/main.d/gcc-3
> .3-3.3.5'
> make[2]: *** [binary] Error 2
> make[2]: Leaving directory
> `/downloads/scratchbox/scratchbox-1.0.2/compilers/host_gcc/work/main.d/gcc-3
> .3-3.3.5'
> make[1]: *** [install-gcc] Error 2
> make[1]: Leaving directory
> `/downloads/scratchbox/scratchbox-1.0.2/compilers/host_gcc'
> make: *** [host-gcc] Error 2
>
> Is there anything wrong with my build steps?  Where can I find the detail
> building hints?  The official installation documents is not so clear.
>
> Thank in advance and best regards!
>
>
> Li Weichen
> 2005-11-23

See http://www.rahkonen.org/sbox-x86_64-changelog.html what I did for
1.0.1. With 1.0.2 you need to apply some of those patches because they
are not included in sbox release and upgrade some versions to be more
x86_64 friendly. I have compiled everything up to qemu part but that
doesn't want to compile with gcc 3.3 (wich is host-gcc or default gcc in
my sarge chroot) so I need to get newer compiler to that. Also you should
select what patches to take in from the default sbox qemu patch set (all
of those wont work in x86_64). Basically the whole sbox is not so x86_64
friendly (I would like to have gcc 4.0 as host-gcc, at least gcc 3.4) and
also some programs are quite old (the debian x86_64 port did have some
problems when porting to sarge).

You will get through the process with that changelog page or you can just
wait that I'll make the port (it might happen at the end of this week if I
get the qemu thingy sorted out).

-- 
Valtteri Rahkonen
valtteri@rahkonen.org
http://www.rahkonen.org
+358 40 5077041



Reply to: