Re: FVWM: Problems building on Solaris

From: Rob Windsor <windsor_at_punk.hedgehog.com>
Date: Sun, 10 Dec 1995 02:07:57 -0800

Verily did Pete Ashdown write:

> I couldn't get 2.0.39 to build on Solaris, the first problem I found was
> because nsl and sockets wasn't being linked in, which Imake should have taken
> care of, right?

Sounds like it. You might need to grab the waders and muck around in
${OPENWINHOME}/lib/config to fix the problem.

> The second was due to a call to "basename" in fvwm.c. What library is this
> from?

I had the same problem with NetBSD/i386. I just patched fvwm.c to remove
the basename reference.

punk:/usr/local/build/fvwm-2.0.39/fvwm>diff -c ../../../src/fvwm-2.0.39/fvwm/fvwm.c ./fvwm.c
*** ../../../src/fvwm-2.0.39/fvwm/fvwm.c Fri Nov 10 13:13:57 1995
--- ./fvwm.c Sun Dec 10 01:38:15 1995
***************
*** 1053,1059 ****
  void usage(void)
  {
    fprintf(stderr,"\nFvwm Version %s Usage:\n\n",VERSION);
! fprintf(stderr," %s [-d dpy] [-debug] [-f config_cmd] [-s] [-blackout] [-version] [-h]\n",basename(g_argv[0]));
  }
  
  /****************************************************************************
--- 1053,1059 ----
  void usage(void)
  {
    fprintf(stderr,"\nFvwm Version %s Usage:\n\n",VERSION);
! fprintf(stderr," %s [-d dpy] [-debug] [-f config_cmd] [-s] [-blackout] [-version] [-h]\n",g_argv[0]);
  }
  
  /****************************************************************************


The output looks like:

punk:/usr/local/build/fvwm-2.0.39/fvwm>./fvwm --bleck
fvwm: Unknown option: `--bleck'

Fvwm Version 2.0.39 Usage:

  ./fvwm [-d dpy] [-debug] [-f config_cmd] [-s] [-blackout] [-version] [-h]

My best guess is: It would have trimmed the directory ("./") out.
Nothing major, just a cosmetic change.

Looks like libgen (libgen.h, -lgen) handles this in solaris, and libutil
(util.h (?), -lutil) in others (linux?). (Mebbe, lots of speculation here)
Of which, neither exist in a base NetBSD system.

I had another complaint, tho.. (a minor nag).. can we use a fully-qualified
directory name in the distribution tarball? fvwm/foo, as compared to
fvwm-2.0.39/foo, is highly annoying when I want to keep at least one old
revision around.

Otherwise, keep up the good work.

-- Rob
----------------------------------------
Internet: windsor_at_pobox.com Life: Rob_at_Sunnyvale.California.USA.Earth
"Da Web": http://pobox.com/~windsor/

"Ain't much distance 'tween a pat on the back and a kick in the pants."
    -- David Lee Roth (1990), `The Dogtown Shuffle'
--
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 Sun Dec 10 1995 - 04:10:54 GMT

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