Slackware This Forum is for the discussion of Slackware Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-09-2014, 01:20 AM
|
#1
|
Member
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71
Rep:
|
ClamTK fails compilation at line 22
Running Slack 14.1 x86_64. clamav, clamsmtp, seem to work just fine. ClamTK fails saying 'cannot find Glib.pm @INC You may have to install Glib module) then gives a path description of what is meant by @INC. I always do a full install. Am I really missing a package?
|
|
|
04-09-2014, 01:52 AM
|
#2
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,418
|
where are you installing clamtk from? directly from sources?
looking on SlackBuilds.org, it has a lot of dependencies, the dependencies have other dependencies, and so on: in your case the error is because clamtk depends on perl-gtk2 that in turn depends on perl-pango that in turn depends on perl-glib (the object of the error).
http://slackbuilds.org/repository/14.1/system/clamtk/
all the dependencies needed (in the correct order) not in Slackware are these (this queue is generated with sqg)
Code:
libgnomecanvas
zenity
# %README%: see the clamav README file.
clamav
perl-extutils-pkgconfig
perl-extutils-depends
perl-glib
perl-cairo
perl-pango
perl-gtk2
perl-Time-Piece
perl-Text-CSV
perl-Net-LibIDN
Net-SSLeay
perl-IO-Socket-SSL
perl-Mozilla-CA
perl-www-robotrules
perl-net-http
perl-IO-HTML
perl-lwp-mediatypes
perl-http-date
perl-html-tagset
perl-html-parser
perl-encode-locale
perl-http-message
perl-http-negotiate
perl-http-daemon
perl-http-cookies
perl-file-listing
libwww-perl
perl-LWP-Protocol-https
perl-JSON
clamtk
Last edited by ponce; 04-09-2014 at 02:19 AM.
|
|
1 members found this post helpful.
|
04-09-2014, 06:14 AM
|
#3
|
Senior Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: CRUX
Posts: 1,503
|
thank you ponce 
|
|
|
04-09-2014, 06:31 AM
|
#4
|
Senior Member
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223
Rep: 
|
|
|
2 members found this post helpful.
|
04-09-2014, 05:57 PM
|
#5
|
Member
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71
Original Poster
Rep:
|
Actually have made a lot of progress e.g. Glib.pm now installed and found. Latest error is ClamTK cannot find LWP/UserAgent.pm in @INC (then path to what @INC means) ... but I have UserAgent.pm but it is in a subdirectory not on the path. Could I just put a symlink to it?
|
|
|
04-09-2014, 06:11 PM
|
#6
|
Member
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71
Original Poster
Rep:
|
Quote:
Originally Posted by ponce
where are you installing clamtk from? directly from sources?
|
installing from Slackbuilds.org.
Again, thanks for the help. This seems closer to being solved.
|
|
|
04-09-2014, 07:54 PM
|
#7
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Little known factoid...
If you have Perl's cpan program you can have it auto-install the extra modules by running:
Code:
cpan -i $name-of-module$
It's not exactly the Slackware/SlackBuild method, but it can work for modules of perl that don't have SlackBuilds.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 07:28 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|