LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-08-2006, 06:18 AM   #1
jamluv
LQ Newbie
 
Registered: May 2004
Distribution: RH 9
Posts: 19

Rep: Reputation: 0
Vacation Auto responder DB_File.pm Error


Am trying to install vacation on my red hat 9 system. when i intall the RPM its giving me the following when i send a messege:

Command died with status 2:
"/usr/local/bin/vacation -a alias username". Command output: Can't
locate DB_File.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .)
at
/usr/local/bin/vacation line 474. BEGIN failed--compilation aborted at
/usr/local/bin/vacation line 474.

I figured it needed the DB_File.pm so i tried to install the DB_File-1.814, but also getting an error:

cc -c -I/usr/local/BerkeleyDB/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.814\" -DXS_VERSION=\"1.814\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t version.c
version.c:30:16: db.h: No such file or directory
make: *** [version.o] Error 1

The only things i have done to the system lately is upgade Perlr to Version 5.8.8 and Spamassassin to version 3.1.7. I also upgraded Berkeley DB to ver 4.5.20.

I tried to download Vacation-1.2.6.2 from SourceForge.net and when i run make i get:


gcc -m486 -Wall -Xlinker -warn-common -D_PATH_VACATION=\"/usr/bin/vacation\" -o vacation vacation.c -lgdbm
`-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
vacation.c:74:18: gdbm.h: No such file or directory
In file included from vacation.c:85:
vacation.h:23: error: parse error before "db"
vacation.h:23: warning: type defaults to `int' in declaration of `db'
vacation.h:23: warning: data definition has no type or storage class
vacation.c: In function `main':
vacation.c:180: warning: implicit declaration of function `gdbm_open'
vacation.c:180: error: `GDBM_NEWDB' undeclared (first use in this function)
vacation.c:180: error: (Each undeclared identifier is reported only once
vacation.c:180: error: for each function it appears in.)
vacation.c:180: error: `GDBM_WRITER' undeclared (first use in this function)
vacation.c:196: warning: implicit declaration of function `gdbm_close'
vacation.c: In function `recent':
vacation.c:459: error: `datum' undeclared (first use in this function)
vacation.c:459: error: parse error before "key"
vacation.c:463: error: `key' undeclared (first use in this function)
vacation.c:465: error: `data' undeclared (first use in this function)
vacation.c:465: warning: implicit declaration of function `gdbm_fetch'
vacation.c: In function `setinterval':
vacation.c:489: error: `datum' undeclared (first use in this function)
vacation.c:489: error: parse error before "key"
vacation.c:491: error: `key' undeclared (first use in this function)
vacation.c:493: error: `data' undeclared (first use in this function)
vacation.c:495: warning: implicit declaration of function `gdbm_store'
vacation.c:495: error: `GDBM_REPLACE' undeclared (first use in this function)
vacation.c: In function `setreply':
vacation.c:504: error: `datum' undeclared (first use in this function)
vacation.c:504: error: parse error before "key"
vacation.c:507: error: `key' undeclared (first use in this function)
vacation.c:510: error: `data' undeclared (first use in this function)
vacation.c:512: error: `GDBM_REPLACE' undeclared (first use in this function)
make: *** [vacation] Error 1


Help please.
 
Old 12-10-2006, 01:09 PM   #2
zmanea
Member
 
Registered: Sep 2003
Location: Colorado
Posts: 85

Rep: Reputation: 15
What perl script are you using? Post a link to where you downloaded it. It sounds like you are missing some perl modules that can be installed from CPAN
 
Old 12-10-2006, 11:28 PM   #3
jamluv
LQ Newbie
 
Registered: May 2004
Distribution: RH 9
Posts: 19

Original Poster
Rep: Reputation: 0
I downloaded from CPAN.
 
  


Reply

Tags
vacation


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
vacation auto-reply plugin combilli Linux - Software 1 11-09-2006 12:25 PM
sendmail + vacation - error zivota Linux - General 0 07-29-2005 05:38 PM
vacation auto-reply .forward file summer669 Linux - Newbie 9 11-17-2004 02:51 PM
sendmail auto responder archangel Linux - Software 3 07-13-2004 11:49 AM
Vacation Auto reply elainepearl Linux - Software 0 07-17-2003 03:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:34 AM.

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