LinuxQuestions.org
Visit Jeremy's Blog.
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 06-17-2010, 10:49 AM   #1
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Rep: Reputation: 32
Slackware 13.1 software problems


Hi, I upgraded to 13.1 and found the restart, shutdown buttons do not work. I have to resort to the terminal commands init 6, or poweroff.

I then tried to install flash plugin. I modified the slackbuild script as per normal. Then issued the following command which seemed to succeed. But when I try to play utube movie it says flash is not installed.

Can anyone throw some light on this. Do I need to rebuild the system?

Code:
root@redeemer:/tmp# installpkg flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz
Verifying package flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz.
Installing package flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# flash-player-plugin (flash plugin for web browsers)
#
# Provides Adobe Flash plugin for browsers that recognize
# /usr/lib(64)/mozilla/plugins as a valid plugin directory
#
# Plugin is subject to Adobe terms of use: 
#  http://www.adobe.com/go/labs_term_of_use
# Plugin is subject to Adobe Flash EULA:
#  http://labs.adobe.com/technologies/eula/flashplayer.html
#
Package flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz installed.
 
Old 06-17-2010, 10:52 AM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
For 1) Are you in power group?
2) no idea on that, but I've used whichever version is on sbo.
 
1 members found this post helpful.
Old 06-17-2010, 11:41 AM   #3
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Yes, as you can see by hash symbol I am doing this as root. So I guess I will have to try a rebuild.
 
1 members found this post helpful.
Old 06-17-2010, 02:12 PM   #4
MrJackson
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
It looks like that SBO is putting the flash plugin into the wrong directory. On my system it goes into /usr/lib64/firefox-3.6.3/plugins/

You can use this line to find out where it should go on any system,
Quote:
find / -name libnullplugin.so -print
 
Old 06-17-2010, 03:01 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Sorry if this is obvious but make sure you set ARCH:

