LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-26-2011, 02:01 AM   #1
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Rep: Reputation: 50
Shutter Install - Dependency Questions


First Shutter Install Attempt Failed on Slackware64 Current ver 13.6.38.7:
Used .SlackBuild + src

1. What does the following mean? Especially reference to /vendor_perl & /usr/bin/shutter line 32.
Code:
~:$ shutter config
Can't locate Gnome2.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/shutter line 32.
BEGIN failed--compilation aborted at /usr/bin/shutter line 32.
2.How do I check what modules are installed on my system already? After looking at perldoc perlintro, tried as :~$ and 4.1#
Code:
perlmodlib
perlmodlib: command not found
Tried this from another post, and just got a caret prompt, which I don't know how to respond to:
Code:
art@wind:~$ 'ldd /usr/bin/shutter
> 'ldd /usr/bin/shutter |grep found'
>
Trying to follow thread bellow, do I need sbo to use cpan? Trying to familiarize myself with these tools & don't know perl. According to Tallship, cpan will use existing perl install to create needed modules instead of downloading & installing each separate perl modules from slackbuilds<- am I understanding this correctly?
http://www.linuxquestions.org/questi...sbopkg-859081/

3.Can I follow the listed order below of modules in 'Read Me' to install each module?
Quote:
Read Me File Dependencies:
This requires perl-gtk2-imageview, perl-gnome2, perl-gnome2-wnck,
perl-gnome2-gconf, locale-gettext, perl-www-mechanize, perl-net-dbus,
perl-x11-protocol and perl-proc-processtable.

Optional requirement is perl-goo-canvas for drawing tool.
4. Is it cleaner to use slackpkg install or pkgtool in the case of having to uninstall and reinstall?
 
Old 10-26-2011, 07:06 PM   #2
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Removed the Shutter pkg built with .SlackBuild
Installed SBopkg - working on figuring out how to configure it for 64 current yet.
Installed Cpan2tgz - not configured. Found instructions here are they good to use with Slackware?:
http://sipb.mit.edu/doc/cpan/

SBopkg is run as root but Cpan can be run as usr? Should Cpan be run as root? FYI don't know Perl or ever used these tools. Appreciate all explanatory support I can get. Thank you
 
Old 10-26-2011, 07:29 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
if you search for shutter in sbopkg it should list any deps and they ought to all be available through sbopkg too.

"This requires perl-gtk2-imageview, perl-gnome2, perl-gnome2-wnck,
perl-gnome2-gconf, locale-gettext, perl-www-mechanize, perl-net-dbus,
perl-x11-protocol and perl-proc-processtable."


Cpan needs to be run as root or it can't install modules system-wide, but you shouldn't need it if you can find everything in sbopkg.
 
1 members found this post helpful.
Old 10-27-2011, 12:33 AM   #4
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Thank you dive. Can I set REPO_ROOT=${REPO_ROOT:-/var/lib/sbopkg} to /usr/local/sbopkg?
According to SBopkg docs everything goes into /tmp & /var/log while I have a whole separate partition 40GB /usr/local for my preferred non system software? Any advice? Appreciate you input.
 
Old 10-27-2011, 02:30 AM   #5
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Rep: Reputation: 39
Is that shutter the screen shot tool for QA's? I tried installing that but gave up and used ksnapshot instead. Too many dependencies after dependencies.
 
Old 10-27-2011, 03:12 AM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally Posted by NightSky View Post
Thank you dive. Can I set REPO_ROOT=${REPO_ROOT:-/var/lib/sbopkg} to /usr/local/sbopkg?
According to SBopkg docs everything goes into /tmp & /var/log while I have a whole separate partition 40GB /usr/local for my preferred non system software? Any advice? Appreciate you input.
You can set most anything to most anywhere. But REPO_ROOT and the tmp and logging stuff isn't 'non-system software' such as would usually go in /usr/local - it's just data, source code, materials used for packaging, etc. The temp stuff can actually just be deleted if you're pressed for space and don't want it and the log doesn't take up much room. Even the repo is just about 100 megs or so. And the packages themselves will be installed into /usr which is how the SlackBuilds are written and isn't sbopkg's decision.

That said, it's your system and, if you've got a lot of room in /usr/local, you can put whatever you want there. Sbopkg is intended to work flexibly. Many people configure sbopkg to use /home extensively.

Quote:
Originally Posted by NightSky View Post
Installed SBopkg - working on figuring out how to configure it for 64 current yet.
Oh, forgot to comment on this - nothing's supported with -current but most things should just work. Nothing special's needed for the 64-bitness, either, as sbopkg will pick that up automatically. Some apps only have 32-bit versions so, without multi-lib, they won't work, but everything else should.

Last edited by slakmagik; 10-27-2011 at 03:15 AM. Reason: forgot about 64 current
 
1 members found this post helpful.
Old 10-27-2011, 08:22 PM   #7
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
dc erros- thanks for your input but I am not using KDE. Was trying to follow the information in Tallships post. Shutter seems to have lots of useful features. Its a good learning experience understanding dependencies, installing software. Wish I knew more.
Thank you slakmagik, you answered all my concerns with enough info to think about and run SBopkg.
 
Old 11-04-2011, 05:12 AM   #8
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 520
Blog Entries: 3

