Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 configure fails on 0.12

open
nobody
None
7
2009-11-13
2009-11-10
Eitan Adler
No

$locate Atoms.h|grep X11
/usr/local/include/X11/Xmu/Atoms.h

$ ./configure -x-includes=/usr/local/include/X11/
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 a BSD-compatible install... /usr/bin/install -c
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 X... libraries /usr/local/lib, headers /usr/local/include
checking whether -R must be followed by a space... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for strip... strip
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 X11/Xmu/Atoms.h usability... no
checking X11/Xmu/Atoms.h presence... no
checking for X11/Xmu/Atoms.h... no
configure: error: *** X11/Xmu/Atoms.h is missing ***

Discussion

  • Eitan Adler
    Eitan Adler
    2009-11-13

    xclip won't build without a patch similar to the one below:
    I've been unable to get configure to look in the correct include path...

    --- configure.ac.old 2009-11-02 22:15:13.000000000 +0200
    +++ configure.ac 2009-11-02 22:15:18.000000000 +0200
    @@ -12,9 +12,6 @@
    AC_HEADER_STDC
    AC_PATH_XTRA
    AC_CHECK_TOOL(STRIP, strip, :)
    -AC_CHECK_HEADER([X11/Xmu/Atoms.h], [], AC_MSG_ERROR([*** X11/Xmu/Atoms.h is missing ***]))
    -AC_CHECK_HEADER([X11/Intrinsic.h], [], AC_MSG_ERROR([*** X11/Intrinsic.h is missing ***]))
    -AC_CHECK_LIB(Xmu, XmuClientWindow, [], AC_MSG_ERROR([*** libXmu not found ***]))

    AC_OUTPUT(Makefile)

     
  • Eitan Adler
    Eitan Adler
    2009-11-13

    • priority: 5 --> 7