View Single Post
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#37
Originally Posted by szopin View Post
dpkg-deb (subprocess): short read in buffer_copy (failed to write to pipe in copy)
"This is the error that happens when trying to install a partially
downloaded package."


Originally Posted by szopin View Post
dpkg: dependency problems prevent configuration of cpp-4.6:
cpp-4.6 depends on gcc-4.6-base (= 4.6.1-maemo4); however:
Package gcc-4.6-base is not installed.

You missed one row:
Code:
dpkg -i --force-all gcc-4.6-base_4.6.1-maemo4_armel.deb
But test first:
Code:
dpkg -i gcc-4.6-base_4.6.1-maemo4_armel.deb
Originally Posted by szopin View Post
Is there any alternative to:
sb2 -eR dpkg-buildpackage
that works on device?
Code:
fakeroot dpkg-buildpackage
Or
Code:
root
dpkg-buildpackage
Or if you are not interested in to get it packaged, but only compiled, you can try: download source code.
unpack source code
cd gcc*
mkdir build
cd build
../configure
make

(Yes, it must be configured and built out of the source tree).
 

The Following 4 Users Say Thank You to AapoRantalainen For This Useful Post: