Page 1 of 3

test to see if you can build on bash in windows 10!

Posted: Fri Oct 14, 2016 7:46 am
by tapper
Hi i have bin reading up on bash in windows 10 and it seems that under the bash command line bash in win 10 there is a full install of ubuntu.

So I now have bash installed and would like to know were to go from here?
How to start building Gargoyle?
Is there any good write ups?

If I get this working my aim would be to build a minimal Gargoyle build, leaving out as much as possible. By which i meen all the things i don't use like tor, p910nd, VPN, minidlna, mjpg-streamer, and samba + any file systems I don't need.

As know body has tryed to do this be for I figger it would be a good way to learn about how Gargoyle works. by F**ing it all up lol. (rofl)

That's if i can even get anything to build in the first place.

Re: test to see if you can build on bash in windows 10!

Posted: Fri Oct 14, 2016 8:17 am
by tapper
Omg I have just bin looking at the Openwrt wiki! How the hek is a newbie ment to know what any of that meens? The bar to build anything is set so hi! :(

Re: test to see if you can build on bash in windows 10!

Posted: Fri Oct 14, 2016 3:12 pm
by tapper
So i have dun:
sudo apt-get update
sudo apt-get install git-core build-essential libssl-dev libncurses5-dev unzip gawk
but when i do:
git clone https://github.com/ericpaulbishop/gargoyle.git
It says,
Can not create work tree pamition denied

Re: test to see if you can build on bash in windows 10!

Posted: Fri Oct 14, 2016 3:59 pm
by ispyisail
you can do it :)

http://www.gargoyle-router.com/wiki/dok ... umentation

Code: Select all

sudo apt-get install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo

Code: Select all

git clone git://github.com/ericpaulbishop/gargoyle.git

Code: Select all

cd gargoyle

Code: Select all

make FULL_BUILD=true

Re: test to see if you can build on bash in windows 10!

Posted: Fri Oct 14, 2016 4:54 pm
by Lantis
I'll try this today. I posted about it a while ago but never attempted.

Re: test to see if you can build on bash in windows 10!

Posted: Fri Oct 14, 2016 6:31 pm
by tapper
Hi so i got the git to clone. The trick is you have to run bash as a admin or it will not work. I thinks it's building now but i just did make and not make FULL_BUILD=true lol
It stors the files in C:\Windows\System32\gargoyle

Re: test to see if you can build on bash in windows 10!

Posted: Fri Oct 14, 2016 7:19 pm
by tapper
what's the difference between make and make FULL_BUILD=true?
If i wanted to change anything about gargoyle would i have to clone it in to my own git hub or can you change the make file to leave out any packages?

Re: test to see if you can build on bash in windows 10!

Posted: Fri Oct 14, 2016 7:33 pm
by Lantis
You modify the build target config files not the makefiles
Make custom if you really want to get deep in it.

Re: test to see if you can build on bash in windows 10!

Posted: Fri Oct 14, 2016 7:45 pm
by tapper
Lantis wrote:You modify the build target config files not the makefiles
Make custom if you really want to get deep in it.
lol think i am over my head now (rofl)
This is how you learn tho.

Re: test to see if you can build on bash in windows 10!

Posted: Sat Oct 15, 2016 5:44 am
by tapper
Hi so the build i did last night did not make any bin files, so some thing went wrong. When a build fails do you get a build log? If so where is it kept? How do you clean up after a failed build?

Thanks for your help lantis and ispy.

When I get this working i am going to try and do a write up for the docs.