Image 01
profile-image

MartinKG

Martin Gansser
test
KTrafficAnalyzer

Network 122 comments

by Viras
Score 50.0%
Jul 31 2010
to allow compile ktrafficAnalyzer on Fedora 9 + 10 the following patch for Makefile is necessary:

--- KTrafficAnalyzer-0.4.0-1/Makefile 2008-06-21 14:33:49.000000000 +0200
+++ KTrafficAnalyzer-0.4.0-1/Makefile.new 2008-10-03 13:03:42.000000000 +0200
@@ -10,12 +10,18 @@
MOC = $(QTDIR)/bin/moc
UIC = $(QTDIR)/bin/uic
UBUNTU := $(shell lsb_release -si)
+FEDORA := $(shell lsb_release -si)
ifeq ($(UBUNTU),Ubuntu)
ADD_CFLAGS += -I/usr/include/kde -I/usr/include/qt3
ADD_LFLAGS += -L/usr/lib/qt3/ -L/usr/lib/kde3
QTDIR = /usr
endif

+ifeq ($(FEDORA),Fedora)
+ ADD_CFLAGS += -I/usr/include/kde -I/usr/lib/qt-3.3/include
+ ADD_LFLAGS += -L/usr/lib/qt-3.3/ -L/usr/lib/kde3
+endif
+
all:
if test "$(KDEDIR)" = ""; then $(ECHO) KDEDIR not set!; exit 1; fi;
if test "$(QTDIR)" = ""; then $(ECHO) QTDIR not set!; exit 1; fi;

- Oct 03 2008