librelist archives

« back to archive

efene for windows

efene for windows

From:
Роман Пельвецкий
Date:
2010-07-28 @ 10:43
Hello,
Is there any efene installer for Windows?
Or maybe just zip file with prebuilt efene?

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-07-28 @ 12:15
2010/7/28 Роман Пельвецкий <ffindermeister@gmail.com>:
> Hello,
> Is there any efene installer for Windows?
> Or maybe just zip file with prebuilt efene?

I will try to make the scripts for windows (I have to find a windows machine :)

you basically have to translate the commands in the build.sh files to
build.bat, maybe today or this week I install a windows VM to do it.

Re: [efene] efene for windows

From:
Роман Пельвецкий
Date:
2010-07-29 @ 16:57
Hello again,
I've got my hands on debian virtual box and build script fails for me.
Does it depends on some specific erlang version?

Linux ffinder 2.6.32-5-openvz-amd64 #1 SMP Tue Jun 1 05:15:57 UTC 2010
x86_64

0;ffinder@ffinder: /tmpffinder@ffinder:/tmp$ ./build-efene
store the current directory
--2010-07-29 16:51:45--
http://github.com/marianoguerra/efene/tarball/master
Визначення імені github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:80... під'єднано.
HTTP-запит надіслано, очікуєм відповіді... 302 Found
Адресa: http://nodeload.github.com/marianoguerra/efene/tarball/master[перехід]
--2010-07-29 16:51:46--
http://nodeload.github.com/marianoguerra/efene/tarball/master
Визначення імені nodeload.github.com... 207.97.227.252
Connecting to nodeload.github.com|207.97.227.252|:80... під'єднано.
HTTP-запит надіслано, очікуєм відповіді... 302 Moved Temporarily
Адресa: http://download.github.com/marianoguerra-efene-8edabcb.tar.gz[перехід]
--2010-07-29 16:51:46--
http://download.github.com/marianoguerra-efene-8edabcb.tar.gz
Визначення імені download.github.com... 207.97.227.240
Connecting to download.github.com|207.97.227.240|:80... під'єднано.
HTTP-запит надіслано, очікуєм відповіді... 200 OK
Довжина: 3135956 (3,0M) [application/octet-stream]
Saving to: `efene.tar.gz'

100%[======================================>] 3 135 956    785K/s   in 3,9s

2010-07-29 16:51:50 (785 KB/s) - `efene.tar.gz' saved [3135956/3135956]


Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
{"init terminating in

do_boot",{undef,[{leex,file,[fn_lexer]},{fn_build,build,0},{init,start_it,1},{init,start_em,1}]}}
rm: не вдається видалити `fn_lexer.erl': No such file or directory
rm: не вдається видалити `fn_parser.erl': No such file or directory
Compiling spec.ifn
exception error: undefined function fn_lexer:string/1
  in function  fn:get_lex_from_str/2
  in call from fn:get_lex/3
  in call from fn:get_tree/2
  in call from fn:tree_to_ast/2
  in call from fn:build_module/1
  in call from fn:compile/2
  in call from fn:compile_files/2
mv: не вдається виконати stat для `*.beam': No such file or directory
Compiling rec.ifn
exception error: undefined function fn_lexer:string/1
  in function  fn:get_lex_from_str/2
  in call from fn:get_lex/3
  in call from fn:get_tree/2
  in call from fn:tree_to_ast/2
  in call from fn:build_module/1
  in call from fn:compile/2
  in call from fn:compile_files/2
mv: не вдається виконати stat для `*.beam': No such file or directory
Compiling ast.ifn
exception error: undefined function fn_lexer:string/1
  in function  fn:get_lex_from_str/2
  in call from fn:get_lex/3
  in call from fn:get_tree/2
  in call from fn:tree_to_ast/2
  in call from fn:build_module/1
  in call from fn:compile/2
  in call from fn:compile_files/2
mv: не вдається виконати stat для `*.beam': No such file or directory
Compiling rest.ifn
exception error: undefined function fn_lexer:string/1
  in function  fn:get_lex_from_str/2
  in call from fn:get_lex/3
  in call from fn:get_tree/2
  in call from fn:tree_to_ast/2
  in call from fn:build_module/1
  in call from fn:compile/2
  in call from fn:compile_files/2


2010/7/28 Mariano Guerra <luismarianoguerra@gmail.com>

> 2010/7/28 Роман Пельвецкий <ffindermeister@gmail.com>:
> > Hello,
> > Is there any efene installer for Windows?
> > Or maybe just zip file with prebuilt efene?
>
> I will try to make the scripts for windows (I have to find a windows
> machine :)
>
> you basically have to translate the commands in the build.sh files to
> build.bat, maybe today or this week I install a windows VM to do it.
>

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-07-29 @ 18:09
2010/7/29 Роман Пельвецкий <ffindermeister@gmail.com>:
> Hello again,
> I've got my hands on debian virtual box and build script fails for me.
> Does it depends on some specific erlang version?

do you have erlang-dev installed?

sudo aptitude install erlang-dev

I don't think the version should make any problem but could you give
me the version number just in case?

Re: [efene] efene for windows

From:
Роман Пельвецкий
Date:
2010-07-29 @ 18:16
2010/7/29 Mariano Guerra <luismarianoguerra@gmail.com>

>
> do you have erlang-dev installed?
>
Yes.

I don't think the version should make any problem but could you give
> me the version number just in case?
>

I've updated from stable to testing (erlang from rev 12 to 14) and script
worked fine.
At last I will see ifene :)
But windows version is needed anyway ;)

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-07-29 @ 19:31
2010/7/29 Роман Пельвецкий <ffindermeister@gmail.com>:
> 2010/7/29 Mariano Guerra <luismarianoguerra@gmail.com>
>>
>> do you have erlang-dev installed?
>
> Yes.
>
>> I don't think the version should make any problem but could you give
>> me the version number just in case?
>
> I've updated from stable to testing (erlang from rev 12 to 14) and script
> worked fine.
> At last I will see ifene :)
> But windows version is needed anyway ;)

Today I installed the windows VM, I will work on this today or tomorrow :)

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-08-02 @ 04:12
2010/7/29 Роман Пельвецкий <ffindermeister@gmail.com>:
> 2010/7/29 Mariano Guerra <luismarianoguerra@gmail.com>
>>
>> do you have erlang-dev installed?
>
> Yes.
>
>> I don't think the version should make any problem but could you give
>> me the version number just in case?
>
> I've updated from stable to testing (erlang from rev 12 to 14) and script
> worked fine.
> At last I will see ifene :)
> But windows version is needed anyway ;)

fnc.exe and build instructions:

http://marianoguerra.com.ar/efene/docs/build/windows.html

http://efene.tumblr.com/post/890218342/new-compiler-frontend-and-documentation
http://efene.tumblr.com/post/891503620/efene-builds-on-windows-documentation

tell me if you have some problem

Re: [efene] efene for windows

From:
Роман Пельвецкий
Date:
2010-08-02 @ 06:14
The build script worked rather smooth until 2 last lines

d:\Apps\efene\lib>fnc.exe rec.ifn -o ../ebin
d:\Apps\efene\lib>fnc.exe *.ifn -o ../ebin

On these lines fnc.exe have crashed.

Also in documentation there are no backslashes after the words " in my case
it's:" on the page http://marianoguerra.com.ar/efene/docs/build/windows.html

2010/8/2 Mariano Guerra <luismarianoguerra@gmail.com>

> 2010/7/29 Роман Пельвецкий <ffindermeister@gmail.com>:
> > 2010/7/29 Mariano Guerra <luismarianoguerra@gmail.com>
> >>
> >> do you have erlang-dev installed?
> >
> > Yes.
> >
> >> I don't think the version should make any problem but could you give
> >> me the version number just in case?
> >
> > I've updated from stable to testing (erlang from rev 12 to 14) and script
> > worked fine.
> > At last I will see ifene :)
> > But windows version is needed anyway ;)
>
> fnc.exe and build instructions:
>
> http://marianoguerra.com.ar/efene/docs/build/windows.html
>
>
> http://efene.tumblr.com/post/890218342/new-compiler-frontend-and-documentation
>
> http://efene.tumblr.com/post/891503620/efene-builds-on-windows-documentation
>
> tell me if you have some problem
>

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-08-02 @ 11:06
2010/8/2 Роман Пельвецкий <ffindermeister@gmail.com>:
> The build script worked rather smooth until 2 last lines
>
> d:\Apps\efene\lib>fnc.exe rec.ifn -o ../ebin
> d:\Apps\efene\lib>fnc.exe *.ifn -o ../ebin
>
> On these lines fnc.exe have crashed.

which version of windows? is it 64 bits? do you get any message?

> Also in documentation there are no backslashes after the words " in my case
> it's:" on the page http://marianoguerra.com.ar/efene/docs/build/windows.html

thanks for that, I will fix it later.

Re: [efene] efene for windows

From:
Роман Пельвецкий
Date:
2010-08-02 @ 12:01
Windows 7 Ultimate 32bit

Сигнатура проблемы:
  Имя события проблемы:    APPCRASH
  Имя приложения:    fnc.exe
  Версия приложения:    0.0.0.0
  Отметка времени приложения:    4c561324
  Имя модуля с ошибкой:    ntdll.dll
  Версия модуля с ошибкой:    6.1.7600.20548
  Отметка времени модуля с ошибкой:    4ad6bca9
  Код исключения:    c0000005
  Смещение исключения:    00052d4e
  Версия ОС:    6.1.7600.2.0.0.256.1
  Код языка:    1058
  Дополнительные сведения 1:    0a9e
  Дополнительные сведения 2:    0a9e372d3b4ad19135b953a78882e789
  Дополнительные сведения 3:    0a9e
  Дополнительные сведения 4:    0a9e372d3b4ad19135b953a78882e789

Sorry for russian language in messages.

2010/8/2 Mariano Guerra <luismarianoguerra@gmail.com>

> 2010/8/2 Роман Пельвецкий <ffindermeister@gmail.com>:
> > The build script worked rather smooth until 2 last lines
> >
> > d:\Apps\efene\lib>fnc.exe rec.ifn -o ../ebin
> > d:\Apps\efene\lib>fnc.exe *.ifn -o ../ebin
> >
> > On these lines fnc.exe have crashed.
>
> which version of windows? is it 64 bits? do you get any message?
>
> > Also in documentation there are no backslashes after the words " in my
> case
> > it's:" on the page
> http://marianoguerra.com.ar/efene/docs/build/windows.html
>
> thanks for that, I will fix it later.
>

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-08-02 @ 15:47
2010/8/2 Роман Пельвецкий <ffindermeister@gmail.com>:
> Windows 7 Ultimate 32bit
>
> Сигнатура проблемы:
>   Имя события проблемы:    APPCRASH
>   Имя приложения:    fnc.exe
>   Версия приложения:    0.0.0.0
>   Отметка времени приложения:    4c561324
>   Имя модуля с ошибкой:    ntdll.dll
>   Версия модуля с ошибкой:    6.1.7600.20548
>   Отметка времени модуля с ошибкой:    4ad6bca9
>   Код исключения:    c0000005
>   Смещение исключения:    00052d4e
>   Версия ОС:    6.1.7600.2.0.0.256.1
>   Код языка:    1058
>   Дополнительные сведения 1:    0a9e
>   Дополнительные сведения 2:    0a9e372d3b4ad19135b953a78882e789
>   Дополнительные сведения 3:    0a9e
>   Дополнительные сведения 4:    0a9e372d3b4ad19135b953a78882e789
>
> Sorry for russian language in messages.

could you try to follow the instructions to buildfnc.exe? they are
really simple, just install MinGW and run tools/build.bat

http://marianoguerra.com.ar/efene/docs/build/windows.html#building-fnc-exe

tell me if it works.

Re: [efene] efene for windows

From:
Роман Пельвецкий
Date:
2010-08-02 @ 20:56
I've built fnc.exe with MinGW but got the same error.

2 августа 2010 г. 18:47 пользователь Mariano Guerra <
luismarianoguerra@gmail.com> написал:

> 2010/8/2 Роман Пельвецкий <ffindermeister@gmail.com>:
> > Windows 7 Ultimate 32bit
> >
> > Сигнатура проблемы:
> >   Имя события проблемы:    APPCRASH
> >   Имя приложения:    fnc.exe
> >   Версия приложения:    0.0.0.0
> >   Отметка времени приложения:    4c561324
> >   Имя модуля с ошибкой:    ntdll.dll
> >   Версия модуля с ошибкой:    6.1.7600.20548
> >   Отметка времени модуля с ошибкой:    4ad6bca9
> >   Код исключения:    c0000005
> >   Смещение исключения:    00052d4e
> >   Версия ОС:    6.1.7600.2.0.0.256.1
> >   Код языка:    1058
> >   Дополнительные сведения 1:    0a9e
> >   Дополнительные сведения 2:    0a9e372d3b4ad19135b953a78882e789
> >   Дополнительные сведения 3:    0a9e
> >   Дополнительные сведения 4:    0a9e372d3b4ad19135b953a78882e789
> >
> > Sorry for russian language in messages.
>
> could you try to follow the instructions to buildfnc.exe? they are
> really simple, just install MinGW and run tools/build.bat
>
> http://marianoguerra.com.ar/efene/docs/build/windows.html#building-fnc-exe
>
> tell me if it works.
>

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-08-02 @ 21:22
2010/8/2 Роман Пельвецкий <ffindermeister@gmail.com>:
> I've built fnc.exe with MinGW but got the same error.

does it crash if you run it in fail safe?

I googled the error and it happens to a lot of persons with different programs.

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-08-02 @ 21:29
2010/8/2 Роман Пельвецкий <ffindermeister@gmail.com>:
> Windows 7 Ultimate 32bit
>
> Сигнатура проблемы:
>   Имя события проблемы:    APPCRASH
>   Имя приложения:    fnc.exe
>   Версия приложения:    0.0.0.0
>   Отметка времени приложения:    4c561324
>   Имя модуля с ошибкой:    ntdll.dll
>   Версия модуля с ошибкой:    6.1.7600.20548
>   Отметка времени модуля с ошибкой:    4ad6bca9
>   Код исключения:    c0000005
>   Смещение исключения:    00052d4e
>   Версия ОС:    6.1.7600.2.0.0.256.1
>   Код языка:    1058
>   Дополнительные сведения 1:    0a9e
>   Дополнительные сведения 2:    0a9e372d3b4ad19135b953a78882e789
>   Дополнительные сведения 3:    0a9e
>   Дополнительные сведения 4:    0a9e372d3b4ad19135b953a78882e789
>
> Sorry for russian language in messages.

try running the following commands and paste the output:

fnc
fnc -h
fnc -s
fnc -T -s
fnc foo.ifn
fnc -T foo.ifn

Re: [efene] efene for windows

From:
Роман Пельвецкий
Date:
2010-08-04 @ 07:37
If fnc.exe is run in compatibility mode with WinXP SP3 (I've just pick the
latest OS from the list) it works.
The system asks for confirmation several times while running through the
lib\build.bat
I guess the behaviour is similar to su command in linux.

If I do fnc.exe hello.ifn the system prompts me each time I compile (very
annoying).
Maybe fnc set some path variables or something?
With MinGW no questions were asked at all.

3 августа 2010 г. 0:29 пользователь Mariano Guerra <
luismarianoguerra@gmail.com> написал:

> 2010/8/2 Роман Пельвецкий <ffindermeister@gmail.com>:
> > Windows 7 Ultimate 32bit
> >
> > Сигнатура проблемы:
> >   Имя события проблемы:    APPCRASH
> >   Имя приложения:    fnc.exe
> >   Версия приложения:    0.0.0.0
> >   Отметка времени приложения:    4c561324
> >   Имя модуля с ошибкой:    ntdll.dll
> >   Версия модуля с ошибкой:    6.1.7600.20548
> >   Отметка времени модуля с ошибкой:    4ad6bca9
> >   Код исключения:    c0000005
> >   Смещение исключения:    00052d4e
> >   Версия ОС:    6.1.7600.2.0.0.256.1
> >   Код языка:    1058
> >   Дополнительные сведения 1:    0a9e
> >   Дополнительные сведения 2:    0a9e372d3b4ad19135b953a78882e789
> >   Дополнительные сведения 3:    0a9e
> >   Дополнительные сведения 4:    0a9e372d3b4ad19135b953a78882e789
> >
> > Sorry for russian language in messages.
>
> try running the following commands and paste the output:
>
> fnc
> fnc -h
> fnc -s
> fnc -T -s
> fnc foo.ifn
> fnc -T foo.ifn
>

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-08-11 @ 04:18
could you download the latest version and try again? the errors in
fnc.exe should be fixed.

if you get some problems then try compiling it again, but it should
work with the downloaded version.

let me know...

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-08-11 @ 04:19
On Wed, Aug 11, 2010 at 1:18 AM, Mariano Guerra
<luismarianoguerra@gmail.com> wrote:
> could you download the latest version and try again? the errors in
> fnc.exe should be fixed.
>
> if you get some problems then try compiling it again, but it should
> work with the downloaded version.
>
> let me know...
>

remeber to run build.bat from the src folder

Re: [efene] efene for windows

From:
Роман Пельвецкий
Date:
2010-08-11 @ 06:51
it compiles ok now.

2010/8/11 Mariano Guerra <luismarianoguerra@gmail.com>

> On Wed, Aug 11, 2010 at 1:18 AM, Mariano Guerra
> <luismarianoguerra@gmail.com> wrote:
> > could you download the latest version and try again? the errors in
> > fnc.exe should be fixed.
> >
> > if you get some problems then try compiling it again, but it should
> > work with the downloaded version.
> >
> > let me know...
> >
>
> remeber to run build.bat from the src folder
>

Re: [efene] efene for windows

From:
Mariano Guerra
Date:
2010-08-11 @ 12:10
2010/8/11 Роман Пельвецкий <ffindermeister@gmail.com>:
> it compiles ok now.

thank you for your patience :)