You are not logged in or registered. Please login or register to use the full functionality of this board...
SIGN IN Join Our Community For FREE


Installation of QB64v1.1
04-29-2017, 03:23 AM (This post was last modified: 04-29-2017 03:27 AM by johnno56.)
Post: #1
 (Print Post)
Installation of QB64v1.1
Greetings,

This is my first post on this forum. I am currently running QB64v1.0 on my Linux Mint mint desktop, and have been doing so for some time, until I decided to upgrade to the current version 1.1 today.

The setup script for 1.1 failed to install.

john@john-H81M-DS2 ~/basic/qb64 $ bash setup_lnx.sh
setup_lnx.sh: line 7: $'\r': command not found
setup_lnx.sh: line 8: $'\r': command not found
setup_lnx.sh: line 11: syntax error near unexpected token `$'{\r''
'etup_lnx.sh: line 11: `pkg_install() {

(and yes, the "'" on the fourth line was produced by the script, and not a cut and paste glitch.)

I am hoping that someone may have seen this problem before and may have a solution...

I had hoped that "first contact" would have been on a more positive level.

J

May your journey be free of incident.

Live long and prosper.
Find all posts by this user
Like Post
04-29-2017, 11:36 AM
Post: #2
 (Print Post)
RE: Installation of QB64v1.1
Johnno56,

I would like to welcome you to The QB64 Edition community.

I personally do not have any knowledge when it comes to Linux setup as I am a Windows person, but it is something I am trying to learn. I have another laptop that has Linux Ubuntu on it, so I am trying to learn that OS.

In saying that, I would suggest asking about this issue over at the QB64 forum located at http://www.QB64.net as some of those guys only use Linux. They are way more knowledgeable then I am when it comes to Linux.

I would like to ask that if you do find an answer to your question, to please let us know over here in case someone else runs into that same issue.


Happy Programming!

Walter Whitman
The Joyful Programmer

My goal is to bring joy, excitement, fun and education to all computer programming hobbyists, tinkerers, and amateurs. I also enjoy helping and working with those who aspire at becoming masters of their craft.
Find all posts by this user
Like Post
04-29-2017, 05:22 PM
Post: #3
 (Print Post)
RE: Installation of QB64v1.1
I am about to leave home for the morning and will be back early this afternoon, but as soon as I get back, I will certainly follow your advise...

Powered up my machine just long enough to place a reply... My time is up... Coffee is looking good...

Many thanks for the welcome and the suggestion. Much appreciated.

J

ps: How do I create a "signature"? Did not see that option in the CP.... Probably blind... But I had to ask...

May your journey be free of incident.

Live long and prosper.
Find all posts by this user
Like Post
04-30-2017, 03:35 AM
Post: #4
 (Print Post)
RE: Installation of QB64v1.1
Johnno56,

Here is a screenshot of the User Control Panel Menu Panel. The Signature link is outlined in red.

   


Walter Whitman
The Joyful Programmer

My goal is to bring joy, excitement, fun and education to all computer programming hobbyists, tinkerers, and amateurs. I also enjoy helping and working with those who aspire at becoming masters of their craft.
Find all posts by this user
Like Post
04-30-2017, 04:47 AM
Post: #5
 (Print Post)
RE: Installation of QB64v1.1
I couldn't see for looking... that loud noise you will hear is the palm of my hand hitting my forehead....

Many thanks.

QB64 install update: Your suggestion to visit qb64.net worked like a charm. Apparently there was nothing wrong with the qb64 install files. There we no errors in the setup shell script. The problem was that the shell script was created on a windows-based compiler and, by default, all line or carriage returns where produced for Windows machines. Simple command line fix search all shell scrips and converted the effect lines of code. QB64 installed without any further issue.

For other Linux users: This is how it was fixed.

Extract the qb64 compressed file to a location of choice.
Use a Terminal to access the qb64 directory.
From within the qb64 directory, enter the following:

find . -name '*.sh' -exec sed -i "s/\r//g" {} \;

Press Return.

QB64 will compile and, if successful, execute. QB64 can then be run from either a direct command ( ./qb64 ) or from a shell script ( ./run_qb64.sh )

I hope that this helps.

J

May your journey be free of incident.

Live long and prosper.
Find all posts by this user
Like Post
04-30-2017, 10:56 AM
Post: #6
 (Print Post)
RE: Installation of QB64v1.1
Johnno56,

Thank you for that tidbit of information. I am learning to use Linux (very slowly of course), and it is good to have more information about it.


Walter Whitman
The Joyful Programmer

My goal is to bring joy, excitement, fun and education to all computer programming hobbyists, tinkerers, and amateurs. I also enjoy helping and working with those who aspire at becoming masters of their craft.
Find all posts by this user
Like Post
04-30-2017, 04:51 PM
Post: #7
 (Print Post)
RE: Installation of QB64v1.1
My OS has been Linux now for at least 11 years and I'm still learning as well...

I have been a big fan of "Basic" since I built my first computer back in the early 80's. Back then I was pretty handy with a soldering iron and a box of band-aids... lol  Qbasic 4.5 was my first intro to Windows basic. So easy to use... once all my bugs were removed... lol  I still use Basic today. Haven't mastered it by a long shot, but still use it... I used to use qb45 with Dosbox but now find qb64 so much easier now that it runs natively on Linux. So cool...

I need more coffee...

J

May your journey be free of incident.

Live long and prosper.
Find all posts by this user
Like Post
05-01-2017, 12:16 AM
Post: #8
 (Print Post)
RE: Installation of QB64v1.1
Johnno56,

If you don't mind me asking, which CPU did you use when you built your first computer back in the 80's?
I started off using computers with the Z80, I.E. Radio Shack's TRS-80.

And also, Welcome to our forum.

Donald
Find all posts by this user
Like Post



Forum Jump:


User(s) browsing this thread: 1 Guest(s)




QB64 Member Project - Amazon
QB64 Member Project - Basic Dithering
QB64 Member Project - Overboard
QB64 Member Project - Score 4
QB64 Member Project - Kings Vallery version two
QB64 Member Project - Kings Valley verion one
QB64 Member Project - Martin Fractals version two
QB64 Member Project - Sabotage
QB64 Member Project - Inside Moves
QB64 Member Project - Qubic
QB64 Member Project - Spiro Roses
QB64 Member Project - Touche
QB64 Member Project - Domain
QB64 Member Project - 9 Board
QB64 Member Project - Dakapo
QB64 Member Project - RGB Color Wheel
QB64 Member Project - STxAxTIC 3D World
QB64 Member Project - Red Scrolling LED Sign
QB64 Member Project - Isolation
QB64 Member Project - Bowditch curve
QB64 Member Project - Rotating Background
QB64 Member Project - Point Blank
QB64 Member Project - Dreamy Clock
QB64 Member Project - Line Thickness
QB64 Member Project - Pivot version two
QB64 Member Project - Blokus
QB64 Member Project - Kobolts Monopoly
QB64 Member Project - Martin Fractals version three
QB64 Member Project - Pivet version one
QB64 Member Project - Swirl
QB64 Member Project - Color Triangles
QB64 Member Project - MAPTRIANGLE
QB64 Member Project - Othello
QB64 Member Project - Full Color LED Sign
QB64 Member Project - Foursight
QB64 Member Project - Martin Fractals version four
QB64 Member Project - OpenGL Triangles
QB64 Member Project - Splatter
QB64 Member Project - Exit
QB64 Member Project - ARB Checkers
QB64 Member Project - Quarto
QB64 Member Project - Kings Court
QB64 Member Project - Spinning Color Wheel
QB64 Member Project - Algeria Weather
QB64 Member Project - Martin Fractals version one
QB64 Member Project - Connect Four
QB64 Member Project - Rubix's Magic
QB64 Member Project - Color Rotating Text
QB64 Member Project - Input