You are not logged in.

#1 2008-12-21 00:47:55

Super Jamie
Member
From: Brisbane, AU
Registered: 2008-12-15
Posts: 79
Website

[req] gip - gtk ip subnet calculator

Could someone please package up gip? It's a gtk-based IP subnet calculator, homepage and source at http://debain.org/software/gip/

I have tried building it myself. It requires gcc3, which I installed, and changed all references to g++ to g++-3.3 in /installer/build-files.sh, but couldn't get it working. I don't really understand the gcc output, nor can I code well enough to rewrite it for gcc4.

Here's a start on a PKGBUILD. Sorry if I've gotten this wrong, it's the first time I've requested.

pkgname=gip
pkgver=1.6.1-1
pkgrel=1
pkgdesc="GTK-based IP Subnet Calculator"
url="http://debain.org/software/gip/"
license=('GPL')
depends=(intltool, gtkmm, libsigc++2.0)
makedepends=(gcc3)
source=(http://debain.org/dlcounter.php?id=91&file=$pkgname-$pkgver.tar.gz)

Here's the gcc3 output if anyone can help?

####################################################################
# Building the program core.
####################################################################
Compiling: src/gui_ipv4_analyzer.cc...
+ g++-3.3 -fPIC -DHAVE_CONFIG_H -I. -I.. -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -c src/gui_ipv4_analyzer.cc -o src/gui_ipv4_analyzer.o
In file included from src/gui_ipv4_analyzer.cc:23:
src/gui_ipv4_analyzer.h:45: error: syntax error before `::' token
src/gui_ipv4_analyzer.h:47: error: syntax error before `::' token
src/gui_ipv4_analyzer.h:49: error: syntax error before `::' token
src/gui_ipv4_analyzer.cc: In member function `void 
   GUIIPv4Analyzer::on_ip_changed()':
src/gui_ipv4_analyzer.cc:660: error: `signal_ip_changed' undeclared (first use 
   this function)
src/gui_ipv4_analyzer.cc:660: error: (Each undeclared identifier is reported 
   only once for each function it appears in.)
src/gui_ipv4_analyzer.cc: In member function `void 
   GUIIPv4Analyzer::on_mask_changed()':
src/gui_ipv4_analyzer.cc:677: error: `signal_mask_changed' undeclared (first 
   use this function)
src/gui_ipv4_analyzer.cc: In member function `void 
   GUIIPv4Analyzer::on_pfxlen_changed()':
src/gui_ipv4_analyzer.cc:692: error: `signal_pfxlen_changed' undeclared (first 
   use this function)
+ ERR=1
+ set +x
Error during compilation of src/gui_ipv4_analyzer.cc.

Offline

#2 2008-12-21 08:30:56

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: [req] gip - gtk ip subnet calculator

Offline

#3 2008-12-21 09:57:42

Super Jamie
Member
From: Brisbane, AU
Registered: 2008-12-15
Posts: 79
Website

Re: [req] gip - gtk ip subnet calculator

Thankyou so much, works a charm smile

Offline

Board footer

Powered by FluxBB