| | 53 | |
| | 54 | == Build from SVN on Debian (and maybe others) == |
| | 55 | |
| | 56 | Trying to build packages from SVN may currently have some issues. The following tries to address the ones I experience on Debian. They may be applicable to other environments as well. |
| | 57 | |
| | 58 | === cat: <some path>mondo/VERSION: No such file or directory === |
| | 59 | (followed by some more errors) |
| | 60 | |
| | 61 | This is because tools/svn-env makes assumptions about the user's directory layout which are not necessily true. To overcome this, change tools/svn-env to: |
| | 62 | {{{ |
| | 63 | #!/bin/bash |
| | 64 | # |
| | 65 | # Creates common environment for SVN repository |
| | 66 | # |
| | 67 | # $Id: svn-env 553 2006-05-17 22:40:32Z bcornec $ |
| | 68 | # |
| | 69 | |
| | 70 | export VER="`cat ${TOOLHOME}/../mondo/VERSION`" |
| | 71 | export SVNBRANCH="`dirname ${TOOLHOME}`" |
| | 72 | |
| | 73 | # To be safe for SVN commands |
| | 74 | export REVISION=`(cd $TOOLHOME/.. ; svnversion .)` |
| | 75 | export TAG=`cat ${TOOLHOME}/TAG` |
| | 76 | }}} |
| | 77 | |