On 07/20/2014 08:03 PM, Jamenson Ferreira Espindula de Almeida Melo wrote:
> 
> 
> PIN-Entry-0.8.3 demands Xorg installed?!
> 
> Jaboatão dos Guararapes, PE, Brazil, july, 20, 2014.
> 
> Problem: PIN Entry 8.0.3 is not being installed.
> 
> I have just end to construct a new Linux From Scratch box.   I did not
> install any extra software yet.   The first one I decided to install was
> GnuPG-2.0.22, which has PIN-Entry-0.8.3 as Recommended (Run-time
> requirement for most of the package's functionality).   Here is the log of
> the configuration:
> 
> *./configure --prefix=/usr output:*
> 
> 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 style of include used by make... GNU
> 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 dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /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 whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking whether make sets $(MAKE)... (cached) yes
> checking whether build environment is sane... yes
> checking for gcc... (cached) gcc
> 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 dependency style of gcc... (cached) gcc3
> checking how to run the C preprocessor... gcc -E
> checking for ranlib... ranlib
> 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++... gcc3
> checking whether ln -s works... yes
> checking for windres... no
> checking for gitlog-to-changelog... no
> checking if gcc supports -Wno-pointer-sign... yes
> checking for ANSI C header files... (cached) yes
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking langinfo.h usability... yes
> checking langinfo.h presence... yes
> checking for langinfo.h... yes
> checking termio.h usability... yes
> checking termio.h presence... yes
> checking for termio.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking wchar.h usability... yes
> checking wchar.h presence... yes
> checking for wchar.h... yes
> checking for seteuid... yes
> checking for stpcpy... yes
> checking for mmap... yes
> checking for mlock... yes
> checking whether mlock is broken... no
> checking for byte typedef... no
> checking for ulong typedef... yes
> checking for setcap... :
> checking for cap_set_proc in -lcap... no
> checking for initscr in -lncursesw... yes
> checking for ncurses include dir... none
> checking for glib-config... no
> checking for GLIB - version >= 1.2.0... no
> *** The glib-config script installed by GLIB could not be found
> *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
> *** your path, or set the GLIB_CONFIG environment variable to the
> *** full path to glib-config.
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking for iconv... yes
> checking for iconv declaration...
>          extern size_t iconv (iconv_t cd, char * *inbuf, size_t
> *inbytesleft, char * *outbuf, size_t *outbytesleft);
> checking for pkg-config... /usr/bin/pkg-config
> checking for gtk+-2... no
> configure: WARNING: pkg-config could not find the module gtk+-2.0
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... (cached) yes
> checking dependency style of g++... (cached) gcc3
> checking whether g++ supports -fexceptions... yes
> checking how to run the C++ preprocessor... g++ -E
> checking for X... no
> configure: error: Can't find X. Please check your installation and add the
> correct paths!
> 
> So, I tried a trick:
> 
> *./configure --prefix=/usr --without-x output:*
> 
> 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 style of include used by make... GNU
> 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 dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /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 whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking whether make sets $(MAKE)... (cached) yes
> checking whether build environment is sane... yes
> checking for gcc... (cached) gcc
> 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 dependency style of gcc... (cached) gcc3
> checking how to run the C preprocessor... gcc -E
> checking for ranlib... ranlib
> 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++... gcc3
> checking whether ln -s works... yes
> checking for windres... no
> checking for gitlog-to-changelog... no
> checking if gcc supports -Wno-pointer-sign... yes
> checking for ANSI C header files... (cached) yes
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking langinfo.h usability... yes
> checking langinfo.h presence... yes
> checking for langinfo.h... yes
> checking termio.h usability... yes
> checking termio.h presence... yes
> checking for termio.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking wchar.h usability... yes
> checking wchar.h presence... yes
> checking for wchar.h... yes
> checking for seteuid... yes
> checking for stpcpy... yes
> checking for mmap... yes
> checking for mlock... yes
> checking whether mlock is broken... no
> checking for byte typedef... no
> checking for ulong typedef... yes
> checking for setcap... :
> checking for cap_set_proc in -lcap... no
> checking for initscr in -lncursesw... yes
> checking for ncurses include dir... none
> checking for glib-config... no
> checking for GLIB - version >= 1.2.0... no
> *** The glib-config script installed by GLIB could not be found
> *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
> *** your path, or set the GLIB_CONFIG environment variable to the
> *** full path to glib-config.
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking for iconv... yes
> checking for iconv declaration...
>          extern size_t iconv (iconv_t cd, char * *inbuf, size_t
> *inbytesleft, char * *outbuf, size_t *outbytesleft);
> checking for pkg-config... /usr/bin/pkg-config
> checking for gtk+-2... no
> configure: WARNING: pkg-config could not find the module gtk+-2.0
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether g++ accepts -g... (cached) yes
> checking dependency style of g++... (cached) gcc3
> checking whether g++ supports -fexceptions... yes
> checking how to run the C++ preprocessor... g++ -E
> checking for X... disabled
> configure: error: Can't find X. Please check your installation and add the
> correct paths!
> 
> I have searched the Internet finding any clue to solve this issue, but no
> success.
> 
> Any idea?
> 
> Thank you.
> 
> Jamenson Ferreira Espindula de Almeida Melo
> Linux User #166197
> 
> Key fingerprint:
> 234D 1914 4224 7C53 BD13  6855 2AE0 25C0 08A8 6180
> 

Try any, or all of the following configure options:

--disable-glibtest --disable-gtktest --disable-pinentry-gtk2
--disable-pinentry-qt4 --without-x

I suspect it's GTK+ that pulls X, but I could be wrong.

-- 
Note: My last name is not Krejzi.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to