[M3devel] How to compile system from (modified) source?

Jay K jay.krell at cornell.edu
Tue Aug 25 03:56:21 CEST 2009


apt-get install unixodbc
etc.
?
 
./do-cm3-std.sh buildship
 
./do-pkg.sh buildship list of packages
 
 
The scripts just cd around and run cm3 -build and/or cm3 -ship and/or other commands.
 
Do ./do-cm3-std.sh realclean to remove the "local" build you did.
 
 
 - Jay






----------------------------------------
> Date: Mon, 24 Aug 2009 21:36:10 -0400
> From: hendrik at topoi.pooq.com
> To: m3devel at elegosoft.com
> Subject: [M3devel] How to compile system from (modified) source?
>
> I downloaded the complete source tree via cvs.
>
> I downloaded some of the RC3 archives.
>
> I start with an empty /usr/local/cm3.
>
> I install the core and RC3 gui archives.
>
> I make a copy of the source tree so as not to mess with the original.
>
> I make small changes to ButtonVBT.i3 and ButtonVBT.m3
>
> I run the script do-cm3-std.sh
>
> It fails in odbc.
>
> I figure maybe I don;t have the right db stuff on my system and modify
> do-cm3-std.sh by removing all packages having anything to do with db.
> Hereby I replace toe command P=`lots of stuff`
> by P="long list of packages"
>
> I obtained the long list by sticking an echo $P into the script, copying
> the result into the script, and removing odbc postgres95 db smalldb
> stablegen stable
>
> Now I rerun the script. The package I modified appears to compile
> withoug problems. In fact, the script seems to compile everything but
> doesn't seem to ship anything. Aha! I forgot to say "ship".
>
> Now I rerun again, specifying "ship". Almost all package fails to ship
> with the message:
> package was built with overrides, not shipping.
>
> How am I supposed to do this.
>
> -- hendrik
>


More information about the M3devel mailing list