Comments (10)
Do you mean the 'ybc' executable? It's just an ordinary ELF32 file, you shouldn't have any issues running it. Depending on your distribution, you may have to install a (few) package(s) before you can run 32bit executables on a 64bit installation. Maybe that's the issue?
from ybc.
Hi John,
many thanks for your help. Yes I mean ybc executable
You are right.
$ dpkg --add-architecture i386
$ ldd ./ybc
points to missing libraries, eg
$ apt-get install -y libstdc++6:i386
And now ldd does not say any libs are missing. But
$ ./ybc
Gives segmentation fault
Note that I am doing all of this inside a docker container
$ docker run -i -t ubuntu:14.04 /bin/bash
which may be a cause. For example, I appear to be unable to strace the seg
fault?!
I'm not really up on linux that much. I just want to use it to to set up
languages on http://cyber-dojo.org to encourage devs to do coding dojos
(from a browser but with security on the server provided by docker), and to
try and raise some money to buy Raspberry Pi'es for kids.
Thanks
Jon
On Wed, Nov 26, 2014 at 1:14 AM, John Doe [email protected] wrote:
Do you mean the 'ybc' executable? It's just an ordinary ELF32 file, you
shouldn't have any issues running it. Depending on your distribution, you
may have to install a (few) package(s) before you can run 32bit executables
on a 64bit installation. Maybe that's the issue?—
Reply to this email directly or view it on GitHub
#1 (comment).
Cyber-Dojo : a place to practise the collaborative game called software
development.
Server at http://www.cyber-dojo.org
Open-sourced at http://github.com/JonJagger/cyberdojo
Explained at http://jonjagger.blogspot.co.uk/p/cyber-dojo_2380.html
Video of Roman Numerals kata in Ruby at https://vimeo.com/104548135
from ybc.
I tried inside a 32 bit docker container
moby/moby#611
https://registry.hub.docker.com/u/besn0847/ubuntu32/
Same problem. Still seg faults
from ybc.
Bump? Same thing happens to me, and I can't build it myself because I have no clue what language this is written in.
from ybc.
I think a bmx file is a BlitzMax file.
http://www.blitzbasic.com/
from ybc.
Hi everyone. I'm sorry I missed this issue the first time it was brought up. I happened to just not have logged in to GH for a while around that time and it flew under my radar.
-
yes, the language is BlitzMax. It's a proprietary compiler, which means if you haven't heard of it building the project will be difficult - that was kinda part of "the joke" at the time. There is an open-source BMX compiler project here, but I don't know how complete it is.
-
I haven't been able to reproduce yet. Will try again. The unofficial list of packages recommended to run a minimal BlitzMax application is
libglu1-mesa:i386 libfreetype6:i386 libxft2:i386 libxpm4:i386 libasound2:i386 libpulse0:i386 libopenal1:i386
.
Sorry again for not paying attention to this sooner. Thanks for reporting.
from ybc.
@Leushenko All were installed. Still segfaults.
Does BlitzMax have a way of inserting debugging symbols? If so, I could pop it in GDB and see where it's segfaulting.
CURSE YOU PROPRIETARY COMPILERS!!!!!!!! :|
from ybc.
I'm still keen to add B to cyber-dojo.org
I just need a compiler that can run on linux
Cheers
Jon
On Wed, Apr 29, 2015 at 5:00 PM, Leushenko [email protected] wrote:
Hi everyone. I'm sorry I missed this issue the first time it was brought
up. I happened to just not have logged in to GH for a while around that
time and it flew under my radar.
yes, the language is BlitzMax. It's a proprietary compiler, which means
if you haven't heard of it building the project will be difficult - that
was kinda part of "the joke" at the time. There is an open-source BMX
compiler project here https://github.com/bmx-ng, but I don't know how
complete it is.I haven't been able to reproduce yet. Will try again. The unofficial
list of packages recommended to run a minimal BlitzMax application
http://www.blitzbasic.com/Community/posts.php?topic=101454 is libglu1-mesa:i386
libfreetype6:i386 libxft2:i386 libxpm4:i386 libasound2:i386 libpulse0:i386
libopenal1:i386.Sorry again for not paying attention to this sooner. Thanks for reporting.
—
Reply to this email directly or view it on GitHub
#1 (comment).
Cyber-Dojo : a place to practise the collaborative game called software
development.
Server at http://www.cyber-dojo.org
Open-sourced at http://github.com/JonJagger/cyberdojo
Explained at http://jonjagger.blogspot.co.uk/p/cyber-dojo_2380.html
Video of Roman Numerals kata in Ruby at https://vimeo.com/104548135
from ybc.
OK... gone from "cannot reproduce" (old system) to "always reproduce" (everywhere else): I actually can't even build&run a Hello World or empty file without seeing the same error as the others above, so I'm choosing to blame this one on BlitzMax. Max's support for Linux has always been more or less pre-alpha and gets worse every year as it is pretty much unmaintained.
Luckily this only seems to affect release builds on my machine, so I am being hilariously unprofessional and have replaced the prebuilt version with a debug build instead, which still works correctly - for me.
Needs a rewrite in a different language, I guess.
from ybc.
@Leushenko It works now! Thanks!
Glancing at the source code style, you might like using a language like Nim, which has variant types (to avoid comparing to a string overly often) and plenty of other niceties.
from ybc.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ybc.