Building from my repo is complicated as it requires a different toolchain.

It's best to try out the binary release
https://github.com/joebo/picoLisp-win-x86-64/releases

Clone the repo and then drop that picoLisp-win-x86-64-dist.zip into the
folder and unzip. You should be able to run pil.cmd then

Again, this is all experimental

If you're on win10, I hear pil also works with WSL -
https://msdn.microsoft.com/en-us/commandline/wsl/about



On Tue, Jun 13, 2017 at 4:21 PM, pd <eukel...@gmail.com> wrote:

> yes, I'm in a windows 10 64-bit PC.
>
> I've cloned the repository you linked but when invoking make in src64
> directory I got the same error messages
>
> If I try to run pil in root picolisp-win-x86-64 directory I get an error
> indicating picolisp not found in bin directroy, if I run pil in bin
> directory I get an error indicating picolisp is not found in /usr/bin/
> directory
>
> ➤ ./pil
> ./pil: line 2: /home/mobaxterm/picoLisp-win-x86-64/bin/picolisp: No such
> file or directory
> /pil: line 2: exec: /home/mobaxterm/picoLisp-win-x86-64/bin/picolisp:
> cannot execute: No such file or directory
> ➤ cd bin
> ➤ ./pil
> bash: ./pil: /usr/bin/picolisp: bad interpreter: No such file or directory
>
> I suppose the problem is I didn't build picolisp so there's no picolisp
> executable, but I cannot build picolisp because make fails with weird errors
>
> ➤ cd src ; make
>       0 [main] make 12524 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE00000) != child(0x700000)
> make: Makefile:20: fork: Resource temporarily unavailable
>       0 [main] make 9428 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE00000) != child(0x6C0000)
> make: Makefile:29: fork: Resource temporarily unavailable
>       0 [main] make 15996 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE00000) != child(0xE20000)
> make: Makefile:38: fork: Resource temporarily unavailable
>       0 [main] make 13620 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE00000) != child(0x6C0000)
> make: Makefile:49: fork: Resource temporarily unavailable
>       0 [main] make 11160 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE00000) != child(0x6C0000)
> make: Makefile:58: fork: Resource temporarily unavailable
>       0 [main] make 8060 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE00000) != child(0xE40000)
> make: Makefile:67: fork: Resource temporarily unavailable
>       0 [main] make 6624 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE00000) != child(0x6C0000)
> make: Makefile:76: fork: Resource temporarily unavailable
>       0 [main] make 8616 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE00000) != child(0x640000)
> make: Makefile:85: fork: Resource temporarily unavailable
>       0 [main] make 11084 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE00000) != child(0x6C0000)
> make: Makefile:94: fork: Resource temporarily unavailable
> gcc -c -O2 -pipe -falign-functions=32 -fomit-frame-pointer
> -fno-strict-aliasing -W -Wimplicit -Wreturn-type -Wunused -Wformat
> -Wuninitialized -Wstrict-prototypes -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64
> -D_OS='"Windows_NT"' main.c
>       1 [main] make 1120 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE00000) != child(0xDC0000)
> make: fork: Resource temporarily unavailable
>
> ➤ cd src64; make
>       0 [main] make 12428 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE30000) != child(0x6C0000)
> make: Makefile:55: fork: Resource temporarily unavailable
>       0 [main] make 15468 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE30000) != child(0x6C0000)
> make: Makefile:81: fork: Resource temporarily unavailable
>       0 [main] make 8052 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE30000) != child(0x710000)
> make: Makefile:91: fork: Resource temporarily unavailable
>       0 [main] make 6728 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE30000) != child(0x6C0000)
> make: Makefile:101: fork: Resource temporarily unavailable
>       0 [main] make 7972 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE30000) != child(0xDF0000)
> make: Makefile:111: fork: Resource temporarily unavailable
>       0 [main] make 6360 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE30000) != child(0x6C0000)
> make: Makefile:128: fork: Resource temporarily unavailable
> cc -o sysdefs -D_FILE_OFFSET_BITS=64 sysdefs.c
>       0 [main] make 7520 child_info_fork::abort:
> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
> Loaded to different address: parent(0xE30000) != child(0xE50000)
> make: fork: Resource temporarily unavailable
>
>
> On Tue, Jun 13, 2017 at 9:49 PM, Joe Bogner <joebog...@gmail.com> wrote:
>
>> Hi pd, yes, this is a common issue with cygwin and fork.
>>
>> Are you on a 64-bit bit PC? If so, I have an experimental version of
>> PicoLisp on 64-bit that might be useful - https://github.com/joebo/pic
>> oLisp-win-x86-64
>>
>> I can elaborate if so
>>
>> On Tue, Jun 13, 2017 at 3:22 PM, pd <eukel...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I've tried to build picolisp in mobaxterm (a terminal program including
>>> cygwin preinstalled) but I have a bunch of errors about foking and dll's
>>> loading in different memory address
>>>
>>>  ➤ make
>>>       0 [main] make 14124 child_info_fork::abort:
>>> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
>>> Loaded to different address: parent(0x6C0000) != child(0xDC0000)
>>> make: Makefile:38: fork: Resource temporarily unavailable
>>>       0 [main] make 852 child_info_fork::abort:
>>> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
>>> Loaded to different address: parent(0x6C0000) != child(0xE40000)
>>> make: Makefile:58: fork: Resource temporarily unavailable
>>>       0 [main] make 8692 child_info_fork::abort:
>>> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
>>> Loaded to different address: parent(0x6C0000) != child(0x700000)
>>> make: Makefile:67: fork: Resource temporarily unavailable
>>>       0 [main] make 11008 child_info_fork::abort:
>>> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
>>> Loaded to different address: parent(0x6C0000) != child(0xE60000)
>>> make: Makefile:76: fork: Resource temporarily unavailable
>>>       0 [main] make 5924 child_info_fork::abort:
>>> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
>>> Loaded to different address: parent(0x6C0000) != child(0xE40000)
>>> make: Makefile:94: fork: Resource temporarily unavailable
>>> gcc -c -O2 -pipe -falign-functions=32 -fomit-frame-pointer
>>> -fno-strict-aliasing -W -Wimplicit -Wreturn-type -Wunused -Wformat
>>> -Wuninitialized -Wstrict-prototypes -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64
>>> -D_OS='"Windows_NT"' subr.c
>>>       0 [main] make 14792 child_info_fork::abort:
>>> C:\Users\jose\DOWNLO~1\jose\PROGRA~2\MOBAXT~1\PERSIS~1\slash\bin\cyggmp-10.dll:
>>> Loaded to different address: parent(0x6C0000) != child(0xE40000)
>>> make: fork: Resource temporarily unavailable
>>>
>>>
>>> anyone have tried to build with mobaxterm or cygwin and had similar
>>> problems?
>>>
>>> regards
>>>
>>> --
>>> Andrés
>>>
>>> *~ La mejor manera de librarse de la tentación es caer en ella**. ~
>>> Oscar Wilde* ~
>>>
>>
>>
>
>
> --
> Andrés
>
> *~ La mejor manera de librarse de la tentación es caer en ella**. ~ Oscar
> Wilde* ~
>

Reply via email to