hellkvist.org Forum Index hellkvist.org
Discussions about the free software on hellkvist.org
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

recmail.pl problem

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur
View previous topic :: View next topic  
Author Message
elusiya



Joined: 18 Aug 2004
Posts: 3

PostPosted: Wed Aug 18, 2004 10:54 am    Post subject: recmail.pl problem Reply with quote

send mms directly works well.

but when i use email interface i get following error in recmail.log
--------------------------------------------
install_driver(mysql) failed: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at (eval 1) line 3
Compilation failed in require at (eval 1) line 3, <STDIN> line 16.
Perhaps a module that DBD::mysql requires hasn't been fully installed
----------------------------------------

but if i pipe email to recmail.pl directly:
cat email | perl recmail.pl
it works well

is there anybody can help me?
thx
Back to top
View user's profile Send private message
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Wed Aug 18, 2004 12:26 pm    Post subject: Reply with quote

My guess would be that you have two different perl installations in your system (one located at the place specified in first line of recmail.pl and one in your path). If it works with the one in your path you should use that one instead.
Back to top
View user's profile Send private message Visit poster's website
elusiya



Joined: 18 Aug 2004
Posts: 3

PostPosted: Wed Aug 18, 2004 3:46 pm    Post subject: just one perl version Reply with quote

there are not two version.

cat email.txt | /usr/bin/perl /home/mms/recmail.pl
cat email.txt | perl /home/mms/recmail.pl
both can get right result

but process throught .procmailrc, GET ERROR
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Aug 18, 2004 4:56 pm    Post subject: Reply with quote

Sorry, can't help you then. I have no idea why the mysql driver would be missing when it's run by procmail and not otherwise.
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group