Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
here is what i get when going to the default install path /usr/bin and typing frozen-bubble ...
root@arledges:/usr/bin# frozen-bubble
Can't locate Locale/gettext.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i486-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at /usr/bin/frozen-bubble line 51.
BEGIN failed--compilation aborted at /usr/bin/frozen-bubble line 51.
root@arledges:/usr/bin#
Can't locate SDL.pm in @INC... message at startup: either you didn't install sdlperl, or you installed it at the wrong location. Check where the file "SDL.pm" was installed on your system and what is the @INC search path of perl, there are chances they don't match.
so i went to slacky.eu and downloaded Perl 1.20 (couldn't find 1.19)
and got the same results as above when typing frozen-bubble at /usr/bin ......
i am not sure what a @INC search path is or how to edit it ... maybe perl IS not in the same search path as frozen-bubble but not sure how to change a search path .....
ALSO,,, this error references gettext.pm but the SDL.pm and @INC are the only references in t/s on the frozen-bubble website that are even remotely close to the error message i am getting ....
here is what i get when going to the default install path /usr/bin and typing frozen-bubble ...
root@arledges:/usr/bin# frozen-bubble
Can't locate Locale/gettext.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i486-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at /usr/bin/frozen-bubble line 51.
BEGIN failed--compilation aborted at /usr/bin/frozen-bubble line 51.
root@arledges:/usr/bin#
Can't locate SDL.pm in @INC... message at startup: either you didn't install sdlperl, or you installed it at the wrong location. Check where the file "SDL.pm" was installed on your system and what is the @INC search path of perl, there are chances they don't match.
do you think you could look at this and let me know what directory to CD into to run ... " perl Makefile.PL", then "make", "make test", and then "make install"." .....
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
There are 3 types of "Perl Modules" (or more ?)
1) 'perl Makefile.PL' .. 'make' .. 'make install' is used.
2) 'perl Build.PL' .. './Build' .. './Build install'
....SDL_Perl-2.1.3 is type 2)
3) 'configure' .. 'make' .. 'make install'
....SDL_perl-1.20.3 is type 3) and is the one to be
used for 'frozen-bubble' AFAIK.
ok .....
i know i am a "tool" but here it is .....
unpacked the .tar.gz file from above ... "sdl_perl_1.20.3.dfsg.orig.tar.gz" ...
this created SDL_perl-1.20.3 ...
in Konsole i went into this directory and typed ./configure but it errored out ....the man -k configure was about as much help as trying to pull my own teeth ..... so ...here is the contents of SDL_perl-1.20.0 ...
ok .... thanks for the offer of a solution ...
here is what i have in the SDL_perl directory created by untarring the SDL_perl-1.20.3<whatever>.tar.gz
root@arledges:/home/david3/Desktop/SDL_perl-1.20.3# dir
BUGS Makefile.freebsd README SDL_perl.spec TODO patches win32
CHANGELOG Makefile.linux README.freebsd SDL_perl.xs configure scripts
COPYING Makefile.netbsd README.orig SFont.c defines.h t
MANIFEST Makefile.win32 README.win32 SFont.h detect.c test
Makefile.PL OpenGL.xs SDL_perl.pm SIGNATURE lib typemap
root@arledges:/home/david3/Desktop/SDL_perl-1.20.3# ./configure
./configure: line 3: perl: command not found
root@arledges:/home/david3/Desktop/SDL_perl-1.20.3#
also as i CD into the directory and type ./configure ....i get command not found ..
thanks for your patience ... i have limited time to dedcicate to the pursuit of Linux and things Linux releated ..... but i totally enjoy it
sincerely
david
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Try again : 'cd SDL_perl-1.20.3' or
'cd /home/wdave58/tmp/SDL_perl-1.20.3 or whatever the
path to the app is.
If you do the command './configure' the wrong place
the reply usually is
" bash: ./configure: No such file or directory "
this is the result of my SDL_perl-1.20.3 directory
i see the congigure* but when i use ./configure or sh configure either as user or root i get -
configure: line 3: perl: command not found
which is a little different than perevios as it lists the "perl" not found ..
if i am in the wrong path or directory then maybe i should delete everything and download the SDL_perl-1.20.3.tar.gz again, i do not have the results of expanding/unpacking this file to find exactly where everything went, but i recognize most of it in the SDL_perl-1.20.3 directory above which resides on the Desktop ...
sorry i takes me so long to reply, i get up, reply, go to work, get off work and go to sleep ...boring i know but i get to see my daughter now everyday so i'm "all good"
when i copy and paste the Konsole results in <here> it reads ... OK .... then once i post the reply it give the coding for the paste not the paste results themselves ...
sorry
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
I would say that something is wrong with your perl :
Quote:
line 3: perl: command not found
Try the command 'perl -v' . The reply should look like this :
Quote:
This is perl, v5.8.8 built for i386-linux
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
sorry,,,,
also when i go into the Perl_1.20.3 directory and see the above files i also have tried the <perl -v> command and instead of a version i get "bash - bad command or file name" .....
i think i must install "perl" first .... before running the version check ---- no???
thought i would throw this out because it didn't make sense to me ...
thanks also again ...
david
ok ...
a .tgz file seems to install/configure itself
a .tar.gz file needs de-compressing then as noted above ...
configure
make
and then su to root priveleges and make-install
if i am correct so far ...
my perl install has been de-compressed but refuses to acknowlege
./configure
configure
make
./make
or
make-install
as well as perl Makefile.PL and Makefile.linux
a cusroury view of perl.com allows me to understand some switches such as
listed
perl -v
perl -V
and
perl -W as well as @.INC
so these refuse to cooperate as well .... so i'm thinking i'm missing something very basic here .....
ideas?//
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.