[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
newlispfanclub.alh.net • View topic - newLISP v.10.6.4 development

newLISP v.10.6.4 development

Notices and updates

newLISP v.10.6.4 development

Postby Lutz » Thu Sep 24, 2015 2:53 am

newLISP v.10.6.4 development release fixes bugs and enhances some functions.

Release notes: http://www.newlisp.org/downloads/develo ... lease.html

Files: http://www.newlisp.org/downloads/development

Thanks to everybody who participated in this release with feature proposals, code and discovering bugs.

One important change in this release is the new installation directory prefix /usr/local/ for /usr/local/bin on Mac OS X, Linux and all other Unix like platforms. The change was prompted by the pending new Mac OS X 10.11 El Capitan, which does not allow installs in /usr/bin etc.. The alternate configure script configure-alt already has been using /usr/local.

Unix based scripts having #!/usr/bin/newlisp int the first line will have to be changed to #!/usr/local/bin/newlisp or #!/usr/bin/env newlisp. The last would work for all directories in the executable path of a platform.
Lutz
 
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Re: newLISP v.10.6.4 development

Postby kosh » Thu Sep 24, 2015 3:17 pm

kosh
 
Posts: 69
Joined: Sun Sep 13, 2009 5:38 am
Location: Japan

Re: newLISP v.10.6.4 development

Postby Lutz » Thu Sep 24, 2015 3:52 pm

Thanks Kosh, newlisp-10.6.4.tgz re-uploaded and tested.
Lutz
 
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Re: newLISP v.10.6.4 development

Postby irr » Fri Sep 25, 2015 4:36 pm

Great news Lutz!

Please, to compile on CentOS you need to modify the following file:
newlisp-10.6.4/configure

Here is the patch:
$ diff -ur newlisp-10.6.4-original newlisp-10.6.4
diff -ur newlisp-10.6.4-original/configure newlisp-10.6.4/configure
--- newlisp-10.6.4-original/configure 2015-09-23 14:19:13.000000000 -0300
+++ newlisp-10.6.4/configure 2015-09-25 13:26:25.908544173 -0300
@@ -72,7 +72,7 @@
cp makefile_darwinLP64_utf8_ffi makefile_build
elif [ ${os_type} = LINUX ] ; then
if [ -f /etc/redhat-release ] ; then
- libffi_version=$(ls -d /usr/lib*/libffi*/include &>/dev/null)
+ libffi_version=$(ls -d /usr/lib*/libffi*/include)
if [ -z "${libffi_version}" ] ; then
libffi_version="/usr/include"
fi

In summary, you need to remove the redirection (&> /dev/null).

Regards,

Ivan
irr
 
Posts: 3
Joined: Tue Sep 13, 2011 12:35 am

Re: newLISP v.10.6.4 development

Postby protozen » Sat Sep 26, 2015 4:20 am

with 10.6.3 and 10.6.4 on windows newlisp crashes when trying to make ffi calls - I've not tested various libraries but curl.lsp definitely crashes.
protozen
 
Posts: 36
Joined: Thu Aug 22, 2013 4:02 am

Re: newLISP v.10.6.4 development

Postby xytroxon » Sat Sep 26, 2015 6:46 am

"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976
xytroxon
 
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm

Re: newLISP v.10.6.4 development

Postby protozen » Sun Sep 27, 2015 7:40 pm

It happens with 32 and 64 bit on Windows 10. I've tried curl, crypto and SQLite (but not for both 32 and 64 for all). I've been using 10.6.2 because of this, as 10.6.3 and 10.6.4 crashes consistently (at least on windows 10, I haven to tried other platforms). Unfortunately I've not had the time to figure out why, so I'll stay on 10.6.2 until I do.
protozen
 
Posts: 36
Joined: Thu Aug 22, 2013 4:02 am

Re: newLISP v.10.6.4 development

Postby xytroxon » Sun Sep 27, 2015 9:24 pm

That sucks!

Another thing to check is that ostype "Win32" was changed to "Windows"

kosh's cURL module has both "Win32" "Windows" so should work?


-- xytroxon
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976
xytroxon
 
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm

Re: newLISP v.10.6.4 development

Postby xytroxon » Sun Sep 27, 2015 11:19 pm

Okay, I tried Kosh's code and (curl-version) "libcurl") always works,
but crashes on (curl-easy-escape "newlisp.org/?q=index.html#123") or
(curl-get "http://localhost/wiki/")

Compiled 10.6.4 on Win 7 without FFI enabled and it has the same hang problem!

As protozen noted, this code works on 10.6.2 or before and fails on 10.6.3 and 10.6.4 versions.

My sqlite3.dll is from 2010, but works with versions 2.7 and 2.83 sqlite3.lsp on newLISP 10.6.4

-- xytroxon
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976
xytroxon
 
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm

Re: newLISP v.10.6.4 development

Postby Lutz » Mon Sep 28, 2015 4:08 am

Try adding the "cdecl" option on the import statement and start trying with the 32-bit version of newLISP. See here:

http://www.newlisp.org/downloads/newlis ... tml#import

Assuming you are using the simple version of the FFI without libffi support.
Lutz
 
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Re: newLISP v.10.6.4 development

Postby xytroxon » Mon Sep 28, 2015 6:41 am

"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976
xytroxon
 
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm

Re: newLISP v.10.6.4 development

Postby protozen » Tue Sep 29, 2015 12:22 am

Thanks xytroxon and Lutz. Adding cdecl works, at least with crypto.lsp in the distribution that I just tried.

Binary was this 32bit windows on windows 10:

http://newlisp.nfshost.com/downloads/de ... gs-164.exe

Build label states:

newLISP v.10.6.4 32-bit on Windows IPv4/6 libffi, options: newlisp -h
protozen
 
Posts: 36
Joined: Thu Aug 22, 2013 4:02 am

Re: newLISP v.10.6.4 development

Postby kanen » Thu Nov 05, 2015 5:00 am

. Kanen Flowers .
kanen
 
Posts: 145
Joined: Thu Mar 25, 2010 6:24 pm


Return to newLISP newS

Who is online

Users browsing this forum: No registered users and 2 guests

cron