Hi all,
I have GPC 2.1 20020510 installed from source on a Sun solaris 2.8 machine with all the associated pre-requisites with gcc 2.95.3
I am now trying to install the alpha version of GPC 2.1 20030830 on the same machine. I am using all the same pre-requisites and the same copy of gcc 2.95.3 I am getting a problem with this compilation at teh configure stage. When I run
configure --prefix=/opt/ACMLgpc --enable-languages=pascal
with the alpha version, I get an error message just after I confirm the action to patch the source:
*** *** Detected GCC version 2.95.3. *** GPC 2.1 requires a patch to GCC to build with version 2.95.3. *** This patch will now be applied. *** Press ENTER to continue, Ctrl-C to abort. ***
*** Creating dummy ./p/Makefile.in ./configure: syntax error at line 8403: `fi' unexpected Configure in /opt/ACMLgpc/src/gcc-2.95.3/gcc failed, exiting.
Has anyone seen this error message? Any idea how to fix it?
Regards,
Phil
----------------------------------------- The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions. If you, as the intended recipient of this message, the purpose of which is to inform and update our clients, prospects and consultants of developments relating to our services and products, would not like to receive further e-mail correspondence from the sender, please "reply" to the sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New York, NY 10105.
Armsdon, Phil wrote:
I have GPC 2.1 20020510 installed from source on a Sun solaris 2.8 machine with all the associated pre-requisites with gcc 2.95.3
I am now trying to install the alpha version of GPC 2.1 20030830 on the same machine. I am using all the same pre-requisites and the same copy of gcc 2.95.3 I am getting a problem with this compilation at teh configure stage. When I run
configure --prefix=/opt/ACMLgpc --enable-languages=pascal
with the alpha version, I get an error message just after I confirm the action to patch the source:
*** Detected GCC version 2.95.3. *** GPC 2.1 requires a patch to GCC to build with version 2.95.3. *** This patch will now be applied. *** Press ENTER to continue, Ctrl-C to abort.
*** Creating dummy ./p/Makefile.in ./configure: syntax error at line 8403: `fi' unexpected Configure in /opt/ACMLgpc/src/gcc-2.95.3/gcc failed, exiting.
Has anyone seen this error message? Any idea how to fix it?
This problem might arise because GPC's config-lang.in patches the configure script which is just running. (This seems to depend on the internals of the shell -- when I wrote and tested it with Linux and bash, I didn't see such a problem.)
It is a kind of chicken and egg problem, but it only affects gcc-2.95 and only when configuring the first time after extracting the GCC sources, so if you start again at configure, it might just work.
I don't consider it high priority, since gcc-2.x support is going to fade out anyway. Which also means, if you have no particular reason to use gcc-2.x, I suggest you try a gcc-3.x version instead (currently recommended: gcc-3.2.3) where this problem shouldn't arise at all.
Frank