LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-20-2012, 10:49 PM   #1
buradd
Member
 
Registered: Mar 2012
Location: California
Distribution: Slackware64-current
Posts: 73

Rep: Reputation: Disabled
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
 
Old 10-20-2012, 10:56 PM   #2
aetratus
LQ Newbie
 
Registered: Jul 2006
Location: Internet
Distribution: Fedora, CentOS, Archlinux
Posts: 27

Rep: Reputation: 6
Your ~/bin directory has to be in your PATH. Append it to your .bashrc:
Code:
PATH=$PATH:~/bin
then source your .bashrc by typing
Code:
. ~/.bashrc
 
1 members found this post helpful.
Old 10-20-2012, 11:02 PM   #3
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 800

Rep: Reputation: 100Reputation: 100
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.
 
1 members found this post helpful.
Old 10-20-2012, 11:34 PM   #4
buradd
Member
 
Registered: Mar 2012
Location: California
Distribution: Slackware64-current
Posts: 73

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by manwichmakesameal View Post
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.
this fixed the issue of accessing my newly created repo script from anywhere.. but i ran into an issue later on down the line

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

Last edited by buradd; 10-20-2012 at 11:37 PM.
 
Old 10-21-2012, 12:04 AM   #5
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,291

Rep: Reputation: 708Reputation: 708Reputation: 708Reputation: 708Reputation: 708Reputation: 708Reputation: 708
Quote:
Originally Posted by buradd View Post
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
...
EDIT: i can find some with sbopkg via slackbuilds.org but the ones like libsdl1.2-dev and libesd0-dev, cant find
git-core = git, installed by default
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.
 
1 members found this post helpful.
Old 10-21-2012, 12:31 AM   #6
buradd
Member
 
Registered: Mar 2012
Location: California
Distribution: Slackware64-current
Posts: 73

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by T3slider View Post
git-core = git, installed by default
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.
thank you so much for your detailed response.. i have checked off all dependencies as installed, i found alot were installed already and i read about that ubuntu meta package too, i think everything is good except now I need to install jdk6 .. jdk7 wont do, which is installed.. if i run a jdk.SlackBuild for jdk6 and do upgradepkg --install-new /tmp/jdk6.txz will it uninstall the jdk7 or will it just install side by side.. will this create any errors?

Thanks again for the help, I've made alot of progress, so close to a build
 
Old 10-21-2012, 02:45 AM   #7
buradd
Member
 
Registered: Mar 2012
Location: California
Distribution: Slackware64-current
Posts: 73

Original Poster
Rep: Reputation: Disabled
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to split a large SVN repo into one git repo. Ian John Locke II Linux - Software 1 01-30-2012 09:19 AM
Put each daily cron task in a separate script or put them all in one script? veeruk101 Linux - Newbie 4 10-19-2011 08:10 AM
Best way to automate copying of Git repo to subversion repo? jceipek Linux - Server 0 03-15-2011 03:42 AM
how to use syanptic in fc 5 and how to add repo and which repo to be added.. vikas04522 Fedora 1 08-26-2006 01:41 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 04:49 PM


All times are GMT -5. The time now is 11:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration