Closed devamaz closed 6 years ago
Hi Ahmad, we're currently working to fix the issue of adding simple to global path. So to use simple, you'll have to be in the directory where simple is installed e.g
$ cd simple/bin & simple
Let me know if that works 👍
On Wed, May 30, 2018, 07:30 Ahmad Abdul-Aziz notifications@github.com wrote:
Have issue installing and running Simple on my Ubuntu machine after downloading linx version form sourceforge.io, I try follow the command on the README but no says no file. So I try cloning and follow the README instruction, everything seems to work but if I type simple in the terminal it says command not found. Pls need help on proper installation. Thanks
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/simple-lang/simple/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/Adkrj-BeEvqJAlx5ssogHHdQFEGWTDCmks5t3jx3gaJpZM4USq4Y .
After downloading from sourceforge.io what is the next thing for me to do.
I'd advise you download it from the release section.
https://github.com/simple-lang/simple/releases/download/s0.3.302/simple0.3.302-linux.zip
Then follow the readme.
On Wed, May 30, 2018, 08:12 Ahmad Abdul-Aziz notifications@github.com wrote:
After downloading from sourceforge.io what is the next thing for me to do.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/simple-lang/simple/issues/14#issuecomment-393054440, or mute the thread https://github.com/notifications/unsubscribe-auth/Adkrj9xJApvTQNXRlnUSTVQzrI37SSx2ks5t3kZAgaJpZM4USq4Y .
OK thanks I will try this
@Youngestdev ok have download and navigate to the folder with my terminal what next
After executing the >make -f Linux-Build.sh successfully, a folder /s0.3.303-debug will be created at the same level where you clone simple to you can then cd to the s0.3.303-debug/bin/ folder where simple and it deps will be located if the build is successful, if the folder does not exist or is empty you can check your terminal for build error
./simple
you will then have a file heirachy of sort
> simple
> ---- build
> ---- doc
> ---- src
> s0.3.303-debug
> ---- bin
> ---- modules
> ---- includes
> ---- environments
@devamaz after reviewing your screen shot, it happens that the build failed because the linker cannot find the libdl by the flag -ldl. The faulty behaviour is assumed to be solved with the new Makefile-Linux.mk in the simple/src/makefiles folder, You can replace your local Makefile-Linux.mk file with the newly updated one and rebuild simple again
@Thecarisma still get same error
download the zip here unzip it in any folder,
> cd simple0.3.302-linux/bin
> ./simple
Sorry for the inconvenience, by next release it should be available using yum and apt-get on linux distros
@Thecarisma
yes you did it you can run it from that folder now @devamaz
create a file hello.sim with content
display "Hello world"
./simple hello.sim
or choose an example from the examples repo We ll look into a clean install and build method on Ubuntu with apt by next release. You can open a new issue anytime you face any more problem Thank you for taking your time, i ll close the issue now
The examples repo for Linux is different... I'll update it soon 🙏.
On Thu, May 31, 2018, 20:09 Azeez Adewale notifications@github.com wrote:
yes you did it you can run it from that folder now @devamaz https://github.com/devamaz create a file hello.sim with content display "Hello world"
./simple hello.sim
or choose an example https://github.com/simple-lang/examples from the examples repo We ll look into a clean install and build method on Ubuntu with apt by next release. You can open a new issue anytime you face any more problem Thank you for taking your time, i ll close the issue now
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/simple-lang/simple/issues/14#issuecomment-393644382, or mute the thread https://github.com/notifications/unsubscribe-auth/Adkrj550Extnq3sHaYXOjSarctEINnlxks5t4D__gaJpZM4USq4Y .
@devamaz reinstall simple-lang from the source by cloning the repo and build with the Linux-Build.sh to install simple-lang on your system and allow simple to execute from any folder in your Linux System
@Thecarisma, I think I'll have to build/modify the build.sh to suit Debian systems.
you can write another build script for debian using the format of the Linux-Build.sh
Yup. I'll just rewrite one like I did previously
On Mon, Jun 4, 2018, 13:31 Azeez Adewale notifications@github.com wrote:
you can write another build script for debian using the format of the Linux-Build.sh
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/simple-lang/simple/issues/14#issuecomment-394337987, or mute the thread https://github.com/notifications/unsubscribe-auth/AdkrjzQla19MUHchMY3wIZrvD4PG7CNnks5t5SiXgaJpZM4USq4Y .
Have issue installing and running Simple on my Ubuntu machine after downloading linx version form sourceforge.io, I try follow the command on the README but no says no file. So I try cloning and follow the README instruction, everything seems to work but if I type simple in the terminal it says command not found. Pls need help on proper installation. Thanks