[MDF]
> > Probably a fair chance it has gcc installed.  If so, you could edit
> > the Makefile and change the 'CC = cc' line to invoke gcc instead.
> Did you get a chance to try this out, and see if it at least compiles?

Thanks for the reminder!

I wrote a partial report a couple of days ago, and forgot to post it. It has
been a busy time!

I previously wrote:

> 2. On desktop PC running Scientific Linux release 6.5 (Carbon) (64 bit)
>     kernel 2.6.32-431.11.2.el6.x86_64  Mar 25 11:15:18 CDT 2014
>
>     xmkmf and make worked.
>     ....
> When I go in I'll try restarting with the new ctwm.

I have done that, and it seems to be fine, running on SL 6.5 on my departmental
PC.

====

Regarding Solaris:

"Matthew D. Fuller" <[email protected]> wrote

<....snip....>

> On Mon, May 12, 2014 at 11:30:55AM +0100 I heard the voice of
> Aaron Sloman, and lo! it spake thus:
> >
> > It may be a good idea to provide both tar.gz and tar.xz files?
> ...
>
> Certainly you can de/recompress it for local stuff.  Or just don't
> recompress, and blat the .tar around.

which is what I did.

> >     /usr/ucb/cc:  language optional software package not installed
> >     *** Error code 1
> >     make: Fatal error: Command failed for target `parse.o'
>
> Oh, Sun.  How do we love thee?  Let me count the way.

[Digression]
For many years I was only a Sun-user: approx 1982 till after the turn of the
century. Then moved to linux. When I came to Birmingham in 1991 we had a lab
full of students using Xterminals, logged into a sparcserver running first SunOS
(Berkeley Unix?) then later Solaris (Unix system V?) all sharing a single cpu
with tens of Mhz and memory with a few tens of Mbytes.

Sun's marketing slogan around 1983 'The network is the computer' was
visionary.
[End]

[MDF]
> Probably a fair chance it has gcc installed.  If so, you could edit
> the Makefile and change the 'CC = cc' line to invoke gcc instead.

Tried it. that allowed it to go a bit further and produce parse.o then stop
after a collection of warnings about redundant declarations.

Repeating 'make' produced only:

    `parse.o' is up to date.

(Perhaps wrong Makefile syntax for ancient Solaris)

So I typed:

    make ctwm

It ran for a while with a lot of warnings about declarations, and by the time it
stopped it had created these:

    -rw-r--r--   1       48840 May 12 14:33 parse.o
    -rw-r--r--   1       57044 May 12 14:36 gram.tab.o
    -rw-r--r--   1       20064 May 12 14:36 lex.o
    -rw-r--r--   1        7336 May 12 14:36 deftwmrc.o
    -rw-r--r--   1       40712 May 12 14:36 add_window.o
    -rw-r--r--   1        1844 May 12 14:36 gc.o
    -rw-r--r--   1        3316 May 12 14:36 list.o
    -rw-r--r--   1       31996 May 12 14:36 ctwm.o
    -rw-r--r--   1      105188 May 12 14:36 menus.o
    -rw-r--r--   1       89660 May 12 14:36 events.o
    -rw-r--r--   1       27516 May 12 14:36 resize.o
    -rw-r--r--   1       72720 May 12 14:36 util.o
    -rw-r--r--   1         932 May 12 14:36 version.o
    -rw-r--r--   1       13460 May 12 14:36 iconmgr.o
    -rw-r--r--   1        6596 May 12 14:36 cursor.o
    -rw-r--r--   1       14996 May 12 14:36 icons.o
    -rw-r--r--   1       67036 May 12 14:36 workmgr.o
    -rw-r--r--   1        3108 May 12 14:36 windowbox.o
    -rw-r--r--   1         952 May 12 14:36 clicktofocus.o
    -rw-r--r--   1        3416 May 12 14:36 vscreen.o
    -rw-r--r--   1       11052 May 12 14:36 session.o

and finally:
    ......
    mwmhints.c: In function `GetMWMHints':
    mwmhints.c:60: parse error before `int'
    mwmhints.c:67: `success' undeclared (first use in this function)
    mwmhints.c:67: (Each undeclared identifier is reported only once
    mwmhints.c:67: for each function it appears in.)
    mwmhints.c:72: `actual_type' undeclared (first use in this function)
    mwmhints.c:73: `actual_format' undeclared (first use in this function)
    mwmhints.c:74: `nitems' undeclared (first use in this function)
    mwmhints.c:75: `bytes_after' undeclared (first use in this function)
    mwmhints.c:76: `prop' undeclared (first use in this function)
    mwmhints.c:111: warning: control reaches end of non-void function
    *** Error code 1
    make: Fatal error: Command failed for target `mwmhints.o'

Presumably something to do with motif?

I'm surprised it managed to get that far as everything on this machine is
ancient. The newest files in /usr/bin are dated 2007

The executable in the Poplog system I use for editing was last compiled and
linked on our sun in 1999, and it still runs, but I don't think I would easily
be able to recompile that either.

I think I'll abandon Solaris. Maybe someone with a newer version (someone from
Oracle?) will try: the signs are fairly promising.

I've added some screenshots of latest ctwm running on my laptop invoking
NetworkManager menus from a ctwm menu, since the nm-applet utility can only be
launched from a panel. Ctwm supports various panels, but I don't like any of
them in my windows.

    http://www.cs.bham.ac.uk/~axs/laptop/ctwm/

Aaron Sloman
http://www.cs.bham.ac.uk/~axs

Reply via email to