Page 1 of 1

compiling old jwm

Posted: Wed 08 Mar 2017, 19:57
by wanderer
hi

dont want to be a bother
but does anyone know the process of compiling jwm
if the source doesnt have a configure file

i want to compile the old ones on 217
starting with the oldest

minimal build
only x11
no options

some words of wisdom would be appreciated

thanks

wanderer

Posted: Wed 08 Mar 2017, 20:41
by goingnuts
For jwm-0.21x I do this:

Code: Select all

make CC="gcc" CFLAGS="-pipe -Os -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D__KERNEL_STRICT_NAMES -I/usr/include -I/usr/X11/include" LDFLAGS="-Wl,--gc-sections,--sort-common,-s -L/usr/lib -L/usr/X11/lib -lXpm -lXext -lX11"
but my source contains configure script...do you have a link for your source?

Posted: Wed 08 Mar 2017, 20:48
by Keef
wanderer

(I was typing this as goingnuts posted)
Its me again. I had a look at the really old versions. The missing header 'Xm/MwmUtil.h.' is part of openmotif. That dependency was removed in version 0.19, and there is a configure script for that version. There may be no benefit in going too far back (more likely to be bugs anyway).
I've got no other words of wisdom though.

https://joewing.net/projects/jwm/history.shtml

Posted: Thu 09 Mar 2017, 03:07
by wanderer
thanks guys for all your help

i'm sorry for taking so long to answer
but i had to get home and check to see
if there was a configure file in the download

there is a makefile and a config.h but no configure file
this is for ver 1.0
maybe im doing something wrong
im going back to the jwm site to check the downloads

i like the old version i have from micromuppy
its small and works well
it only has 2 or so options listed
and i'm hoping to remove them
and see what i get

i will use goingnuts magic invocation when i try to compile

anyway thanks again
you guys are the greatest

wanderer