For some reason I can't get NTP libs to cross compile. To my untrained eye it looks like it is cross-compiling to ARM. But, when I do $file they are not showing as ARM.
./configure -prefix=$(pwd) CC=~/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc LD=~/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld AS=~/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-as --host=arm-linux CFLAGS=-static
Result:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/eecklund/development/trunk/build_tools/ntp-4.2.8p8/sntp/libevent/build-aux/missing: Unknown `--is-lightweight' option
Try `/home/eecklund/development/trunk/build_tools/ntp-4.2.8p8/sntp/libevent/build-aux/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for arm-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking for style of include used by make... GNU
checking for arm-linux-gcc... /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc accepts -g... yes
checking for /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89... none needed
checking whether /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc understands -c and -o together... yes
checking dependency style of /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc... gcc3
checking how to run the C preprocessor... /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89... (cached) none needed
checking for /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc option to accept ISO C99... -std=gnu99
checking for arm-linux-gcc... (cached) /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc accepts -g... (cached) yes
checking for /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89... (cached) none needed
checking whether /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc understands -c and -o together... (cached) yes
checking dependency style of /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc... (cached) gcc3
checking whether /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc needs -traditional... no
checking if /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc can handle #warning... yes
checking if /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc supports __attribute__((...))... yes
checking if /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc can handle -Wstrict-overflow... yes
checking if /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc can handle -Winit-self... yes
checking if linker supports omitting unused code and data... no
checking additional compiler flags... none needed
checking additional linker flags... none needed
checking whether byte ordering is bigendian... no
checking for working volatile... yes
checking how to run the C preprocessor... /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc -E
checking how to run the C preprocessor... /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc -E
checking for arm-linux-g++... no
checking for arm-linux-c++... no
checking for arm-linux-gpp... no
checking for arm-linux-aCC... no
checking for arm-linux-CC... no
checking for arm-linux-cxx... no
checking for arm-linux-cc++... no
checking for arm-linux-cl.exe... no
checking for arm-linux-FCC... no
checking for arm-linux-KCC... no
checking for arm-linux-RCC... no
checking for arm-linux-xlC_r... no
checking for arm-linux-xlC... no
checking for g++... g++
configure: WARNING: using cross tools not prefixed with host triplet
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for bison... bison -y
checking whether /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc and cc understand -c and -o together... yes
checking whether the compiler supports C99 structure initialization... yes
checking to see if we need ylwrap VPATH hack... no
checking for install dir and man conventions... in file loc/redhat
checking for arm-linux-ar... no
checking for arm-linux-lib... no
checking for arm-linux-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc... /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld
checking if the linker (/home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-linux-dumpbin... no
checking for arm-linux-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to arm-unknown-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld option to reload object files... -r
checking for arm-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-ar... ar
checking for archiver #FILE support... #
checking for arm-linux-strip... strip
checking for arm-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc object... ok
checking for sysroot... no
checking for arm-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc static flag -static works... yes
checking if /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... yes
checking if /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc linker (/home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld
checking if the linker (/home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld) is GNU ld... yes
checking whether the g++ linker (/home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pid_t... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/procset.h usability... no
checking sys/procset.h presence... no
checking for sys/procset.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for dlfcn.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for memory.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for inttypes.h... (cached) yes
checking for working stdnoreturn.h... no
checking for runetype.h... no
checking for wchar.h... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for intptr_t... yes
checking for uintptr_t... yes
checking for uint_t... no
checking for pid_t... (cached) yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking size of char *... 4
checking size of int... 4
checking size of long... 4
checking size of short... 2
checking for pathfind in -lgen... no
checking for gettext in -lintl... no
checking for vprintf... yes
checking for _doprnt... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for mmap... yes
checking for canonicalize_file_name... yes
checking for snprintf... yes
checking for strdup... yes
checking for strchr... yes
checking for strrchr... yes
checking for strsignal... yes
checking for fchmod... yes
checking for fstat... yes
checking for chmod... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
configure: Using supplied libopts tearoff
checking for arm-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking if pkg-config is at least version 0.15.0... yes
checking if libevent 2 or later is installed... Package libevent_pthreads was not found in the pkg-config search path.
Perhaps you should add the directory containing `libevent_pthreads.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libevent_pthreads' found
no
configure: Using libevent tearoff
checking for size_t... (cached) yes
checking for stdarg.h... (cached) yes
checking for unsigned long long int... yes
checking for vsnprintf... yes
checking whether vsnprintf is C99 compliant... no
checking if C99-snprintf replacement vsnprintf will be used... yes
checking for inttypes.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for struct lconv.decimal_point... yes
checking for struct lconv.thousands_sep... yes
checking for long double... yes
checking for long long int... yes
checking for unsigned long long int... (cached) yes
checking for size_t... (cached) yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for uintptr_t... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for localeconv... yes
checking for an ANSI C-conforming const... yes
checking for snprintf... (cached) yes
checking whether snprintf is C99 compliant... no
checking if C99-snprintf replacement snprintf will be used... yes
checking for ld used by /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc... (cached) /home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld
checking if the linker (/home/eecklund/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld) is GNU ld... (cached) yes
checking for directory path separator... '/'
checking line editing libraries... edit,editline
checking for readline() with -ledit... no
checking for readline() with -ledit -ltermcap... no
checking for el_gets() with -ledit -ltermcap... no
checking for readline() with -ledit -lcurses... no
checking for el_gets() with -ledit -lcurses... no
checking for readline() with -ledit -lncurses... no
checking for el_gets() with -ledit -lncurses... no
checking for readline() with -leditline... no
checking for readline() with -leditline -ltermcap... no
checking for el_gets() with -leditline -ltermcap... no
checking for readline() with -leditline -lcurses... no
checking for el_gets() with -leditline -lcurses... no
checking for readline() with -leditline -lncurses... no
checking for el_gets() with -leditline -lncurses... no
checking for library containing cos... -lm
checking for vfork.h... (cached) no
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for library containing clock_gettime... -lrt
checking for clock_getres... yes
checking for clock_gettime... yes
checking for clock_settime... yes
checking for getclock... no
checking for stime... yes
checking for timegm... yes
checking for strlcpy... no
checking for strlcat... no
checking for library containing snprintb... no
checking for errno.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/types.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for net/if.h... yes
checking for linux/if_addr.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking for sys/param.h... (cached) yes
checking for sys/time.h... (cached) yes
checking sys/timers.h usability... no
checking sys/timers.h presence... no
checking for sys/timers.h... no
checking for sys/sysctl.h... yes
checking netinet/in_system.h usability... no
checking netinet/in_system.h presence... no
checking for netinet/in_system.h... no
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking for netinet/in.h... (cached) yes
checking for resolv.h... yes
checking for net/if_var.h... no
checking for netinet/ip.h... yes
checking for netinet/in_var.h... no
checking for library containing inet_pton... none required
checking for library containing inet_ntop... none required
checking for library containing setsockopt... none required
checking for recvmsg... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking size of time_t... 4
checking whether char is unsigned... yes
checking size of signed char... 1
checking for s_char... no
checking for long long... yes
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... 8
checking for uid_t in sys/types.h... yes
checking if we're including debugging code... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking for socketpair... yes
checking for _beginthread... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking POSIX thread version... 10
checking for LinuxThreads pthread.h... no
checking for GNU Pth pthread.h... no
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for pthread_create in default libraries... no
checking for pthread link with -kthread... no
checking for pthread link with -pthread... yes
configure: ol_link_threads: <posix> ol_link_pthreads <-pthread>
checking for sched_yield... yes
checking for pthread_yield... yes
checking for thr_yield... no
checking for pthread_kill... yes
checking for pthread_rwlock_destroy with <pthread.h>... yes
checking for pthread_detach with <pthread.h>... yes
checking for pthread_setconcurrency... yes
checking for pthread_getconcurrency... yes
checking for thr_setconcurrency... no
checking for thr_getconcurrency... no
checking for pthread_kill_other_threads_np... no
checking for LinuxThreads implementation... no
checking for LinuxThreads consistency... no
checking if pthread_create() works... yes
checking if select yields when using pthreads... cross
configure: error: crossing compiling: use --with-yielding-
After I run make, I check the file.
file ntpdate/ntpdate result:
ntpdate/ntpdate: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=0x4874a368a9eff3595cfca7948c4588627c80be80, not stripped
Did you try doing what it says?
/configure --with-yielding-select=yes -prefix=$(pwd) CC=~/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-gcc LD=~/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-ld AS=~/development/trunk/build_tools/arm-2010q1/bin/arm-none-linux-gnueabi-as --host=arm-linux CFLAGS=-static
I did that and then got a "missing openssl/bn.h" error during make, although I have openssl installed.
Fixed this by adding --with-openssl-incdir="/usr/include" as an option to configure. Now trying to solve an "error: you must have stdarg.h or varargs.h on your system" error during configure. Will get back here when and if I solve it.
Related
I am trying to compile vim with python3 support.
I cloned vim: git clone https://github.com/vim/vim and ran:
./configure --enable-python3interp
Output:
configure: loading cache auto/config.cache
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for gcc option to accept ISO C99... (cached) none needed
checking how to run the C preprocessor... (cached) gcc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for fgrep... (cached) /bin/grep -F
checking for library containing strerror... (cached) none required
checking for gawk... (cached) mawk
checking for strip... (cached) strip
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for unsigned long long int... (cached) yes
checking for long long int... (cached) yes
checking if the compiler supports trailing commas... yes
checking if the compiler supports C++ comments... yes
checking --enable-fail-if-missing argument... no
checking for clang version... N/A
configure: checking for buggy tools...
checking for BeOS... no
checking for QNX... no
checking for Darwin (Mac OS X)... no
checking for AvailabilityMacros.h... (cached) no
checking --with-local-dir argument... Defaulting to /usr/local
checking --with-vim-name argument... Defaulting to vim
checking --with-ex-name argument... Defaulting to ex
checking --with-view-name argument... Defaulting to view
checking --with-global-runtime argument... no
checking --with-modified-by argument... no
checking if character set is EBCDIC... no
checking --disable-smack argument... no
checking for linux/xattr.h... (cached) yes
checking for attr/xattr.h... (cached) no
checking --disable-selinux argument... no
checking for is_selinux_enabled in -lselinux... (cached) no
checking --with-features argument... Defaulting to huge
checking --with-compiledby argument... no
checking --disable-xsmp argument... no
checking --disable-xsmp-interact argument... no
checking --enable-luainterp argument... no
checking --enable-mzschemeinterp argument... no
checking --enable-perlinterp argument... no
checking --enable-pythoninterp argument... no
checking --enable-python3interp argument... yes
checking --with-python3-command argument... no
checking Python version... (cached) 3.6
checking Python is 3.0 or better... yep
checking Python's abiflags... (cached) m
checking Python's install prefix... (cached) /home/user/venvs/fundreader
checking Python's execution prefix... (cached) /home/user/venvs/fundreader
(cached) checking Python's configuration directory... (cached) /home/user/anaconda3/lib/python3.6/config-3.6m-x86_64-linux-gnu
(cached) checking Python3's dll name... (cached) libpython3.6m.a
checking if -pthread should be used... yes
checking if compile and link flags for Python 3 are sane... yes
checking if -fPIE can be added for Python3... yes
checking --enable-tclinterp argument... no
checking --enable-rubyinterp argument... no
checking --enable-cscope argument... no
checking --disable-netbeans argument... no
checking --disable-channel argument... no
checking for socket in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) yes
checking whether compiling with process communication is possible... yes
checking --enable-terminal argument... defaulting to yes
checking --enable-autoservername argument... no
checking --enable-multibyte argument... yes
checking --disable-rightleft argument... no
checking --disable-arabic argument... no
checking --enable-xim argument... defaulting to auto
checking --enable-fontset argument... no
checking for xmkmf... no
checking for X... (cached) libraries , headers
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking if X11 header files can be found... yes
checking for _XdmcpAuthDoIt in -lXdmcp... (cached) yes
checking for IceOpenConnection in -lICE... (cached) yes
checking for XpmCreatePixmapFromData in -lXpm... (cached) yes
checking if X11 header files implicitly declare return values... no
checking size of wchar_t is 2 bytes... (cached) no
checking --enable-gui argument... yes/auto - automatic GUI support
checking whether or not to look for GTK+ 2... yes
checking whether or not to look for GNOME... no
checking whether or not to look for Motif... yes
checking whether or not to look for Athena... yes
checking whether or not to look for neXtaw... yes
checking whether or not to look for Carbon... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking --disable-gtktest argument... gtk test enabled
no
checking for location of Motif GUI includes... <not found>
checking if Athena header files can be found... no
checking if neXtaw header files can be found... no
checking for X11/SM/SMlib.h... (cached) yes
checking for X11/xpm.h... (cached) yes
checking for X11/Sunkeysym.h... (cached) yes
checking for XIMText in X11/Xlib.h... yes
checking for /proc link to executable... /proc/self/exe
checking for CYGWIN or MSYS environment... no
checking whether toupper is broken... (cached) no
checking whether __DATE__ and __TIME__ work... yes
checking whether __attribute__((unused)) is allowed... yes
checking for elf.h... (cached) yes
checking for main in -lelf... (cached) no
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/utsname.h... (cached) yes
checking for termcap.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sgtty.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for termio.h... (cached) yes
checking for iconv.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for langinfo.h... (cached) yes
checking for math.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stropts.h... (cached) yes
checking for errno.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/systeminfo.h... (cached) no
checking for locale.h... (cached) yes
checking for sys/stream.h... (cached) no
checking for termios.h... (cached) yes
checking for libc.h... (cached) no
checking for sys/statfs.h... (cached) yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for pwd.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/ptms.h... (cached) no
checking for libintl.h... (cached) yes
checking for libgen.h... (cached) yes
checking for util/debug.h... (cached) no
checking for util/msg18n.h... (cached) no
checking for frame.h... (cached) no
checking for sys/acl.h... (cached) no
checking for sys/access.h... (cached) no
checking for sys/sysinfo.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
checking for sys/ptem.h... (cached) no
checking for sys/sysctl.h... (cached) yes
checking for pthread_np.h... no
checking for strings.h... (cached) yes
checking if strings.h can be included after string.h... yes
checking whether gcc needs -traditional... (cached) no
checking for an ANSI C-conforming const... (cached) yes
checking for working volatile... (cached) yes
checking for mode_t... (cached) yes
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for uint32_t... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for ino_t... (cached) yes
checking for dev_t... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for inline... (cached) inline
checking for rlim_t... (cached) yes
checking for stack_t... (cached) yes
checking whether stack_t has an ss_base field... no
checking --with-tlib argument... empty: automatic terminal library selection
checking for tgetent in -ltinfo... (cached) yes
checking whether we talk terminfo... (cached) yes
checking what tgetent() returns for an unknown terminal... (cached) zero
checking whether termcap.h contains ospeed... yes
checking whether termcap.h contains UP, BC and PC... yes
checking whether tputs() uses outfuntype... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for /dev/ptc... no
checking for SVR4 ptys... yes
checking for ptyranges... don't know
checking default tty permissions/group... (cached) world
checking return type of signal handlers... (cached) void
checking for struct sigcontext... yes
checking getcwd implementation is broken... (cached) no
checking for fchdir... (cached) yes
checking for fchown... (cached) yes
checking for fchmod... (cached) yes
checking for fsync... (cached) yes
checking for getcwd... (cached) yes
checking for getpseudotty... (cached) no
checking for getpwent... (cached) yes
checking for getpwnam... (cached) yes
checking for getpwuid... (cached) yes
checking for getrlimit... (cached) yes
checking for gettimeofday... (cached) yes
checking for localtime_r... (cached) yes
checking for lstat... (cached) yes
checking for memset... (cached) yes
checking for mkdtemp... (cached) yes
checking for nanosleep... (cached) yes
checking for opendir... (cached) yes
checking for putenv... (cached) yes
checking for qsort... (cached) yes
checking for readlink... (cached) yes
checking for select... (cached) yes
checking for setenv... (cached) yes
checking for getpgid... (cached) yes
checking for setpgid... (cached) yes
checking for setsid... (cached) yes
checking for sigaltstack... (cached) yes
checking for sigstack... (cached) yes
checking for sigset... (cached) yes
checking for sigsetjmp... (cached) no
checking for sigaction... (cached) yes
checking for sigprocmask... (cached) yes
checking for sigvec... (cached) no
checking for strcasecmp... (cached) yes
checking for strerror... (cached) yes
checking for strftime... (cached) yes
checking for stricmp... (cached) no
checking for strncasecmp... (cached) yes
checking for strnicmp... (cached) no
checking for strpbrk... (cached) yes
checking for strptime... (cached) yes
checking for strtol... (cached) yes
checking for tgetent... (cached) yes
checking for towlower... (cached) yes
checking for towupper... (cached) yes
checking for iswupper... (cached) yes
checking for tzset... (cached) yes
checking for usleep... (cached) yes
checking for utime... (cached) yes
checking for utimes... (cached) yes
checking for mblen... (cached) yes
checking for ftruncate... (cached) yes
checking for unsetenv... (cached) yes
checking for posix_openpt... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... (cached) int,fd_set *,struct timeval *
checking for _LARGEFILE_SOURCE value needed for large files... (cached) no
checking for special C compiler options needed for large files... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) no
checking --enable-canberra argument... Defaulting to yes
checking for libcanberra... no; try installing libcanberra-dev
checking for st_blksize... yes
checking whether stat() ignores a trailing slash... (cached) no
checking for iconv_open()... yes
checking for nl_langinfo(CODESET)... yes
checking for strtod in -lm... (cached) yes
checking for strtod() and other floating point functions... yes
checking for isinf()... yes
checking for isnan()... yes
checking --disable-acl argument... no
checking for acl_get_file in -lposix1e... (cached) no
checking for acl_get_file in -lacl... (cached) no
checking for POSIX ACL support... no
checking for acl_get in -lsec... (cached) no
checking for Solaris ACL support... no
checking for AIX ACL support... no
checking --disable-gpm argument... no
checking for gpm... (cached) no
checking --disable-sysmouse argument... no
checking for sysmouse... (cached) no
checking for FD_CLOEXEC... yes
checking for rename... yes
checking for sysctl... not usable
checking for sysinfo... yes
checking for sysinfo.mem_unit... yes
checking for sysconf... yes
checking size of int... (cached) 4
checking size of long... (cached) 8
checking size of time_t... (cached) 8
checking size of off_t... (cached) 8
checking uint32_t is 32 bits... ok
checking whether memmove handles overlaps... (cached) yes
checking whether X_LOCALE needed... no
checking whether Xutf8SetWMProperties() can be used... yes
checking for _xpg4_setrunelocale in -lxpg4... (cached) no
checking how to create tags... ctags
checking how to run man with a section nr... man -s
checking --disable-nls argument... no
checking for msgfmt... (cached) msgfmt
checking for NLS... gettext() works
checking for bind_textdomain_codeset... (cached) yes
checking for _nl_msg_cat_cntr... yes
checking if msgfmt supports --desktop... yes
checking for dlfcn.h... (cached) yes
checking for dlopen()... no
checking for dlopen() in -ldl... yes
checking for dlsym()... yes
checking for setjmp.h... (cached) yes
checking for GCC 3 or later... yes
checking whether we need -D_FORTIFY_SOURCE=1... yes
checking whether we need to force -D_FILE_OFFSET_BITS=64... no
checking linker --as-needed support... yes
configure: creating auto/config.status
config.status: creating auto/config.mk
config.status: creating auto/config.h
config.status: auto/config.h is unchanged
Then, I typed make and obtained this error message:
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make first
make[1] : on entre dans le répertoire « /home/user/vimtemp/src »
creating auto/pathdef.c
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/pathdef.o auto/pathdef.c
gcc -c -I. -I/home/user/venvs/fundreader/include/python3.6m -pthread -fPIE -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/if_python3.o if_python3.c
if_python3.c:69:10: fatal error: Python.h: Aucun fichier ou dossier de ce type
#include <Python.h>
^~~~~~~~~~
compilation terminated.
Makefile:3266: recipe for target 'objects/if_python3.o' failed
make[1]: *** [objects/if_python3.o] Error 1
make[1] : on quitte le répertoire « /home/user/vimtemp/src »
Makefile:26: recipe for target 'first' failed
make: *** [first] Error 2
How to make make run without errors so that I can run make install?
You manually installed Python-3.6m into directory /home/user/venvs/fundreader/ but the installation was incomplete: file /home/user/venvs/fundreader/include/python-3.6m/Python.h was not created.
(Also please read this: http://lzsiga.users.sourceforge.net/aix-linking.html#Q0007 )
I am trying to use tesserect in cygwin but facing installation issues. I am not good at linux but i know basic commands to get my work done. I used the following link to install the tesserect: How to build Tesseract on Cygwin but I am stuck at Installing Tesseract step 3.Configure it . On running ./configure LDFLAGS=-L/usr/local/lib i get the following:
Ashok.Sharma.468#CI5W10P051719 /opt/src/tesseract-3.05.01
$ ./configure LDFLAGS=-L/usr/local/lib
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
fatal: Not a git repository: './.git'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of g++... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking --enable-graphics argument... yes
checking whether to disable cube... no
checking --enable-embedded argument... no
checking --enable-opencl argument... no
checking how to run the C++ preprocessor... g++ -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 CL/cl.h usability... no
checking CL/cl.h presence... no
checking for CL/cl.h... no
checking OpenCL/cl.h usability... no
checking OpenCL/cl.h presence... no
checking for OpenCL/cl.h... no
checking tiffio.h usability... no
checking tiffio.h presence... no
checking for tiffio.h... no
checking for clGetPlatformIDs in -lOpenCL... no
checking --enable-visibility argument... no
checking --enable-multiple-libraries argument... no
checking whether to use tessdata-prefix... yes
checking whether to enable debugging... no
checking how to print strings... printf
checking for gcc... gcc
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/x86_64-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking how to convert x86_64-unknown-cygwin file names to x86_64-unknown-cygwin format... func_convert_file_noop
checking how to convert x86_64-unknown-cygwin file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-cygwin/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for ar... ar
checking for archiver #FILE support... #
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/x86_64-pc-cygwin/bin/ld.exe
checking if the linker (/usr/x86_64-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking if compiling with clang... no
checking whether compiler supports C++11... yes
checking for snprintf... yes
checking for library containing sem_init... none required
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking whether #! works in shell scripts... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for getline... yes
checking for wchar_t... yes
checking for long long int... yes
checking for off_t... yes
checking for mbstate_t... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LEPTONICA... no
configure: error: Leptonica 1.74 or higher is required. Try to install libleptonica-dev package.
I have already installed leptonica as per the instructions.
I tried configure: error: leptonica library missing (when building tesseract-ocr-3.01 on MinGW)
but in vain. What am I missing?
I want to compile XBMC from source code and i have an error about dependecies.This are the steps i follow :
1. `$git clone git://github.com/xbmc/xbmc.git`
2. `$cd $HOME/xbmc`
3. `$./bootstrap`
4. `$./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... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for git... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... none
checking how to run the C preprocessor... gcc -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... no
checking whether g++ supports C++11 features with -std=gnu++0x... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver #FILE support... #
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for uid_t in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether closedir returns void... no
checking for error_at_line... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether gcc needs -traditional... no
checking whether lstat correctly handles trailing slash... yes
checking whether lstat accepts an empty string... no
checking whether lstat correctly handles trailing slash... (cached) yes
checking for working memcmp... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/param.h... yes
checking for utime.h... yes
checking for alarm... yes
checking for working mktime... yes
checking for getpagesize... yes
checking for working mmap... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking for working strcoll... yes
checking for strftime... yes
checking for working strtod... yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for dup2... yes
checking for fdatasync... yes
checking for floor... no
checking for fs_stat_dev... no
checking for ftime... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getpagesize... (cached) yes
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for lchown... yes
checking for localeconv... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for modf... yes
checking for munmap... yes
checking for pow... no
checking for rmdir... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for socket... yes
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysinfo... yes
checking for tzset... yes
checking for utime... yes
checking for posix_fadvise... yes
checking for localtime_r... yes
checking size of int... 4
checking size of size_t... 8
checking for __sync_add_and_fetch(temp, 1)... yes
checking for __sync_sub_and_fetch(temp, 1)... yes
checking for __sync_val_compare_and_swap(temp, 1, 1)... yes
checking for std::u16string... yes
checking for std::u32string... yes
checking for char16_t... yes
checking for char32_t... yes
checking size of wchar_t... 4
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking boost/circular_buffer.hpp usability... no
checking boost/circular_buffer.hpp presence... no
checking for boost/c
ircular_buffer.hpp... no
configure: error: Could not find a required library. Please see the README for your platform.
5. `$make`
6. `$sudo make install`
./configure should create a Makefile to be executed by the next command "make" but it didn't create it.
I'm not sure what your trying to do. If your using a newish version of the code, then you should be using cmake and be following this readme https://github.com/xbmc/xbmc/tree/master/cmake#linux. That points here for Linux: https://github.com/xbmc/xbmc/blob/master/docs/README.linux
Specifically, for Linux you create a subdirectory kodi-build under the git workspace and create the build environment there. Building out-of-tree is preferable, but addons will want the built tree in that location, so follow their instructions on this.
From the aforementioned README.linux:
Create and change to build directory
$ mkdir kodi-build && cd kodi-build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
$ cmake --build . -- VERBOSE=1
You may find missing dependencies when you attempt to run either of these cmake commands (there are a LOT of dependencies). You can then use your distribution's package management system to find the packages needed for the fulfillment (such as dnf provides */<name> on Fedora).
I'm trying to install monit on linux. I ran the following commands :
wget http://mmonit.com/monit/dist/monit-5.5.tar.gz
tar zxvf monit-5.5.tar.gz
cd monit-5.5
./configure
and when i try :
make && make install
I get :
make: *** No targets specified and no makefile found. Stop.
monit-5.5 directory contains the following :
$ ls
CHANGES Makefile.in bootstrap configure doc monitrc
COPYING README config configure.ac libmonit src
Makefile.am aclocal.m4 config.log contrib monit.1
don't know what's the problem. thank you for your help.
[ec2-user#...~]$ sudo tar zxvf monit-5.5.tar.gz.1 monit-5.5/
monit-5.5/src/
monit-5.5/src/http/
monit-5.5/src/http/base64.h
monit-5.5/src/http/processor.h
monit-5.5/src/http/base64.c
monit-5.5/src/http/cervlet.c
monit-5.5/src/http/cervlet.h
monit-5.5/src/http/engine.h
monit-5.5/src/http/engine.c
monit-5.5/src/http/processor.c
monit-5.5/src/http/httpstatus.h
monit-5.5/src/p.y
monit-5.5/src/collector.c
monit-5.5/src/util.h
monit-5.5/src/ssl.c
monit-5.5/src/status.c
monit-5.5/src/monit.h
monit-5.5/src/log.c
monit-5.5/src/net.c
monit-5.5/src/y.tab.c
monit-5.5/src/file.h
monit-5.5/src/socket.h
monit-5.5/src/md5_crypt.c
monit-5.5/src/event.c
monit-5.5/src/md5.c
monit-5.5/src/daemonize.c
monit-5.5/src/signal.c
monit-5.5/src/process.h
monit-5.5/src/sha1.c
monit-5.5/src/lex.yy.c
monit-5.5/src/md5_crypt.h
monit-5.5/src/socket.c
monit-5.5/src/control.c
monit-5.5/src/config.h.in
monit-5.5/src/net.h
monit-5.5/src/env.c
monit-5.5/src/util.c
monit-5.5/src/alert.c
monit-5.5/src/l.l
monit-5.5/src/state.c
monit-5.5/src/alert.h
monit-5.5/src/md5.h
monit-5.5/src/http.c
monit-5.5/src/validate.c
monit-5.5/src/process.c
monit-5.5/src/gc.c
monit-5.5/src/device/
monit-5.5/src/device/device_sysdep.h
monit-5.5/src/device/sysdep_LINUX.c
monit-5.5/src/device/sysdep_NETBSD.c
monit-5.5/src/device/device.h
monit-5.5/src/device/sysdep_DARWIN.c
monit-5.5/src/device/sysdep_OPENBSD.c
monit-5.5/src/device/sysdep_UNKNOWN.c
monit-5.5/src/device/sysdep_SOLARIS.c
monit-5.5/src/device/device_common.c
monit-5.5/src/device/sysdep_AIX.c
monit-5.5/src/device/sysdep_FREEBSD.c
monit-5.5/src/device/sysdep_HPUX.c
monit-5.5/src/tokens.h
monit-5.5/src/state.h
monit-5.5/src/file.c
monit-5.5/src/spawn.c
monit-5.5/src/protocols/
monit-5.5/src/protocols/rsync.c
monit-5.5/src/protocols/pgsql.c
monit-5.5/src/protocols/mysql.c
monit-5.5/src/protocols/ftp.c
monit-5.5/src/protocols/protocol.c
monit-5.5/src/protocols/apache_status.c
monit-5.5/src/protocols/lmtp.c
monit-5.5/src/protocols/dns.c
monit-5.5/src/protocols/ntp3.c
monit-5.5/src/protocols/sip.c
monit-5.5/src/protocols/nntp.c
monit-5.5/src/protocols/tns.c
monit-5.5/src/protocols/ldap2.c
monit-5.5/src/protocols/smtp.c
monit-5.5/src/protocols/ldap3.c
monit-5.5/src/protocols/radius.c
monit-5.5/src/protocols/http.c
monit-5.5/src/protocols/dwp.c
monit-5.5/src/protocols/imap.c
monit-5.5/src/protocols/default.c
monit-5.5/src/protocols/gps.c
monit-5.5/src/protocols/protocol.h
monit-5.5/src/protocols/pop.c
monit-5.5/src/protocols/generic.c
monit-5.5/src/protocols/ssh.c
monit-5.5/src/protocols/memcache.c
monit-5.5/src/protocols/clamav.c
monit-5.5/src/protocols/postfix_policy.c
monit-5.5/src/protocols/rdate.c
monit-5.5/src/event.h
monit-5.5/src/xml.c
monit-5.5/src/ssl.h
monit-5.5/src/sha1.h
monit-5.5/src/process/
monit-5.5/src/process/sysdep_LINUX.c
monit-5.5/src/process/sysdep_NETBSD.c
monit-5.5/src/process/sysdep_DARWIN.c
monit-5.5/src/process/sysdep_OPENBSD.c
monit-5.5/src/process/sysdep_UNKNOWN.c
monit-5.5/src/process/process_sysdep.h
monit-5.5/src/process/process_common.c
monit-5.5/src/process/sysdep_SOLARIS.c
monit-5.5/src/process/sysdep_AIX.c
monit-5.5/src/process/sysdep_FREEBSD.c
monit-5.5/src/process/sysdep_HPUX.c
monit-5.5/src/sendmail.c
monit-5.5/src/monit.c
monit-5.5/monitrc
monit-5.5/CHANGES
monit-5.5/monit.1
monit-5.5/configure.ac
monit-5.5/configure
monit-5.5/aclocal.m4
monit-5.5/Makefile.in
monit-5.5/bootstrap
monit-5.5/libmonit/
monit-5.5/libmonit/src/
monit-5.5/libmonit/src/thread/
monit-5.5/libmonit/src/thread/Thread.h
monit-5.5/libmonit/src/thread/Thread.c
monit-5.5/libmonit/src/system/
monit-5.5/libmonit/src/system/Time.h
monit-5.5/libmonit/src/system/Net.h
monit-5.5/libmonit/src/system/Mem.c
monit-5.5/libmonit/src/system/Mem.h
monit-5.5/libmonit/src/system/Net.c
monit-5.5/libmonit/src/system/System.h
monit-5.5/libmonit/src/system/Command.h
monit-5.5/libmonit/src/system/Time.c
monit-5.5/libmonit/src/system/System.c
monit-5.5/libmonit/src/system/Process.h
monit-5.5/libmonit/src/system/Command.c
monit-5.5/libmonit/src/io/
monit-5.5/libmonit/src/io/File.h
monit-5.5/libmonit/src/io/Dir.h
monit-5.5/libmonit/src/io/InputStream.h
monit-5.5/libmonit/src/io/InputStream.c
monit-5.5/libmonit/src/io/OutputStream.h
monit-5.5/libmonit/src/io/OutputStream.c
monit-5.5/libmonit/src/io/File.c
monit-5.5/libmonit/src/io/Dir.c
monit-5.5/libmonit/src/util/
monit-5.5/libmonit/src/util/Str.h
monit-5.5/libmonit/src/util/Str.c
monit-5.5/libmonit/src/util/StringBuffer.h
monit-5.5/libmonit/src/util/StringBuffer.c
monit-5.5/libmonit/src/util/List.h
monit-5.5/libmonit/src/util/List.c
monit-5.5/libmonit/src/xconfig.h.in
monit-5.5/libmonit/src/Bootstrap.h
monit-5.5/libmonit/src/Bootstrap.c
monit-5.5/libmonit/src/exceptions/
monit-5.5/libmonit/src/exceptions/MemoryException.h
monit-5.5/libmonit/src/exceptions/AssertException.h
monit-5.5/libmonit/src/exceptions/Exception.h
monit-5.5/libmonit/src/exceptions/NumberFormatException.h
monit-5.5/libmonit/src/exceptions/IOException.h
monit-5.5/libmonit/src/exceptions/assert.c
monit-5.5/libmonit/src/exceptions/Exception.c
monit-5.5/libmonit/src/exceptions/assert.h
monit-5.5/libmonit/src/Config.h
monit-5.5/libmonit/libtool
monit-5.5/libmonit/Makefile
monit-5.5/libmonit/configure.ac
monit-5.5/libmonit/test/
monit-5.5/libmonit/test/OutputStreamTest.c
monit-5.5/libmonit/test/Makefile
monit-5.5/libmonit/test/FileTest.c
monit-5.5/libmonit/test/StrTest.c
monit-5.5/libmonit/test/TimeTest.c
monit-5.5/libmonit/test/CommandTest.c
monit-5.5/libmonit/test/Makefile.in
monit-5.5/libmonit/test/ListTest.c
monit-5.5/libmonit/test/DirTest.c
monit-5.5/libmonit/test/NetTest.c
monit-5.5/libmonit/test/test.sh
monit-5.5/libmonit/test/StringBufferTest.c
monit-5.5/libmonit/test/ExceptionTest.c
monit-5.5/libmonit/test/Makefile.am
monit-5.5/libmonit/test/SystemTest.c
monit-5.5/libmonit/test/InputStreamTest.c
monit-5.5/libmonit/test/data/
monit-5.5/libmonit/test/data/stream.data
monit-5.5/libmonit/configure
monit-5.5/libmonit/aclocal.m4
monit-5.5/libmonit/Makefile.in
monit-5.5/libmonit/bootstrap
monit-5.5/libmonit/config/
monit-5.5/libmonit/config/config.guess
monit-5.5/libmonit/config/missing
monit-5.5/libmonit/config/ltmain.sh
monit-5.5/libmonit/config/install-sh
monit-5.5/libmonit/config/config.sub
monit-5.5/libmonit/COPYING
monit-5.5/libmonit/README
monit-5.5/libmonit/Makefile.am
monit-5.5/libmonit/m4/
monit-5.5/libmonit/m4/libtool.m4
monit-5.5/libmonit/m4/lt~obsolete.m4
monit-5.5/libmonit/m4/ltsugar.m4
monit-5.5/libmonit/m4/ltoptions.m4
monit-5.5/libmonit/m4/ltversion.m4
monit-5.5/contrib/
monit-5.5/contrib/monitrc-gentoo
monit-5.5/contrib/rc.monit
monit-5.5/contrib/packages/
monit-5.5/contrib/packages/freebsd/
monit-5.5/contrib/packages/freebsd/pkg-message
monit-5.5/contrib/packages/freebsd/distinfo
monit-5.5/contrib/packages/freebsd/Makefile
monit-5.5/contrib/packages/freebsd/files/
monit-5.5/contrib/packages/freebsd/files/monit.sh
monit-5.5/contrib/packages/freebsd/pkg-descr
monit-5.5/contrib/packages/freebsd/README.porter
monit-5.5/contrib/packages/redhat/
monit-5.5/contrib/packages/redhat/monit.spec
monit-5.5/contrib/packages/solaris/
monit-5.5/contrib/packages/solaris/README.solaris
monit-5.5/contrib/packages/solaris/init.monit
monit-5.5/contrib/packages/solaris/makesolpkg.sh
monit-5.5/contrib/monit.upstart.in
monit-5.5/contrib/monit.service.in
monit-5.5/contrib/monit.service
monit-5.5/contrib/monit.upstart
monit-5.5/config/
monit-5.5/config/config.guess
monit-5.5/config/missing
monit-5.5/config/ltmain.sh
monit-5.5/config/install-sh
monit-5.5/config/config.sub
monit-5.5/COPYING
monit-5.5/README
monit-5.5/doc/
monit-5.5/doc/monit.pod
monit-5.5/doc/PLATFORMS
monit-5.5/Makefile.am
[ec2-user#domU-12-31-39-03-28-A1 ~]$ ls
crawller monit-5.5 node-v0.8.14 tmp
m_2.2.0.tgz monit-5.5.tar.gz node-v0.8.14.tar.gz
mongodb-linux-x86_64-2.2.0 monit-5.5.tar.gz.1 nodejs
[ec2-user#domU-12-31-39-03-28-A1 ~]$ cd monit-5.5
[ec2-user#domU-12-31-39-03-28-A1 monit-5.5]$ sudo ./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... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... none
checking whether make sets $(MAKE)... (cached) yes
checking for bison... bison -y
checking for flex... /usr/bin/flex
checking for pod2man... /usr/bin/pod2man
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for socket in -lsocket... no
checking for socket in -linet... no
checking for inet_addr in -lnsl... yes
checking for inet_aton in -lresolv... yes
checking for crypt in -lc... no
checking for crypt in -lcrypt... yes
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking asm/page.h usability... no
checking asm/page.h presence... no
checking for asm/page.h... no
checking asm/param.h usability... yes
checking asm/param.h presence... yes
checking for asm/param.h... yes
checking cf.h usability... no
checking cf.h presence... no
checking for cf.h... no
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking kvm.h usability... no
checking kvm.h presence... no
checking for kvm.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking sys/protosw.h usability... no
checking sys/protosw.h presence... no
checking for sys/protosw.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking loadavg.h usability... no
checking loadavg.h presence... no
checking for loadavg.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking mach/host_info.h usability... no
checking mach/host_info.h presence... no
checking for mach/host_info.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking mach/mach_host.h usability... no
checking mach/mach_host.h presence... no
checking for mach/mach_host.h... no
checking for memory.h... (cached) yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking procfs.h usability... no
checking procfs.h presence... no
checking for procfs.h... no
checking sys/procfs.h usability... yes
checking sys/procfs.h presence... yes
checking for sys/procfs.h... yes
checking procinfo.h usability... no
checking procinfo.h presence... no
checking for procinfo.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... 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 for string.h... (cached) yes
checking for strings.h... (cached) yes
checking stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/cfgodm.h usability... no
checking sys/cfgodm.h presence... no
checking for sys/cfgodm.h... no
checking sys/cfgdb.h usability... no
checking sys/cfgdb.h presence... no
checking for sys/cfgdb.h... no
checking sys/dk.h usability... no
checking sys/dk.h presence... no
checking for sys/dk.h... no
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/lock.h usability... no
checking sys/lock.h presence... no
checking for sys/lock.h... no
checking sys/mnttab.h usability... no
checking sys/mnttab.h presence... no
checking for sys/mnttab.h... no
checking sys/mutex.h usability... no
checking sys/mutex.h presence... no
checking for sys/mutex.h... no
checking sys/nlist.h usability... no
checking sys/nlist.h presence... no
checking for sys/nlist.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysinfo.h usability... yes
checking sys/sysinfo.h presence... yes
checking for sys/sysinfo.h... yes
checking sys/systemcfg.h usability... no
checking sys/systemcfg.h presence... no
checking for sys/systemcfg.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/tree.h usability... no
checking sys/tree.h presence... no
checking for sys/tree.h... no
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/vmmeter.h usability... no
checking sys/vmmeter.h presence... no
checking for sys/vmmeter.h... no
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking uvm/uvm.h usability... no
checking uvm/uvm.h presence... no
checking for uvm/uvm.h... no
checking uvm/uvm_extern.h usability... no
checking uvm/uvm_extern.h presence... no
checking for uvm/uvm_extern.h... no
checking vm/vm.h usability... no
checking vm/vm.h presence... no
checking for vm/vm.h... no
checking for libperfstat.h... no
checking for netinet/ip.h... yes
checking for net/if.h... yes
checking for netinet/ip_icmp.h... yes
checking for sys/sysctl.h... yes
checking for sys/mount.h... yes
checking for sys/proc.h... no
checking for sys/swap.h... yes
checking for sys/ucred.h... no
checking for sys/user.h... yes
checking for machine/vmparam.h... no
checking for vm/pmap.h... no
checking for machine/pmap.h... no
checking for vm/vm_map.h... no
checking for vm/vm_object.h... no
checking for sys/resourcevar.h... no
checking for uvm/uvm_map.h... no
checking for uvm/uvm_pmap.h... no
checking for uvm/uvm_object.h... no
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for pid_t... (cached) yes
checking return type of signal handlers... void
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_gmtoff... no
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for statfs... yes
checking for statvfs... yes
checking for setlocale... yes
checking for getaddrinfo... yes
checking for syslog... yes
checking for vsyslog... yes
checking for backtrace... yes
checking for getloadavg... yes
checking for SOL_IP... yes
checking for va_copy... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking pid file location... /var/run
checking for large files support... enabled
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for PAM support... enabled
checking for pam_start in -lpam... no
configure: error: PAM enabled but headers or library not found, install the PAM development support or run configure --without-pam
[ec2-user#... monit-5.5]$ make && make install
make: *** No targets specified and no makefile found. Stop.
Thank you very much, you were right, the problem was I didn't have pam and ssl headers installed
So what I did that solved the problem :
sudo -s
sudo yum install pam-devel
sudo yum install openssl-devel
sudo yum update (probably not necessary but to be on the sife side)
then, I had problems with the monitrc file so i copied it to ~ and
chmod 0700 ~/.monitrc
I ended up to this question trying to figure out the same issue on Debian. So here is what I needed to do to get it working on Debian.
#Install dependencies and required tools
sudo apt-get install libssl-dev libpam0g-dev gcc make
# CHECK LATEST MONIT VERSION http://mmonit.com/monit/dist/
wget http://mmonit.com/monit/dist/monit-5.12.2.tar.gz
tar xzvf monit-5.12.2.tar.gz
cd monit-5.12.2/
sudo ./configure --prefix=/usr/sbin --bindir=/usr/sbin --sysconfdir=/etc/monit/
sudo make
sudo make install
I needed to install libssl-dev and libpam0g-dev to make it work. I also added some options to configure to make it match the usual locations.
Make sure that you have installed all of the required dependencies needed to build Monit. After some research I couldn't turn up what they are, but they are probably in the documentation. Of course, after you get that figured out, re-extract the tar archive to refresh the contents of the directory.
You should install the correct libraries for pam and readline:
The PAM libraries are needed for the PAM plugin.
On the Centos and RHEL -build VMs, install the pam-devel package:
sudo yum install pam-devel
On all the Debian/Ubuntu -build virtual machines, install libpam0g-dev:
sudo apt-get install libpam0g-dev
On debian6/maverick/natty, install libreadline5-dev (replacing any libreadline6-dev already there):
sudo apt-get install libreadline5-dev
On oneiric (and any newer, eg. Debian 7 or Ubuntu 12.04), the package is called libreadline-gplv2-dev:
sudo apt-get install libreadline-gplv2-dev
I want to cross-compile SQL-Cipher with OpenSSL for my Raspberry Pi. I'm using the crosstool-ng as compiler toolchain.
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="/home/USER1/openssl-1.0.1c/libcrypto.a"
gives me following errors:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
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 sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for intptr_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uintptr_t... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for usleep... yes
checking for fdatasync... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for localtime_s... no
checking for utime... yes
checking for malloc_usable_size... yes
checking for tclsh8.5... no
checking for tclsh... no
Warning: can't find tclsh - defaulting to non-amalgamation build.
./configure: line 12321: tclsh: command not found
configure: Version set to 3.7
configure: Release set to 3.7.12.1
configure: Version number set to 3007012
checking whether to support threadsafe operation... yes
checking for library containing pthread_create... -lpthread
checking whether to allow connections to be shared across threads... no
checking whether to support shared library linked as release mode or not... no
checking whether to use an in-ram database for temporary tables... yes
checking if executables have the .exe suffix... unknown
checking host system type... (cached) x86_64-unknown-linux-gnu
checking for Tcl configuration... ./configure: line 12912: tclsh: command not found
configure: WARNING: Can't find Tcl configuration definitions
configure: WARNING: *** Without Tcl the regression tests cannot be executed ***
configure: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***
checking for library containing tgetent... -lncurses
checking for readline in -lreadline... yes
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking for /usr/include/readline.h... no
checking for /usr/include/readline/readline.h... yes
checking for library containing fdatasync... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlite3.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands
matze#matze-F5SR:~/Studienarbeit/sqlcipher-sqlcipher-ceee996$ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="/home/matze/Studienarbeit/openssl-1.0.1c/libcrypto.a"
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
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 sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for intptr_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uintptr_t... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for usleep... yes
checking for fdatasync... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for localtime_s... no
checking for utime... yes
checking for malloc_usable_size... yes
checking for tclsh8.5... no
checking for tclsh... no
Warning: can't find tclsh - defaulting to non-amalgamation build.
./configure: line 12321: tclsh: command not found
configure: Version set to 3.7
configure: Release set to 3.7.12.1
configure: Version number set to 3007012
checking whether to support threadsafe operation... yes
checking for library containing pthread_create... -lpthread
checking whether to allow connections to be shared across threads... no
checking whether to support shared library linked as release mode or not... no
checking whether to use an in-ram database for temporary tables... yes
checking if executables have the .exe suffix... unknown
checking host system type... (cached) x86_64-unknown-linux-gnu
checking for Tcl configuration... ./configure: line 12912: tclsh: command not found
configure: WARNING: Can't find Tcl configuration definitions
configure: WARNING: *** Without Tcl the regression tests cannot be executed ***
configure: WARNING: *** Consider using --with-tcl=... to define location of Tcl ***
checking for library containing tgetent... -lncurses
checking for readline in -lreadline... yes
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking for /usr/include/readline.h... no
checking for /usr/include/readline/readline.h... yes
checking for library containing fdatasync... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlite3.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands
How can I get the missing items?
And how can I tell the config-script to use a different compiler?
To set a new compiler, just assign to CC.
./configure CC=/path/to/compiler ...
To find tclsh, install tcl and make sure that the directory containing tclsh is in your PATH when you run the configure script.
To solve this install tcl package on your PC. run this command on your terminal
sudo apt-get install tcl