Subject: ./configure and XPM (links problem?)

From: [email-masked]
Date: Tue, 16 Mar 1999 23:56:43 -0600 (CST)

Full_Name: Robert Nader
Version: 2.2
CVS_Date: 
OS: 
X_Server: openwin on SunOS 5.6
Submission from: (NULL) (198.80.192.138)

G'day,

I seem to have a problem getting ./configure to
successfully locate the XPM lib and header files
are installed in a non standard place.

The software tree is namely /gppr/local,
under which is a "stow" based installed GNU tree.

Now for the XPM library location:

[578][08:09:22][ekxran@sun3e030] /gppr/local/lib
$ ls -la libXpm.*
lrwxrwxrwx   1 ekxran   ekxadm        37 Sep 23 11:36 libXpm.a ->
../stow/xpm-3.4k-solaris/lib/libXpm.a
lrwxrwxrwx   1 ekxran   ekxadm        38 Sep 23 11:36 libXpm.so ->
../stow/xpm-3.4k-solaris/lib/libXpm.so
lrwxrwxrwx   1 ekxran   ekxadm        43 Sep 23 11:36 libXpm.so.4.11 ->
../stow/xpm-3.4k-solaris/lib/libXpm.so.4.11

and these exist: ...

[579][08:09:38][ekxran@sun3e030] /gppr/local/lib
$ ls -laL libXpm.*
-rw-rw-r--   1 ekxran   ekxadm     83380 Mar 19  1998 libXpm.a
-rw-rw-r--   1 ekxran   ekxadm     63956 Mar 19  1998 libXpm.so
-rw-rw-r--   1 ekxran   ekxadm     63956 Mar 19  1998 libXpm.so.4.11

For the XPM include header file:

[511][08:15:15][ekxran@sun3e030] /gppr/local/include/X11
$ ls -la xpm.h
lrwxrwxrwx   1 ekxran   ekxadm        45 Sep 23 11:36 xpm.h ->
../../stow/xpm-3.4k-solaris/include/X11/xpm.h

And this file exists:

[512][08:15:23][ekxran@sun3e030] /gppr/local/include/X11
$ ls -laL xpm.h
-r--rw-r--   1 ekxran   ekxadm     16644 Mar 19  1998 xpm.h

Just a test using bash ...

[515][08:19:43][ekxran@sun3e030] /gppr/local/include/X11
$ if [ -f xpm.h ] ; then echo YES ;else echo NO ; fi
YES
[516][08:19:51][ekxran@sun3e030] /gppr/local/include/X11
$ if [ -L xpm.h ] ; then echo YES ;else echo NO ; fi
YES
[517][08:20:05][ekxran@sun3e030] /gppr/local/include/X11
$ if [ -x xpm.h ] ; then echo YES ;else echo NO ; fi
NO

According to ./configure -help:

  --with-xpm-library=PATH   use xpm library (for coloured or shaped icons)
  --with-xpm-includes=DIR  set directory for xpm headers

Now, when I do a ./configure in /gppr/local/src/fvwm-2.2
with the following options:

./configure --prefix=/gppr/local --enable-extras \
--with-xpm-library=/gppr/local/lib  \
--with-xpm-includes=/gppr/local/include/X11 \
--with-rplay-library=/gppr/local/lib \
--with-readline-includes=/gppr/local/include \
--with-iconpath=/gppr/local/include/X11/bitmaps:/gppr/local/include/X11/pixmaps:/gppr/local/include/X11/pixmaps/fvwm2:/gppr/local/include/X11/pixmaps/xemacs

I get the following:

loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable modal dialogs for applications... yes
checking whether to enable saveunders for pop-up menus... yes
checking whether to enable shape extensions... yes
checking whether to enable ActiveDown button state... yes
checking whether to enable Inactive button state... yes
checking whether to enable MiniIcon style option... yes
checking whether to enable vector button style... yes
checking whether to enable pixmap button style... yes
checking whether to enable gradient button style... yes
checking whether to enable stacked button styles... yes
checking whether to enable styled title-bars... yes
checking whether to enable BorderStyle command... yes
checking whether to enable UseDecor style option... yes
checking whether to enable WindowShade function... yes
checking whether to enable debugging messages... no
checking iconpath...
/gppr/local/include/X11/bitmaps:/gppr/local/include/X11/pixmaps:/gppr/local/include/X11/pixmaps/fvwm2:/gppr/local/include/X11/pixmaps/xemacs
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for POSIXized ISC... no
checking for minix/config.h... (cached) no
checking for stdarg.h... (cached) yes
checking for vfprintf... (cached) yes
checking for waitpid... (cached) yes
checking for c++... (cached) c++
Using c++ to compile C++ programs
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for X... (cached) libraries /usr/openwin/lib, headers
/usr/openwin/include
checking whether -R must be followed by a space... no
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) no
checking for gethostbyname in -lnsl... (cached) yes
checking for connect... (cached) no
checking for connect in -lsocket... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for cpp... (cached) /usr/ccs/lib/cpp
checking for a BSD compatible install... ./install-sh -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for bison... (cached) bison -y
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for stdlib.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) no
checking for sys/select.h... (cached) yes
checking for sys/systeminfo.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for strftime... (cached) yes
checking for gettimeofday... (cached) yes
checking for mkfifo... (cached) yes
checking for putenv... (cached) yes
checking for select... (cached) yes
checking for setvbuf... (cached) yes
checking for socket... (cached) no
checking for waitpid... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for memmove... (cached) yes
checking for memcpy... (cached) yes
checking for strchr... (cached) yes
checking for sysconf... (cached) yes
checking for uname... (cached) yes
checking for div... (cached) yes
checking for sigaction... (cached) yes
checking for siginterrupt... (cached) yes
checking for sig_atomic_t... (cached) yes
checking whether setvbuf arguments are reversed... (cached) no
checking for sys/types.h... (cached) yes
checking for sys/time.h... (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 gethostname... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for strerror... (cached) yes
checking for usleep... (cached) yes
checking for atexit... (cach
====> MESSAGE TRUNCATED AT 8192 <====

--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [email-masked].
To report problems, send mail to [email-masked]