I have uploaded a new version of the script that allows to install/deinstall r2 
with
bindings and generate w32dist zip file. 

It also simplifies the installation of vala and valaswig with -d /

Check sh build.sh -h for more information:

[panc...@dazo radare2]$ sh build.sh -h
Usage: build.sh [logfile|-option]
  -i [destdir]    install r2
  -I [destdir]    deinstall r2
  -c              clean build directory
  -d [destdir]    compile and install dependencies
  -D [destdir]    deinstall dependencies
  -h              show this help
Dependencies:
  vala        http://live.gnome.org/Vala
  swig        http://www.swig.org
  valaswig    http://hg.youterm.com/valaswig
Examples:
  sh build.sh              do the build and generate log
  sudo sh build.sh -i /    install system-wide (/+/usr)
  sudo sh build.sh -I      deinstall
  sudo sh build.sh -d /    install dependencies system-wide
  sh build.sh -d ~/prefix  install dependencies in home
  sudo sh build.sh -c      clean build directory
  rm -rf radare2.build     remove build directory

NOTE: The whole build takes about 400M

--pancake

On Mon, 12 Jul 2010 01:00:35 +0200
pancake <[email protected]> wrote:

> Oops. i forgot to say how to do it :)
> 
> # Get the build script
> $ wget http://lolcathost.org/b/build.sh
> # Run it
> sh build.sh
> 
> This will generate the 'radare2.build' directory and do the build inside.
> 
> The log file is stored in radare2.build/build.log
> 
> Next step is to write some scripts to parse the log files in order to find 
> build errors
> and generate a decent status page.
> 
> The script doesnt uses -j N yet, but you can tune it to do it easily.
> 
> I think that the best way to do this would be by polling public files in http 
> servers,
> so the people who wants to join to this build farm will just have to give me 
> the URL
> of the build.log for their systems. I will fetch them and analyze in order to 
> detect
> crosscompilation issues, build errors, etc..
> 
> In my laptop it takes about 16m to finish.
> 
> Have fun!
> 
> On Mon, 12 Jul 2010 00:48:48 +0200
> pancake <[email protected]> wrote:
> 
> > It was in TODO for a long time and finally I wrote a shell script that 
> > compiles r2,
> > bindings and w32 crosscompilation in a shot and generates a build log file.
> > 
> > I'll be happy to receive the results of the compilations in your boxes (any 
> > arch/os
> > is valid: osx/{arm,ppc,i386,x86-64}, {free,net,open}bsd, 
> > linux/{mips,arm,intel,..} , 
> > beos, cygwin, etc...
> > 
> > Send the results to: [email protected]
> > 
> > Thanks!
> > 
> > PD: I plan to release r2-0.5 in a week or so. Stay tuned!
> > _______________________________________________
> > radare mailing list
> > [email protected]
> > http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
> > 
> _______________________________________________
> radare mailing list
> [email protected]
> http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
> 
_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

Reply via email to