newLISP Fan Club

Forum => newLISP newS => Topic started by: ale870 on July 11, 2009, 01:50:21 AM

Title: Nearly Free Speech is not updated for newLisp
Post by: ale870 on July 11, 2009, 01:50:21 AM
Hello Lutz,



this site (which is good to execute newLisp cgi) contains old newLisp interpreter. I wrote him and he told me:
Quote
"The current supported version is 9.4. If you would like a more recent version you will need to contact the port maintainer and ask for an update."


So, I think you could regularly send them interpreter updates (or, at least, you could send only most stable versions).



THis is my 2 cents opinion.



See here also:

http://example.nfshost.com/versions.php
Title:
Post by: Lutz on July 11, 2009, 04:56:17 AM
If they mean the FreeBSD newLISP port (NFS runs FreeBSD) then they can find it here. I believe, the name of the maintainer is Stanislav Sedov; or they can contact me too. Or they read the last paragraph of this post and put the executable where they want it to reside.



http://portsmon.freebsd.org/portoverview.py?category=lang&portname=newlisp



With 10.0.2 It is not the latest version, which would be 10.1.0



You can just compile it yourself on your site and put the executable in to your web directory as cgi-bin/newlisp. No other file is required! It compiles with just doing 'make'. All of www.newlisp.org currently runs on v.10.1.0. E.g. this http://www.newlisp.org/mandelbrot.cgi (also click on source link to see the #! line).
Title:
Post by: ale870 on July 11, 2009, 04:58:21 AM
Thank you, I just "forwared" their request.

About putting newLisp interpreter in NearlyFreeSpeech... I don't know if it works, since it already supply a newLisp version.



I will try it.



Thank you!
Title:
Post by: Lutz on July 11, 2009, 05:14:20 AM
Quote don't know if it works, since it already supply a newLisp version


http://www.newlisp.org does run on version 10.1.0 on  NearlyFreeSpeech right now :-), they are hosting it!
Title:
Post by: ale870 on July 11, 2009, 06:40:39 AM
Thank you Lutz, you always help me!
Title:
Post by: cormullion on July 11, 2009, 08:52:56 AM
I contacted their support desk at the end of last year asking about the upgrade from 9.3 to 10, and received the following response:


QuoteNewlisp 10 looks compatibility-breaking so I'm not sure when the FreeBSD maintainer will decide to make the switch.


They did, though, upgrade from 9.3 to 9.4 in January. Last week, I asked again about upgrading to v10, and received this response:


QuoteWe've got this upgrade ready to go. It should be available within 24 hours of the closure of 39844.


where 39844 is system problem they're trying to fix and close.



I don't suppose it hurts anyone to have loads of people asking for the latest and greatest newLISP version! Although they'll probably install v10 rather than v10.1 I suppose...



Typically, you'll find the official newlisp binary by starting your scripts with:


#!/usr/bin/env newlisp

since they store the binaries in /usr/local/bin (or is it /usr/bin/local?).
Title:
Post by: Lutz on July 11, 2009, 09:16:45 AM
QuoteAlthough they'll probably install v10 rather than v10.1 I suppose


... which would be Ok, as 10.0 and 10.1 are pretty much compatible. NFS already runs 2 versions of Python and 2 of Tcl, they could do the same for newLISP. For my own stuff I don't care and have all cgi files with #!/home/htdocs/cgi-bin/newlisp. NearlyFreeSpeech runs (like everybody else) some sort of virtual server software, so all client sites have their own /home/htdocs/ and you can do inside of that whatever you want, i.e. create your own /home/htdocs/cgi-bin.
Title:
Post by: ale870 on July 11, 2009, 09:43:53 AM
Good idea Lutz, so everyone can implement and upgrade it's own newLisp engine to the version he/she wants.



Just for curiosity: do you know if there are other hosts that allow to use newLisp as CGI (even in the same way you told me before)?
Title:
Post by: Lutz on July 11, 2009, 10:18:36 AM
Quotedo you know if there are other hosts that allow to use newLisp as CGI


Yes, if you compile it yourself, all of them.



You need a website hosting account which includes a shell-account with access to a C-compiler. All of the 3 ISPs I have used over years allowed this. Using self compiled stuff on your site isn't anything special, many are doing it. E.g. in my case, I also have gnuplot compiled and installed. Others install imagemagick etc.



Ask your ISP for a shell-account. Often they are standard even on the cheaper plans. All of the shell-account plans, I have seen, include C/C++ compilers. Go with an ISP running FreeBSD or Linux, some offer both to choose. Make yourself familiar with Unix utilities like scp for file transfer and ssh to log in. If you are running a Windows machine at home, get the Putty terminal program and accompanying  utilities. Its free and also includes pscp.exe for file transfers. Some ISPs have Putty available to their clients for download.



Don't expect any help or support from your ISP when compiling yourself. Learn your stuff before you use it. If you are not familiar with C programming and UNIX, then don't do it. All ISPs have FAQ sections to find out about correct permissions of your files and directories on their installation, htaccess Apache file configuration etc.