0w to get developerlibraries to build net act view?

hello list, i may be pressing my luck here!the netact view tarbal lis easy to buildwith these libs: 13.1development packages): gtk±2 (at least 2.8), libglade-2,
gnome-vfs-2 (at least 2.4), glib-2 (at least 2.8), libgnome-2, gconf-2,
libgtop-2 (at least 2.12).

with 12.1the yast>swmgrfinds them no problfm !thee13.1i/fis different and doesn’t seem friendly to me! today i spent the whole after noon hacking with 13,1swmgrerand and came up empty!

is there anothe rway to get thelibs?could there be a13,1rpm in the build service? i would prefer to build it myselfif i could get the libraries i need.heboland

Hi
All the development packages in 13.1 exceed your requirements and are all present?

gconf2-devel, gnome-vfs2-devel, libgtop-devel, glib2-devel, libglade2-devel, gtk2-devel etc.

Although you can search for libraries using YAST or at software.opernsuse.org,

You should search in your existing repos first.

So first…
Common libraries are probably in the default configured repos, but if you’re developing in a special language (like python, perl, ruby, java, etc) there are special development repos you can add with additional libraries.
http://download.opensuse.org/repositories/devel:/languages:/

Once you have your repos added,
You will generally use two commands
Searching for the files themselves

zypper search *filename *

If that turns up empty, then maybe the file you’re looking for is a library used for some other app or in a bigger library package

zypper search --provides *filename *

HTH,
TSU

Hi
Builds fine on OBS, there is one build warning which needs fixing…
https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/netactview

malcolmlewis, i think your method will work, especially if you were driving!

zypperstartedout wanting to refreshand it refreshed packman. it’s still not finding anything,but if it did,would the installcommandbe zypperin libname?i tried to list the configuredrepros without success. the help commcadshowes a lr command,but that hasnt workrd for methis is what i haveso far:

zsh: command not found: zypperlr
root[516] 
root[516] su
root[501] zypper refresh
Repository 'Packman Repository' is up to date.
Repository 'libdvdcss repository' is up to date.
Repository 'openSUSE-13.1-1.10' is up to date.
Repository 'openSUSE-13.1-Non-Oss' is up to date.
Repository 'openSUSE-13.1-Oss' is up to date.
Repository 'openSUSE-13.1-Update' is up to date.
Repository 'openSUSE-13.1-Update-Non-Oss' is up to date.
All repositories have been refreshed.
root[502] zypper zypper search --provides filenameglib2-deve
Unknown command 'zypper'
Type 'zypper help' to get a list of global options and commands.
root[503] zypper search --providesglib2-devel
Unknown option '--providesglib2-devel'
root[504] zypper search filenamelib2-devel
Loading repository data...
Reading installed packages...
No packages found.
root[505] zypper search filenamelibgtop-deve
Loading repository data...
Reading installed packages...
No packages found.
root[506] zypper search filenamelibgnome-2
Loading repository data...
Reading installed packages...
No packages found.
root[507] zypper search filenamegconf-2
Loading repository data...
Reading installed packages...
No packages found.
root[508] zypperhelp
zsh: command not found: zypperhelp


