[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
Page 1 of 1

newLISP v.10.6.4 development

PostPosted: Thu Sep 24, 2015 2:53 am
by Lutz
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.

Re: newLISP v.10.6.4 development

PostPosted: Thu Sep 24, 2015 3:17 pm
by kosh

Re: newLISP v.10.6.4 development

PostPosted: Thu Sep 24, 2015 3:52 pm
by Lutz
Thanks Kosh, newlisp-10.6.4.tgz re-uploaded and tested.

Re: newLISP v.10.6.4 development

PostPosted: Fri Sep 25, 2015 4:36 pm
by irr
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

Re: newLISP v.10.6.4 development

PostPosted: Sat Sep 26, 2015 4:20 am
by protozen
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.

Re: newLISP v.10.6.4 development

PostPosted: Sat Sep 26, 2015 6:46 am
by xytroxon

Re: newLISP v.10.6.4 development

PostPosted: Sun Sep 27, 2015 7:40 pm
by protozen
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.

Re: newLISP v.10.6.4 development

PostPosted: Sun Sep 27, 2015 9:24 pm
by xytroxon
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

Re: newLISP v.10.6.4 development

PostPosted: Sun Sep 27, 2015 11:19 pm
by xytroxon
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

Re: newLISP v.10.6.4 development

PostPosted: Mon Sep 28, 2015 4:08 am
by Lutz
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.

Re: newLISP v.10.6.4 development

PostPosted: Mon Sep 28, 2015 6:41 am
by xytroxon

Re: newLISP v.10.6.4 development

PostPosted: Tue Sep 29, 2015 12:22 am
by protozen
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

Re: newLISP v.10.6.4 development

PostPosted: Thu Nov 05, 2015 5:00 am
by kanen