LUGRo-Mesh Forum (espaņol/english)
December 20, 2014, 06:12:20 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free
 
  Home   Forum   Help Search Gallery Staff List Login Register  

can't build beta4


Pages: [1]   Go Down
  Print  
Author Topic: can't build beta4  (Read 635 times)
bmoffitt
Newbie
*
Posts: 5


« on: June 08, 2009, 12:11:27 pm »

I  was unable to build beta4 from the  SVN sources.

Wifidog will not build, because it is looking for a source version that does not exist. I had the same problem in beta2, but assumed it was so obvious it would be fixed.

I disabled Wifidog from the .config and Nightwing built OK.

I tried to file a bug in Trac but was unsuccessful. I entered detailed information about the failure there,  but cannot find it now. However, just starting fresh from an SVN download should make the problem obvious.

-Bill Moffitt
Report Spam   Logged

Social Buttons

JulioCP
Administrator
Full Member
*****
Posts: 113


WWW
« Reply #1 on: June 09, 2009, 11:17:40 am »

I  was unable to build beta4 from the  SVN sources.

Wifidog will not build, because it is looking for a source version that does not exist. I had the same problem in beta2, but assumed it was so obvious it would be fixed.

I disabled Wifidog from the .config and Nightwing built OK.

I tried to file a bug in Trac but was unsuccessful. I entered detailed information about the failure there,  but cannot find it now. However, just starting fresh from an SVN download should make the problem obvious.

