LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-16-2017, 05:45 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
Difficulty installing pluma


The slackware package download is right here:

https://slackware.pkgs.org/14.2/sali...4-2gv.txz.html


Looks like it is supposed to run on 64-bit Slackware 14.2, which is what I am running.

I downloaded, and tried to install:

Code:
# installpkg pluma-1.16.0-x86_64-2gv.txz
Verifying package pluma-1.16.0-x86_64-2gv.txz
. . .
Package pluma-1.16.0-x86_64-2gv.txz installed.

# pluma
pluma: error while loading shared libraries: libgtksourceview-2.0.so.0: cannot open shared object file: No such file or directory
 
Old 04-16-2017, 05:55 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
This is one reason why pkgs.org is not recommended. You're missing dependencies for that package... at least gtksourceview and possibly more. You need to verify you have all the required packages installed. There is a requires tab on the site that should provide you more info. But be warned, if you start mixing packages from different repos, you could run into issues where one program requires a certain dependency to be at a specific version, while another package requires that dependency to be at a different version.

This is why it is highly recommended to build your own programs after building all their dependencies.

EDIT: According to this, pluma is part of Mate, so it's possible it might require additional Mate dependencies. It might be best to build Mate from the Mate SlackBuild project.

Last edited by bassmadrigal; 04-16-2017 at 05:58 PM.
 
Old 04-16-2017, 06:06 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
pluma needs gtksourceview and pygtksourceview. You can build them from SlackBuilds available @ slackbuilds.org.

Bear in mind that if you grab a package from third party repository you have to take care of the dependencies yourself, beyond the packages included in a full Slackware installation.

PS bassmadrigal was faster.

PPS But you don't need the other Mate dependencies (I know that just because pluma is the default text editor in Slint).

PPPS I see that pygtksourceview is missing from the dependencies list on the the requires tab. But I confirm that it is needed (I just checked with "depfinder -p depfinder pluma-1.16.0-x86_64-2gv.txz").

Last edited by Didier Spaier; 04-16-2017 at 06:20 PM. Reason: PS and PPS PPPS added.
 
Old 04-16-2017, 06:49 PM   #4
laprjns
Member
 
Registered: Oct 2005
Location: Connecticut USA
Distribution: SalixOS
Posts: 206

Rep: Reputation: 108Reputation: 108
My guess is that pygtksourceview is a build dependency only. The pluma package from the Salix repository run fine here without pygtksourceview installed. Also the dependencies listed in the Salix repo for pluma does not include pygtksourceview.

Last edited by laprjns; 04-17-2017 at 05:17 AM.
 
Old 04-16-2017, 07:31 PM   #5
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
I am new to this.

Seems like pluma, and gedit, are more trouble than they are worth.

I am fine with vim for the command line, but would like something more graphical as well. I do not much care for the graphical vim.

Can anybody recommend a good Slackware XFCE editor?
 
Old 04-16-2017, 07:35 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
There's lots of different editors. There was actually a thread recently that requested people's preferred editor.

http://www.linuxquestions.org/questi...es-4175603285/

Personally, I just use nano in the CLI and kate in the GUI (although, kate is KDE based).
 
Old 04-16-2017, 07:38 PM   #7
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
There are many to choose from. I settled on Leafpad but it is just a personal preference on my part.

Oh, I see. From your other post on this subject and from using a search engine to investigate pluma and gedit I gather that you want syntax highlighting. Leafpad does not offer that

Last edited by Gordie; 04-18-2017 at 11:42 AM.
 
Old 04-16-2017, 08:39 PM   #8
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
> There's lots of different editors.

Yes, but none of them will install on slackware without going through dependency hell.

I have tried: mousepad, nano, pico, kate, gedit, pluma, among others. Nothing works with just slackpkg installer. Going to slackbuild requires additional libraries, and the like.

I guess I should have gone with KDE instead of XFCE.
 
Old 04-16-2017, 08:50 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Of the ones you mentioned, nano, pico, and at least kate are included with a stock Slackware (possibly others, but I haven't looked into it).

slackpkg will only install packages from a standard Slackware mirror, and those should be installed by default with a full installation.

EDIT: And I believe none of those are standalone packages. I believe they're included in other packages. In that case, you'd need to use slackpkg file-search nano to search within the packages.
EDIT2: nano and kate are standalone packages, pico is part of the alpine package. All should be installed in a standard Slackware installation.

Last edited by bassmadrigal; 04-16-2017 at 08:55 PM.
 
Old 04-17-2017, 01:02 AM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by laprjns View Post
My guess is that pygtksourceview is a build dependency only. The pluma package from the Salix repository run find here without pygtksourceview installed. Also the dependencies listed in the Salix repo for pluma does not include pygtksourceview.
So Rich , that's probably why George didn't include pygtksourceview in the .dep. But as I wanted to rebuild myself everything included in the Slint repos I included it in the .dep in these repos. Maybe an overkill admittedly, but won't hurt.

Oh, and your post made me search for pluma in my IRC archive, and I see that as requested George removed the former dependency of pluma to mate-desktop when upgrading to mate 1.16.
 
Old 04-17-2017, 01:21 AM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quote:
Originally Posted by walterbyrd View Post
> There's lots of different editors.

Yes, but none of them will install on slackware without going through dependency hell.
First, as bassmadrigal pointed out there is no point using slackpkg to install already installed packages. But I now suspect that you didn't do a full Slackware installation, although this be strongly recommended for people not really acquainted to Slackware. This would highly reduce the dependency hell you are speaking about.

To get acquainted with Slackware, there are useful articles on http://docs.slackware.com

As already stated by others, another way to avoid dependency hell is sticking with the official Slackware repos (and maybe the few ones that clearly state the dependencies beyond a full Slackware installation, but then you still need to read this information to install these additional dependencies yourself), or build yourself packages from the stuff available @ slackbuids.org, reading and following the instructions in the README

Or, just install a Slackware derivative that provides automatic dependencies resolution like Salix or Slint. But even then, installing packages from random repositories will lead to the same dependency hell.

PS I see that you have posted a similar complaint here.

So as told already by Gordie there make a full Slackware installation instead of blaming a "dependency hell" that you created yourself. As the saying goes nemo auditur propriam turpitudinem allegans.

Oh, and before you ask why: http://docs.slackware.com/slackware:..._off_slackware

Last edited by Didier Spaier; 04-17-2017 at 07:45 AM.
 
Old 04-30-2017, 04:28 PM   #12
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Thanks for the replies. I have given up on Slackware. Now using Calculate Linux.
 
  


Reply

Tags
pluma, slackware



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] Pluma install problems. globetrotterdk Slackware 10 02-10-2016 10:28 AM
Pluma 64-bit package for Slackware 14.1 newbie. globetrotterdk Slackware 5 02-03-2016 05:53 PM
having difficulty in installing procheck perky.nishi Linux - Software 2 08-05-2008 10:31 AM
Difficulty installing wxPython aregmi Linux - Software 2 05-29-2007 04:33 PM
Having difficulty installing GCC / g++ Erik_the_Red Programming 1 06-02-2005 08:35 AM

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

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