root[509] ./configure
configure: loading site script /usr/share/site/i686-pc-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether to enable maintainer-specific portions of Makefiles… no
checking for style of include used by make… GNU
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking dependency style of gcc… gcc3
checking for library containing strerror… none required
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ISO C89… (cached) none needed
checking dependency style of gcc… (cached) gcc3
checking for gcc… (cached) gcc
checking whether we are using the GNU C compiler… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for gcc option to accept ISO C89… (cached) none needed
checking dependency style of gcc… (cached) gcc3
checking how to run the C preprocessor… gcc -E
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for ANSI C header files… yes
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for a sed that does not truncate output… /bin/sed
checking for fgrep… /bin/grep -F
checking for ld used by gcc… /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking whether ln -s works… yes
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands “+=”… yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files… -r
checking for objdump… objdump
checking how to recognize dependent libraries… pass_all
checking for ar… ar
checking for strip… strip
checking for ranlib… ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… no
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking whether NLS is requested… yes
checking for intltool >= 0.35.0… 0.50.2 found
checking for intltool-update… /usr/bin/intltool-update
checking for intltool-merge… /usr/bin/intltool-merge
checking for intltool-extract… /usr/bin/intltool-extract
checking for xgettext… /usr/bin/xgettext
checking for msgmerge… /usr/bin/msgmerge
checking for msgfmt… /usr/bin/msgfmt
checking for gmsgfmt… /usr/bin/msgfmt
checking for perl… /usr/bin/perl
checking for perl >= 5.8.1… 5.18.1
checking for XML::Parser… ok
checking locale.h usability… yes
checking locale.h presence… yes
checking for locale.h… yes
checking for LC_MESSAGES… yes
checking libintl.h usability… yes
checking libintl.h presence… yes
checking for libintl.h… yes
checking for ngettext in libc… yes
checking for dgettext in libc… yes
checking for bind_textdomain_codeset… yes
checking for msgfmt… (cached) /usr/bin/msgfmt
checking for dcgettext… yes
checking if msgfmt accepts -c… yes
checking for gmsgfmt… (cached) /usr/bin/msgfmt
checking for xgettext… (cached) /usr/bin/xgettext
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0… yes
checking for NETACTVIEW… no
configure: error: Package requirements (gtk±2.0 >= 2.8 libglade-2.0 gnome-vfs-2.0 >= 2.4 glib-2.0 >= 2.8 libgnome-2.0 gconf-2.0 libgtop-2.0 >= 2.12) were not met:

No package ‘gnome-vfs-2.0’ found
No package ‘libgnome-2.0’ found


net act view is justainternet analyzer,it doesn’t showforeign languages, any suggestuonsfor what repros to add?heboland

With the apparent problems you have typing maybe you should try yast-software management. If you check the box marked provides in the search tab you will get any packages that may provide what you look for.

Hi
If you look at the list of build requires, it shows what you need to have installed
https://build.opensuse.org/package/view_file/home:malcolmlewis:TESTING/netactview/netactview.spec?expand=1

You still need to install gnome-vfs2-devel and libgnome-devel for the errors;


No package 'gnome-vfs-2.0' found
No package 'libgnome-2.0' found

Whenever you see those errors, it’s looking for the (in most cases) development package OR the package that contains the <some-package>.pc file.

ogalthorp, great adviceto change the searchcheckboxbox with that13.1 sw mgmentworks like12.1! it found all the libs

my tarball buildwent ok, but i had to do the make install as root. now i have a permissions prpblem to fix

fwiw,

frank[5612] /usr/local/bin/netactview
W: [pulseaudio] core-util.c: Failed to open configuration file '/home/frank/.config/pulse//daemon.conf': Permission denied
W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied


i apollogize to you moderators and the lis tthat my typing problem h has become yours!

malcolmlewis, thanks for building net act view! i tried to add the obs reproto install from, but i ran into locks. my build had about 4 warnings for now i’ll try to get what i built workingheboland

Hi
Have no idea why your seeing those errors… If I start here there are nil warnings;

You can get the rpm via the following link for your arch;
http://download.opensuse.org/repositories/home:/malcolmlewis:/TESTING/openSUSE_13.1/

Maybe you ran some other program as root, and that changed the permissions of that directory?

Try to delete it as root again, should make no harm.

frank[5612]sudo rm -r '/home/frank/.config/pulse

You may have to reboot so that it is recreated as normal user.

thank you malcome lewisfor your advise to remove pulse. i was concernedthat directory mayhavcontrlled my sound!i did remove itand still have sound

reinstallingasme with make install, the permission problem looks less serious,but would appreciateyour advice again regarding it!
here is the make clean and make as me

