Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,635 Members 52,943 Now Online
XDA Developers Android and Mobile Development Forum

Problem in setting up build enviroment

Tip us?
 
yto5
Old
#1  
yto5's Avatar
Junior Member - OP
Thanks Meter 1
Posts: 22
Join Date: Feb 2014
Location: Howrah
Question Problem in setting up build enviroment

I have used this guide to setup my build enviroment on hackintosh http://forum.xda-developers.com/show....php?t=2510898

but whenever i make a new repo folder by using "mkdir -p ~/.bin"

and following it "curl http://commondatastorage.googleapis....downloads/repo > ~/bin/repo"

i get a error that bin/repo folder is not found please help me i'm a noob i this
 
rootSU
Old
#2  
rootSU's Avatar
Senior Member
Thanks Meter 10640
Posts: 21,754
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
You've created a directory called ".bin" (hidden) yet you're curling in "bin" which you didn't create in the previous step.

I wouldn't have expected you to create ".bin" in the first step

Sent from my Nexus 5 using Tapatalk
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
The Following User Says Thank You to rootSU For This Useful Post: [ Click to Expand ]
 
beekay201
Old
#3  
beekay201's Avatar
Senior Member
Thanks Meter 1126
Posts: 4,640
Join Date: Nov 2010
Quote:
Originally Posted by yto5 View Post
I have used this guide to setup my build enviroment on hackintosh http://forum.xda-developers.com/show....php?t=2510898

but whenever i make a new repo folder by using "mkdir -p ~/.bin"

and following it "curl http://commondatastorage.googleapis....downloads/repo > ~/bin/repo"

i get a error that bin/repo folder is not found please help me i'm a noob i this
Quote:
Originally Posted by rootSU View Post
You've created a directory called ".bin" (hidden) yet you're curling in "bin" which you didn't create in the previous step.

I wouldn't have expected you to create ".bin" in the first step

Sent from my Nexus 5 using Tapatalk
In other words, what rootSU is saying is that you need to download (what you are "curling") the 'repo' binary into an existing folder.

This is basic GNU, actually.

On the first command, you're creating ~/.bin, but on the second, repo gets downloaded into ~/bin/, which doesn't exist.
hammerhead/omni-KTU84P/stock#3.4.0/M8974A-2.0.50.1.13
maguro/aosp-KRT16O/custom#3.0.101/XXLJ1
manta/omni-KTU84P/custom#3.4.39
XDA forum rules here
bug report? logcat and /proc/kmsg, or it "never happened".
How TO Ask questions on the Internet
aosp-maguro READFIRST here (credit: efrant)
aosp-gnex READSECOND here (credit: efrant)
The Following User Says Thank You to beekay201 For This Useful Post: [ Click to Expand ]
 
rootSU
Old
#4  
rootSU's Avatar
Senior Member
Thanks Meter 10640
Posts: 21,754
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Quote:
Originally Posted by beekay201 View Post
In other words, what rootSU is saying is that you need to download (what you are "curling") the 'repo' binary into an existing folder.

This is basic GNU, actually.

On the first command, you're creating ~/.bin, but on the second, repo gets downloaded into ~/bin/, which doesn't exist.
Yep, that's exactly what I'm saying. Thanks.

".bin" is not "bin"
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes