#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Location
    Fountain Valley, CA
    Posts
    20
    Rep Power
    0

    errors when installing vpopmail


    I'm trying to install qmail with the help of www.qmailrocks.org and have run into a problem. I keep getting the following error when I try to run the make command on Vpopmail (Part 6)

    root@famvans:/downloads/qmailrocks/vpopmail-5.2.1# make
    make all-recursive
    make[1]: Entering directory `/downloads/qmailrocks/vpopmail-5.2.1'
    Making all in cdb
    make[2]: Entering directory `/downloads/qmailrocks/vpopmail-5.2.1/cdb'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/downloads/qmailrocks/vpopmail-5.2.1/cdb'
    make[2]: Entering directory `/downloads/qmailrocks/vpopmail-5.2.1'
    gcc -I. -Icdb -g -O2 -Wall -c vconvert.c
    In file included from vconvert.c:35:
    vmysql.h:53:22: missing terminating " character
    vmysql.h:60:35: missing terminating " character
    make[2]: *** [vconvert.o] Error 1
    make[2]: Leaving directory `/downloads/qmailrocks/vpopmail-5.2.1'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/downloads/qmailrocks/vpopmail-5.2.1'
    make: *** [all-recursive-am] Error 2
    root@famvans:/downloads/qmailrocks/vpopmail-5.2.1#

    What do you guys think is going on?
    I'm running Knoppix/Debian linux

    Michael
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    root@famvans:/downloads/qmailrocks/vpopmail-5.2.1# make
    No effort doesn't help at all. You can't just run make, there are a dozen of other steps that you have left out. So read the README or INSTALL file.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Location
    Fountain Valley, CA
    Posts
    20
    Rep Power
    0
    I may not know a lot about linux but I know how to follow directions. Here are the directions from the page

    From: http://www.qmailrocks.org/vpopmail.htm

    "So let's install it...

    cd /path/to/qmailrocks

    tar zxvf vpopmail-5.2.1.tar.gz

    cd vpopmail-5.2.1

    ./configure --enable-logging=p

    make

    make install-strip

    If you don't get any errors, then Vpopmail is good to go!"

    Well I get errors and here I am.


    MICHAEL
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    Just ./configure --enable-logging=p doesn't do any good, the default config options just don't work most of the time, there are couple dozen options and you need to understand each of them.
    I don't care what qmailrocks.org says. If you look at your error again, it has something to do with mysql, either it wasn't installed or configured probably or was installed to a non-standard location.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    2
    Rep Power
    0

    Patch for vmysql.h error


    Michael.,

    I've just published a patch for that error. The error is usually the result of using an incompatible version of the GCC compiler. You can patch Vpopmail with the patch now available on Qmailrocks.org and that should fix the problem and allow you to successfully compile Vpopmail.

    The patch can be found at: http://www.qmailrocks.org/downloads/...s/vmysql.patch

    Directions for applying the patch can be found at http://www.qmailrocks.org/vpopmail.htm

    Hope this helps,
    Qmailrocks.org
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    2
    Rep Power
    0
    Hi, I ran the patch and am still having errors when I run make. I am indeed very much a newbie when it comes to linux, but I've followed all the directions and everything's worked out fine up to this point. I'm running redhat 9. I would greatly appreciate any help that anyone has to offer. Here's what I get when I run make after running the patch.

    make all-recursive
    make[1]: Entering directory `/package/vpopmail-5.2.2'
    Making all in cdb
    make[2]: Entering directory `/package/vpopmail-5.2.2/cdb'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/package/vpopmail-5.2.2/cdb'
    make[2]: Entering directory `/package/vpopmail-5.2.2'
    gcc -g -O2 -Wall -o vchkpw vchkpw.o libvpopmail.a -L/usr/lib/mysql -lmysqlcl
    ient -lz -lnsl -lcrypt -lz -lm
    /usr/bin/ld: cannot find -lmysqlclient
    collect2: ld returned 1 exit status
    make[2]: *** [vchkpw] Error 1
    make[2]: Leaving directory `/package/vpopmail-5.2.2'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/package/vpopmail-5.2.2'
    make: *** [all-recursive-am] Error 2


    I think it mus have something to do with the mysql database, but I'm not sure what...?
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    2
    Rep Power
    0

    vpopmail error


    Michael,

    Do you have mysql installed on your server? If not, install mysql client and server. Also, when you try to install vpopmail, make sure that you delete the current vpopmail source directory and then unpack the tarball to get a nice fresh installation.

    rm -rf /package/vpopmail-5.2.2

    tar zxvf vpopmail-5.2.2.tar.gz

    If you still can't get it installed right, go to qmailrocks.org, send me an e-mail and I'll see what I can do to help.

    Thanks,
    QMR

IMN logo majestic logo threadwatch logo seochat tools logo