On Thursday 25 May 2006 10:46, jpff@codemist.co.uk wrote: > I do have a Debian machine in the mix but I am not up to any speed on > Debian packages (or indeed rpm). I tried to follow the instructions I > found but they do not make much sense to be. I keep finding missing > commands. > Is there anyone who understands this stuff? I have committed (just before what looks like yet another CVS outage) some scripts for building .deb packages. Since I am not familiar with Debian, these are probably far from being perfect, but at least I was able to create something that looks like a .deb file. To test the building of .deb packages, run this command as root from the top level csound5 source directory (so that you have ./SConstruct), after having the binaries built in ../__csound5 by mkpackage.py (see below): ./installer/misc/makedeb.sh This should create a file "../csound_5.02.0-1_i386.deb". As noted above, makedeb.sh expects the contents of the package to be in ../__csound5. You can create a full "release" build of Csound in that directory using ./installer/misc/mkpackage.py. First, make sure that all the required dependencies are present, including: - the file ../loris-1.3.0.tar.gz - the file ../stk-4.2.1.tar.gz - SWIG (I have 1.3.27, others may or may not work) - Boost (again, I have 1.33, others may or may not work) - FLTK 1.1.7 or newer, built with --enable-shared --enable-threads - FluidSynth 1.0.6 or newer - Python, version 2.4 is preferred - SCons - JACK - PortAudio v19 - PortMidi - libsndfile, preferably 1.0.16 or newer - Tcl/Tk version 8.4 - PD (http://www-crca.ucsd.edu/~msp/software.html) - a recent version of liblo Edit mkpackage.py and set directories etc. as required by the target distribution, then run the following commands as a normal user: ./installer/misc/loris_stk_src.sh unpack ./installer/misc/mkpackage.py ./installer/misc/loris_stk_src.sh clean Now you should have all the binaries, assuming that there were no errors. Before running makedeb.sh, you may want to copy some additional files, such as (assuming default target directories): - the HTML manual to ../__csound5/usr/local/share/doc/csound/manual, so that you have ../__csound5/usr/local/share/doc/csound/manual/index.html - any additional documentation files to ../__csound5/usr/local/share/doc/csound - custom shared libraries for FLTK etc. that will only be used by Csound to ../__csound5/usr/local/lib/csound/lib ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net