#588 closed Bug / Defect (worksforme)
config.status: error: could not create version.sh
Reported by: | dogbert2 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Building / Compiling | Version: | OpenVPN 2.3.5 (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | division by zero |
Cc: |
Description
While building OpenVPN 2.3.7 on Fedora 22 Server, I received the following error during ./configure:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating version.sh
gawk: ./conffDjlFi/subs.awk:96: fatal: division by zero attempted
config.status: error: could not create version.sh
here is the configure line I used:
./configure LZO_CFLAGS="-I/usr/local/include/lzo/" LZO_LIBS="-L/usr/local/lib/" OPENSSL_SSL_CFLAGS="-I/usr/local/ssl/include/" OPENSSL_SSL_LIBS="-L/usr/local/ssl/lib/" OPENSSL_CRYPTO_LIBS="-L/usr/local/ssl/" OPENSSL_CRYPTO_CFLAGS="-I/usr/local/ssl/include/"
OpenSSL build is 1.0.2d (from source tarball) - successful
LZO build is 2.0.9 (from source tarball) - successful
Attachments (2)
Change History (7)
Changed 10 years ago by
Attachment: | openvpn-config.log added |
---|
comment:1 Changed 10 years ago by
2.3.7 or 2.3.6? your config log talks about 2.3.6 - but besides that, is not showing the actual error...
Can you please attach the "config.status" script generated to the trac?
(As a side note: the issue might be caused by your "...LIBS" and "...INCLUDE" settings having a trailing "/" - it should be just "-I/usr/local/include/lzo" etc.)
comment:2 Changed 10 years ago by
It is version 2.3.6, and it produces the same error with or without the trailing slashes on the ./configure line.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating version.sh
gawk: ./confz4fiYP/subs.awk:96: fatal: division by zero attempted
config.status: error: could not create version.sh
comment:3 Changed 10 years ago by
I tried this with version 2.3.8 just downloaded, success on configure...appears to be an issue linked to 2.3.6, it would appear. I am doing 'make' on 2.3.8 as I write this.
comment:4 Changed 10 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Very strange. But if it works on 2.3.8, we don't *really* care to track down obscure autoconf bugs...
(We do test on a number of different linux and BSD versions, and different autoconf versions, so it's not like we just shipped 2.3.6 with a broken configure...)
config.log file for bug-report