FVWM: more Makefile problems with pl38

From: Eli Burke <eburke_at_csugrad.cs.vt.edu>
Date: Wed, 18 Oct 1995 21:25:05 -0400 (EDT)

I'm compiling fvwm2.0.38 under OSF/1 3.2 and I ran into another Makefile
problem. This one doesn't have to do with xpm, but rather the creative
use of "BINDIR"
Here's what I get when I try to "make install"

csugrad:/home/eburke/fvwm# make install
installing in ./libs...
/usr/bin/X11/install.sh -c -m 0644 libfvwm2.a /usr/lib/X11
install in ./libs done
installing in ./fvwm...
/usr/bin/X11/install.sh -c -s fvwm2 /usr/bin/X11
install in ./fvwm done
installing in ./modules/FvwmAudio...
+ /bin/sh /usr/lib/X11/fvwm2/mkdirhier /usr/lib/X11/fvwm2
/bin/sh: /usr/lib/X11/fvwm2/mkdirhier: cannot open
*** Exit 1
Stop.
*** Exit 1
Stop.

Here is what is going wrong:

csugrad:/home/eburke/fvwm-> grep BINDIR modules/FvwmAudio/*
modules/FvwmAudio/Imakefile:BINDIR = FVWM_MODULEDIR
modules/FvwmAudio/Makefile: BINDIR = /usr/bin/X11
modules/FvwmAudio/Makefile: MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
modules/FvwmAudio/Makefile:BINDIR = "/usr/lib/X11/fvwm2"
modules/FvwmAudio/Makefile: _at_if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
modules/FvwmAudio/Makefile: else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi

The directory /usr/lib/X11/fvwm2 does not exist. So, it tries to do a
$(MKDIRHIER) $(BINDIR) which equals $(BINDIR)/mkdirhier $(BINDIR)

Once the directory /usr/lib/X11/fvwm2 does exist, everything goes smoothly.

-- 
Eli Burke
eburke_at_csugrad.cs.vt.edu 
http://csugrad.cs.vt.edu/~eburke/ 
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Oct 18 1995 - 20:25:08 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:57 BST