Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: cngordon on July 22, 2009, 01:36:23 PM

Title: Vacation Autoresponder - Make
Post by: cngordon on July 22, 2009, 01:36:23 PM
Trying to install the Vacation Auto Responder by PeterRuiter.  First step is to install the Vacation Program

I've never used the compiler before and i don't really see the included doc files how to do that.
I un-tarred the files into /usr/src/vacation-1.2.7.0.

When i issue the command "make" i get:
[root@mailserver vacation-1.2.7.0]# make
gcc  -g -Wall -DMAIN   -Xlinker -warn-common -D_PATH_VACATION=\"/usr/local/bin/vacation\" -o vacation vacation.c strlcpy.c strlcat.c rfc822.c -lgdbm
make: gcc: Command not found
make: *** [vacation] Error 127

If i issue the command "make -f Makefile" i get the same results.

In the Makefile is:
# PREFIX for Linux
PREFIX          = /usr/local
endif

# where things go
BINDIR          = $(PREFIX)/bin
VACATION        = $(BINDIR)/vacation
VACLOOK         = $(BINDIR)/vaclook
MANDIR          = $(PREFIX)/man/man
MANEXT1         = 1

/usr/local/bin/vacation does not exist, should i be creating that directory as well as it's sub-dirs ?

OR, anyone happen to have made an RPM compatible with Fedora 11 ?

Cal G (http://sourceforge.net/projects/vacation/)
Title: Vacation Autoresponder - Make
Post by: cngordon on July 22, 2009, 05:41:24 PM
ha, "yum install gcc" fixed the problem.

Compiles now except for the man page.

[root@mailserver vacation-1.2.7.0]# make
gcc -g -Wall -DMAIN -Xlinker -warn-common -D_PATH_VACATION=\"/usr/local/bin/vacation\" -o vacation vacation.c strlcpy.c strlcat.c rfc822.c -lgdbm

[root@mailserver vacation-1.2.7.0]# make install
install -s -m 755 vacation /usr/local/bin/vacation
install -m 755 vaclook /usr/local/bin/vaclook
./html2man.pl < vacation.html > /usr/local/man/man1/vacation.1
/bin/sh: /usr/local/man/man1/vacation.1: No such file or directory
make: *** [install] Error 1