Build fails on SuSE 8.1
Simon Beaumont
seb at bluewater.eu.com
Thu Nov 28 14:55:26 CET 2002
Simon Beaumont wrote:
>
> Hi Denys,
>
> Got the mozart-1-2-0-gcc-3-2 source and configure fails telling me that
> the c++ version cannot be detected!
>
>
>> checking c++ version is at least 2.7... no (cannot find version)
>> configure: error:
>> configure found the GNU C++ compiler c++ version
>> but version 2.7 or higher is required to build the
>> system. It can be retrieved from:
>>
>> ftp://ftp.gnu.org/pub/gnu/
>>
>> The latest version at this time is 2.95.2 and is available
>> packaged as the following archive:
>>
>> gcc-2.95.2.tar.gz
>>
>> You may find a mirror archive closer to you by consulting:
>>
>> http://www.gnu.org/order/ftp.html
>>
>> configure: error: /usr/local/src/mozart/platform/emulator/configure
>> failed for emulator
>> configure: error: /usr/local/src/mozart/platform/configure failed for
>> platform
>
>
>
>> [seb at omega mozart]$ c++ -version
>> c++: unrecognized option `-version'
>> c++: no input files
>> [seb at omega mozart]$ c++ --version
>> c++ (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
>> Copyright (C) 2002 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions. There
>> is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>
>
> -
> Please send submissions to users at mozart-oz.org
> and administriva mail to users-request at mozart-oz.org.
> The Mozart Oz web site is at http://www.mozart-oz.org/.
And I think the reason is that ./platform/emulator/configure when
parsing the version string from gcc assumes there is a nl after the
version stuff in brackets at the (end of line) which is true - however
the variable assignment seems to trim all but the last new line! So the
test fails.
What has changed here? Perlpexed...
Ciao,
Simon
-
Please send submissions to users at mozart-oz.org
and administriva mail to users-request at mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.
More information about the mozart-users
mailing list