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 04-04-2006, 10:09 AM   #1
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Rep: Reputation: 30
SDL libraries needed for PERL / already there


New to Slack 10.1. Trying to install frozen bubble. Downloaded from linux package into home folder. As root used "installpkg". Message is
SDL libraries needed for PERL.
Looked in Kpakage manager and SDL and PERL are both installed according to list in left pane.

There is a reference in another thread but its for FC and thread fizzles. Also ggogling just takes me to sdl.net
Any help out there?
Thanks
 
Old 04-04-2006, 10:14 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I think you need to install a package called perl-sdl.
 
Old 04-04-2006, 10:12 PM   #3
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Original Poster
Rep: Reputation: 30
sdl-perl

frozen bubble site does not have up to date sdl-perl package. Where can I find this package? Apparently new sdl-perl version is incompatible with frozen bubble.

Also downloaded two other necessary files that are in .tar.gz format. How do I convert to .tgz so as to use "installpkg"? (error msg is "files do not end in .tgz)

Would like to understand this first before attempt to install OpenOffice2.x.x

Thanks.
 
Old 04-04-2006, 11:55 PM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Firstly, you need to patch the frozen-bubble with patch from their site to work with new sdl.
You can't install archives ending in tar.gz (they are source archives, not packages).
Install checkinstall from Slackware /extra directory. This lets you create Slackware packages.
Run:
$ tar -xvzf filename.tar.gz
This will extract archive.
Open directory:
$ cd filename
Compile package:
$ ./configure
$ make
Become root to make installation:
$ su
Enter root password when asked.
Install package with checkinstall:
$ checkinstall
$ installpkg filename.tgz
Get back to your user:
$ su username
 
Old 04-05-2006, 01:34 AM   #5
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Original Poster
Rep: Reputation: 30
Everything seems to have gone well with dwnload and install of checkinstall and the untarring of the .tar.gz files. Checkinstall asked for the type of package to be formed ....[s] for slack. Here are last few lines after running checkinstall and then installpkg:

Done. The new package has been saved to

/home/****/SDL_mixer-1.2.6/SDL_mixer-1.2.6-i386-1.tgz
You can install it in your system anytime using:

installpkg SDL_mixer-1.2.6-i386-1.tgz

**********************************************************************

root@****3:/home/****/SDL_mixer-1.2.6# installpkg SDL_mixer-1.2.6-i386.tgz
Cannot install SDL_mixer-1.2.6-i386.tgz: package does not end in .tgz
root@****3:/home/****/SDL_mixer-1.2.6#

What has gone wrong ?

Also for some reason all files whether directories,executables or files are in black when root in terminal. Is this normal in Slack?
Thanks

Last edited by Trio3b; 04-05-2006 at 01:40 AM.
 
Old 04-05-2006, 08:17 AM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
No. Directories should be blue, executables - green.
 
Old 04-05-2006, 08:23 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I have just looked at the forzen-bubble website and the perl-sdl package that works with frozen-bubble is available from their site.
 
Old 04-05-2006, 10:57 AM   #8
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Original Poster
Rep: Reputation: 30
sdl-perl

Well, for some reason I was able to install the SDL_image and SDL_mixer files. Downloaded the sdl-perlx.x.tar.gz Untarred, and cd to the folder but cannot ./config as I did the other files.
error is
root@****3:/home/****# tar -xvzf SDL_Perl-2.1.3.tar.gz
SDL_Perl-2.1.3/

etc,etc


SDL_Perl-2.1.3/TODO
SDL_Perl-2.1.3/typemap
root@****3:/home/****# cd SDL_Perl-2.1.3
root@****3:/home/****/SDL_Perl-2.1.3# ./configure
bash: ./configure: No such file or directory

Fairly sure this is what I did for the other files. Also downloaded the sdl_patch but I assume I need to install sdl_perl first.
BTW - as root in console All files are black. As user they are normal colors.

stumbling thru this but must be missing something simple,
Any ideas
Thanks
 
Old 04-05-2006, 11:07 AM   #9
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Maybe there is autogen.sh or smth similar?
 
Old 04-05-2006, 12:22 PM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Run "ls" to list to contents of the sdl-perl directory and post the output.
 
Old 04-05-2006, 01:17 PM   #11
Trio3b
Member
 
Registered: Oct 2004
Location: Texas, USA
Distribution: MDV 2008.1, PCLinuxOS,
Posts: 315

Original Poster
Rep: Reputation: 30
This is what I dwnlded ->SDL_Perl-2.1.3.tar.gz

root@****3:~/SDL_Perl-2.1.3$ ls
BUGS CHANGELOG MANIFEST README lib/ make/ t/ typemap
Build.PL COPYING META.yml TODO logo/ src/ test/

this is the readme for this file:
README for SDL_Perl-2.1.2

What's New in 2.1.2:

SDL_Perl-2.1.2 is a bug patch release that fixed a number of memory
leaks in blitting code, handles glGet queries, and some Build fixes.
For full details check the CHANGELOG file.

Prerequisites:

SDL Perl recommends installing the following libraries available
from http://www.libsdl.org/ prior to installing:

SDL-1.2.6
smpeg-0.4.4
SDL_image-1.2.2
SDL_gfx-2.0.3
SDL_mixer-1.2.5
SDL_net-1.2.4
SDL_ttf-2.0.5

Additionally the following Perl modules should be installed:

Module-Build-0.22
Test-Simple-0.47

Installation:

perl Build.PL
./Build
./Build test
./Build install

The build process will use the new Module::Build facility
to autodetect and build SDL Perl for your platform. If
the build fails please forward bugs to sdl-devel@perl.org.

Now officially confused. Why is this readme for 2.1.2 included in the 2.1.3 file? I must have dwnlded the wrong sdl-perl file....no?
thanks for any help

Last edited by Trio3b; 04-05-2006 at 02:00 PM.
 
Old 04-05-2006, 01:52 PM   #12
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try running "make". If that doesn't work, take a look at the README file.
 
Old 04-05-2006, 02:47 PM   #13
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
So run in console perl Build.PL and everything else what was said.
 
  


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
perl -MCPAN -e shell install SDL::Tutorial ?? Bluesuperman Linux - Software 1 06-01-2005 05:54 PM
problem with shared libraries (SDL-1.2.7 and ESD) funkateer Slackware 2 03-01-2005 03:50 AM
sdl-perl: disappearing windows jrtayloriv Programming 1 02-02-2005 12:55 AM
sdl-config --libs wont report on extension libraries unholy Programming 2 10-10-2004 07:29 AM
SDL-perl for frozen bubble kelryu Linux - Newbie 2 02-18-2004 04:52 PM

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

All times are GMT -5. The time now is 08:27 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