[openssl.org #96] bug in config script (gcc 3.1)

2002-06-16 Thread Lutz Jaenicke via RT
Ok, I have finally changed the gcc-recognition in config to use the -dumpversion flag. Case closed :-) Best regards, Lutz __ OpenSSL Project http://www.openssl.org Development Mailing Lis

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-15 Thread Allen Hopkins
I agree that simply using -dumpversion makes more sense, on the assumption that it will always only output the number. "--version" appears to be intended to be human-readable, not machine-readable, and its format may change at any time, as it just did. Why keep adding sed commands that say, "oh,

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-15 Thread Richard Levitte - VMS Whacker via RT
In message <[EMAIL PROTECTED]> on Fri, 14 Jun 2002 21:14:43 +0200 (METDST), "Lutz Jaenicke via RT" <[EMAIL PROTECTED]> said: rt> Richard: you seem to have a beta version of 3.1.1 around. Will its rt> output for -dumpversion somehow fit into the model? : ; gcc -dumpversion 3.1.1 I see no pro

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-14 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Fri, 14 Jun 2002 21:14:43 +0200 (METDST), "Lutz Jaenicke via RT" <[EMAIL PROTECTED]> said: rt> Richard: you seem to have a beta version of 3.1.1 around. Will its rt> output for -dumpversion somehow fit into the model? : ; gcc -dumpversion 3.1.1 I see no prob

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-14 Thread Allen Hopkins via RT
I agree that simply using -dumpversion makes more sense, on the assumption that it will always only output the number. "--version" appears to be intended to be human-readable, not machine-readable, and its format may change at any time, as it just did. Why keep adding sed commands that say, "oh,

[openssl.org #96] bug in config script (gcc 3.1)

2002-06-14 Thread Lutz Jaenicke via RT
Different solutions have been proposed and I am not sure whether the currently checked in version will finally work. I am not sure for how long -dumpversion was supported (at least since 1994 as was reported) and I strongly consider to use -dumpversion. Richard: you seem to have a beta version

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-14 Thread Allen Hopkins
Richard- Strange. I guess it's time to compare what we're looking at. I'm running on a Sun Ultra-60 w/ SunOS 5.8. I downloaded openssl-0.9.6d.tar.gz from http://www.openssl.org/source/. I then ran the following command: ./config --prefix=/usr/local/openssl-0.9.6d \ --op

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-14 Thread Allen Hopkins via RT
Richard- Strange. I guess it's time to compare what we're looking at. I'm running on a Sun Ultra-60 w/ SunOS 5.8. I downloaded openssl-0.9.6d.tar.gz from http://www.openssl.org/source/. I then ran the following command: ./config --prefix=/usr/local/openssl-0.9.6d \ --o

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-14 Thread Allen Hopkins via RT
I'm afraid this was not a fix. Have you tried it with gcc-3.1? I encountered this problem with the 0.9.6d snapshot. The output of "gcc --version" with gcc version 3.1 is this (not including the lines of hyphens): gcc (GCC) 3.1 Copyright (C) 2002 Free Software Foundation, Inc. This

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-14 Thread Richard Levitte - VMS Whacker via RT
In message <[EMAIL PROTECTED]> on Thu, 13 Jun 2002 14:52:11 -0700, Allen Hopkins <[EMAIL PROTECTED]> said: allenh> I'm afraid this was not a fix. Have you tried it with gcc-3.1? allenh> I encountered this problem with the 0.9.6d snapshot. I tried it just now, GCCVER becamse 31, and my output

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-14 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Thu, 13 Jun 2002 14:52:11 -0700, Allen Hopkins <[EMAIL PROTECTED]> said: allenh> I'm afraid this was not a fix. Have you tried it with gcc-3.1? allenh> I encountered this problem with the 0.9.6d snapshot. I tried it just now, GCCVER becamse 31, and my output w

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-14 Thread Allen Hopkins
I'm afraid this was not a fix. Have you tried it with gcc-3.1? I encountered this problem with the 0.9.6d snapshot. The output of "gcc --version" with gcc version 3.1 is this (not including the lines of hyphens): gcc (GCC) 3.1 Copyright (C) 2002 Free Software Foundation, Inc. This

[openssl.org #96] bug in config script (gcc 3.1)

2002-06-13 Thread Richard Levitte via RT
I went for a different solution. Since the problem was the sed that takes away all the crap before the version number, I changed it to have the dash be part of the character set to remove instead of having it as a mandatory character after said set. That should resolve this ticket. Reopen

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-13 Thread Tim Rice
On Thu, 13 Jun 2002, Lutz Jaenicke via RT wrote: > > [[EMAIL PROTECTED] - Thu Jun 13 08:34:54 2002]: > > > The "config" script needs to use "gcc -dumpversion" > > instead of "gcc --version" to determine the gcc version. > > gcc-3.1 outputs a bunch of text with "--version", but > > just the number

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-13 Thread ross . alexander
| | cc: [EMAIL PROTECTED] | | Subject: [openssl.org #96] bug in config script (gcc 3.1) | >-| [[EMAIL PROTECTED]

Re: [openssl.org #96] bug in config script (gcc 3.1)

2002-06-13 Thread ross . alexander
| cc: [EMAIL PROTECTED] | | Subject: [openssl.org #96] bug in config script (gcc 3.1) | >-| [[EMAIL PROTECTE

[openssl.org #96] bug in config script (gcc 3.1)

2002-06-12 Thread Lutz Jaenicke via RT
[[EMAIL PROTECTED] - Thu Jun 13 08:34:54 2002]: > The "config" script needs to use "gcc -dumpversion" > instead of "gcc --version" to determine the gcc version. > gcc-3.1 outputs a bunch of text with "--version", but > just the number with "-dumpversion", which also works for > gcc-2.95. Sounds