[M3devel] failure to cross-install

Hendrik Boom hendrik at topoi.pooq.com
Tue May 29 01:08:24 CEST 2012


(forgot to change the subject)

(It's possible that the weird directory name had been generated earlier 
when I tried to do the same thing without having emptied LIBRARY_PATH, 
but I definietly specified it for this run.

-- hendrik

On Mon, May 28, 2012 at 07:05:05PM -0400, Hendrik Boom wrote:
> Trying a cross-compilation now.
> 
> On Tue, May 15, 2012 at 10:33:12PM +0000, Jay K wrote:
> > 
> > You might as well just use something in scripts to rebuild the entire 
> > system.It isn't so difficult nor takes very long.     
> >
> > Get a working > cm3 on any system.
>       cd scripts/python
>       ./boot1.py <target-such-as-I386_LINUX>      That will produce a "bootstrap" archive.    Copy it to the "new" system.      Extract it.      Cd into it.      Look at the top of Makefile and see if it seems reasonable (we should use autoconf here).    run make.     That should give you a working cm3 for the new system.      Put that on path, e.g.:       su        rm -rf /usr/local/cm3       mkdir -p /usr/local/cm3/bin        cp cm3 /usr/local/cm3/bin        exit         PATH=/usr/local/cm3/bin:$PATH     cd to scripts/python in the source tree on the new system.    Then run ./boot2.sh       Then ./make-dist.py.    That should give you the entire system newly built, and a .deb.  If you already have a working cm3 on the system you want to run it on  cd scripts/python   ./upgrade.py    ./make-dist.py     I'd really like to get to the
> 
> Did that, as 
> hendrik at april:~/cm3/cm3/scripts/python$ export LIBRARY_PATH=
> hendrik at april:~/cm3/cm3/scripts/python$ ./boot1.py I386_LINUX
> 
> and it compiled for a ling time, then failed with
> 
> new source -> compiling Utils.m3
> new source -> compiling WebFile.m3
> new source -> compiling Main.m3
> building makefile -> make.cm3
>  ==> /farhome/hendrik/cm3/cm3/m3-sys/cm3 done
> 
> Traceback (most recent call last):
>   File "./boot1.py", line 18, in <module>
>     Boot();
>   File "/farhome/hendrik/cm3/cm3/scripts/python/pylib.py", line 1248, in Boot
>     for a in os.listdir(os.path.join(Root, dir, Config)):
> OSError: [Errno 2] No such file or directory: '/farhome/hendrik/cm3/cm3/m3-sys/m3cc/I386_LINUX'
> hendrik at april:~/cm3/cm3/scripts/python$
> 
> 
> So I took a look for /farhome/hendrik/cm3/cm3/m3-sys/m3cc/I386_LINUX
> 
> and in directory /farhome/hendrik/cm3/cm3/m3-sys/m3cc/
> 
> I found 
> 
> drwxr-xr-x 12 hendrik hendrik 4096 May 28 14:39 .
>   drwxr-xr-x 27 hendrik hendrik 4096 May 16 18:08 ..
>   drwxr-xr-x  6 hendrik hendrik 4096 May 28 14:56 AMD64_LINUX
>   drwxr-xr-x  6 hendrik hendrik 4096 May 28 15:21 AMD64_LINUX-I386_LINUX
>   drwxr-xr-x  2 hendrik hendrik 4096 May 16 17:50 CVS
>   
> but no I386-LINUX
> 
> -- hendrik



More information about the M3devel mailing list