LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-27-2011, 01:43 PM   #1
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 Issues installing "shutter" SBo with sbopkg


Okay right off the bat, and in order to keep the hair rising up on anyone's back, thinking there's an sbopkg bug or something - this isn't about that...

sbopkg works great and I've had not issues with it - aside from issues that have manifested as a result of SBo issues or the upstreams.

k. Basically, I'm chronicling the convoluted way I had to install some software using sbopkg, how it helped and made dificult installations easy, and how I overcame some of the brickwalls that I came up with.

The particular application I'm going to focus on is *Shutter*:

The thing I should probably bring up now is how wonderful *sbopkg* is, and also what a dream it has been to work with.

sbopkg is kinda like the *Slackpkg* for the 'unofficial' SlackBuild repository, rather than the official Slackware repositories for software released w/each stable Slackware version.

Anyone who has ever used *slackpkg* will feel right at home with *sbopkg* - although they operate differently, they achive a similar end result - Slackware packages installed/upgraded on your system.

Yes, we've all gone out and d/l'd a package and performed an upgradepkg manually following an annoucement to the slackware-security list.

*slackpkg* automates this process.

sbopkg automates the process of downloading an SBo, the source tarballs, the build process, and even the installation of the resulting package.

The ncurses based interface is familiar - like the Slackware installation setup program.

In it's default state, you simply pick the applications, place them into a queue (in the order of their deps) and voila! a new item appears in your menu in a few minutes ready to execute (or not, if it's not a GUI app ).

For more background information on sbopkg simply visit the project page and view the man pages at: sbopkg.org

My problem began when going kinda koo koo for coconuts after installing sbopkg. Yup, like a kid in the candy store I started going after those apps with an endless train of deps that otherwise would take the better part of a day to accomplish an install.

Using the browse and search functions, you can easily get through organizing your deps much more quickly through the curses interface than you can at slackbuilds.org

As long as you've got your pen and paper with you, simply add everything to the queue, because later you can sort that installation queue in the order the deps need to be installed

Okay, with a pile of "perl-xxxx" packages needed, amongst other packages, Shutter

I hit the wall during the processing of the queue for this software, being unable to get a few packages, itemized below (at this point, since I went koo koo for coconuts, I can't be sure that these were actual dependencies for Shutter or not, since there were so many apps I queued up at one time, but the kludge will hopefully be a valuable tool for getting past the impasses).

Here's a couple of highlights. I had errors like, 404's and no route to hosts, changes in source tarball names, etc...

  • perl-gtk2
I'm a little tired, but for some reason the whole slackbuild thing just didn't happen (can't remember why actually).

I did a search for the package itself at SlackFind.net, and found "perl-gtk2-1.222-x86_64-1jsc"

After a quick d/l (and inspection of the package ) I simply ran installpkg and then the modules depending upon that installed just fine until...

  • perl-httpd-response-encoding
This module depends upon 'perl-http-response', which bombed, so I begin looking for it.

I checked Slacky.IT (which is now Slacky.EU), and nothing, and then I started scratching my head, wondering why I'm installing Slackware packages for Perl modules - what's the benefit to that? hm...

Well I figured I'd just fire up 'cpan' and do an:

Code:
cpan > install HTTP::Response
kewl... Then I removed perl-http-response from the sbopkg queue and fired off another process of the queue...


perl-httpd-response-encoding installed just fine. But now I'm really starting to wonder why I don't just install ALL of the Perl modules this way?!?!?
  • perl-net-dbus
This needs perl-xml-twig, which, as you might have guessed, bombed. I could only find i686 versions at Slacky.IT and Slackfind.net, so again....

Code:
cpan > install XML::Twig
kewl, perl-net-dbus installed fine through sbopkg now

had that not worked, I could have compiled the Perl modules by hand I suppose (sometimes cpan just won't get you there).

Shutter is pretty kewl.... Full featured and I needed the bells and whistles it provides for creating some tutorials, where other screenshot utils would require me to save the shots and then Gimp 'em.

It's nice doing it all in one step.

Well this was basically just a demonstration of a kludge to work around broken upstreams when using sbopkg, but not really - it's more about SlackBuilds, but not really - it's more about hunting down source and packages when upstreams are offline, to resolve dependencies, so you can interupt an sbopkg queue, take corrective measures, and finish up your queue once you've gotten through that one little package in the middle of the dep list you need first!

but again...

What is the purpose of installing Perl modules via Slackware Packages? why not just use Cpan for all of that instead?

I dunno, aside from the official release packages, I would think that Perl modules would be an exception to using SBo's, deferring to cpan instead, or perhaps even just compiling those Perl mods by hand.

That would be keeping the slack stuff w/slack and Perl with the Perl - right?

Weigh on in anytime you like

In the meantime I hope this helps someone who gets stuck in the middle of wanting to install something.

Kindest regards,

.
 
Old 01-27-2011, 08:49 PM   #2
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,247

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
cpan2tgz. It'll change your life. (Not really, but it is an awesome tool.) Available from slackbuilds.org, naturally.
 
1 members found this post helpful.
Old 01-28-2011, 01:29 AM   #3
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

Original Poster
Rep: Reputation: 112Reputation: 112
Hey that's nice. Real convenient
 
  


Reply

Tags
cpan, dependencies, slackbuilds, slackware64


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
After installing XAMPP for linux i have seen the folder "htdocs" belongs to "nobody". tirengarfio Linux - General 6 03-17-2010 01:41 PM
graphics issues at xfstartup, screen seems "stretched", resolution issues(?), Ubunoob001 Slackware 4 03-11-2010 01:07 PM
[ANNOUNCE] SBo/Sbopkg comprehensive queue archive Mauro Giachero Slackware 17 03-05-2010 11:24 AM
"Failed Dependency error" while installing RPM for "DateTime" perl modules giridhargopal.cj Linux - Newbie 7 11-19-2008 12:05 AM
"Installing non-distro Linux on USB key" or "Using syslinux to boot a jffs2" lymae Linux - Newbie 6 12-31-2006 10:00 PM


All times are GMT -5. The time now is 01:57 PM.

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