deanproxy / eMail

Command line SMTP client
https://www.deanproxy.com/code
GNU General Public License v2.0
135 stars 46 forks source link

error: You MUST specify the --version flag #6

Closed rasa closed 9 years ago

rasa commented 11 years ago

Dean,

http://www.cleancode.org/projects/email states:

git clone --recursive https://github.com/deanproxy/eMail.git
cd eMail
./configure
make
make install

should work, but on Ubuntu 12.10, make install reports:

./install.sh --bindir "/usr/local/bin" --sysconfdir "/usr/local/etc" \
                --mandir "/usr/local/share/man" --binext "" --version "" \
        --docdir "/usr/local/share/doc/"
error: You MUST specify the --version flag
make: *** [install] Error 2`

If I install from http://www.cleancode.org/downloads/email/email-3.1.3.tar.gz , I do not have this issue.

Best,

Ross

deanproxy commented 11 years ago

Hey Ross!

I bet if you do a ./make_dist 3.1.4 -b and then the commands you showed above, it would work out. I'll have to fix that problem...

On Mon, May 20, 2013 at 2:48 PM, Ross Smith II notifications@github.comwrote:

Dean,

http://www.cleancode.org/projects/email states:

git clone --recursive https://github.com/deanproxy/eMail.git cd eMail ./configure make make install

should work, but on Ubuntu 12.10, make install reports:

./install.sh --bindir "/usr/local/bin" --sysconfdir "/usr/local/etc" \ --mandir "/usr/local/share/man" --binext "" --version "" \ --docdir "/usr/local/share/doc/" error: You MUST specify the --version flag make: *\ [install] Error 2`

If I install from http://www.cleancode.org/downloads/email/email-3.1.3.tar.gz , I do not have this issue.

Best,

Ross

— Reply to this email directly or view it on GitHubhttps://github.com/deanproxy/eMail/issues/6 .

npinchot commented 11 years ago

I gave that make_dist command a try, expanded the resulting dist/email-3.1.4.tar.gz file into another location, ran ./configure, make and make install for the new location and still got the same error :(

I was able to get it installed by editing install.sh and changing line 90 from VERSION="" to VERSION="3.1.4" :)

deanproxy commented 11 years ago

Interesting. I'll take a look at it tonight and try to get it fixed up.

npinchot commented 11 years ago

No worries, don't rush on my part. Just wanted to report back and give a workaround for anybody else who's stuck :)

deanproxy commented 11 years ago

Definitely appreciate the help!

Boort commented 10 years ago

Hello Dean,

I ran into the same problem on Ubuntu v14.04.1 with version 3.2.0-git that I pulled down today.

I used the same fix as npinchot posted above but on line 91.

Thank you for a great program. Boort

deanproxy commented 9 years ago

Fixed Makefile to pull version from VERSION file.