Open roryyamm opened 7 years ago
I believe you need imake & xpm.
Though it'll differ significantly for Ubuntu, here's how I installed mlvwm on OS X 10.9 Mavericks using XQuartz and MacPorts a few years ago (in case any of it helps):
sudo port install imake xpm
xmkmf -a
make
sudo make install
cp sample_rc/Mlvwmrc ~/.mlvwmrc
rsync -vaE --exclude pix_test.c pixmap/ ~/pixmap/
echo "/opt/local/bin/mlvwm" > ~/.xinitrc
# change "IconPath" in ~/.mlvwmrc to absolute path to ~/pixmap
curl -O http://www2u.biglobe.ne.jp/~y-miyata/mlvwm/mini-icons.tar.gz
tar -C ~/pixmap/ -xzf mini-icons.tar.gz
cd ~/pixmap/
curl -O http://guest.fluomedia.org/u/sb/macintosh/img/apple.gif
curl -O http://guest.fluomedia.org/u/sb/macintosh/img/balloon.gif
curl -O http://guest.fluomedia.org/u/sb/macintosh/img/finder.gif
cd -
# edit ~/.mlvwmrc to update the label1, label2, and label3 icons to
use apple, finder, and ballon instead
# if you want to run mlvwm in full screen w/XQuartz:
# defaults write ~/Library/Preferences/org.macosforge.xquartz.X11 rootless 0
# defaults write ~/Library/Preferences/org.macosforge.xquartz.X11
fullscreen_menu 1
Imake doesn't exist anymore. What do I do?
While X11R7.x uses GNU autotools instead of imake, it's apparently still supported for backwards compatibility (see the imake
manpage). So, you should still be able to install it using apt-get install imake
or yum install imake
(depending on which package manager you're using).
Let me know if that's not the case.
Note to self: I was able to just build mlvwm
on OpenBSD 6.4 by running pkg_add imake
, then following my previous instructions (though xmkmf -a
didn't seem to work, so I had to manually run xmkmf
in each directory that contained an Imakefile
in it.)
~~Sadly, the apple.gif
, balloon.gif
, and finder.gif
files are no longer available (even on The Wayback Machine). 😢~~ The icons are available from http://sb.fluomedia.org/macintosh/, specifically:
http://sb.fluomedia.org/macintosh/img/apple.xpm,
http://sb.fluomedia.org/macintosh/img/balloon.xpm, and
http://sb.fluomedia.org/macintosh/img/finder.xpm.
couldn't build mlvwm from this git repo on OpenBSD 6.7 GENERIC.MP#182 amd64
xmkmf -a (1) (*master+3) 06:17:23
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/local/lib/X11/config
make Makefiles
making Makefiles in mlvwm...
mv -f Makefile Makefile.bak
Imakefile.c:17:2: Include file Imake.tmpl not found
imake: Exit code 1.
Stop.
*** Error 1 in . (Makefile:993 'mlvwm/Makefile': @for flag in ONECURDIR= IMAKEPREFIX=../ IMAKETOP=.. ONESUBDIR=mlvwm ''; do case "$flag" ...)
make: don't know how to make Makefiles
Stop in mlvwm
making Makefiles in sample_rc...
mv -f Makefile Makefile.bak
Imakefile.c:17:2: Include file Imake.tmpl not found
imake: Exit code 1.
Stop.
*** Error 1 in . (Makefile:993 'sample_rc/Makefile': @for flag in ONECURDIR= IMAKEPREFIX=../ IMAKETOP=.. ONESUBDIR=sample_rc ''; do case ...)
make: don't know how to make Makefiles
Stop in sample_rc
making Makefiles in man...
mv -f Makefile Makefile.bak
Imakefile.c:17:2: Include file Imake.tmpl not found
imake: Exit code 1.
Stop.
*** Error 1 in . (Makefile:993 'man/Makefile': @for flag in ONECURDIR= IMAKEPREFIX=../ IMAKETOP=.. ONESUBDIR=man ''; do case "$flag" in *...)
make: don't know how to make Makefiles
Stop in man
make includes
including in ./mlvwm...
make: don't know how to make includes
Stop in mlvwm
*** Error 2 in /home/admin/OWN/mlvwm (Makefile:1061 'includes': @for flag in ''; do case "$flag" in *=*) ;; --*) ;; *[ik]*) set +e;; esac...)
issuing imake errors out :
Imakefile.c:17:2: Include file Imake.tmpl not found
imake: Exit code 1.
Stop.
Any solution for this? I want to use this window manager on openbsd. Thank You.
@j4n3b As noted in a previous comment, I couldn't get xmkmf -a
to work under OpenBSD, so had to manually run xmkmf
in each directory containing an Imakefile
, as follows:
cd man
xmkmf
cd ../mlvwm
xmkmf
cd ../sample_rc
xmkmf
cd ..
xmkmf
That said, I haven't tested on OpenBSD 6.7 yet, but have been running it on 6.4-6.6 without issue. Let me know if that works or not as I expect to be upgrading my workstation to 6.7 in the near future and intend to continue running MLVWM.
What libraries are needed to compile successfully? I am running Ubuntu 16.04 LTS.