frank[5648] make clean
Making clean in po
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3/po'
rm -f *.pox netactview.pot *.old.po cat-id-tbl.tmp
rm -f .intltool-merge-cache
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3/po'
Making clean in data
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3/data'
test -z "netactview.desktop" || rm -f netactview.desktop
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3/data'
Making clean in src
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3/src'
 rm -f netactview
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3/src'
Making clean in .
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3'
frank[5649] make
make  all-recursive
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3'
Making all in src
make[2]: Entering directory `/home/frank/bin/netactview-0.6.3/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPREFIX=\""/usr/local"\" -DBINDIR=\""/usr/local/bin"\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DSRCDIR=\""."\" -DDATADIR=\""/usr/local/share"\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -g -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
main.c: In function ‘main’:
main.c:66:2: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) -Wdeprecated-declarations]
  g_type_init();
  ^
main.c:67:2: warning: ‘g_thread_init’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:260) -Wdeprecated-declarations]
  g_thread_init(NULL);
  ^
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPREFIX=\""/usr/local"\" -DBINDIR=\""/usr/local/bin"\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DSRCDIR=\""."\" -DDATADIR=\""/usr/local/share"\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -g -g -O2 -MT mainwindow.o -MD -MP -MF .deps/mainwindow.Tpo -c -o mainwindow.o mainwindow.c
mainwindow.c: In function ‘init_host_loader’:
mainwindow.c:310:2: warning: ‘g_mutex_new’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) -Wdeprecated-declarations]
  Mwd.host_hash_lock = g_mutex_new();
  ^
mainwindow.c: In function ‘free_host_loader’:
mainwindow.c:325:2: warning: ‘g_mutex_free’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) -Wdeprecated-declarations]
  g_mutex_free(Mwd.host_hash_lock); Mwd.host_hash_lock = NULL;
  ^
mainwindow.c: In function ‘init_connections_loader’:
mainwindow.c:691:2: warning: ‘g_mutex_new’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) -Wdeprecated-declarations]
  Mwd.refresh_request_lock = g_mutex_new();
  ^
mainwindow.c:692:2: warning: ‘g_mutex_new’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:272) -Wdeprecated-declarations]
  Mwd.loaded_conn_lock = g_mutex_new();
  ^
mainwindow.c:693:2: warning: ‘g_cond_new’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:276) -Wdeprecated-declarations]
  Mwd.refresh_request_cond = g_cond_new();
  ^
mainwindow.c:695:2: warning: ‘g_thread_create’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:100): Use 'g_thread_new' instead -Wdeprecated-declarations]
  Mwd.data_load_thread = g_thread_create(&connections_load_thread_func, NULL,
  ^
mainwindow.c: In function ‘free_connections_loader’:
mainwindow.c:710:2: warning: ‘g_mutex_free’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) -Wdeprecated-declarations]
  g_mutex_free(Mwd.refresh_request_lock);
  ^
mainwindow.c:711:2: warning: ‘g_mutex_free’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:274) -Wdeprecated-declarations]
  g_mutex_free(Mwd.loaded_conn_lock);
  ^
mainwindow.c:712:2: warning: ‘g_cond_free’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:278) -Wdeprecated-declarations]
  g_cond_free(Mwd.refresh_request_cond);
  ^
mv -f .deps/mainwindow.Tpo .deps/mainwindow.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPREFIX=\""/usr/local"\" -DBINDIR=\""/usr/local/bin"\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DSRCDIR=\""."\" -DDATADIR=\""/usr/local/share"\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -g -g -O2 -MT net.o -MD -MP -MF .deps/net.Tpo -c -o net.o net.c
net.c: In function ‘get_connections_from_kernel’:
net.c:169:8: warning: variable ‘num’ set but not used -Wunused-but-set-variable]
    int num, local_port = 0, rem_port = 0, d = -1, state = -1, uid = 0, timer_run = 0, timeout = 0;
        ^
mv -f .deps/net.Tpo .deps/net.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPREFIX=\""/usr/local"\" -DBINDIR=\""/usr/local/bin"\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DSRCDIR=\""."\" -DDATADIR=\""/usr/local/share"\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -g -g -O2 -MT process.o -MD -MP -MF .deps/process.Tpo -c -o process.o process.c
mv -f .deps/process.Tpo .deps/process.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPREFIX=\""/usr/local"\" -DBINDIR=\""/usr/local/bin"\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DSRCDIR=\""."\" -DDATADIR=\""/usr/local/share"\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -g -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
mv -f .deps/utils.Tpo .deps/utils.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPREFIX=\""/usr/local"\" -DBINDIR=\""/usr/local/bin"\" -DLOCALEDIR=\""/usr/local/share/locale"\" -DSRCDIR=\""."\" -DDATADIR=\""/usr/local/share"\" -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/local/lib\" -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wall -g -g -O2 -MT filter.o -MD -MP -MF .deps/filter.Tpo -c -o filter.o filter.c
mv -f .deps/filter.Tpo .deps/filter.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -g -g -O2   -o netactview main.o mainwindow.o net.o process.o utils.o filter.o -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lxml2 -lgnomevfs-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -pthread -lORBit-2 -lgthread-2.0 -pthread -lgobject-2.0 -lgconf-2 -lgtop-2.0 -lglib-2.0  
libtool: link: gcc -Wall -g -g -O2 -o netactview main.o mainwindow.o net.o process.o utils.o filter.o -pthread -pthread  -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype /usr/lib/libxml2.so -lgnomevfs-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lgobject-2.0 -lgconf-2 -lgtop-2.0 -lglib-2.0 -pthread
make[2]: Leaving directory `/home/frank/bin/netactview-0.6.3/src'
Making all in data
make[2]: Entering directory `/home/frank/bin/netactview-0.6.3/data'
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po netactview.desktop.in netactview.desktop
Generating and caching the translation database
Merging translations into netactview.desktop.
make[2]: Leaving directory `/home/frank/bin/netactview-0.6.3/data'
Making all in po
make[2]: Entering directory `/home/frank/bin/netactview-0.6.3/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/frank/bin/netactview-0.6.3/po'
make[2]: Entering directory `/home/frank/bin/netactview-0.6.3'
make[2]: Leaving directory `/home/frank/bin/netactview-0.6.3'
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3'

here is the make install as me after a reboot

frank[5650] make install
Making install in src
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3/src'
make[2]: Entering directory `/home/frank/bin/netactview-0.6.3/src'
test -z "/usr/local/bin" || /usr/bin/mkdir -p "/usr/local/bin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c netactview '/usr/local/bin'
libtool: install: /usr/bin/install -c netactview /usr/local/bin/netactview
/usr/bin/install: cannot remove '/usr/local/bin/netactview': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/frank/bin/netactview-0.6.3/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3/src'
make: *** [install-recursive] Error 1
frank[5651] ll /usr/local/bin/netactview
-rwxr-xr-x 1 root root 264799 Jul 14 10:57 


