Re: XForms: XForms 1.0 Installation procedure

From: spl@ncmir.ucsd.edu
Date: Wed Oct 02 2002 - 18:21:35 EDT

  • Next message: David Scriven: "Re: XForms: XForms 1.0 Installation procedure"

    # To subscribers of the xforms list from spl@ncmir.ucsd.edu :

    > 1. It would make sense to check for the presence of various
    > libraries and warn that they should be removed and if not, that they
    > are to be overwritten.

    There's no way to do that automatically, at least yet. If/when I
    convert the build/installation procedure to `autoconf' _et_al_, this
    may be more feasible. However, `autoconf' is as broken as `imake' in
    a lot of ways, as far as I can determine.

    > 2. As far as I know gcc & ldd resolve things left to right so if the
    > directory in which the new libraries are being created is 'makedir'
    > then a statement such as
    >
    > gcc -I/makedir/ -I/usr/X11R6/include
    > -L/makedir -lforms -lGLforms -lflimage
    > -L/usr/X11R6/lib -lXext ...
    >
    > will use the libs & includes in 'makedir' and not be confused by
    > existing libraries elsewhere - perhaps the makefile can be changed
    > to do this?

    Possible, though this is at the mercy of the implementers of X at the
    moment. Every architecture implementer seems to handle the order of
    include files and libraries in a slightly different manner. `imake'
    is supposed to fix this but it doesn't always.

    > 3. The 00README file & the Imakefile should contain a description of
    > the default directories for the jpeg, xpm so that you can tell if
    > you require to use the "NonStandard" options.

    The problems is I don't know. Again, everyone seems to put things in
    different places, so what's standard for you might not be for me. For
    instance, FreeBSD likes to put `libjpeg.*' in `/usr/local/lib',
    whereas most others seem to put it in `/usr/lib'. Some systems have
    no standard place.

    > 4. The README should tell what the names of the library files being
    > created are and where they are put by default. Similarly, for the
    > include files.

    That shall be done.

                                                            spl
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Wed Oct 02 2002 - 18:22:08 EDT