SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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'
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...
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.