Anybody built gargoyle on OpenWrt trunk recently?

Discuss the technical details of Gargoyle and ongoing development

Moderator: Moderators

User avatar
markc
Posts: 14
Joined: Fri Jul 29, 2011 6:43 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by markc »

The above post is blog spam.

What's the best way to deal with issues like this?

Code: Select all

make[6]: Entering directory `/home/markc/Devel/gargoyle/ar71xx src/build_dir/target-mips_r2_uClibc-0.9.30.1/haserl-0.9.26/src'
Makefile:474: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
Sure enough line 474 has spaces instead of a tab. Also...

Code: Select all

chown root /home/markc/Devel/gargoyle/ar71xx-src/build_dir/linux-ar71xx/fuse-2.8.3/ipkg-install/usr/bin/fusermount
chown: changing ownership of `/home/markc/Devel/gargoyle/ar71xx-src/build_dir/linux-ar71xx/fuse-2.8.3/ipkg-install/usr/bin/fusermount': Operation not permitted
make[8]: [install-exec-hook] Error 1 (ignored)
Does this mean I should be building gargoyle as root?
This is using...

Code: Select all

git clone http://github.com/ericpaulbishop/gargoyle.git
cd gargoyle && make make ar71xx

frederikv
Posts: 11
Joined: Sun Nov 15, 2009 7:43 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by frederikv »

DoesItMatter wrote:Frederikv,


I've tried compiling OpenWRT backfire RC5 from source and got
an image that flashes, but it doesn't include the Luci interface.

Do you know how to compile that in?
I guess it's a matter of selecting it in the build process. If that fails, opkg update && opkg install luci should do the trick. You'll probably have to do /etc/init.d/uhttpd enable && /etc/init.d/uhttpd start as well.

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by DoesItMatter »

http://wiki.openwrt.org/doc/howto/obtai ... ding.feeds

Thats the part I was missing for Luci

Forgot to add the feeds

I have a current trunk (Build 27840) compiled for the AR71XX

I put way too many options in though, the firmware for the
WZR-HP-G300NH was about 11MB, but using kernel 2.6.39.2

Have to do some testing with wireless, but this build seems snappy!

Now to try and see if I can incorporate Gargoyle into Trunk.

-------------

Frederik - so yes, OpenWRT trunk compiles and works on the
WZR-HP-G300NH just fine. I did have to use serial to recover a
faulty flash, but that was fairly easy since I already have that setup.

The trick will be trying to get Gargoyle compiled with trunk now.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

User avatar
markc
Posts: 14
Joined: Fri Jul 29, 2011 6:43 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by markc »

@DoesItMatter: can you spare a few keystrokes as to exactly how you've built from Git?

I suspect I might be missing something simple and obvious to others.

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by DoesItMatter »

markc,

I've been using the SVN and building from that.

Just to try, I did a git clone and ran - make ar71xx

I see some errors reported about patches or directories not existing

I'm letting the make run and see if it will generate valid images.

Environment:

Ubuntu 10.10 - all patched up to latest
Build environment per Developer Documentation page.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

frederikv
Posts: 11
Joined: Sun Nov 15, 2009 7:43 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by frederikv »

It would appear it's not without challenges to build gargoyle on trunk. I managed to get it built with a few patches on r27832, but now it can't install for missing iptables-mod dependencies. Seems like iptables-mod-imq, -bandwidth, -timerange etc aren't being compiled anymore - they're missing from the iptables Makefile. I'm guessing I'll have a few more missing dependencies if & when I manage to satisfy these.

Did you get everything sorted out in the mean time?

User avatar
markc
Posts: 14
Joined: Fri Jul 29, 2011 6:43 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by markc »

I've been using the SVN and building from that.

Doh, of course, I should have twigged with the "trunk" reference instead of "master". I haven't used subversion for years and didn't even have it installed until I realized it was mandatory for OpenWRT.

If anyone has a Github account I'd love to get or provide pull requests to get Erics master branch to build. I'm keen to start a Github specific thread and provide some pull requests to Eric (as anyone can) as soon as I manage to get something to successfully build and install.

Statik
Posts: 118
Joined: Mon Sep 28, 2009 9:38 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by Statik »

I realize that I'm resurrecting an older thread here, but I'm wondering if there was any success with this finally.

I'm asking because I have one of the newer WZR-HP-G300NH routers with the incompatible realtek switches that won't run backfire, but will run trunk. I really want Gargoyle on this and I've got very little experience with building packages.

Is there a working gargoyle, preferably 1.4 branch, built on OpenWRT trunk? I'm looking to get this router working!

Thanks!

Statik

lepa71
Posts: 2
Joined: Mon Feb 27, 2012 3:01 pm

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by lepa71 »

I was wondering same thing. I have dir-615E3 with 1.5.3 working, but led's are not. There is a trunk on OpenWRT with led working.

Statik
Posts: 118
Joined: Mon Sep 28, 2009 9:38 am

Re: Anybody built gargoyle on OpenWrt trunk recently?

Post by Statik »

Since I posted that message I managed to fix the source for backfire and build myself a working 1.5.x. Not all of my LEDs are working, but I wasn't worried about it as the router is stuck in a closet and isn't a visual centerpiece. :)
I'd suggest you look into what makes the LEDs work in trunk and modify the sources for 1.5.x and compile yourself a working 1.5.x. I learned a great deal through the process. :)

Statik

Post Reply