I've just downloaded, configured and compiled a copy of 0.6.5, with no problems. I'm running SuSE 7.1 on this machine (glibc 2.2, gcc 2.95.2).
Looking at the make transcript you included, there appears to be something odd with the path:
make[1]: Entering directory `/!/vmail-0.6.5-devel'
What's the '/!/' part? In the Bash shell, '!' means 'logical NOT'.
The same line from my make transcript:
make[1]: Entering directory `/home/richard/vmail/vmail-0.6.5-devel'
Can I suggest you try the following:
Make sure the source tarball is in your home directory, then:
tar zxvf vmail-0.6.5-devel.tar.gz
cd ~/vmail-0.6.5-devel
./configure
make
And see what the result is.
I've been told by some developers that egcs-2.91.66 can occasionally be insane when compiling C++ code. You might also try upgrading to gcc 2.95.2. (But beware: IANAC++D :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I try to compile vmail (it doesn't matter what version it is) I get following:
make all-recursive
make[1]: Entering directory `/!/vmail-0.6.5-devel'
Making all in macros
make[2]: Entering directory `/!/vmail-0.6.5-devel/macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/!/vmail-0.6.5-devel/macros'
Making all in src
make[2]: Entering directory `/!/vmail-0.6.5-devel/src'
g++ -DHAVE_CONFIG_H -g -O -c array.cc
g++ -DHAVE_CONFIG_H -g -O -c queue.cc
g++ -DHAVE_CONFIG_H -g -O -c server.cc
g++ -DHAVE_CONFIG_H -g -O -c smtp.cc
smtp.cc: In method `char * SMTP_SESSION::sessionname()':
smtp.cc:432: `PATH_MAX' undeclared (first use this function)
smtp.cc:432: (Each undeclared identifier is reported only once
smtp.cc:432: for each function it appears in.)
smtp.cc:441: confused by earlier errors, bailing out
make[2]: *** [smtp.o] Error 1
make[2]: Leaving directory `/!/vmail-0.6.5-devel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/!/vmail-0.6.5-devel'
make: *** [all-recursive-am] Error 2
Do you know what may be the reason?
I have RedHat 6.2 with egcs-2.91.66 and glibc-2.1.1
I've just downloaded, configured and compiled a copy of 0.6.5, with no problems. I'm running SuSE 7.1 on this machine (glibc 2.2, gcc 2.95.2).
Looking at the make transcript you included, there appears to be something odd with the path:
make[1]: Entering directory `/!/vmail-0.6.5-devel'
What's the '/!/' part? In the Bash shell, '!' means 'logical NOT'.
The same line from my make transcript:
make[1]: Entering directory `/home/richard/vmail/vmail-0.6.5-devel'
Can I suggest you try the following:
Make sure the source tarball is in your home directory, then:
tar zxvf vmail-0.6.5-devel.tar.gz
cd ~/vmail-0.6.5-devel
./configure
make
And see what the result is.
I've been told by some developers that egcs-2.91.66 can occasionally be insane when compiling C++ code. You might also try upgrading to gcc 2.95.2. (But beware: IANAC++D :)