my comments! i added the llcmd to see the problempermissions. how would proceed from here? heboland

Hi
It wasn’t my suggestion about pulse it was user wolfi323 :wink:

You not building as root user are you? If so you need to build as your user, not root.

You need to clean that up by running make uninstall before proceeding with the following.

I would also run configure with the --prefix option


make clean
./configure --prefix=/usr
make

su -
And then cd  to your src directory where you ran the configure

make install
exit
netactview

On Mon 14 Jul 2014 06:26:02 PM CDT, heboland wrote:

ogalthorp, great adviceto change the searchcheckboxbox with that13.1 sw
mgmentworks like12.1! it found all the libs

my tarball buildwent ok, but i had to do the make install as root. now i
have a permissions prpblem to fix

fwiw,
Code:

frank[5612] /usr/local/bin/netactview
W: [pulseaudio] core-util.c: Failed to open configuration file
‘/home/frank/.config/pulse//daemon.conf’: Permission denied W:
[pulseaudio] daemon-conf.c: Failed to open configuration file:
Permission denied

i apollogize to you moderators and the lis tthat my typing problem h has
become yours!

malcolmlewis, thanks for building net act view! i tried to add the obs
reproto install from, but i ran into locks. my build had about 4
warnings for now i’ll try to get what i built workingheboland