Rep: Reputation: 112Reputation: 112
Post Sorry it took so long to respond...

Hi Maria

And again, apologies for having taken so long to respond.

Okay, the two PMs are related, and unrelated - let's look at the unrelated aspects.

In your first post, yes, you need to install those perlmods. There are a couple you're not going to find at SBo, so you can read up over at SBo, and create your own SlackBuild for them (Everyone would like that if you submitted them afterwards).

I used CPAN. the syntax is quite simple, once you install CPAN as root you merely type:

Code:
cpan> install blah::blah
The modules will have different names that way as opposed to their ".PM" counterparts, but doing a search on CPAN.org will yield that info for you.

Another, prolly better way, if you don't want to build the entire SBo is to first install sbopkg, and then:

Code:
# sbopkg -i cpan2tgz
Then you've got ultimately the same control over the installation, upgrading, and removal of those perlmods as you would have once the resultant *.tgz package was created by using SBo.

The relevant [first two] posts are here:
http://www.linuxquestions.org/questi...sbopkg-859081/

To answer your second PM.... Well you've got a lot of work cut out for you.

I've never found an easy way actually, so I just start with a blank piece of paper or document and make the trunk of the tree the target package I want to use.

Then I list each dependancy as a fork leading up into a tree for each level of dependencies of dependencies, etc.

So then I start at the top of the tree and begin installing the deps, and then eventually, as I cross each successful install off I get to the trunk of the tree - in this case, Shutter.

Yes, Shutter is really kewl. It has pretty neat pastebin-like features that are customizable as well as snapshots. Ksnapshot is a great workhorse utility but Shutter is really bitchen.

That post I pointed out above should note all of the Perl Modules you need to concern yourself with, and the cpan2tgz is a MUCH cleaner way to create those packages as opposed to using cpan, but people might flame me for saying that.

Once you have your packages, merely run installpkg or upgradepkg and it's done.

Here's how you can follow along and know if all is well: If something fails during your run of sbopkg, then you've missed a dep. At some point you're going to get to needing your Perl modules, so use cpan2tgz at that point, and then install those packages, then continue until you get a successfull install of Shutter.

You're going to have to install maybe twenty or more packages since this is a gnome thang, but it will indeed run wonderfully under Xfce

If you like I can write up an article on installing and using sbopkg (which I've been urged to do now for some time) and also how I configure my SBo and sbopkg usage.

hm... mabye a complete treatment on installing Shutter on Slack64 -current would be good, but that would take more time to generate the step by steps.

In a nutshell, I like to configure my destdir variables to point to:

Code:
/usr/local/packages
That way I've got everything all neatly contained in /usr/local and can symlink to it from an http or gopher server, and if you like, I can even provide you with all of the packages I built to get shutter running on Slackware64 if you do the legwork and list every single dep.

I would just provide the URL to browse these, but I only make my package repos available via gopher:// and following my move back to my hometown of Torrance I haven't had a chance to put them in a permanent place yet - but I will soon

I hope that helps, and lemme know k? I'm more than happy to help out but I've still got extremely limited time at the moment.

I hope that helps
 
Old 11-04-2011, 05:24 AM   #9
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 520
Blog Entries: 3

Rep: Reputation: 112Reputation: 112
Interesting. I just noticed that you and my daughter both share juneteenth as your birthdays although my daughter was born in 1996.

Take a look at my website, and if you can stomach my style of narrative How-To articles then I'll surely put a couple up there for you w/step by steps, although it may be a week or so until I can complete it.

Kindest regards,
 
Old 11-08-2011, 01:02 AM   #10
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Original Poster
Rep: Reputation: 50
Smile shutter build

tallship, this is one of the most gracious responses I've ever encountered on this forum. Thank you. Appreciate your busy schedule. Good luck resettling in. Honestly, removed the SBo package manager. It's easier at this time to collect needed packages into a /build/shutter folder. This will clean out my /tmp folder while moving built packages to /usr/local/packages - for safe keeping.
While looking for KDE alternatives noticed strong multi-media apps for Slackware w/Xfce are gnome based?
SlackBuilds, pkgtool and slackpkg are sufficient installation tools & better slackware teaching aides. Learning cpan2tgz will be more efficient usage of time since it is perl related.
Tried an online 'Intro to Perl' from mit,took a week to get through one lecture - I couldn't stay wake. Instructor was brilliant no doubt but couldn't stay on topic
I'll work on the shutter pkg and you work on that SBo article when you have time. Going to leave this thread open for shutter.slackbuild.
Been setting up an old webcam, pidginvv, & Linphone since putting shutter on hold got bit by multi-media communication bug Will check out your blogs. Thank you again
 
  


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
[SOLVED] Can't run shutter Mr. Alex Arch 8 03-06-2011 11:37 AM
[SOLVED] Some 'how to & why' questions about 'Dependency Checking'... Robert.Thompson Slackware 23 02-22-2011 04:03 PM
rpm dependency questions giovannym Linux - Newbie 1 07-08-2005 05:24 PM
libc.so.6 dependency questions giovannym Linux - Newbie 5 07-10-2004 02:12 AM
K3B Dependency Questions JC404 Linux - Newbie 4 07-02-2003 04:19 AM


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