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

Want to share your OpenWrt / Gargoyle knowledge? Implemented a new feature? Let us know here.

Moderator: Moderators

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

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

Post 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.
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

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

Post 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! :(
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

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

Post 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
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

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

Post 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

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

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

Post by Lantis »

I'll try this today. I posted about it a while ago but never attempted.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

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

Post 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
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

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

Post 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?
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

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

Post by Lantis »

You modify the build target config files not the makefiles
Make custom if you really want to get deep in it.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

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

Post 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.
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

tapper
Moderator
Posts: 1076
Joined: Sun Oct 13, 2013 5:49 pm
Location: Stoke-on-trent UK

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

Post 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.
Linksys WRT3200ACM
NETGEAR Nighthawk R7800
NETGEAR R6260

Post Reply