From the ticket that you created (http://trac2.assembla.com/nightwing/ticket/5):
"Server certificate verification failed: issuer is not trusted (https://dev.wifidog.org)"

Looks like you didn't accepted their certificate permanently.

Quote
-Bill Moffitt

                  Saludos, Julio
Report Spam   Logged
truesword
Newbie
*
Posts: 9


« Reply #2 on: June 14, 2009, 06:34:25 am »

I also had problems with the link in the make file.
I'd managed to get it working by altering the makefile in  'trunk/feeds/packages/net/wifidog', like this:(Changed items in red)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 11656 2008-07-05 13:07:12Z florian $

include $(TOPDIR)/rules.mk

PKG_NAME:=wifidog
PKG_SOURCE_URL:=https://dev.wifidog.org/svn/trunk/wifidog

#PKG_REV:=1383
PKG_REV:=1.1.5
#PKG_VERSION:=r$(PKG_REV)
PKG_VERSION:=$(PKG_REV)
PKG_RELEASE:=1



Report Spam   Logged
JulioCP
Administrator
Full Member
*****
Posts: 113


WWW
« Reply #3 on: June 14, 2009, 02:09:37 pm »

I also had problems with the link in the make file.

You had the same error message? If not, can you post it?

I test it and it works fine. The problem that he had was that he didn't accepted the certificate of the repository of WiFiDog.

Here is the output:
Code:
make[3]: Entering directory `/8.09/feeds/packages/net/wifidog'
mkdir -p /8.09/dl
--2009-06-14 15:46:24--  http://mirror2.openwrt.org/sources/wifidog-r1384.tar.gz
Resolving mirror2.openwrt.org... 88.198.39.176
Connecting to mirror2.openwrt.org|88.198.39.176|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-06-14 15:46:25 ERROR 404: Not Found.

Download failed.
--2009-06-14 15:46:26--  http://downloads.openwrt.org/sources/wifidog-r1384.tar.gz
Resolving downloads.openwrt.org... 195.56.146.238
Connecting to downloads.openwrt.org|195.56.146.238|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2009-06-14 15:46:27 ERROR 404: Not Found.

Download failed.
No more mirrors to try - giving up.
Checking out files from the svn repository...
A    wifidog-r1384/wifidog-msg.html.in
A    wifidog-r1384/AUTHORS
A    wifidog-r1384/configure.in
A    wifidog-r1384/wifidog.spec.in
A    wifidog-r1384/src
A    wifidog-r1384/src/fw_iptables.c
A    wifidog-r1384/src/fw_iptables.h
A    wifidog-r1384/src/firewall.c
A    wifidog-r1384/src/firewall.h
A    wifidog-r1384/src/util.c
A    wifidog-r1384/src/safe.c
A    wifidog-r1384/src/http.c
A    wifidog-r1384/src/centralserver.c
A    wifidog-r1384/src/util.h
A    wifidog-r1384/src/safe.h
A    wifidog-r1384/src/http.h
A    wifidog-r1384/src/centralserver.h
A    wifidog-r1384/src/conf.c
A    wifidog-r1384/src/commandline.c
A    wifidog-r1384/src/debug.c
A    wifidog-r1384/src/conf.h
A    wifidog-r1384/src/commandline.h
A    wifidog-r1384/src/debug.h
A    wifidog-r1384/src/gateway.c
A    wifidog-r1384/src/auth.c
A    wifidog-r1384/src/wdctl_thread.c
A    wifidog-r1384/src/gateway.h
A    wifidog-r1384/src/auth.h
A    wifidog-r1384/src/client_list.c
A    wifidog-r1384/src/wdctl_thread.h
A    wifidog-r1384/src/httpd_thread.c
A    wifidog-r1384/src/wdctl.c
A    wifidog-r1384/src/client_list.h
A    wifidog-r1384/src/httpd_thread.h
A    wifidog-r1384/src/wdctl.h
A    wifidog-r1384/src/ping_thread.c
A    wifidog-r1384/src/Makefile.am
A    wifidog-r1384/src/ping_thread.h
A    wifidog-r1384/src/common.h
A    wifidog-r1384/scripts
A    wifidog-r1384/scripts/init.d
A    wifidog-r1384/scripts/init.d/wifidog
A    wifidog-r1384/ChangeLog
A    wifidog-r1384/README.openwrt
A    wifidog-r1384/README
A    wifidog-r1384/contrib
A    wifidog-r1384/contrib/build-openwrt-whiterussianipk
A    wifidog-r1384/contrib/build-openwrt-whiterussianipk/wifidog
A    wifidog-r1384/contrib/build-openwrt-whiterussianipk/wifidog/files
A    wifidog-r1384/contrib/build-openwrt-whiterussianipk/wifidog/files/wifidog.init
A    wifidog-r1384/contrib/build-openwrt-whiterussianipk/wifidog/files/wifidog.conf
A    wifidog-r1384/contrib/build-openwrt-whiterussianipk/wifidog/Config.in
A    wifidog-r1384/contrib/build-openwrt-whiterussianipk/wifidog/ipkg
A    wifidog-r1384/contrib/build-openwrt-whiterussianipk/wifidog/ipkg/wifidog.conffiles
A    wifidog-r1384/contrib/build-openwrt-whiterussianipk/wifidog/ipkg/wifidog.control
A    wifidog-r1384/contrib/build-openwrt-whiterussianipk/wifidog/Makefile
A    wifidog-r1384/contrib/build-deb
A    wifidog-r1384/contrib/build-deb/control
A    wifidog-r1384/contrib/build-deb/changelog
A    wifidog-r1384/contrib/build-deb/rules
A    wifidog-r1384/contrib/build-openwrt-kamikazeipk
A    wifidog-r1384/contrib/build-openwrt-kamikazeipk/wifidog
A    wifidog-r1384/contrib/build-openwrt-kamikazeipk/wifidog/files
A    wifidog-r1384/contrib/build-openwrt-kamikazeipk/wifidog/files/wifidog.init
A    wifidog-r1384/contrib/build-openwrt-kamikazeipk/wifidog/patches
A    wifidog-r1384/contrib/build-openwrt-kamikazeipk/wifidog/patches/001-wifidog_conf_patch.patch
A    wifidog-r1384/contrib/build-openwrt-kamikazeipk/wifidog/Makefile
A    wifidog-r1384/contrib/dump_fw.sh
A    wifidog-r1384/doc
A    wifidog-r1384/doc/doxygen.cfg.in
A    wifidog-r1384/doc/README.developers.txt
A    wifidog-r1384/doc/Makefile.am
A    wifidog-r1384/doc/wifidog_firewall_diagram.dia
A    wifidog-r1384/FAQ
A    wifidog-r1384/COPYING
A    wifidog-r1384/Makefile.am
A    wifidog-r1384/libhttpd
A    wifidog-r1384/libhttpd/protocol.c
A    wifidog-r1384/libhttpd/version.c
A    wifidog-r1384/libhttpd/ip_acl.c
A    wifidog-r1384/libhttpd/Makefile.am
A    wifidog-r1384/libhttpd/httpd.h
A    wifidog-r1384/libhttpd/httpd_priv.h
A    wifidog-r1384/libhttpd/api.c
A    wifidog-r1384/libhttpd/README
A    wifidog-r1384/autogen.sh
A    wifidog-r1384/NEWS
A    wifidog-r1384/wifidog.conf
 U   wifidog-r1384
Checked out revision 1384.
Packing checkout...
gzip -dc /8.09/dl/wifidog-r1384.tar.gz | /usr/bin/tar -C /8.09/build_dir/i386/wifidog-r1384/.. -xf -

Applying ./patches/001-proc_net_syntax.patch using plaintext:
patching file src/firewall.c
touch /8.09/build_dir/i386/wifidog-r1384/.prepared_10c3aeb655d3fe059910836e6a82282c
if [ -f "/8.09/build_dir/i386/wifidog-r1384/./libtool" -a -e "/8.09/staging_dir/i386/host/bin/libtool" ]; then rm -f /8.09/build_dir/i386/wifidog-r1384/./libtool; ln -s /8.09/staging_dir/i386/host/bin/libtool /8.09/build_dir/i386/wifidog-r1384/./; fi
if [ -f "/8.09/build_dir/i386/wifidog-r1384/./ltmain.sh" -a -e "/8.09/staging_dir/i386/host/share/libtool/ltmain.sh" ]; then rm -f /8.09/build_dir/i386/wifidog-r1384/./ltmain.sh; ln -s /8.09/staging_dir/i386/host/share/libtool/ltmain.sh /8.09/build_dir/i386/wifidog-r1384/./; fi
if [ -f "/8.09/build_dir/i386/wifidog-r1384/./libtool.m4" -a -e "/8.09/staging_dir/i386/host/share/aclocal/libtool.m4" ]; then rm -f /8.09/build_dir/i386/wifidog-r1384/./libtool.m4; ln -s /8.09/staging_dir/i386/host/share/aclocal/libtool.m4 /8.09/build_dir/i386/wifidog-r1384/./; fi
if [ -f "/8.09/build_dir/i386/wifidog-r1384/./configure" ]; then /8.09/staging_dir/host/bin/sed -i -e 's,pardus_ltmain_version=.*,pardus_ltmain_version="$pardus_lt_version",' /8.09/build_dir/i386/wifidog-r1384/./configure; fi
(cd /8.09/build_dir/i386/wifidog-r1384; rm -rf config.{cache,status}; ./autogen.sh );
Running mkdir -p config

Quote
I'd managed to get it working by altering the makefile in  'trunk/feeds/packages/net/wifidog', like this:(Changed items in red)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 11656 2008-07-05 13:07:12Z florian $

include $(TOPDIR)/rules.mk

PKG_NAME:=wifidog
PKG_SOURCE_URL:=https://dev.wifidog.org/svn/trunk/wifidog

#PKG_REV:=1383
PKG_REV:=1.1.5
#PKG_VERSION:=r$(PKG_REV)
PKG_VERSION:=$(PKG_REV)
PKG_RELEASE:=1


This change will make you download WiFiDog 1.1.5, which had a bug [1] that allows anyone view the WiFiDog Status page that each node has.

So we use r1383 to avoid it.


                Saludos, Julio

[1] https://dev.openwrt.org/ticket/4156
Report Spam   Logged
truesword
Newbie
*
Posts: 9


« Reply #4 on: June 14, 2009, 09:16:39 pm »

This may sound like a silly question, how do I accept a certificate while SVN is running?
Shouldn't it do this automatically for me?

Report Spam   Logged
JulioCP
Administrator
Full Member
*****
Posts: 113


WWW
« Reply #5 on: June 15, 2009, 10:46:13 am »

This may sound like a silly question, how do I accept a certificate while SVN is running?
Shouldn't it do this automatically for me?

Not silly at all. Outside the OpenWrt compilation you can issue the same command, in this case
Code:
svn co -r1383 https://dev.wifidog.org/svn/trunk/wifidog

and accept the certificate permanently. And browsing the SVN web page should work too.

Better info in http://svnbook.red-bean.com/en/1.5/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authn.sslcerts

                   Saludos, Julio
Report Spam   Logged
truesword
Newbie
*
Posts: 9


« Reply #6 on: June 15, 2009, 05:44:29 pm »

Hi JulioCP -
Tried as suggested, works fine - thank you.

Also tried browsing the SVN at first, but did not work for me, then tried the SVN command line where I had an option to accept permanently. After that, it compiled fine and binaries appeared in bin folder.

Many thanks.

T.S.
Report Spam   Logged
JulioCP
Administrator
Full Member
*****
Posts: 113


WWW
« Reply #7 on: June 16, 2009, 10:17:30 am »

Hi JulioCP -
Tried as suggested, works fine - thank you.

Also tried browsing the SVN at first, but did not work for me, then tried the SVN command line where I had an option to accept permanently. After that, it compiled fine and binaries appeared in bin folder.

YW, good to read that  Smiley

Quote
Many thanks.

T.S.

                 Saludos, Julio
Report Spam   Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum | Buy traffic for your forum/website
Powered by SMF | SMF © 2013, Simple Machines