Hi
Just an update, my package now includes a patch to fix a security issue.

FWIW, you should probably apply the patch and rebuild your self compiled package;
https://www.securecoding.cert.org/confluence/display/seccode/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges

This is the patch;


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-17-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

malcolmlewis,thanks for the patch and rebuild advise! sorry for disappearing so suddenly!

applying your patch and rebuilding my self-compilednetactviewwould be something new to me. could you give me some code example of how to proceed? i’m expecting i would have to download your patch to somewhere to begin the process.

FWIW,my netactviewmakefile doesn’t have a make uninstall target

I’maround now,so i have time to proceedwith a patchedrebuildof netactview if it’s worth the resources to help medoit heboland

malcome lewis, im on my64-bit 13.1 towermomenarily.i clickedonthe patch,but it didn’t download.rather the linkledleads to to s website i gdon’t know how to handle!

one other thingi watied to add to this thread is that i ran the netactview configurefrom thenetactview tar directoryratherthan src Ialsoranran the mak,and makeinstallfromthenetactview tar directoryratherthan the srcdirectory

i would like to correctlyfinish my self-build with your new patch,but at this moment , i don’t know how!heboland.

Hi
This link should download the patch;
netactview-fix-pos36c-setgroups-error.patch

Hi
I should have also posted the link to the bug upstream;
http://sourceforge.net/p/netactview/tickets/1/

thank youagain malcome lewis, i see now what your patch fixes! withthe link you posted,the patchdownloaded, and i have it.

the thing next thing i needis to know the magic to rebuild netactview with the patch.

without a mak uninstall tatget,i expect running as myself (frank), from the netactview0.66.3 directoryi frankwould run make clean./configure–prefix=/usr then make , then su- and mak install and exit from su

the above should give me close to what ihave now! , but how do iget the patch built into this compile?

am i close in my expectations for this build?

thanks for sticking with me! malcome lewis!heboland.

On Mon 21 Jul 2014 09:36:01 PM CDT, heboland wrote:

thank youagain malcome lewis, i see now what your patch fixes! withthe
link you posted,the patchdownloaded, and i have it.

the thing next thing i needis to know the magic to rebuild netactview
with the patch.

without a mak uninstall tatget,i expect running as myself (frank), from
the netactview0.66.3 directoryi frankwould run make
clean./configure–prefix=/usr then make , then su- and mak install and
exit from su

the above should give me close to what ihave now! , but how do iget the
patch built into this compile?

am i close in my expectations for this build?

thanks for sticking with me! malcome lewis!heboland.

Hi
If you copy the patch to your source directory (as in whre you built it
as your use ‘frank’) then run the command;


patch < netactview-fix-pos36c-setgroups-error.patch

Note, you may need to install patch as well…

Then rebuild as per your previous commands and then install again, it
will over write the exiting files and you should be fine :slight_smile:


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-17-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

malcome lewis, thanks for the patch code! that worked!

frank[5658] cd bin 
frank[5659] cd netactview-0.6.3/src 
frank[5660] l
auto-refresh-icon.png  mainwindow.o                                 net.c
definitions.h          Makefile                                     net.h
filter.c               Makefile.am                                  net.o
filter.h               Makefile.in                                  process.c
filter.o               nactv-debug.h                                process.h
main.c                 netactview*                                  process.o
main.o                 netactview-fix-pos36c-setgroups-error.patch  utils.c
mainwindow.c           netactview.glade                             utils.h
mainwindow.h           netactview-icon.png                          utils.o
frank[5661] patch < netactview-fix-pos36c-setgroups-error.patch
patching file utils.c
frank[5662] 


run from mt zshellom
i couldn’t get the config prefix command to work- went back to ./configure from the tar directory. su-wouldn’t work from y zshell.

