OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Portage (gentoo) for cacko X11
lekter
post Jan 2 2004, 01:41 PM
Post #1





Group: Members
Posts: 59
Joined: 30-December 03
Member No.: 1,313



Is there anybody working on this? If not, I would like to try.

With nfs solving the disk space, it could be posible. I can't see any serious problem. We have python, distcc and gcc 3.3.1 working.

The first steps will be having an prototype of environment in which portage can compile packages via "emerge" with some USE flags.

I will try tonight and post the preliminary results. Keep connected.

Fernando Monera
http://www.opensistemas.com
Go to the top of the page
 
+Quote Post
post Jan 2 2004, 01:50 PM
Post #2





Group:
Posts: 0
Joined: --
Member No.: 0



You mean other than the fact that compiling things on the Zaurus would be dead slow?
Go to the top of the page
 
+Quote Post
lekter
post Jan 2 2004, 02:29 PM
Post #3





Group: Members
Posts: 59
Joined: 30-December 03
Member No.: 1,313



With distcc, things are compiled on the main PC. Zaurus only does the "./configure". So compiling is as fast as the main pc.

This is the way I am compiling everything.
Go to the top of the page
 
+Quote Post
post Jan 2 2004, 02:58 PM
Post #4





Group:
Posts: 0
Joined: --
Member No.: 0



Do you have pointers to information on how to set distcc up?
Go to the top of the page
 
+Quote Post
lekter
post Jan 2 2004, 04:15 PM
Post #5





Group: Members
Posts: 59
Joined: 30-December 03
Member No.: 1,313



STATUS at 01:10:

- chroot environment over nfs working ok
- emerge starts !!! (but nothing more atm). Needs a more complete Gento environment.

In progress:
- Setting a complete Gentoo environment (mainly setting up /etc files).


Fernando Monera
http://www.opensistemas.com
Go to the top of the page
 
+Quote Post
lekter
post Jan 2 2004, 04:54 PM
Post #6





Group: Members
Posts: 59
Joined: 30-December 03
Member No.: 1,313



STATUS at 1:48 a.m.:

- "emerge sync" working!!!!!!

It is going to be long, so maybe I will go to sleep and continue tomorrow.

Output (I swear it is really my zaurus):

# emerge sync
>>> starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
>>> checking server timestamp ...

Welcome to trumpetti.atm.tut.fi (130.230.54.99 and 2001:708:310:54::2),
also known as ftp.fi.debian.org and rsync1.fi.gentoo.org.
We are located at Tampere University of Technology, Finland.
All services (http,ftp,rsync) support IPv6.


The server is a dual P3 1GHz with 1Gb of memory and a gigabit
network connection.

In case of questions, suggestions or problems, please contact deb@atm.tut.fi


receiving file list ...
1 file to consider
timestamp.chk
32 100% 0.00kB/s 0:00:00
rsync[1526] (receiver) heap statistics:
arena: 113752 (bytes from sbrk)
ordblks: 1 (chunks not in use)
smblks: 0
hblks: 0 (chunks from mmap)
hblkhd: 0 (bytes from mmap)
usmblks: 0
fsmblks: 0
uordblks: 98920 (bytes used)
fordblks: 14832 (bytes free)
keepcost: 14832 (bytes in releasable chunk)

Number of files: 1
Number of files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 32
Total bytes written: 201
Total bytes read: 534

wrote 201 bytes read 534 bytes 294.00 bytes/sec
total size is 32 speedup is 0.04

Welcome to trumpetti.atm.tut.fi (130.230.54.99 and 2001:708:310:54::2),
also known as ftp.fi.debian.org and rsync1.fi.gentoo.org.
We are located at Tampere University of Technology, Finland.
All services (http,ftp,rsync) support IPv6.

The server is a dual P3 1GHz with 1Gb of memory and a gigabit
network connection.

In case of questions, suggestions or problems, please contact deb@atm.tut.fi


