Menu

Linux Install Help

2022-04-10
2022-09-25
<< < 1 2 (Page 2 of 2)
  • stan cartwright

    stan cartwright - 2022-04-13

    I should have become a linux expert before trying this. ..no. it should be easy and probably is but not on my hardware and os. No worry, it will be sorted, you got it working with rpi2 & 3.

    I thought screenshots explained things and it's a button on the taskbar called screenshot with selection options so no prob on rpi and that's the subject not general linux.
    The screenshots from the rpi400 os with a mouse click.
    They show where gcb is and where the install.sh is but it's just the file editor opened many times in separate resized windows.

    I think there's problem somewhere with rpi 4/400 . It has not gone well for me so enough!
    sod linux

    sorry . gcb for coding , not headaches. Love it on win,,, not linux , sorry, too many problems.

     

    Last edit: stan cartwright 2022-04-13
  • mmotte

    mmotte - 2022-04-13

    Ok, that screenshot did tell us the error.
    Directory already exists!
    can we assume that it tried to install earlier , made the directory, but failed to complete the install?

    Now we need the next screen shot of the /opt/GCBASIC directory from Terminal.
    Get your terminal hands on!
    On Terminal type: cd \ return return
    Now are we going to argue about which key is "return" is it the "enter" key, yes
    That is the beginning point.
    On Term type: cd ..
    OTT: ls
    says home
    OTT: cd ..
    OTT: ls
    now your in root and all the root directories are there
    OTT: cd opt
    OTT: ls
    see the GCBASIC directory
    OTT: cd GCBASIC
    OTT: ls
    now you see what we need a screenshot of
    Mine says this:
    (base) mmotte@mmotte-OptiPlex-990:/opt/GCBASIC$ ls
    chipdata gcbasic messages-es.dat reservedwords.dat
    commands.dat include messages-fr.dat reservedwords.txt
    converters makeasm.sh messages-it.dat sample_gcbasic.ini
    demos makehex.sh messages-tk.dat snippets
    documentation messages-br.dat preprocess.awk syntoolbars.ini
    firstrun.dat messages.dat programmer_editor.txt version.txt
    flash.sh messages-de.dat release_list.txt
    (base) mmotte@mmotte-OptiPlex-990:/opt/GCBASIC$

    Directories are in blue: chipdata, converters,demos,documentation,include,snippets
    Executables are in green: flash.sh, gcbasic, makeasm.sh, makehex.sh,
    Plain ones are just files.

    Now take a screen shot of it! and send that back. Something is missing OR something is not executable. We need to see what you got! actually "longlist" "ll" would be better yet
    OTT: ll

     
  • stan cartwright

    stan cartwright - 2022-04-13

    I got nowhere, just error messages.
    Maybe rename everything and start again from unrared gcb.

     
  • mmotte

    mmotte - 2022-04-13

    Just shows me that you can't copy exact commands. You went the wrong place!

    first you found that "cd.." it thought was a file to execute in bash.
    then you found that "cd .." takes you down one position on the directory tree good.
    But where did you start from? from pi directory
    So you ended in "home" directory which is one directory from where you should have went.
    You should have one more "cd .." which takes you to root directory which is "$"

    so start over!
    where ever you are?
    On Terminal type: cd \ <return>< return>
    Now are we going to argue about which key is "return" is it the "enter" key, yes
    That is the beginning point. Your in "pi" directory on your machine!
    On Term type: cd ..
    OTT: ls
    says " home" YOU got this far!
    OTT: cd ..
    OTT: ls
    now your in root and all the root directories are there .. Should look something like this!</return>

    (base) mmotte@mmotte-OptiPlex-990:/$ ls
    bin home lib64 opt snap tmp
    boot initrd.img libx32 proc srv usr
    cdrom initrd.img.old lost+found root swapfile var
    dev lib media run sys vmlinuz
    etc lib32 mnt sbin timeshift vmlinuz.old

    see the opt , that is a directory, you can go there, by:
    OTT: cd opt
    OTT: ls

    Now you should see the opt directory.
    (base) mmotte@mmotte-OptiPlex-990:/opt$ ls
    

    GCBASIC GCBASIC_old_old Python-3.8.12
    GCBASIC_old pycharm-community-2020.3.2 zoom

    see   GCBASIC which is in capitals,   remember linux is unforgiving, very case sensitive, don't get bit.
    

    see the GCBASIC directory, you can go there with this:

    OTT: cd GCBASIC
    OTT: ls
    Now we can see what we need a picture of.

     
  • stan cartwright

    stan cartwright - 2022-04-14

    Thanks for your patience. I don't want to piss anyone off.
    On Terminal type: cd \ return return
    could be clearer if --- On Terminal type: cd \ --- press Enter twice.
    I'm not getting the same results as you. What's cd opt mean please?
    see the GCBASIC directory
    OTT: cd GCBASIC.. it's gcbasic on my rpi but changing makes no difference.
    I'm going to seach
    bin home lib64 opt snap tmp
    boot initrd.img libx32 proc srv usr
    cdrom initrd.img.old lost+found root swapfile var
    dev lib media run sys vmlinuz
    etc lib32 mnt sbin timeshift vmlinuz.old

    I'll search for these files from the Thunar file manager.
    I hope this is resolved for other users if there's a problem.... I just copy and paste the linux gcb install to the Xfce Terminal Terminal Emulator.

    This doesn't work for me sorry.
    On Terminal type: cd \ return return
    Now are we going to argue about which key is "return" is it the "enter" key, yes
    That is the beginning point.
    On Term type: cd ..
    OTT: ls
    says home
    OTT: cd ..
    OTT: ls
    now your in root and all the root directories are there
    OTT: cd opt
    OTT: ls
    see the GCBASIC directory
    OTT: cd GCBASIC
    OTT: ls
    now you see what we need a screenshot of

     
  • stan cartwright

    stan cartwright - 2022-04-14

    Retried again and got this, which seems more like what you expected. Any help?

     
  • mmotte

    mmotte - 2022-04-14

    Yay!!! You got there! Good work.

    It has been frustrating for both you and me!

    Now the bad news is it looks exactly right. "gcbasic" is green so it is executable.
    all the support directories are there.
    the calling scripts are there. flash.h, makeasm.sh, and makehex.sh

    so you have done it once. gotten to this exact spot. if not there , please go there again.
    We are going to see if the gcbasic is not on "path".

    so at the prompt /opt/GCBASIC $
    type
    gcbasic and hit the <enter> key</enter>

    it should give the gcbasic version and all the switch options
    
    If it works here then we only need to fix the path.
    
    gcbasic             'only (lower case)
    
     
  • stan cartwright

    stan cartwright - 2022-04-14

    I left the terminal open to go back to.

    so at the prompt /opt/GCBASIC $
    type
    gcbasic and hit the <enter> key</enter>
    I get-
    pi@raspberrypi:/opt/GCBASIC $ gcbasic
    bash: gcbasic: command not found
    pi@raspberrypi:/opt/GCBASIC $

     
  • stan cartwright

    stan cartwright - 2022-04-14

    is the install my fault as I just copied/pasted everything from gcb linux rpi sourceforge?
    It would be nice to compare my efforts with someone else's for gcb/lnux/rpi

     
  • mmotte

    mmotte - 2022-04-15

    That is disappointing. It should of worked. It was green.

    At this point I would try two different things:
    1) chmod +x gcbasic from that directory /opt/GCBASIC
    then try running it again
    gcbasic
    if it runs then your good

    2) back out to the /opt directory remember cd ..
    sudo del GCBASIC
    this should wipe out the GCBASIC directory and everything in it
    check by looking at the directory
    ls
    you should not see GCBASIC now.

         so you can go back and follow the install instructions
         the second part  
         cd  \    press return twice
         drill down to    GCB@Syn/GreatCowBASIC/sources/linuxbuild/
    
          sudo ./install.sh install
    
          I am busy today until evening. iam in Illinois.
    
          I may check the web at noon?
    
          73
          Mike
    
     
  • stan cartwright

    stan cartwright - 2022-04-15

    Good day mike.
    No joy with
    pi@raspberrypi:/opt/GCBASIC $ sudo chmod +x gcbasic
    pi@raspberrypi:/opt/GCBASIC $ gcbasic
    bash: gcbasic: command not found
    pi@raspberrypi:/opt/GCBASIC $

    I don't understand why so many gcbasic occurrences... erase it all and start again...
    with same errors, hmmm could do and think it'll be the same as I just copied and pasted commands, not changed anything, as my linux abilities are limited?
    There's gcbasic in opt/GCBASIC... the one I'm testing but all are executable but don't.

    In etc/profile.d there's gcbasic.sh which seems a path
    export PATH=$PATH:/opt/GCBASIC

     

    Last edit: stan cartwright 2022-04-15
  • stan cartwright

    stan cartwright - 2022-04-15

    Could gcb not work with rpi 4/400 ? Any reason it may not work, like hardware difference?
    I'm clueless. A file search shows many gcb files the same but in different locations.
    https://www.youtube.com/watch?v=Lpvwgqjg_eI
    I got the lp from '74

     

    Last edit: stan cartwright 2022-04-15
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.