ARCH=x86_64 ./*.SlackBuild
 
1 members found this post helpful.
Old 06-18-2010, 06:01 AM   #6
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Here is the script. Looking at it I thought it automatically determine the architecture we're building on before the "case" statements. But seeing it kept asking for the 32 bit source I edited the Arch
variable. As already mentioned it seemed to install but flash still wont run.


Code:
libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz
slack-desc
siawacsh@redeemer:~/packages/flash/build/flash-player-plugin$ cat flash-player-plugin-SlackBuild
cat: flash-player-plugin-SlackBuild: No such file or directory
siawacsh@redeemer:~/packages/flash/build/flash-player-plugin$ cat flash-player-plugin.SlackBuild
#!/bin/sh

## Written by hollywoodb (hollywoodb@fastmail.fm)
# Modified by the SlackBuilds.org project
# Script maintained by Robby Workman <rworkman@slackbuilds.org>

PRGNAM=flash-player-plugin
VERSION=10.0_r45
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

SRC_VERSION=10.0.45.2

# Automatically determine the architecture we're building on:
case "$( uname -m )" in
  i?86) ARCH=x86_64 ;;
  arm*) ARCH=arm ;;
  # Unless $ARCH is already set, use uname -m for all other archs:
     *) ARCH=$( uname -m ) ;;
esac

# If you use or intend to use Opera at some point, and you want
# this plugin available to it, then pass "yes" as the value to this
# variable:    USE_OPERA=yes ./flash-player-plugin.SlackBuild
# Note that this should *NOT* be needed if you installed Opera using
# the SlackBuilds.org build script, as we do a simple patch there to
# make it look in /usr/lib${LIBDIRSUFFIX}/mozilla/plugins
USE_OPERA=${USE_OPERA:-no}

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}  

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP

if [ "$ARCH" = "x86_64" ]; then
  LIBDIRSUFFIX="64"
  tar xvf $CWD/libflashplayer-${SRC_VERSION}.linux-x86_64.so.tar.gz
elif [ "$ARCH" = "i386" ]; then
  LIBDIRSUFFIX=""
  tar xvf $CWD/install_flash_player_10_linux.tar.gz
else
  printf "\n\n$ARCH is unsupported...\n"
  exit 1
fi
Here is the results of the find command

Code:
root@redeemer:/home/siawacsh# find / -name libnullplugin.so -print 
/usr/lib/firefox-3.6.3/plugins/libnullplugin.so
/usr/lib/seamonkey-2.0.4/plugins/libnullplugin.so
find: warning: not following the symbolic link `/fat-d/ProgramData/Application Data'
find: warning: not following the symbolic link `/fat-d/ProgramData/Desktop'
find: warning: not following the symbolic link `/fat-d/ProgramData/Documents'
find: warning: not following the symbolic link `/fat-d/ProgramData/Favorites'
find: warning: not following the symbolic link `/fat-d/ProgramData/Start Menu'
find: warning: not following the symbolic link `/fat-d/ProgramData/Templates'
find: warning: not following the symbolic link `/fat-d/Documents and Settings'
find: warning: not following the symbolic link `/fat-d/Users/All Users'
find: warning: not following the symbolic link `/fat-d/Users/Default/AppData/Local/Application Data'
find: warning: not following the symbolic link `/fat-d/Users/Default/AppData/Local/History'
find: warning: not following the symbolic link `/fat-d/Users/Default/AppData/Local/Temporary Internet Files'
find: warning: not following the symbolic link `/fat-d/Users/Default/Application Data'
find: warning: not following the symbolic link `/fat-d/Users/Default/Cookies'
find: warning: not following the symbolic link `/fat-d/Users/Default/Documents/My Music'
find: warning: not following the symbolic link `/fat-d/Users/Default/Documents/My Pictures'
find: warning: not following the symbolic link `/fat-d/Users/Default/Documents/My Videos'
find: warning: not following the symbolic link `/fat-d/Users/Default/Local Settings'
find: warning: not following the symbolic link `/fat-d/Users/Default/My Documents'
find: warning: not following the symbolic link `/fat-d/Users/Default/NetHood'
find: warning: not following the symbolic link `/fat-d/Users/Default/PrintHood'
find: warning: not following the symbolic link `/fat-d/Users/Default/Recent'
find: warning: not following the symbolic link `/fat-d/Users/Default/SendTo'
find: warning: not following the symbolic link `/fat-d/Users/Default/Start Menu'
find: warning: not following the symbolic link `/fat-d/Users/Default/Templates'
find: warning: not following the symbolic link `/fat-d/Users/Default User'
find: warning: not following the symbolic link `/fat-d/Users/Public/Documents/My Music'
find: warning: not following the symbolic link `/fat-d/Users/Public/Documents/My Pictures'
find: warning: not following the symbolic link `/fat-d/Users/Public/Documents/My Videos'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/AppData/Local/Application Data'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/AppData/Local/History'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/AppData/Local/Temporary Internet Files'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/Application Data'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/Cookies'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/Documents/My Music'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/Documents/My Pictures'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/Documents/My Videos'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/Local Settings'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/My Documents'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/NetHood'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/PrintHood'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/Recent'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/SendTo'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/Start Menu'
find: warning: not following the symbolic link `/fat-d/Users/siavasj/Templates'

Last edited by siawash; 06-18-2010 at 06:27 AM.
 
Old 07-14-2010, 04:53 PM   #7
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Just to let you all know I rebuilt slackware 13.1 several times. On each occassion I noticed the icons for shutting down and restarting were not responding. Flash player installation exhibited same problem as described earlier. I am surprised no one is experiencing same problems. I am back on slackware 13. Good thing I did't purchase the official CD...
 
Old 07-14-2010, 05:07 PM   #8
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
For shutdown/restarting you must be a member of the power group and you must be in runlevel 4, not 3. I'm not sure if it would work or not as root -- it is using HAL, so you cannot assume that everything will work for root...root would likely have to be added to the power group as well (and it is best tested as a regular user who has been added to the power group). As for your flash woes, were you actually using Slackware64-13.1 and not 32-bit Slackware 13.1? The output of the find command makes me want to believe that you were using 32-bit Slackware.../usr/lib/firefox* shouldn't exist (/usr/lib64/firefox* should). I don't know why your system wasn't detecting i386 if it was 32-bit and instead built a package for the 64-bit version...if you *were* running 64-bit Slackware then your directories were completely messed up...

No one else was experiencing these problems because you were doing something wrong. Some of that output doesn't look right for a 64-bit system and if you were using a 32-bit system then you were building (well, re-packaging) 64-bit flash, which would act as if it doesn't exist in Firefox.
 
Old 07-14-2010, 05:09 PM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I assume that with "I rebuilt slackware 13.1 several times" you really meant to say "I re-installed slackware 13.1 several times"...

Looking at your earlier posts, you are obviously running 32-bit Slackware. That is why the flashplayer SlackBuild script wants to have the 32-bit version of the flash player tarball. And, that is why "installpkg flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz" did not work for you because that is a 64-bit package which will not work on 32-bit Slackware.

You never answered to the question "1) Are you in power group?". Because, if your account is not in the "power" group, the shutdown button of your desktop manager will not work.

Eric
 
Old 07-14-2010, 06:26 PM   #10
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Yes, by rebuild I did mean a reinstall. You raise an interesting point which ilicits another question. Namely, an SBo package normally does not get created within /tmp if the correct script is run. That should mean I edited ( THE ARCH ) and ran the 64 bit package. As for my system, I am definitely using a 64 bit version. If I am doing something wrong why is not happening with slack 13.?

I don't remember if the shutdown and restart buttons worked for root account. I will have to wait for another install to check that out, whenever I get the time.
 
Old 07-14-2010, 07:08 PM   #11
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,436
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Quote:
Originally Posted by siawash View Post
Namely, an SBo package normally does not get created within /tmp if the correct script is run.
I don't know what you're trying to say here, since SBo scripts always use /tmp.
Quote:
Originally Posted by siawash View Post
I don't remember if the shutdown and restart buttons worked for root account.
This has nothing to do with the root account. You were asked if your user account was in the 'power' group.
 
Old 07-15-2010, 04:03 AM   #12
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by siawash View Post
As for my system, I am definitely using a 64 bit version. If I am doing something wrong why is not happening with slack 13.?
Please post the output of the command
Code:
uname -a
when you run that on your Slackware system.

Eric
 
Old 07-15-2010, 07:38 AM   #13
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Here you are

Code:
siawacsh@redeemer:~$ sudo uname -a
Password:
Linux redeemer 2.6.29.6 #2 SMP Mon Aug 17 11:58:18 CDT 2009 x86_64 Intel(R) Core(TM) i7 CPU         
920  @ 2.67GHz GenuineIntel GNU/Linux
siawacsh@redeemer:~$
 
Old 07-15-2010, 08:56 AM   #14
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,218

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Post the output of groups please. Launch Konsole, enter the command, and paste the output into your reply.

Last edited by dugan; 07-15-2010 at 09:00 AM.
 
Old 07-15-2010, 09:00 AM   #15
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
You upgraded to Slackware 13.1 yet the kernel you are using is the kernel of Slackware 13.0. Please upgrade to the 13.1 kernel.

This computer is indeed running 64-bit Slackware but then I do not understand why you get this:
Code:
root@redeemer:/home/siawacsh# find / -name libnullplugin.so -print 
/usr/lib/firefox-3.6.3/plugins/libnullplugin.so
/usr/lib/seamonkey-2.0.4/plugins/libnullplugin.so
because the search results indicate a 32-bit OS. Perhaps you have mixed 32-bit and 64-bit packages on your 64-bit Slackware?

What is the result of
Code:
ls /var/log/packages/*i486*
Eric
 
  


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



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

All times are GMT -5. The time now is 06:31 PM.

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