[M3devel] trouble installing on a Debian lenny system.

Olaf Wagner wagner at elegosoft.com
Wed Apr 9 09:05:49 CEST 2008


Quoting hendrik at topoi.pooq.com:

> On Wed, Apr 09, 2008 at 01:00:20AM +0000, Jay wrote:
>> Right.
>> This is a normal symptom of using an "old" compiler to compile   
>> current source.
>> You must first build a new compiler against an old runtime (which   
>> you must get from "somewhere", such as an existing older install),   
>> then use that to build a new runtime.
>>
>>   scripts/upgrade.sh
>>   scripts/python/upgrade.py
>>   scripts/win/upgrade.cmd
>>
>> should all handle the "dance" for you.
>>
>>  - Jay
>
> Except I don't *have* a working old runtime.  I've mentioned my
> experiences with
> ../cm3-min-POSIX-LINUXLIBC6-d5.7.0-2008-04-08-14-00-05.tgz
> in another post.  I acquired it in the hope that it wouldn't be an old
> runtime.

Three short notes:

  o cminstall didn't find the non-existent libraries, it just checked
    the existence of a directory:

      checking for library files in directory /usr/local/lib... not found
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
      checking for directory /usr/lib... found
               ^^^^^^^^^^^^^

  o Your compiler didn't have LONGINT support, so you need to use
    upgrade.sh. This should be documented (I think it is), as the
    introduction of LONGINT was an incompatible change wrt.
    bootstrapping.

  o cm3-min-POSIX-LINUXLIBC6-d5.7.0-2008-04-08-14-00-05.tgz
    should contain a new compiler and a new runtime, so there's
    no need for bootstrapping cm3, only normal package compilation.
    Realclean is required though to remove old derived files.

Olaf
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list