Re: XForms: Problems compiling RC5.2

From: john@cs.york.ac.uk
Date: Wed Oct 16 2002 - 12:10:07 EDT

  • Next message: Angus Leeming: "Re: XForms: Problems compiling RC5.2"

    # To subscribers of the xforms list from john@cs.york.ac.uk :

    I too, am having trouble compiling xforms 1.0RC5.2 - I thought it better
    to find what problems there are now and let the developer(s) know than
    wait for 1.0; I've been installing XForms here since it became open
    source at version 0.88.

    I'm installing it on a Slackware 8.1 system, and wish to put it under
    /usr/local/pkg/xforms-1.0RC5.2/ - this convention allows me to install
    multiple versions of things and still have them all usable; I place
    symbolic links to the default (conservative choice) version in
    /usr/local/^(bin lib man share) etc. (I use /usr/local/pkg/ rather than
    /usr/local/ to avoid making its structure difficult to see. Adding
    an xforms-1.0RC5.2.txt file to /usr/local/pkg would also let me use the
    Slackware makepkg command to build a Slackware package for easy local
    distribution, not that I intend to install xforms again generally until
    1.0 is released.)

    So, I altered the top-level Imakefile thus:

    35c35
    < #define XFormsNonstandardInstallDir /usr/local

    ---
    > #define XFormsNonstandardInstallDir /usr/local/pkg/xforms-1.0RC5.2
    

    but then find that the X Windows libraries are not found:

    $ xmkmf -a ... $ make ... + gcc -o ./libforms.so.1.0~ -shared -Wl,-soname,libforms.so.1 ... -L/usr/local/pkg/libxforms-1.0RC5.2/lib -lXext -lX11 -lXpm -lc /usr/i386-slackware-linux/bin/ld: cannot find -lXext collect2: ld returned 1 exit status + rm -f libforms.so.1 + ln -s libforms.so.1.0 libforms.so.1 + true rm -f libforms.so.1.0 mv -f libforms.so.1.0~ libforms.so.1.0 mv: cannot stat `libforms.so.1.0~': No such file or directory make[1]: *** [libforms.so.1.0] Error 1 make[1]: Leaving directory `/usr/local/src/xforms/xforms-1.0RC5.2/lib' make: *** [all] Error 2 $

    I've seen Mike Heffner's E-mail with this subject line, and his patch files, but I'm not convinced that they apply to my case. Has anyone done what I wish to do? --

    John A. Murdie Experimental Officer (Software) Department of Computer Science University of York England _________________________________________________ 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 16 2002 - 12:14:46 EDT