Re: FVWM: Solaris 2.5.1

From: Andrew J Cosgriff <Andrew.Cosgriff_at_cc.monash.edu.au>
Date: Tue, 15 Apr 1997 08:32:13 +1000

"Brian" == Brian Hechinger <blh_at_cbtdms1.cb.lucent.com> writes:

Brian> after deleting everything and choosing not to bother with fvwm
Brian> i've changed my mind and have descided to take the time to get
Brian> it going. so i figured i'd start with libXpm so i get fancy
Brian> neato color icons and stuff. well, it isn't going so well.
Brian> (big suprise)

Brian> making xpm-3.4g

Brian> root_at_blackhole> pwd
Brian> /user/xpm-3.4g
Brian> root_at_blackhole> xmkmf
Brian> mv Makefile Makefile.bak imake -I/usr/lib/X11/config
Brian> root_at_blackhole> make Makefiles
Brian> making Makefiles in lib... make[1]: Entering directory
Brian> `/user/xpm-3.4g' /bin/sh: .././config/imake/imake: not found
Brian> make[1]: *** [lib/Makefile] Error 1 make[1]: Leaving directory
Brian> `/user/xpm-3.4g' make[1]: Entering directory
Brian> `/user/xpm-3.4g/lib' make[1]: *** No rule to make target
Brian> `Makefiles'. Stop. make[1]: Leaving directory
Brian> `/user/xpm-3.4g/lib' {does the same for sxpm}

Brian> how do i tell it where imake really is? how do i get it to use
Brian> the correct config directory?

It's a Solaris bug (it's been there at least since 2.3, which was the
first version of Solaris I ever used), and it'll bite you on any
program that uses imake and has subdirectories with Imakefiles
(ie. xpm, fvwm and so on). On line 674 of
/usr/openwin/lib/config/Project.tmpl [1], you'll see a line saying

IMAKE = $(IMAKESRC)/imake

- IMAKESRC is later defined as $(CONFIGSRC)/imake,
ie. /usr/openwln/lib/config/imake, which is wrong.

So the fix is to either make a symlink to imake in
/usr/openwin/lib/config or (probably better) change the above line to
say

IMAKE = $(BINDIR)/imake

(or something similar, that works)

Enjoy,
 Andrew

Footnotes:
[1] This may be slightly inaccurate, as I've changed jobs since I
worked all this out, and while we have a solaris box here, it's not
one I do any compiling on normally, so I'm just guessing from looking
at the file. As such, make sure you backup Project.tmpl first !

-- 
 - Andrew J. Cosgriff -                  ajc_at_bing.wattle.id.au    (PGP/MIME ok)
 +61 3 9905 1165 (bh) 9905 4746 (fax)    http://www-personal.monash.edu.au/~ajc
         If I felt any more SOPHISTICATED I would DIE of EMBARRASSMENT
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
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 Mon Apr 14 1997 - 17:33:13 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST