Subject: xpdf's configure does not recognize lesstif
To: None <netbsd-users@netbsd.org>
From: None <dilmah@mail.nnov.ru>
List: netbsd-users
Date: 09/08/2003 14:37:20
Hello
I am running NetBSD 1.6.1. I try to compile xpdf:
[dina@flamante (ttyp3) 18:07:58 /usr/src/alien/xpdf-2.01 0% ./configure --
enable-a4-paper --enable-opi --enable-multithreaded --with-t1-
library=/usr/local/lib --with-t1-includes=/usr/local/include --with-
freetype2-library=/usr/local/lib --with-freetype2-
includes=/usr/local/include --with-Xm-library=/usr/local/lib --with-Xm-
includes=/usr/local/include CC=/usr/local/bin/gcc
checking for gcc... /usr/local/bin/gcc
checking for C compiler default output... 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 /usr/local/bin/gcc accepts -g... yes
checking for library containing strerror... none required
checking for /usr/local/bin/gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for OS/2 (with EMX)... no
checking for DOS (with DJGPP)... no
checking how to run the C preprocessor... /usr/local/bin/gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for gethostbyname... (cached) yes
checking select() and fd_set in sys/select.h and sys/bsdtypes.h... not
needed
checking FD_ZERO and strings.h or bstring.h... need strings.h
checking for rewinddir... no
checking for rewinddir in -lcposix... no
checking for popen... no
checking for mkstemp... no
checking for mkstemps... no
checking whether select takes fd_set arguments... 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 _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking for fseek64... no
checking for ftell64... 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 whether to use Xpm library... maybe
checking where to find the Xpm header files...
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
using Xpm library
checking whether to use Xext library... maybe
checking where to find the Xext header files...
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for XextAddDisplay in -lXext... yes
using Xext library
checking whether to use Xp library... maybe
checking where to find the Xp header files...
checking X11/extensions/Print.h usability... yes
checking X11/extensions/Print.h presence... yes
checking for X11/extensions/Print.h... yes
checking for XpStartPage in -lXp... yes
using Xp library
checking whether to use Xt library... maybe
checking where to find the Xt header files...
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking for XtAppInitialize in -lXt... yes
using Xt library
checking whether to use Xm library... (cached) /usr/local/lib
checking where to find the Xm header files... (cached) /usr/local/include
checking Xm/XmAll.h usability... yes
checking Xm/XmAll.h presence... yes
checking for Xm/XmAll.h... yes
checking for XmCreateForm in -lXm... no
configure: WARNING: requested Xm library not found!
checking whether to use libpaper library... maybe
checking where to find the libpaper header files...
checking paper.h usability... no
checking paper.h presence... no
checking for paper.h... no
not using libpaper library
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xpdf/Makefile
config.status: creating goo/Makefile
config.status: creating aconf.h
configure: WARNING: Couldn't find X / Motif -- you will be able to
compile
pdftops, pdftotext, pdfinfo, pdffonts, and pdfimages, but not xpdf
The lines under question are:
checking whether to use Xm library... (cached) /usr/local/lib
checking where to find the Xm header files... (cached) /usr/local/include
checking Xm/XmAll.h usability... yes
checking Xm/XmAll.h presence... yes
checking for Xm/XmAll.h... yes
checking for XmCreateForm in -lXm... no
configure: WARNING: requested Xm library not found!
But I have installed lesstif-0.93.49:
[dina@flamante (ttyp4) 18:38:13 ~ 5% ll /usr/local/lib/libXm*
-rwxr-xr-x 1 root wheel 819 Sep 7 17:17 /usr/local/lib/libXm.la
lrwxr-xr-x 1 root wheel 12 Sep 7 17:17 /usr/local/lib/libXm.so ->
libXm.so.2.1
lrwxr-xr-x 1 root wheel 12 Sep 7 17:17 /usr/local/lib/libXm.so.2 ->
libXm.so.2.1
-rwxr-xr-x 1 root wheel 1919055 Sep 7 17:17 /usr/local/lib/libXm.so.2.1
How to build xpdf??
Thanks, Denis