astrand / xclip

Command line interface to the X11 clipboard
GNU General Public License v2.0
1.03k stars 73 forks source link

Build outside source directory fails: `make: *** No rule to make target 'Makefile.in', needed by 'Makefile'. Stop.` #132

Open paulmenzel opened 2 years ago

paulmenzel commented 2 years ago

Building the software outside the source directory fails:

@invidia:/dev/shm$ git clone https://github.com/astrand/xclip/
Cloning into 'xclip'...
remote: Enumerating objects: 1170, done.
remote: Counting objects: 100% (33/33), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 1170 (delta 11), reused 5 (delta 1), pack-reused 1137
Receiving objects: 100% (1170/1170), 322.03 KiB | 3.98 MiB/s, done.
Resolving deltas: 100% (793/793), done.
@invidia:/dev/shm$ cd xclip/
@invidia:/dev/shm/xclip$ git log --no-decorate --oneline -1
b372f73 Fix uninitialized variables causing segfault
@invidia:/dev/shm/xclip (master)$ autoreconf
@invidia:/dev/shm/xclip (master)$ cd ..
@invidia:/dev/shm$ mkdir build
@invidia:/dev/shm$ cd build/
@invidia:/dev/shm/build$ ../xclip/configure 
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 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 , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for 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... yes
checking X11/Xmu/Atoms.h presence... yes
checking for X11/Xmu/Atoms.h... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for library containing iconv... none required
checking for XmuClientWindow in -lXmu... yes
configure: creating ./config.status
config.status: creating Makefile
@invidia:/dev/shm/build$ make -j4
make: *** No rule to make target 'Makefile.in', needed by 'Makefile'.  Stop.
@invidia:/dev/shm/build$