[Xastir-dev] Compiling from "build" directory

Curt Mills curt.we7u at gmail.com
Mon Apr 15 09:07:09 PDT 2019


I admit I usually don't use a "build" directory as the instructions
currently say to do.

I just tried it and end up with this:

  error: source directory already configured; run "make distclean" there
first

The sequence was:

$ cd Xastir
$ ./bootstrap.sh
$ mkdir -p build
$ cd build
$ ../configure CPPFLAGS="-I/usr/include/libgeotiff"
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
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 whether make supports nested variables... yes
configure: error: source directory already configured; run "make distclean"
there first

Following through and doing a make distclean at either level doesn't get me
past this issue. Anyone know why? I also deleted the "autom4te.cache"
directory: Didn't make a difference.

I can certainly continue to build in the Xastir directory w/o the build
directory, but it would be nice to understant this so I can update the SuSE
build instructions.

-- 
Curt, WE7U        http://we7u.wetnet.net        http://www.sarguydigital.com


More information about the Xastir-dev mailing list