this is the make cleanrun asme

frank[5667] make clean
Making clean in po
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3/po'
rm -f *.pox netactview.pot *.old.po cat-id-tbl.tmp
rm -f .intltool-merge-cache
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3/po'
Making clean in data
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3/data'
test -z "netactview.desktop" || rm -f netactview.desktop
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3/data'
Making clean in src
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3/src'
 rm -f netactview
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3/src'
Making clean in .
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3'
frank[5668] 
ound

this is h ./configwith some of the dried blood aroundthe prefixoption

frank[5706] ./configureconfigure--program-prefix=PREFIX
frank[5706] ./configure--program-prefix=/usr  
zsh: no such file or directory: ./configure--program-prefix=/usr
./configure--program-prefix=/usr: command not found                                                 
frank[5707] /configure--prefix=/usr22                 
frank[5707] ./configure--prefix=
frank[5707] ./configure--prefix=/usr/local
zsh: no such file or directory: ./configure--prefix=/usr/local
./configure--prefix=/usr/local: command not found                                               
frank[5708] ./configure
configure: loading site script /usr/share/site/i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.18.1
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for NETACTVIEW... yes
checking for gksu... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands


Configuration:

    Source code location:     .
    Compiler:          gcc
    Have gksu:                no


frank[5709] 


this is me running make install

Usage:
 su [options] -] [USER [arg]...]

Change the effective user id and group id to that of USER.
A mere - implies -l.   If USER not given, assume root.

Options:
 -m, -p, --preserve-environment  do not reset environment variables
 -g, --group <group>             specify the primary group
 -G, --supp-group <group>        specify a supplemental group

 -, -l, --login                  make the shell a login shell
 -c, --command <command>         pass a single command to the shell with -c
 --session-command <command>     pass a single command to the shell with -c
                                 and do not create a new session
 -f, --fast                      pass -f to the shell (for csh or tcsh)
 -s, --shell <shell>             run shell if /etc/shells allows it

 -h, --help     display this help and exit
 -V, --version  output version information and exit

For more details see su(1).
frank[5712] 
frank[5712] su-
zsh: command not found: su-
su-: command not found                    
frank[5713] make install
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3/src'
test -z "/usr/local/bin" || /usr/bin/mkdir -p "/usr/local/bin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c netactview '/usr/local/bin'
libtool: install: /usr/bin/install -c netactview /usr/local/bin/netactview
/usr/bin/install: cannot remove '/usr/local/bin/netactview': Permission denied
make[1]: *** [install-binPROGRAMS] Error 1
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3/src'
make: *** [install-am] Error 2
frank[5714] 


this is root runningmake install

frank[5714] su
Password: 
root[501] makeinstall
zsh: command not found: makeinstall
root[502] make install
make[1]: Entering directory `/home/frank/bin/netactview-0.6.3/src'
test -z "/usr/local/bin" || /usr/bin/mkdir -p "/usr/local/bin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c netactview '/usr/local/bin'
libtool: install: /usr/bin/install -c netactview /usr/local/bin/netactview
test -z "/usr/local/share/netactview/glade" || /usr/bin/mkdir -p "/usr/local/share/netactview/glade"
 /usr/bin/install -c -m 644 netactview-icon.png auto-refresh-icon.png netactview.glade '/usr/local/share/netactview/glade'
make[1]: Leaving directory `/home/frank/bin/netactview-0.6.3/src'
root[503] exit
frank[5715] 


this is me trying to run net act view

frank[5715] netactview
W: [pulseaudio] core-util.c: Failed to open configuration file '/home/frank/.config/pulse//daemon.conf': Permission denied
W: [pulseaudio] daemon-conf.c: Failed to open configuration file: Permission denied


what ever went wrong with the prefix option?heboland

had to make install as root frank has permission problems!

what is your recommendation for installing your rpm?i have it downloaded. i could just do rpm-i file,or try to ad the osbuildrepro