LinuxQuestions.org
Help answer threads with 0 replies.
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-09-2014, 12:20 AM   #1
The GNUinator
Member
 
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71

Rep: Reputation: 15
Angry 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?
 
Old 04-09-2014, 12:52 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
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 01:19 AM.
 
1 members found this post helpful.
Old 04-09-2014, 05:14 AM   #3
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
thank you ponce
 
Old 04-09-2014, 05:31 AM   #4
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
OP, you should really take a look at this http://slackblogs.blogspot.com.br/20...es-easily.html
 
2 members found this post helpful.
Old 04-09-2014, 04:57 PM   #5
The GNUinator
Member
 
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71

Original Poster
Rep: Reputation: 15
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?
 
Old 04-09-2014, 05:11 PM   #6
The GNUinator
Member
 
Registered: Oct 2006
Location: Fort Collins, CO
Distribution: Slackware 14.0, 14.1
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ponce View Post
where are you installing clamtk from? directly from sources?
installing from Slackbuilds.org.

Again, thanks for the help. This seems closer to being solved.
 
Old 04-09-2014, 06:54 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
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.
  


Reply

Tags
clamav



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
script fails but works fine when entered line-by-line in terminal misterjones Linux - General 3 11-14-2013 10:30 PM
[SOLVED] why does this progrm fails in compilation??:( mscoder Programming 2 07-23-2012 12:14 AM
Ubuntu C++ compilation fails khan.saleemahmed Ubuntu 1 07-01-2012 04:59 AM
End-of-line Characters missing from last line of md5 file. Md5sum fails mehorter Linux - General 5 06-29-2009 08:56 PM
module compilation fails taux Programming 1 02-23-2006 04:50 PM

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

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