1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
|
According to converse.bbs@vlsi1.iie.ncku.edu.tw:
> hi..
> thanks for your CRXVT/xcin 2.1d
> I can use it in LINUX system
> but in SGI 5.2, I can't configure it leh.
> the messages is as follows:
>
> checking for utmp file.
> checking for X-window system.
> YOU DO NOT HAVE THE X-WINDOW LIBRARIES IN YOUR SYSTEM!!!!
> CONFIGURATION TERMINATES!
>
> but when I use 2.0 version, I have no such problem loh.
> Could you give me a hint about compliation ??
>
> thanks in advacne.
> converse
>
Hi,
Thank you very much to send me this mail. In this version
of xcin, I remove the config program -- xmkmf. This program is
used to configure for your X-window system, such as where to find
your X-lib? where to find your X-header files? and others.
However, I find that in some systems, the xmkmf program does
not work very will. It can generate the Makefile for make, but
sometimes the Makefile has something wrong and we can not use it
properly. Therefore, in this version I remove the xmkmf program
for auto-detection. I write the auto-detection by my hand. The
configure program will try to find the X-libs and X-headers in
the following sequences:
libX11*:
/X11R6/lib /X11/lib /X11R5/lib /openwin/lib /X11R4/lib
/usr/X11R6/lib /usr/X11/lib /usr/X11R5/lib /usr/openwin/lib /usr/X11R4/lib
/usr/lib/X11R6/lib /usr/lib/X11/lib /usr/lib/X11R5/lib /usr/lib/openwin/lib /usr/lib/X11R4/lib
/usr/ucb/X11R6/lib /usr/ucb/X11/lib /usr/ucb/X11R5/lib /usr/ucb/openwin/lib /usr/ucb/X11R4/lib
/usr/util/X11R6/lib /usr/util/X11/lib /usr/util/X11R5/lib /usr/util/openwin/lib /usr/util/X11R4/lib
/usr/local/X11R6/lib /usr/local/X11/lib /usr/local/X11R5/lib /usr/local/openwin/lib /usr/local/X11R4/lib
/usr/lpp/X11R6/lib /usr/lpp/X11/lib /usr/lpp/X11R5/lib /usr/lpp/openwin/lib /usr/lpp/X11R4/lib
Xlib.h:
/include/X11/Xlib.h /X11R6/include/X11/Xlib.h /X11/include/X11/Xlib.h /openwin/include/X11/Xlib.h /X11R5/include/X11/Xlib.h /X11R4/include/X11/Xlib.h
/usr/include/X11/Xlib.h /usr/X11R6/include/X11/Xlib.h /usr/X11/include/X11/Xlib.h /usr/openwin/include/X11/Xlib.h /usr/X11R5/include/X11/Xlib.h /usr/X11R4/include/X11/Xlib.h
/usr/lib/include/X11/Xlib.h /usr/lib/X11R6/include/X11/Xlib.h /usr/lib/X11/include/X11/Xlib.h /usr/lib/openwin/include/X11/Xlib.h /usr/lib/X11R5/include/X11/Xlib.h /usr/lib/X11R4/include/X11/Xlib.h
/usr/ucb/include/X11/Xlib.h /usr/ucb/X11R6/include/X11/Xlib.h /usr/ucb/X11/include/X11/Xlib.h /usr/ucb/openwin/include/X11/Xlib.h /usr/ucb/X11R5/include/X11/Xlib.h /usr/ucb/X11R4/include/X11/Xlib.h
/usr/util/include/X11/Xlib.h /usr/util/X11R6/include/X11/Xlib.h /usr/util/X11/include/X11/Xlib.h /usr/util/openwin/include/X11/Xlib.h /usr/util/X11R5/include/X11/Xlib.h /usr/util/X11R4/include/X11/Xlib.h
/usr/local/include/X11/Xlib.h /usr/local/X11R6/include/X11/Xlib.h /usr/local/X11/include/X11/Xlib.h /usr/local/openwin/include/X11/Xlib.h /usr/local/X11R5/include/X11/Xlib.h /usr/local/X11R4/include/X11/Xlib.h
/usr/lpp/include/X11/Xlib.h /usr/lpp/X11R6/include/X11/Xlib.h /usr/lpp/X11/include/X11/Xlib.h /usr/lpp/openwin/include/X11/Xlib.h /usr/lpp/X11R5/include/X11/Xlib.h /usr/lpp/X11R4/include/X11/Xlib.h
If it cannot find the `libX11*' files in the above directories, then
it will show the message:
YOU DO NOT HAVE THE X-WINDOW LIBRARIES IN YOUR SYSTEM!!!!
CONFIGURATION TERMINATES!
and stop. Similarly, if it cannot find the `Xlib.h' file in the above
directories, then it will show the message:
YOU DO NOT HAVE THE X-WINDOW INCLUDE FILES IN YOUR SYSTEM!!!!
CONFIGURATION TERMINATES!
Therefore, if your libX11 libs dose not in the above directories,
then you can include the correct directory searching list of the
configure program. For example, if you have your libX11* files
in the /usr/XX/lib:
-rw-r--r-- 1 root root 998598 Jan 1 1997 /usr/XX/lib/libX11.a
lrwxrwxrwx 1 root root 11 Jan 22 1997 /usr/XX/lib/libX11.so -> libX11.so.6
lrwxrwxrwx 1 root root 13 Feb 6 13:00 /usr/XX/lib/libX11.so.6 -> libX11.so.6.1
-rwxr-xr-x 1 root root 590068 Jul 23 1995 /usr/XX/lib/libX11.so.6.0
-rwxr-xr-x 1 root root 679502 Jan 1 1997 /usr/XX/lib/libX11.so.6.1
then you can use the command:
configure -x-lib-prefix=/usr/XX/lib
Another example, if you have your Xlib.h file in the directory:
/usr/XX/include/X11/Xlib.h
then you can use the command:
configure -x-include-prefix=/usr/XX
to add it into the searching path. And the configuration should
work fine.
Hope that this will help you to solve your problem.
Best Regards,
Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>
|