Menu

how to compile and install vacation on fedora

Help
s_keo
2008-01-08
2013-05-13
  • s_keo

    s_keo - 2008-01-08

    Please help...totally newbie here..

    Just downloaded the beta version of vacation source files.
    How do I go about compiling and installing it on fedora core 7 ?

    thanks for any help.

     
    • Chris Samuel

      Chris Samuel - 2008-01-13

      Hi there,

      I don't use Fedora, but it should be pretty simple.  Just extract the sources and then as yourself do:

      make

      Then to install it you'll need to run the following as root:

      make install

      The default for Linux is to install it into /usr (not /usr/local) but you can configure that in the Makefile.   The reason for that is that's the state it was in when I took it over and I've not got around to fixing it yet! :-(

      Let me know how it goes!

       
    • s_keo

      s_keo - 2008-01-13

      hi...tried that..
      this is the result that I got ...

      [root@mail vacation-1.2.7.0-beta4]# make install
      gcc  -Wall -DMAIN   -Xlinker -warn-common -D_PATH_VACATION=\"/usr/bin/vacation\" -o vacation vacation.c strlcpy.c strlcat.c rfc822.c -lgdbm
      vacation.c: In function ‘main’:
      vacation.c:143: error: duplicate case value
      vacation.c:140: error: previously used here
      make: *** [vacation] Error 1
      [root@mail vacation-1.2.7.0-beta4]# 

      Help ??

       
      • Chris Samuel

        Chris Samuel - 2008-01-14

        Yeah - that's completely my fault, it was logged as a bug but the SourceForge bug tracker did not email me about it and I missed it completely!  :-(

        I'm in the process of rolling 1.2.7.0-beta5 at the moment..

         
    • s_keo

      s_keo - 2008-01-15

      Hi Chris,
      thanks for the all the help.
      I believe vacation is working.
      only one glitch, which I'm sure you can help me with.

      when the autosend kicks in, instead of using my domain

      creativevisuals.com.au

      it uses

      keo@localhost.localdomain

      instead ???

      how do make it use my domain name ?
      where do I change this ?

      thanks in advance

       
      • Chris Samuel

        Chris Samuel - 2008-01-16

        Not a problem, glad to hear that it is working now!

        The localhost.localdomain is, I suspect, being generated by your locally installed MTA.

        You can override this with the -h option to vacation, which lets you specify a virtual domain.  So you would have "-h creativevisuals.com.au" added to the command in your .forward file.   I've never tried this option before, and have only just found it when I was looking through the source.

        I've also just noticed that this doesn't seem to be documented in the man page, could you log a bug on that under the "Tracker" menu option and I'll fix it.

        Let me know how you go.

        cheers!
        Chris

         
    • s_keo

      s_keo - 2008-01-16

      Hi, I kinda found an alternative.

      I changed the host file for
      127.0.0.1 and added creativevisuals.com.au

      to it and that seemed to work fine with vacation.

      so thanks for all your help.

      much appreciated.

       
      • Chris Samuel

        Chris Samuel - 2008-01-17

        Ahh, I've seen that before on other distros with other programs.

        If that's the only domain on the machine then you're probably OK, but in other situations you're best of sticking to the '-h' option (now in the manual page in subversion, will appear in the next release).

        Thanks!
        Chris

         

Log in to post a comment.

MongoDB Logo MongoDB