Запуск программы в linux (wine) среде

Скажите будет ли работать в таком варианте.
Наша программа под Win один из клиентов жалуется - что не может заставить работать ключ в linux (wine) среде

Re: Запуск программы в linux (wine) среде

Все новые модели ключей Guardant, начиная с Guardant Sign, поддерживают работу в среде Linux, в том числе, в HID - режиме*. Также поддерживается работа защищенных Windows - приложений под WINE. Для работы с ключами в ОС GNU/Linux необходимо добавить правило для штатного средства обработки HotPlugging.

*Более подробно о настройке ОС GNU/Linux и WINE можно узнать из документации (https://www.guardant.ru/support/download/manual/).

Re: Запуск программы в linux (wine) среде

Спасибо за быстрый ответ

Re: Запуск программы в linux (wine) среде

Mac OS X 10.8.2
При компиляции ошибки:

Mac-mini-Maxim:grdwine-0.5.4 max$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i386-apple-darwin12.2.0
checking host system type... i386-apple-darwin12.2.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for winegcc... winegcc
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdlib.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking whether to enable assertions... yes
checking whether stat file-mode macros are broken... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking linux/usbdevice_fs.h usability... no
checking linux/usbdevice_fs.h presence... no
checking for linux/usbdevice_fs.h... no
checking wine/windows/windef.h usability... no
checking wine/windows/windef.h presence... no
checking for wine/windows/windef.h... no
configure: WARNING: see the --with-wineincs option.
checking wine/windows/winbase.h usability... no
checking wine/windows/winbase.h presence... no
checking for wine/windows/winbase.h... no
configure: WARNING: see the --with-wineincs option.
checking wine/windows/winnt.h usability... no
checking wine/windows/winnt.h presence... no
checking for wine/windows/winnt.h... no
configure: WARNING: see the --with-wineincs option.
checking wine/debug.h usability... no
checking wine/debug.h presence... no
checking for wine/debug.h... no
configure: WARNING: see the --with-wineincs option.
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for fcntl... yes
checking for getenv... yes
checking for getpid... yes
checking for select... yes
checking for sleep... yes
checking for snprintf... yes
checking for umask... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands



Mac-mini-Maxim:grdwine-0.5.4 max$ make
make  all-recursive
Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -D__WINESRC__ -I/opt/local/include -I/opt/local/include/wine/windows    -fPIC -fno-strict-aliasing -g -O2 -MT grdwine.o -MD -MP -MF .deps/grdwine.Tpo -c -o grdwine.o grdwine.c
In file included from /opt/local/include/wine/windows/windef.h:252,
                 from grdwine.c:28:
/opt/local/include/wine/windows/winnt.h:814: warning: ‘ms_abi’ attribute directive ignored
........
/opt/local/include/wine/windows/winnt.h:1996: warning: ‘ms_abi’ attribute directive ignored
In file included from /opt/local/include/wine/windows/windef.h:252,
                 from grdwine.c:28:
/opt/local/include/wine/windows/winnt.h:2213: warning: ‘ms_abi’ attribute directive ignored
/opt/local/include/wine/windows/winnt.h:2248: warning: ‘ms_abi’ attribute directive ignored
In file included from /opt/local/include/wine/windows/windef.h:252,
                 from grdwine.c:28:
/opt/local/include/wine/windows/winnt.h:3362: warning: ‘ms_abi’ attribute directive ignored
In file included from /opt/local/include/wine/windows/windef.h:252,
                 from grdwine.c:28:
/opt/local/include/wine/windows/winnt.h:5120: warning: ‘ms_abi’ attribute directive ignored
..........
/opt/local/include/wine/windows/winnt.h:5135: warning: ‘ms_abi’ attribute directive ignored
In file included from /opt/local/include/wine/windows/windef.h:252,
                 from grdwine.c:28:
/opt/local/include/wine/windows/winnt.h:5202: warning: ‘ms_abi’ attribute directive ignored
/opt/local/include/wine/windows/winnt.h:5458: warning: ‘ms_abi’ attribute directive ignored
In file included from grdwine.c:28:
/opt/local/include/wine/windows/windef.h:309: warning: ‘ms_abi’ attribute directive ignored
/opt/local/include/wine/windows/windef.h:310: warning: ‘ms_abi’ attribute directive ignored
/opt/local/include/wine/windows/windef.h:311: warning: ‘ms_abi’ attribute directive ignored
In file included from grdwine.c:29:
/opt/local/include/wine/windows/winbase.h:44: warning: ‘ms_abi’ attribute directive ignored
/opt/local/include/wine/windows/winbase.h:46: warning: ‘ms_abi’ attribute directive ignored
/opt/local/include/wine/windows/winbase.h:157: warning: ‘ms_abi’ attribute directive ignored
In file included from grdwine.c:29:
/opt/local/include/wine/windows/winbase.h:560: warning: ‘ms_abi’ attribute directive ignored
.......
/opt/local/include/wine/windows/winbase.h:1274: warning: ‘ms_abi’ attribute directive ignored
In file included from grdwine.c:29:
/opt/local/include/wine/windows/winbase.h:1391: warning: ‘ms_abi’ attribute directive ignored
/opt/local/include/wine/windows/winbase.h:1393: warning: ‘ms_abi’ attribute directive ignored
......
/opt/local/include/wine/windows/winbase.h:1664: warning: ‘ms_abi’ attribute directive ignored
/opt/local/include/wine/windows/winbase.h:1665: error: expected declaration specifiers or ‘...’ before ‘__builtin_ms_va_list’
/opt/local/include/wine/windows/winbase.h:1665: warning: ‘ms_abi’ attribute directive ignored
/opt/local/include/wine/windows/winbase.h:1666: error: expected declaration specifiers or ‘...’ before ‘__builtin_ms_va_list’
/opt/local/include/wine/windows/winbase.h:1666: warning: ‘ms_abi’ attribute directive ignored
......
/opt/local/include/wine/windows/winbase.h:2727: warning: ‘ms_abi’ attribute directive ignored
In file included from grdwine.c:32:
grdimpl.h:30: warning: ‘__cdecl__’ attribute ignored
grdwine.c:38: warning: ‘ms_abi’ attribute directive ignored
grdwine.c:41: warning: ‘ms_abi’ attribute directive ignored
grdwine.c:47: warning: ‘ms_abi’ attribute directive ignored
grdwine.c:64: warning: ‘ms_abi’ attribute directive ignored
grdwine.c:82: warning: ‘ms_abi’ attribute directive ignored
grdwine.c: In function ‘GrdWine_DeviceIoctl’:
grdwine.c:94: warning: format ‘%u’ expects type ‘unsigned int’, but argument 7 has type ‘size_t’
grdwine.c:94: warning: format ‘%u’ expects type ‘unsigned int’, but argument 9 has type ‘size_t’
grdwine.c:94: warning: format ‘%u’ expects type ‘unsigned int’, but argument 11 has type ‘size_t’
grdwine.c: At top level:
grdwine.c:103: warning: ‘ms_abi’ attribute directive ignored
make[2]: *** [grdwine.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Mac-mini-Maxim:grdwine-0.5.4 max$

Ключ Guardant Stealth III Sign/Time USB - вообще есть шанс, что под Wine заработает?

Re: Запуск программы в linux (wine) среде

Здравствуйте.

umpim пишет:

Mac OS X 10.8.2
При компиляции ошибки:

umpim пишет:

Ключ Guardant Stealth III Sign/Time USB - вообще есть шанс, что под Wine заработает?

На сегодняшний день наши ключи не поддерживают работу в среде Mac OS и возможность запуска защищенного приложения по Wine нами не тестировалась.
У нас в планах на ближайшие 1-2 года реализация ограниченной поддержки Mac OS. Более конкретных данных, к сожалению, нет.