Menu

Error segmenttation when trying to make

Help
lolobt77
2009-06-12
2013-04-23
  • lolobt77

    lolobt77 - 2009-06-12

    Hi all,

    I am trying to compile this on linux ubuntu amd64 jaunty edition, on a laptop with 2gb memory, using ./configure don't seems to get any kind of error but the 'make' command send me back a segmentation fault which is reporting a lrint issue ??
    Is there anyone to help me figure it out ?
    Thanks by advance.

     
    • Paul Edwards

      Paul Edwards - 2009-06-12

      I don't see any "lrint" in any file in bwbasic.

      Did you get a coredump? What happens when you go:

      file core

      make should have given some more diagnostics.  Please
      show them.

      Also, which version are you trying to build? Latest
      is 2.50, but try building on 2.40 as well, in case
      a problem was introduced (looking at the changes, I
      don't see how).

      BFN.  Paul.

       
    • lolobt77

      lolobt77 - 2009-06-12

      Paul,

      I apologize for my mistake, it was not bwbasic, indeed.
      But with bwbasic 2.50 i can not get throught ./configure also on 2.40 version.
      It sounds like it doesn't want using bash anymore instead of sh ?
      here what i get below after trying to ./configure :
      : not found: 5:
      : not found: 10:
      : not found: 15:
      : not found: 19:
      : not found: 24:
      : not found: 29:
      ./configure: 30: Syntax error: Bad for loop variable

      Thanks by advance.

       
      • Paul Edwards

        Paul Edwards - 2009-06-12

        So what ended up being the problem with the coredump then?

        Anyway, I'm not familiar with configure either, but it
        seems that the first non-comment line of the script is
        being failed.

        Can you try making a copy of "configure" and stripping
        it down to just:

        for arg
        do
          echo hi $arg
        done

        to see what that produces?

        BFN.  Paul.

         
    • lolobt77

      lolobt77 - 2009-06-13

      Paul,

      Thanks again...
      So anyway, i have done it and that's what i get in return :

      root@samourai:/home/laurent/Documents/basic/bwbasic5# ./configure
      bash: ./configure : /bin/sh^M : mauvais interpréteur: Aucun fichier ou dossier de ce type
      root@samourai:/home/laurent/Documents/basic/bwbasic5#

      It is not that last character '^M' which could make this issue ? or is really bash which is wrong ?

      And when i am doing this : sh ./configure, i get that :
      : not found: 5:
      : not found: 10:
      : not found: 15:
      : not found: 19:
      : not found: 24:
      these line numbers are only spaceline between file's beginning.

      for information, bash i use :

      GNU bash, version 3.2.48(1)-release (x86_64-pc-linux-gnu)
      Copyright (C) 2007 Free Software Foundation, Inc.

      but when i invoque sh, the link makes it pointed to dash version 0.5.4-12ubuntu2

      Best regards.

       
      • Paul Edwards

        Paul Edwards - 2009-06-13

        Simple. The zip file is in MSDOS format. So when
        you unzip it on a Unix system, you should convert
        it to Unix format.

        unzip -aa bwbasic-2.50.zip

        should do the trick.

        BFN.  Paul.

         
    • lolobt77

      lolobt77 - 2009-06-14

      Paul,

      THANKS A LOT!!!!! YOU ARE A GOD !!

      And also thanks spending your time helping me on that.

      It works so fine.

      Thanks and thanks again.

      King regards.

       

Log in to post a comment.