Results 1 to 5 of 5

Thread: Сборка hotkeys

  1. #1
    Join Date
    Aug 2010
    Location
    Russia
    Posts
    995

    Question Сборка hotkeys

    Пытаюсь собрать hotkeys 0.5.7.4. Архив с исходниками взял на Ubuntu -- Details of package hotkeys in oneiric

    Вроде все зависимости удовлетворены, но всё падает на make. Вывод ./configure:
    Code:
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets $(MAKE)... yes
    checking for working aclocal-1.4... missing
    checking for working autoconf... found
    checking for working automake-1.4... missing
    checking for working autoheader... found
    checking for working makeinfo... found
    checking whether to enable maintainer-specific portions of Makefiles... no
    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 how to run the C preprocessor... gcc -E
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for X... libraries , headers 
    checking for gethostbyname... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for IceConnectionNumber in -lICE... yes
    checking for xml2-config... /usr/bin/xml2-config
    checking for libxml - version >= 2.2.8... yes (version 2.7.7)
    checking for pthread_create in -lpthread... yes
    checking for db_create in -ldb... yes
    checking for version of db... >= 3.2.9, ok
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    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 whether sys/types.h defines makedev... yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    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 unistd.h... (cached) yes
    checking for string.h... (cached) yes
    checking for strings.h... (cached) yes
    checking syslog.h usability... yes
    checking syslog.h presence... yes
    checking for syslog.h... yes
    checking sys/file.h usability... yes
    checking sys/file.h presence... yes
    checking for sys/file.h... yes
    checking for an ANSI C-conforming const... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking whether gcc needs -traditional... no
    checking for vprintf... yes
    checking for _doprnt... no
    checking whether closedir returns void... no
    checking for select... yes
    checking for strdup... yes
    checking for strerror... yes
    checking for getopt_long... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
    config.status: creating src/Makefile
    config.status: WARNING:  src/Makefile.in seems to ignore the --datarootdir setting
    config.status: creating def/Makefile
    config.status: WARNING:  def/Makefile.in seems to ignore the --datarootdir setting
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing default-1 commands
    Вывод make:
    Code:
    make  all-recursive
    make[1]: Entering directory `/tmp/hotkeys-0.5.7.4'
    Making all in src
    make[2]: Entering directory `/tmp/hotkeys-0.5.7.4/src'
    gcc -DHAVE_CONFIG_H -DSHAREDIR=\"/usr/local/share/hotkeys\"               -DCONFDIR=\"/usr/local/etc\" -DCONFIG_NAME=\"hotkeys.conf\"     -g -O2  -I/usr/include/libxml2   -I..  -c hotkeys.c
    hotkeys.c: In function ‘doMute’:
    hotkeys.c:812:25: error: ‘osd’ undeclared (first use in this function)
    hotkeys.c:812:25: note: each undeclared identifier is reported only once for each function it appears in
    hotkeys.c:814:42: error: ‘XOSD_string’ undeclared (first use in this function)
    hotkeys.c: In function ‘ejectDisc’:
    hotkeys.c:971:48: error: ‘INT_MAX’ undeclared (first use in this function)
    make[2]: *** [hotkeys.o] Ошибка 1
    make[2]: Leaving directory `/tmp/hotkeys-0.5.7.4/src'
    make[1]: *** [all-recursive] Ошибка 1
    make[1]: Leaving directory `/tmp/hotkeys-0.5.7.4'
    make: *** [all-recursive-am] Ошибка 2
    Собственно вопрос: что тут можно сделать? Такое ощущение, что нужно вмешательство именно в код программы. Но тем временем под Ubuntu же это как-то собрано и дополнительных патчей не видать.

    oS 11.3 64-бита

  2. #2
    Join Date
    Jun 2008
    Location
    Moscow, Russia
    Posts
    2,953
    Blog Entries
    1

    Default Re: Сборка hotkeys


  3. #3
    Join Date
    Aug 2009
    Location
    Russia
    Posts
    2,247

    Default Re: Сборка hotkeys

    Совершенно лишняя вещь, имхо. Все легко и непринужденно делается с помощью связки xbindkeys+xdotool.
    Это решение позволяет настроить даже мышиные доп. клавиши.

  4. #4
    Join Date
    Aug 2010
    Location
    Russia
    Posts
    995

    Default Re: Сборка hotkeys

    Quote Originally Posted by joneone View Post
    Совершенно лишняя вещь, имхо. Все легко и непринужденно делается с помощью связки xbindkeys+xdotool.
    Это решение позволяет настроить даже мышиные доп. клавиши.
    А если xbindkeys --key говорит о двух клавишах как о одной? Обе действуют как Prt Scrn.

  5. #5
    Join Date
    Aug 2009
    Location
    Russia
    Posts
    2,247

    Default Re: Сборка hotkeys

    А что говорит xev?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •