Build gargoyle from source

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Post Reply
aha2940
Posts: 6
Joined: Wed May 23, 2012 10:56 am

Build gargoyle from source

Post by aha2940 »

Hi!

I recently installed OpenWRT SVN on a 3Com router (this is my thread: https://forum.openwrt.org/viewtopic.php?id=37120). I had to compile OpenWRT from source (and use SVN version) because with latest stable the wireless wouldn't work. Unfortunately, I am stuck with no web management interface. I am thinking of compiling Gargoyle and installing it, but I have some questions:

1. Where can I find documentation on how to compile Gargoyle from source?
2. Will Gargoyle work with OpenWRT SVN (Attitude Adjustment)? has it been tested?

Thanks for any help with this and best regards,

Germán

pbix
Developer
Posts: 1373
Joined: Fri Aug 21, 2009 5:09 pm

Re: Build gargoyle from source

Post by pbix »

The download page shows how to compile Gargoyle from source.

BUT, Gargoyle is based on OpenWRT Backfire branch and will not work with the trunk release you are using.
Linksys WRT1900ACv2
Netgear WNDR3700v2
TP Link 1043ND v3
TP-Link TL-WDR3600 v1
Buffalo WZR-HP-G300NH2
WRT54G-TM

aha2940
Posts: 6
Joined: Wed May 23, 2012 10:56 am

Re: Build gargoyle from source

Post by aha2940 »

Thanks for the reply, pbix. Do you think it will bee too difficult to make Gargoyle work in OpenWRT trunk? I am not a developer myself, but I understand some C, C++, Java, shell code, etc. and I can solve some problems if they appear. Also, I looked for the compilation instructions in the download page and I didn't find them. There are links to download the code from Git, but I see nothing about how to create the cross-compiling environment (which I assume is required), choosing the modules to compile, etc. I was hoping for something like the compilation guide provided by OpenWRT: http://wiki.openwrt.org/doc/howto/build

Best regards,

Germán

banglang.huang
Posts: 5
Joined: Tue Jun 11, 2013 10:02 pm

Re: Build gargoyle from source

Post by banglang.huang »

I met the same issue with you now, and my openwrt source code is 12.09 attidude adjustment as well.

I modified the feeds.conf.default and add the below code in it. then we can seed gargoyle relevant menu.

src-git gargoyle http://xxxx.xx.xxx/gargoyle.git

just the github.com 's source link.

I am trying to reach my target now, please keep contact with me, I need more hints.thanks

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: Build gargoyle from source

Post by BashfulBladder »

Current Gargoyle source cannot be built from inside OpenWrt. It cannot be built by adding it to the feeds config file. You have to build Gargoyle using the included build script.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

twinclouds
Posts: 13
Joined: Sat Jan 12, 2013 11:55 pm

Re: Build gargoyle from source

Post by twinclouds »

I tried once to change the line "rnum = 36xxx" in build.sh to the latest build number in Openwrt trunk. It built fine for me at that time but I didn't test too much. (I tried to solve an unrelated problem but it was solved otherwise.) I also found someway to do menuconfig after the first building using "make custom" and these approaches work fine so far as I posted elsewhere. Not sure if there will be any pitfall though.

Post Reply