[BRLTTY] Compiling in windows : Cython Not Found

Siju Samuel sijusamueltech at gmail.com
Thu Jun 12 14:22:11 EDT 2014


>>What happens if you run it by hand? If you don't give it any arguments, it
>>should complain that the source tree hasn't been specified. If you give
it one
>>parameter, the path to the top of the source tree, then it should display
the
>>revision identifier.

$ ./getrevid
sh: ./getrevid: /bin/bash: bad interpreter: No such file or directory

>>parameter, the path to the top of the source tree, then it should display
the
 ./getrevid "/c/brlttyjunwindev11/brltty"
same error.


I did not see /bin/bash in my mingw 32 installation.  As I mentioned in
previous mail in 5.1 that error is ignored.

thanks,siju




On Thu, Jun 12, 2014 at 1:13 PM, Siju Samuel <sijusamueltech at gmail.com>
wrote:

> In 5.1  it looks like the same error is coming but ignored. Another
> difference is revision_identifier.h is created after make. Again 5.2dev it
> stops and no revision_identifier.h  created.
>
> $ make install INSTALL_ROOT="/brlttyjun51"
>
> cd Programs && make install
> make[1]: Entering directory `/c/brlttyjunwin51/brltty/Programs'
>
> ../getrevid -q -o revision_identifier.h ../
> make[1]: ../getrevid: Command not found
> make[1]: [revision_identifier.h] Error 127 (ignored)
> gcc -I. -I. -I./../Programs -I../Programs -I./.. -I..    -DHAVE_CONFIG_H
> -g -O
> -std=gnu99 -Wall  -c ./revision.c
> gcc -Wl,--export-all-symbols,--enable-auto-import -o brltty.exe main.o
> brltty.
> program.o pgmpath_windows.o service_windows.o pid.o options.o
> params_none.o lo
> o addresses.o file.o device.o parse.o timing.o async_handle.o async_data.o
> asy
> _wait.o async_alarm.o async_task.o async_io.o async_event.o async_signal.o
> asy
> _thread.o queue.o dynld_windows.o ports_windows.o system_windows.o
> hostcmd.o h
> tcmd_windows.o datafile.o unicode.o lock.o charset.o charset_windows.o
> revisio
> o config.o prefs.o prefs_table.o menu.o ses.o message.o status.o update.o
> blin
> o clipboard.o dataarea.o cmd.o cmd_brlapi.o cmd_queue.o cmd_navigation.o
> cmd_s
> ech.o cmd_touch.o cmd_learn.o scancodes.o ttb_compile.o ttb_native.o
> ttb_trans
> te.o atb_compile.o atb_translate.o ctb_compile.o ctb_translate.o
> ktb_compile.o
> tb_translate.o ktb_list.o ktb_keyboard.o keyboard.o keyboard_none.o
> tunes.o no
> s.o notes_beep.o beep.o beep_windows.o notes_pcm.o pcm.o pcm_windows.o
> notes_m
> i.o midi.o midi_windows.o notes_fm.o fm_adlib.o hidkeys.o drivers.o
> driver.o s
> .o scr_utils.o scr_base.o scr_help.o scr_frozen.o scr_menu.o menu_prefs.o
> scr_
> in.o scr_real.o scr_driver.o routing.o  brl.o brl_utils.o brl_input.o
> brl_driv
> .o brl_base.o ./../Drivers/Braille/FreedomScientific/braille.o io_misc.o
> gio.o
> io_serial.o serial.o serial_windows.o gio_usb.o usb.o usb_hid.o
> usb_serial.o u
> _adapters.o usb_cdc_acm.o usb_belkin.o usb_cp2101.o usb_cp2110.o
> usb_ftdi.o us
> libusb.o gio_bluetooth.o bluetooth.o bluetooth_names.o bluetooth_none.o
> mntpt.
> mntpt_none.o mntfs_none.o spk.o spk_thread.o spk_input.o spk_driver.o
> spk_base
>   api_control.o brlapi_server.o brlapi_keyranges.o auth.o      -lusb
> -licon
>
> -lintl -lwinmm -lgdi32 -lws2_32 -lsupc++
> gcc -Wl,--export-all-symbols,--enable-auto-import -o brltty-ttb.exe
> brltty-ttb
>  program.o pgmpath_windows.o service_windows.o pid.o options.o
> params_none.o l
> .o addresses.o file.o device.o parse.o timing.o async_handle.o
> async_data.o as
> c_wait.o async_alarm.o async_task.o async_io.o async_event.o
> async_signal.o as
> c_thread.o queue.o dynld_windows.o ports_windows.o system_windows.o
> hostcmd.o
> stcmd_windows.o datafile.o unicode.o lock.o charset.o charset_windows.o
> dataar
> .o ttb_compile.o ttb_native.o ttb_gnome.o ttb_louis.o -L./../Programs
> -lbrlapi
>
>   -liconv -lintl -lwinmm -lgdi32 -lws2_32 -lsupc++
> /bin/install -c -d /brlttyjun51/bin
> test -z "/var/run/brltty" || /bin/install -c -d /brlttyjun51/var/run/brltty
> /bin/install -c -s brltty.exe /brlttyjun51/bin
> /bin/install -c -s brltty-trtxt.exe /brlttyjun51/bin
> /bin/install -c -s brltty-ttb.exe /brlttyjun51/bin
> /bin/install -c -s brltty-ctb.exe /brlttyjun51/bin
> /bin/install -c -m 644 brltty-config /brlttyjun51/bin
> /bin/install -c ./brltty-install /brlttyjun51/bin
> /bin/install -c -d /brlttyjun51/etc/brltty
> /bin/install -c -m 644 ../Tables/*.tt[bi] /brlttyjun51/etc/brltty
> /bin/install -c -m 644 ../Tables/*.at[bi] /brlttyjun51/etc/brltty
> /bin/install -c -m 644 ../Tables/*.ct[bi] /brlttyjun51/etc/brltty
> /bin/install -c -m 644 ../Tables/*.kt[bi] /brlttyjun51/etc/brltty
> /bin/install -c -m 644 ../Tables/*.txt /brlttyjun51/etc/brltty
> /bin/install -c -d /brlttyjun51/usr/include/brltty
> /bin/install -c -m 644 ./program.h ./revision.h ./service.h ./embed.h
> ./option
> h ./log.h ./addresses.h ./pid.h ./async.h ./async_wait.h ./async_alarm.h
> ./asy
> _task.h ./async_io.h ./async_event.h ./async_signal.h ./async_thread.h
> ./parse
>  ./file.h ./device.h ./datafile.h ./dataarea.h ./queue.h ./lock.h
> ./timing.h .
> uth.h ./hostcmd.h ./dynld.h ./unicode.h ./ascii.h ./charset.h ./bitfield.h
> ./b
> mask.h ./clipboard.h ./menu.h ./prefs.h ./stat_types.h ./cmd.h
> ./cmd_types.h .
> md_enqueue.h ./ttb.h ./atb.h ./ctb_types.h ./ctb.h ./ktb_types.h ./ktb.h
> ./tun
> .h ./tune_types.h ./notes.h ./beep.h ./pcm.h ./midi.h ./fm.h
> ./io_generic.h ./
> o_types.h ./io_serial.h ./serial_types.h ./io_usb.h ./usb_types.h
> ./io_bluetoo
> .h ./io_misc.h ./ports.h ./driver.h ./drivers.h ./brl_driver.h
> ./brl_types.h .
> rl_dots.h ./brl_cmds.h ./brl_utils.h ./brl_base.h ./spk_driver.h ./spk.h
> ./spk
> ypes.h ./scr_driver.h ./scr_types.h ./scr_utils.h ./scr_base.h
> ./scr_real.h ./
> r_main.h ./system.h ./system_darwin.h ./system_java.h ./system_linux.h
> ./syste
> msdos.h ./system_windows.h ./win_errno.h ./win_pthread.h ../prologue.h
> ./../co
> ig.h ./../forbuild.h /brlttyjun51/usr/include/brltty
> cd ./../Messages && make install
> make[2]: Entering directory `/c/brlttyjunwin51/brltty/Messages'
> /mingw/bin/msgmerge --quiet --force-po --no-wrap --sort-output --update --
> de.
>  brltty.pot
> /mingw/bin/msgmerge --quiet --force-po --no-wrap --sort-output --update --
> fr.
>  brltty.pot
> /mingw/bin/msgmerge --quiet --force-po --no-wrap --sort-output --update --
> zh.
>  brltty.pot
> /bin/install -c -d /brlttyjun51/usr/share/locale
> for language in de fr zh; \
>         do \
>
> directory="/brlttyjun51/usr/share/locale/${language}/LC_MESSAGES";
>            /bin/install -c -d "${directory}"; \
>            /bin/install -c -m 644 "${language}.mo"
> "${directory}/brltty.mo"; \
>         done
> make[2]: Leaving directory `/c/brlttyjunwin51/brltty/Messages'
> /bin/install -c -d /brlttyjun51/usr/share/man/man1
> /bin/install -c -m 644 ./../Documents/*.1 /brlttyjun51/usr/share/man/man1
> /bin/install -c -d /brlttyjun51/lib
> /bin/install -c -s brlapi-0.6.dll /brlttyjun51/bin
> /bin/install -c -m 644 libbrlapi.dll.a
> /brlttyjun51/lib/libbrlapi-0.6.2.dll.a
> cd /brlttyjun51/lib && cp -p -f libbrlapi-0.6.2.dll.a libbrlapi.dll.a
> /bin/install -c -m 644 libbrlapi.a /brlttyjun51/lib
> /bin/install -c -m 644 brlapi.def /brlttyjun51/lib
> /bin/install -c -d /brlttyjun51/usr/include
> /bin/install -c -m 644 brlapi.h /brlttyjun51/usr/include
> /bin/install -c -m 644 brlapi_constants.h /brlttyjun51/usr/include
> /bin/install -c -m 644 ./brlapi_keycodes.h /brlttyjun51/usr/include
> /bin/install -c -m 644 ./brlapi_protocol.h /brlttyjun51/usr/include
> /bin/install -c -m 644 brlapi_brldefs.auto.h
> /brlttyjun51/usr/include/brlapi_b
> defs.h
> /bin/install -c -m 644 ./api.h /brlttyjun51/usr/include/brltty
> /bin/install -c -m 644 ./brldefs.h /brlttyjun51/usr/include/brltty
> /bin/install -c -d /brlttyjun51/usr/share/man/man3
> cd ./../Documents && make man3
> make[2]: Entering directory `/c/brlttyjunwin51/brltty/Documents'
> doxygen is not installed - BrlAPI reference documentation will not be made
> make[2]: Leaving directory `/c/brlttyjunwin51/brltty/Documents'
> set -- ./../Documents/BrlAPIref/man/man3/brlapi_*.3 && [ -f $1 ] || exit 0
> &&
>         /bin/install -c -m 644 $* /brlttyjun51/usr/share/man/man3
> file=/etc/brlapi.key && \
>         if test ! -f $file -a -w /etc -a -z "/brlttyjun51"; \
>         then umask 077 && ./brltty-genkey $file; fi
> set -- Lisp Python; \
>         for language \
>         do (cd ./../Bindings/$language && make all) || exit 1; \
>         done
> make[2]: Entering directory `/c/brlttyjunwin51/brltty/Bindings/Lisp'
>
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/c/brlttyjunwin51/brltty/Bindings/Lisp'
> make[2]: Entering directory `/c/brlttyjunwin51/brltty/Bindings/Python'
>
> cd ./../../Programs && make api
> make[3]: Entering directory `/c/brlttyjunwin51/brltty/Programs'
>
> make[3]: Nothing to be done for `api'.
> make[3]: Leaving directory `/c/brlttyjunwin51/brltty/Programs'
>
> set -- --quiet build --build-temp .; \
>         [ "mingw32" != "mingw32" ] || set -- "${@}" --compiler mingw32; \
>         /c/Python27/python ./setup.py "${@}"
> [ "mingw32" != "mingw32" ] || /c/Python27/python ./setup.py --quiet
> bdist_wini
> t --skip-build
> make[2]: Leaving directory `/c/brlttyjunwin51/brltty/Bindings/Python'
> set -- Lisp Python; \
>         for language \
>         do (cd ./../Bindings/$language && make install) || exit 1; \
>         done
> make[2]: Entering directory `/c/brlttyjunwin51/brltty/Bindings/Lisp'
> make[2]: Nothing to be done for `install'.
> make[2]: Leaving directory `/c/brlttyjunwin51/brltty/Bindings/Lisp'
> make[2]: Entering directory `/c/brlttyjunwin51/brltty/Bindings/Python'
>
> cd ./../../Programs && make api
> make[3]: Entering directory `/c/brlttyjunwin51/brltty/Programs'
>
> make[3]: Nothing to be done for `api'.
> make[3]: Leaving directory `/c/brlttyjunwin51/brltty/Programs'
>
> set -- --quiet build --build-temp .; \
>         [ "mingw32" != "mingw32" ] || set -- "${@}" --compiler mingw32; \
>         /c/Python27/python ./setup.py "${@}"
> [ "mingw32" != "mingw32" ] || /c/Python27/python ./setup.py --quiet
> bdist_wini
> t --skip-build
> set -- --quiet install --skip-build --record "installed-files"; \
>         [ -z "/brlttyjun51" ] || set -- "${@}" --root "/brlttyjun51"; \
>         /c/Python27/python ./setup.py "${@}"
> make[2]: Leaving directory `/c/brlttyjunwin51/brltty/Bindings/Python'
> set -- ; \
>         for driver do (cd ./../Drivers/Braille/$driver && make install);
> done
> set -- ; \
>         for driver do (cd ./../Drivers/Speech/$driver && make install);
> done
> set -- ; \
>         for driver do (cd ./../Drivers/Screen/$driver && make install);
> done
> make[1]: Leaving directory `/c/brlttyjunwin51/brltty/Programs'
>
>
>
> On Thu, Jun 12, 2014 at 1:01 PM, Siju Samuel <sijusamueltech at gmail.com>
> wrote:
>
>> I have the script getrevid   under brltty.  (in Both dev5.2 and 5.1). it
>> is working in 5.1 not in 5.2dev
>>
>> in addion
>>
>>  find ./ -iname getrevid
>> ./getrevid
>>
>>
>> grep getrevid * -i -r
>> Programs/Makefile:$(REVISION_HEADER): $(SRC_TOP)getrevid
>> Programs/Makefile:      -$(SRC_TOP)getrevid -q -o $@ $(SRC_TOP)
>> Programs/Makefile.in:$(REVISION_HEADER): $(SRC_TOP)getrevid
>> Programs/Makefile.in:   -$(SRC_TOP)getrevid -q -o $@ $(SRC_TOP)
>>
>>
>> On Thu, Jun 12, 2014 at 12:06 PM, Dave Mielke <dave at mielke.cc> wrote:
>>
>>> [quoted lines by Siju Samuel on 2014/06/11 at 16:30 -0500]
>>>
>>> >With the latest code it gives some compilation error related to
>>> >'revisionidentifier'. it is attached
>>>
>>> You're getting:
>>>
>>>    ../getrevid -q -o revision_identifier.h ../
>>>    make[1]: ../getrevid: Command not found
>>>
>>> As I mentioned yesterday, though, getrevid is a script that's part of the
>>> source tree. Can you verify if it is, or really isn't, in the top-level
>>> directory of the source tree? This error is claiming that it isn't.
>>>
>>> --
>>> Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word
>>> of God.
>>> Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
>>> EMail: dave at mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/
>>> _______________________________________________
>>> This message was sent via the BRLTTY mailing list.
>>> To post a message, send an e-mail to: BRLTTY at mielke.cc
>>> For general information, go to: http://mielke.cc/mailman/listinfo/brltty
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mielke.cc/pipermail/brltty/attachments/20140612/5ad7ccc0/attachment-0001.html>


More information about the BRLTTY mailing list