LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-27-2014, 10:46 PM   #1
badsector
Member
 
Registered: Aug 2014
Distribution: Suse, Slackware, Mageia, Debian
Posts: 39

Rep: Reputation: 0
Failed to build network-manager-applet [sw-14.1/64 with XFCE]


Hi,

I'm new here with Slackware [Slackware-14.1/64]

I tried to set up my usb wifi for Network-Manager and the Gnome applet in XFCE but failed.

I followed the instructions in Slackware Getting Started or some such title (the printed doc in front of me does not say the title and I'm on another system) and the doc called SlackBuild Usage HOWTO. Having already started NetworkManager by making it executable and rebooting I next ran the command

network-manager-applet.SlackBuild

which ended up with an error regardless of whether I had su'd in just like that or using 'su -l' as the doc also suggests.

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/NetworkManager -I/usr/include/libnm-glib -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/harfbuzz -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -DUIDIR=\"\" -DDATADIR=\"/usr/share\" -I../../src/gconf-helpers -I../../src -Wall -Werror -std=gnu89 -O2 -fPIC -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wfloat-equal -Wno-unused-parameter -Wno-sign-compare -fno-strict-aliasing -MT libutils_la-utils.lo -MD -MP -MF .deps/libutils_la-utils.Tpo -c utils.c -fPIC -DPIC -o .libs/libutils_la-utils.o
utils.c:31:27: fatal error: nm-gsm-device.h: No such file or directory
#include <nm-gsm-device.h>
^
compilation terminated.
make[4]: *** [libutils_la-utils.lo] Error 1
make[4]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0'
make: *** [all] Error 2
root@darkstar:/0/sa14/comp-gen/build-slak/network-manager-applet#


What did I miss?

TIA
 
Old 08-27-2014, 11:22 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Hi:

Quote:
I tried to set up my usb wifi for Network-Manager and the Gnome applet in XFCE but failed.
Do you mean that the way you connect to the internet is via a usb dongel or mod switch?

If so: is it a Belkin, Netgear, Lynksys or other? (what make & model)

-:- You might need to install a driver for your usb wifi dongel-:-
 
Old 08-28-2014, 12:06 AM   #3
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Rep: Reputation: 44
Quote:
Originally Posted by badsector View Post
utils.c:31:27: fatal error: nm-gsm-device.h: No such file or directory
#include <nm-gsm-device.h>
^
compilation terminated.
make[4]: *** [libutils_la-utils.lo] Error 1
make[4]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/network-manager-applet-0.8.6.0'
make: *** [all] Error 2
root@darkstar:/0/sa14/comp-gen/build-slak/network-manager-applet#


What did I miss?

TIA
It seems that someone is missing driver nm-gsm-device.h
 
Old 08-28-2014, 01:41 AM   #4
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 378

Rep: Reputation: 221Reputation: 221Reputation: 221
Maybe I don't understand something, but Slackware-14.1 already has network-manager-applet package, no need to build it. badsector, did you do full install? If yes, then you should have network-manager-applet installed on your system. If no, it can be found at slackware64/xap on Slackware DVD.
 
Old 08-28-2014, 06:19 PM   #5
badsector
Member
 
Registered: Aug 2014
Distribution: Suse, Slackware, Mageia, Debian
Posts: 39

Original Poster
Rep: Reputation: 0
I had a bloody hard time with this but it's working now, posting this from 14.1 on a laptop I just got back and on which I had to reinstall so I did a full-install. I'll work on the desktop later.

chmod +x /etc/rc.d/rc.networkmanager

is about ALL that I could do from what's written in the beginners' guide and it seemed to have no effect on anything. Couldn't find anything called 'network-manager-applet' anywhere, including @ the slackbuild link.

After about three or four reboots it suddenly came together on its own, got an annunciation to the effect that a WiFi point was available, then I just had to work the NM applet dialog now visible in the panel to get the password in.

Thanks everyone.
 
Old 08-29-2014, 12:08 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by badsector View Post
I had a bloody hard time with this but it's working now, posting this from 14.1 on a laptop I just got back and on which I had to reinstall so I did a full-install. I'll work on the desktop later.

chmod +x /etc/rc.d/rc.networkmanager

is about ALL that I could do from what's written in the beginners' guide and it seemed to have no effect on anything. Couldn't find anything called 'network-manager-applet' anywhere, including @ the slackbuild link.

After about three or four reboots it suddenly came together on its own, got an annunciation to the effect that a WiFi point was available, then I just had to work the NM applet dialog now visible in the panel to get the password in.

Thanks everyone.
Your Welcome-

I had to re-install Slackware 14.1 as well a second time. For some reason after the first install I wasn't able to get the wifi working. After the second installation my wifi worked fine.
Till this day I still have no idea what the issue was--

Odd how it worked it's self out after a few reboots:-

Glad it's working for you now-

If you still don't have the network manager applet a fresh installation is an option.

Enjoy your Slackware and have a good weekend.
 
Old 08-30-2014, 05:21 AM   #7
badsector
Member
 
Registered: Aug 2014
Distribution: Suse, Slackware, Mageia, Debian
Posts: 39

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by Ztcoracat View Post
If you still don't have the network manager applet a fresh installation is an option.

Enjoy your Slackware and have a good weekend.
No doubt I will, had started out with it before making the mistake of 'moving up' to Suse which had just forked from Slackware. Suse the steamed on to spoil me rotten, I would know a lot more today had I stuck it out!

I do have the applet, recognized it instantly as soon as it appeared, having remembered it from days when Knetworkmanager was still useless :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network-manager-applet TKH Linux From Scratch 2 09-19-2012 03:59 AM
Network Manager Applet keeps asking for authentication SlowCoder Linux - Networking 3 06-04-2012 11:12 AM
Network Manager Applet carlosinfl Debian 6 06-21-2011 08:33 PM
Network Manager Applet (nm-applet) dwhitney67 Linux - Newbie 5 02-01-2010 11:20 PM
Network Manager Applet Problem mrant0 Linux - Wireless Networking 2 04-16-2007 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration