LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-24-2013, 07:53 AM   #1
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Rep: Reputation: 20
Steam on Slackware 14.1


I am thinking of installing Steam on slackware 64 bit 14.1. What do I need to do? I have gathered some information from various websites but I'm not sure if all of it is still relevant. Can someone verify it?


1. Make the system mulitilib with
http://alien.slackbook.org/dokuwiki/...kware:multilib

2. Install other dependecies from Slackbuilds (I use the git branch for 14.1)
pulseaudio (add the pulseaudio group, etc)
speex
json-c
OpenAL
flashplayer-plugin

and

flac
libogg
libvorbis
oxygen-gtk2

3. Install compat32 versions of ALL the packages in step 2. How do I do it?. I have no idea.

4. No additional steam dependecies are necessary any longer since Slackware 14.1. It says it here:
http://www.slackware.com/~alien/slac...4.1/README.1st

Can you correct me / confirm it?
 
Old 11-24-2013, 08:04 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,191

Rep: Reputation: Disabled
Check this please: http://www.slackware.com/~alien/slac...ADME.Slackware

I will copy that file in full here for Google Search:
Code:
Slackware package for Valve's Steam Client for Linux.
-------------------------------------------------------------------------------

The Steam client is primarily targeting Ubuntu, so in order to make it work
on Slackware, the package ships with a slightly modified steam startup script.

You will also have to install the following dependencies:
  - OpenAL
  - flashplayer-plugin
These are both available as SlackBuild scripts on http://slackbuilds.org ;
OpenAL and flashplayer-plugin packages can be found in my own repository
at http://slackware.com/~alien/slackbuilds/ too.

Note that the Steam client currently is 32-bit only. If you are running a
64-bit Slackware you must add multilib capability to it first.
Then, you need to add several more 'compat32' packages. In addition to
'compat32' versions of the aforementioned dependencies (OpenAL and
flashplayer-plugin), it is recommended that you also install a 'compat32'
package for oxygen-gtk2 .

The Steam client is dynamically linked against pulseaudio libraries, but my
modification to the steam startup script will actually force it to use
Slackware's ALSA for audio output. Pulseaudio will not be used.

In order to run the Steam client you will probably need a Nvidia or Ati card
with proprietary drivers. I would like to hear from people who are able to
start Steam and play a game using open source drivers.

-------------------------------------------------------------------------------
Eric Hameleers <alien@slackware.com> 09-nov-2013
So what you do is basically:

Code:
wget http://www.slackware.com/~alien/slackbuilds/OpenAL/pkg/14.1/OpenAL-1.15.1-i486-1alien.tgz
convertpkg-compat32 -i OpenAL-1.15.1-i486-1alien.tgz
upgradepkg --install-new /tmp/OpenAL-compat32-1.15.1-x86_64-1aliencompat32.txz
wget http://www.slackware.com/~alien/slackbuilds/flashplayer-plugin/pkg/14.1/flashplayer-plugin-11.2.202.327-i386-1alien.txz
convertpkg-compat32 -i flashplayer-plugin-11.2.202.327-i386-1alien.txz
upgradepkg --install-new /tmp/flashplayer-plugin-compat32-11.2.202.327-i386-1aliencompat32.txz
All the rest of what you need is already part of the default multilib package set which you downloaded and installed from http://www.slackware.com/~alien/multilib/14.1/

Eric

Last edited by Alien Bob; 11-24-2013 at 09:07 AM.
 
1 members found this post helpful.
Old 11-24-2013, 08:15 AM   #3
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Original Poster
Rep: Reputation: 20
Thank you for clarifying. I get an error:

Code:
root@darkstar:/home/portia/builds/steam/deps# wget http://www.slackware.com/~alien/slac...486-1alien.tgz
--2013-11-24 14:14:30--  http://www.slackware.com/~alien/slac...486-1alien.tgz
Resolving www.slackware.com (www.slackware.com)... 92.123.153.185, 92.123.153.112
Connecting to www.slackware.com (www.slackware.com)|92.123.153.185|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 222121 (217K) [application/x-gzip]
Saving to: 'OpenAL-1.15.1-i486-1alien.tgz'

100%[=====================================================>] 222,121      682KB/s   in 0.3s   

2013-11-24 14:14:30 (682 KB/s) - 'OpenAL-1.15.1-i486-1alien.tgz' saved [222121/222121]

root@darkstar:/home/portia/builds/steam/deps# convertpkg-compat32 OpenAL-1.15.1-i486-1alien.tgz 
** Please supply a valid input package! **

Usage: /usr/sbin/convertpkg-compat32 <-i input_package_file_name> [-o output_package_file_name] [-d output_directory] [-s custom_slack_desc] [-e custom_package_extension]

convertpkg-compat32 is used to convert a 32-bit Slackware package
into a '32-bit compatibility' package, for installion on 64-bit Slackware.

required parameters::
  -i input_package_file_name     : 32-bit package to convert
optional parameters::
  -d destination_directory       : create package in this directory
  -e extension                   : use another valid extension instead of 'txz'
  -o output_package_file_name    : use custom output package filename
  -s output_slack_desc           : custom slack-desc file to use for new package

environment variables:
  ARCH   (target architecture; defaults to $(uname -m))
  BUILD  (build number for output package; defaults to same as input package.
          output_package_file_name overrides this value)
  TAG    (build tag, defaults to compat32))
  OUTPUT (location to create the package; defaults to /tmp)
  TMP    (location for temporary files; defaults to /tmp)
 
Old 11-24-2013, 08:30 AM   #4
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Original Poster
Rep: Reputation: 20
Ok, I think what was missing was the -i flag (input package)
 
Old 11-24-2013, 08:33 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 4,021

Rep: Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966Reputation: 966
Quote:
Originally Posted by portia View Post
Thank you for clarifying. I get an error
I suggest that you read errors messages you get, as they'll often tell you how to avoid them. This is the case here

EDIT. You found just before I click [Save]

Last edited by Didier Spaier; 11-24-2013 at 08:35 AM.
 
Old 11-24-2013, 08:42 AM   #6
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Original Poster
Rep: Reputation: 20
I have built and installed the steam client using
http://www.slackware.com/~alien/slac...mclient/build/ (v.44)

and I get the error when I try to run steam:

Code:
steam
Slackware 32-bit: Check the 'deps/<slackwareversion>' directory where you downloaded this pack\
age and install/upgrade the packages you find there.
Slackware 64-bit multilib: Install/upgrade the packages in the 'deps/<slackwareversion>/multil\
ib' subdirectory instead.

Running Steam on slackware 14.1 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20131124143851_1.dmp
/home/portia/.local/share/Steam/steam.sh: line 755:  1623 Segmentation fault      $STEAM_DEBUG\
GER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
mv: cannot stat '/home/portia/.steam/registry.vdf': No such file or directory
Installing bootstrap /home/portia/.local/share/Steam/bootstrap.tar.xz
Reset complete!
Restarting Steam by request...
Slackware 32-bit: Check the 'deps/<slackwareversion>' directory where you downloaded this pack\
age and install/upgrade the packages you find there.
Slackware 64-bit multilib: Install/upgrade the packages in the 'deps/<slackwareversion>/multil\
ib' subdirectory instead.

Running Steam on slackware 14.1 64-bit
STEAM_RUNTIME has been set by the user to: /home/portia/.local/share/Steam/ubuntu12_32/steam-r\
untime
Installing breakpad exception handler for appid(steam)/version(0_client)
Uploading dump (out-of-process) [proxy '']
/tmp/dumps/crash_20131124143852_1.dmp
/home/portia/.local/share/Steam/steam.sh: line 755:  1716 Segmentation fault      $STEAM_DEBUG\
GER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
Finished uploading minidump (out-of-process): success = no
error: Failure when receiving data from the peer
Finished uploading minidump (out-of-process): success = yes
response: CrashID=bp-1dc72ba2-fc8e-43cf-92db-9c55e2131124
What am I missing now?
 
Old 11-24-2013, 08:46 AM   #7
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Original Poster
Rep: Reputation: 20
Code:
portia@darkstar:~$ ls /var/log/packages | grep OpenAL 
OpenAL-1.15.1-x86_64-1alien
OpenAL-compat32-1.15.1-x86_64-1aliencompat32
portia@darkstar:~$ ls /var/log/packages | grep flash 
flashplayer-plugin-11.2.202.327-x86_64-1alien
flashplayer-plugin-compat32-11.2.202.327-x86_64-1aliencompat32
portia@darkstar:~$ ls /var/log/packages | grep steam
steamclient-1.0.0.44-i386-1alien
Code:
OpenAL-compat32-1.15.1-x86_64-1aliencompat32
aaa_elflibs-compat32-14.1-x86_64-3compat32
alsa-lib-compat32-1.0.27.2-x86_64-1compat32
alsa-oss-compat32-1.0.25-x86_64-1compat32
atk-compat32-2.8.0-x86_64-1compat32
attr-compat32-2.4.46-x86_64-1compat32
audiofile-compat32-0.3.6-x86_64-1compat32
bzip2-compat32-1.0.6-x86_64-1compat32
cairo-compat32-1.12.14-x86_64-1compat32
compat32-tools-3.1-noarch-3alien
cups-compat32-1.5.4-x86_64-3compat32
curl-compat32-7.31.0-x86_64-1compat32
cxxlibs-compat32-6.0.18-x86_64-1compat32
cyrus-sasl-compat32-2.1.23-x86_64-5compat32
dbus-compat32-1.6.12-x86_64-1compat32
dbus-glib-compat32-0.100.2-x86_64-1compat32
e2fsprogs-compat32-1.42.8-x86_64-2compat32
esound-compat32-0.2.41-x86_64-2compat32
expat-compat32-2.1.0-x86_64-1compat32
flac-compat32-1.2.1-x86_64-3compat32
flashplayer-plugin-compat32-11.2.202.327-x86_64-1aliencompat32
fontconfig-compat32-2.10.93-x86_64-1compat32
freetype-compat32-2.5.0.1-x86_64-1compat32
fribidi-compat32-0.19.2-x86_64-3compat32
gamin-compat32-0.1.10-x86_64-5compat32
gdk-pixbuf2-compat32-2.28.2-x86_64-1compat32
giflib-compat32-4.1.6-x86_64-1compat32
glew-compat32-1.9.0-x86_64-1compat32
glib2-compat32-2.36.4-x86_64-1compat32
glu-compat32-9.0.0-x86_64-1compat32
gmp-compat32-5.1.3-x86_64-1compat32
gnutls-compat32-3.1.16-x86_64-1compat32
gst-plugins-base-compat32-0.10.36-x86_64-2compat32
gst-plugins-good-compat32-0.10.31-x86_64-5compat32
gstreamer-compat32-0.10.36-x86_64-2compat32
gtk+2-compat32-2.24.20-x86_64-1compat32
harfbuzz-compat32-0.9.16-x86_64-1compat32
icu4c-compat32-51.2-x86_64-1compat32
jasper-compat32-1.900.1-x86_64-3compat32
lcms-compat32-1.19-x86_64-2compat32
lcms2-compat32-2.4-x86_64-1compat32
lesstif-compat32-0.95.2-x86_64-1compat32
libFS-compat32-1.0.5-x86_64-1compat32
libICE-compat32-1.0.8-x86_64-1compat32
libSM-compat32-1.2.2-x86_64-1compat32
libX11-compat32-1.6.2-x86_64-1compat32
libXScrnSaver-compat32-1.2.2-x86_64-1compat32
libXau-compat32-1.0.8-x86_64-1compat32
libXaw-compat32-1.0.12-x86_64-1compat32
libXcomposite-compat32-0.4.4-x86_64-1compat32
libXcursor-compat32-1.1.14-x86_64-1compat32
libXdamage-compat32-1.1.4-x86_64-1compat32
libXdmcp-compat32-1.1.1-x86_64-1compat32
libXevie-compat32-1.0.3-x86_64-1compat32
libXext-compat32-1.3.2-x86_64-1compat32
libXfixes-compat32-5.0.1-x86_64-1compat32
libXfont-compat32-1.4.6-x86_64-1compat32
libXfontcache-compat32-1.0.5-x86_64-1compat32
libXft-compat32-2.3.1-x86_64-1compat32
libXi-compat32-1.7.2-x86_64-1compat32
libXinerama-compat32-1.1.3-x86_64-1compat32
libXmu-compat32-1.1.2-x86_64-1compat32
libXp-compat32-1.0.2-x86_64-1compat32
libXpm-compat32-3.5.11-x86_64-1compat32
libXrandr-compat32-1.4.2-x86_64-1compat32
libXrender-compat32-0.9.8-x86_64-1compat32
libXres-compat32-1.0.7-x86_64-1compat32
libXt-compat32-1.1.4-x86_64-1compat32
libXtst-compat32-1.2.2-x86_64-1compat32
libXv-compat32-1.0.10-x86_64-1compat32
libXvMC-compat32-1.0.8-x86_64-1compat32
libXxf86dga-compat32-1.1.4-x86_64-1compat32
libXxf86misc-compat32-1.0.3-x86_64-1compat32
libXxf86vm-compat32-1.1.3-x86_64-1compat32
libart_lgpl-compat32-2.3.21-x86_64-1compat32
libdmx-compat32-1.1.3-x86_64-1compat32
libdrm-compat32-2.4.46-x86_64-1compat32
libelf-compat32-0.8.13-x86_64-2compat32
libexif-compat32-0.6.21-x86_64-1compat32
libffi-compat32-3.0.13-x86_64-2compat32
libfontenc-compat32-1.1.2-x86_64-1compat32
libgcrypt-compat32-1.5.3-x86_64-1compat32
libglade-compat32-2.6.4-x86_64-4compat32
libgpg-error-compat32-1.11-x86_64-1compat32
libgphoto2-compat32-2.5.2-x86_64-1compat32
libidn-compat32-1.25-x86_64-2compat32
libieee1284-compat32-0.2.11-x86_64-3compat32
libjpeg-compat32-v8a-x86_64-1compat32
libmng-compat32-1.0.10-x86_64-2compat32
libmpc-compat32-0.8.2-x86_64-2compat32
libogg-compat32-1.3.0-x86_64-1compat32
libpcap-compat32-1.4.0-x86_64-1compat32
libpciaccess-compat32-0.13.2-x86_64-1compat32
libpng-compat32-1.4.12-x86_64-1compat32
libsamplerate-compat32-0.1.8-x86_64-1compat32
libsndfile-compat32-1.0.25-x86_64-1compat32
libtermcap-compat32-1.2.3-x86_64-7compat32
libtiff-compat32-3.9.7-x86_64-1compat32
libtool-compat32-2.4.2-x86_64-2compat32
libusb-compat-0.1.4-x86_64-1
libusb-compat32-1.0.9-x86_64-1compat32
libvorbis-compat32-1.3.3-x86_64-1compat32
libxcb-compat32-1.9.1-x86_64-1compat32
libxml2-compat32-2.9.1-x86_64-1compat32
libxslt-compat32-1.1.28-x86_64-1compat32
mariadb-compat32-5.5.32-x86_64-1compat32
mesa-compat32-9.1.7-x86_64-1compat32
mpg123-compat32-1.15.4-x86_64-1compat32
ncurses-compat32-5.9-x86_64-2compat32
nettle-compat32-2.7.1-x86_64-1compat32
openldap-client-compat32-2.4.31-x86_64-2compat32
openssl-compat32-1.0.1e-x86_64-1compat32
openssl-solibs-compat32-1.0.1e-x86_64-1compat32
p11-kit-compat32-0.16.4-x86_64-1compat32
pango-compat32-1.34.1-x86_64-1compat32
pixman-compat32-0.30.2-x86_64-1compat32
popt-compat32-1.16-x86_64-2compat32
qt-compat32-4.8.5-x86_64-2compat32
readline-compat32-5.2-x86_64-4compat32
sane-compat32-1.0.24-x86_64-1compat32
sdl-compat32-1.2.15-x86_64-1compat32
seamonkey-solibs-compat32-2.21-x86_64-1compat32
sqlite-compat32-3.7.17-x86_64-1compat32
startup-notification-compat32-0.12-x86_64-2compat32
svgalib-compat32-1.9.25-x86_64-2compat32
util-linux-compat32-2.21.2-x86_64-6compat32
v4l-utils-compat32-0.9.5-x86_64-1compat32
xcb-util-compat32-0.3.9-x86_64-1compat32
xsane-compat32-0.998-x86_64-3compat32
zlib-compat32-1.2.8-x86_64-1compat32
 
Old 11-24-2013, 09:12 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,191

Rep: Reputation: Disabled
portia, are you using a graphics card with a proprietary graphics driver, such as the Nvidia binary blob?

If so, you may not have the 32-bit graphics libraries, only the 64-bits versions and Steam needs the 32-bit drivers.
As a rule of thumb, you need to re-install your binary driver after installing/upgrading the core multilib packages.

In most cases, the error you get (the segfault... the rest of the text is harmless) is being caused by not having the 23-bit binary driver installed.
 
1 members found this post helpful.
Old 11-24-2013, 10:08 AM   #9
portia
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 112

Original Poster
Rep: Reputation: 20
That was it. Thanks
 
  


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
Steam on Slackware schmatzler Slackware 287 10-19-2013 02:09 PM
installling steam on slackware 14 32 bit xfce4 Linux - Newbie 2 08-28-2013 01:36 AM
Steam on Wine, cannot login,"Steam is having trouble connecting to the Steam servers" cantab Linux - Games 1 06-19-2010 06:32 AM
Slackware 10 and WineX/Cedega + Steam php Linux - Games 4 07-24-2004 05:23 PM


All times are GMT -5. The time now is 04:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration