where to put repo script
I'm trying to get my slackware 14 set up to build android CM10 rom from source, i created a script called ~/bin/repo .. where do i put this so that I can just type 'repo' at the command line, in any subdirectory, to run the script?
thank you |
Your ~/bin directory has to be in your PATH. Append it to your .bashrc:
Code:
PATH=$PATH:~/bin Code:
. ~/.bashrc |
Or you can put it in /usr/local/bin and you won't have to modify your $PATH. Although I do like having my own ~/bin.
|
Quote:
unfortunately all the guides ive read to set up a build environment for android CM10 roms is for ubuntu... they say that they require the packages: git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev pngcrush schedtool i can see that my slackware 14 system comes with most, but missing some that I cant get with the ubuntu pkg system so easily.. any tips on completing this task? thanks! EDIT: i can find some with sbopkg via slackbuilds.org but the ones like libsdl1.2-dev and libesd0-dev, cant find |
Quote:
gnupg = gnupg, installed by default flex = flex, installed by default bison = bison, installed by default gperf = gperf, installed by default libsdl = sdl, installed by default libesd = esound, installed by default libwxgtk = wxGTK, available from SBo squashfs-tools = squashfs-tools, available from SBo build-essential = Ubuntu meta-package, but I think this should all be part of a default Slackware install (make, gcc, etc.) zip = infozip, installed by default curl = curl, installed by default libncurses = ncurses, installed by default zlib = zlib, installed by default pngcrush = pngcrush, available from SBo schedtool = schedtool, available from SBo Note: I haven't tested the build, so I don't know if it will actually work with all of those dependencies, but the only third-party packages you should need are wxGTK, squashfs-tools, pngcrush and schedtool. |
Quote:
Thanks again for the help, I've made alot of progress, so close to a build |
i just used the jdk.slackbuild from slackware64-13.37/extra/source/jdk-6 and replaced jdk7 with it..
im repo'ing again and have not yet tried to build but this thread is solved afaic thank you guys for the help! |
All times are GMT -5. The time now is 10:46 AM. |