receiving file list ...
70290 files to consider
app-admin/
app-admin/fpm/
app-admin/fpm/files/
app-admin/superadduser/files/
app-admin/syslog-ng/
app-admin/sysstat/
app-admin/sysstat/files/
app-arch/
app-arch/bsdsfv/files/
app-arch/lha/
app-arch/rar/
app-arch/rar/files/
app-arch/unrar/
app-arch/unrar/files/
app-benchmarks/
app-cdr/
app-cdr/cdrdao/
app-crypt/
app-crypt/gnupg/
app-crypt/heimdal/files/
app-dicts/
app-dicts/ebview/
app-dicts/ebview/files/
app-dicts/prime-dict/
app-dicts/prime-dict/files/
app-doc/
app-doc/quanta-docs/
app-editors/

etcetera.
Go to the top of the page
 
+Quote Post
lekter
post Jan 2 2004, 05:32 PM
Post #7





Group: Members
Posts: 59
Joined: 30-December 03
Member No.: 1,313



To setup distcc:
- Make sure you can compile on zaurus AND on main PC (via cross compile)
- Make symlinks on PC from arm-linux-gcc to gcc (and the other executable files too) on the same dir (/usr/local/arm/3.3.1/bin)
- Make sure /usr/local/arm/3.3.1/bin is at the beginning of your path.
- run "distccd --daemon" on both sides
- on zaurus:
export DISTCC_HOSTS="192.168.129.1 localhost"
(or export DISTCC_HOSTS="192.168.129.1" )
export CC=dist-gcc
export CXX=dist-g++

I have those exports into the zgcc-setup.sh of the native compiler.
Go to the top of the page
 
+Quote Post
enki
post Jan 4 2004, 10:17 AM
Post #8





Group: Members
Posts: 35
Joined: 2-July 03
From: Str8 N0rth C4k4l4ky
Member No.: 232



wow, sounds like some really fascinating stuff, lekter... im definately gonna have to look into implementing and testing your setup, as im running gentoo on my linux that i network my zaurus through via usb... smile.gif

distcc would certainly solve a few issues, ive heard of it, but dont much understand its implementation

ill see what i can do to learn more
Go to the top of the page
 
+Quote Post
lekter
post Jan 4 2004, 12:00 PM
Post #9





Group: Members
Posts: 59
Joined: 30-December 03
Member No.: 1,313



I DID IT!!!!!!! I have my first gentoo package for zaurus done with the zaurus. I think the environment is stable now.

Doing now:
- I'm setting up a web page for all the project.
- I'm writing a script to convert from gentoo packages (.tbz2) to zaurus ones (.ipk).
Go to the top of the page
 
+Quote Post
post Jan 4 2004, 03:28 PM
Post #10





Group:
Posts: 0
Joined: --
Member No.: 0



hey lekter, i was able to set up distcc on both computers, but when i attempted to use it in an actual compile, it would fail, giving me these errors before resulting to using the local (zgcc) compiler:

distcc[6312] (dcc_r_bulk_plain) ERROR: ftruncate fd5 failed: Operation not permitted
distcc[6312] (dcc_build_somewhere) Warning: failed to distribute to 192.168.129.200, running locally instead

if you have any thoughts on what could cause this, i would be very thankful smile.gif
Go to the top of the page
 
+Quote Post
enki
post Jan 4 2004, 03:43 PM
Post #11





Group: Members
Posts: 35
Joined: 2-July 03
From: Str8 N0rth C4k4l4ky
Member No.: 232



ack, above guest is me
Go to the top of the page
 
+Quote Post
VeeDubb
post Jan 5 2004, 12:43 AM
Post #12





Group: Members
Posts: 191
Joined: 30-October 03
Member No.: 698



This is all amazing! I'm realy fascinated by the whole idea. I hope to buy an 860 later this year if I ever get a decent job.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 30th September 2014 - 11:54 AM