Re: XForms: What this problem is related to ? Any expert ? Right List ?

Christopher Sean Hilton (chris@vindaloo.com)
Fri, 3 Apr 1998 08:42:43 -0500 (EST)

# To subscribers of the xforms list from Christopher Sean Hilton <chris@vindaloo.com> :

On Fri, 3 Apr 1998, Kris Vanneste wrote:

: # To subscribers of the xforms list from Kris Vanneste <Kris.Vanneste@mailserv.oma.be> :
:
: > ....
: >
: > (cd FORMS; make install)
: > cp libforms.a /usr/X11R6/lib; chmod 644 /usr/X11R6/lib/libforms.a
: > cp forms.h /usr/X11R6/include; chmod 644 /usr/X11R6/include/forms.h
: > cp xforms.5 /usr/man/man5; chmod 644 /usr/man/man5/xforms.5
: > cp: /usr/man/man5: No such file or directory
: > *** Error code 1
: >
: > Stop.
: > *** Error code 1
: >
: > Stop.
: > tuna#
:
: Seems like you almost made it to the end. The only problem is that the
: directory where install wants to copy the man page (/usr/man/man5) doesn't
: seem to exist on your machine. Have a look in /usr/man and create the
: directory, or specify an existing directory in your Makefile.

*** This is a Free/Net/OpenBSD specific problem ***

FreeBSD has a ``ports collection'' which is a makefile bases system to
install software on your FreeBSD box. The system has been adapted to work
on NetBSD and OpenBSD also. The ports system is capable of

Fetching the objects to be ported from either the distribution CD-ROM
or from a site on the internet.

Extracting and patching the objects to be installed so they work
within the hierarchy defined for the operating system. For example
FreeBSD likes to put the man pages for all local programs that are
not standard parts of the operating system in the directory
/usr/local/man and this is not the default for many packages, Xforms
included.

Installing an maintaining a database of the objects for later
manipulation.

The original problem happened because the ports mechanism failed to find
the right version of Xforms in the /usr/ports/distfiles directory and then
failed to properly patch the X Forms master make file to put man pages in
the /usr/local/man directory. In addition to this there were probably
other problems related to patching.

To fix:

Copy the X forms distribution files from the directory
/usr/ports/distfiles to a safe place.

Similarly copy the current state of the port to a different directory
like this:

# cd /usr/ports/x11; cp -pR xforms xforms.save

Run make clean in the /usr/ports/x11/xforms directory, then make
patch.

This last step should fetch the copy of X forms corresponding to the port
to your /usr/ports/distfiles directory from bragg. Then extract it if the
checksums on the two packages agree. Finally it should apply any paatches
needed for FreeBSD to the makefiles. Of course, for this to work you have
to be connected to the internet somehow. If this finishes with no errors
then make and make install should work for you. If it bombs you need to do
two things:

Look up the maintainer of the port. She's listed near the top of
the makefile: /usr/ports/x11/xforms/Makefile and send them an
e-mail detailing the problem.

Write me directly and I'll send you a copy of my configuration for X
Forms for FreeBSD.

I'd just post my ``port'' but I didn't like the way the original
maintainer handled some things (where he put the examples) so I modified
the original port.

Chris

--
      __o          "All I was trying to do was get home from work."
    _`\<,_           -Rosa Parks
___(*)/_(*)____.___o____..___..o...________ooO..._____________________
Christopher Sean Hilton                    [chris/at/vindaloo/dot/com]

_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html XForms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/