[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20010126: Unidata McIDAS-X 7.7 on FreeBSD (cont.)



>From: "John C. Nordlie" <address@hidden>
>Organization: University of North Dakota
>Keywords: 200101102305.f0AN5Do04431 McIDAS-X 7.7

John,

>Ok, I ran into a snag.  Here's the tail of the makelog:
>
> gcc -c -O -ansi -DBSDI -DFREEBSD -DREGEXEC_STRSTR -D_GNU_SOURCE
> -I/usr/X11R6/include -O -I. -I../netcdf/libsrc -I../jpeg -I../zlib e
> nh24.c
> enh24.c:9: X11/Xlib.h: No such file or directory
> enh24.c:10: X11/Xutil.h: No such file or directory
> enh24.c:11: X11/Xos.h: No such file or directory
> enh24.c:12: X11/Xatom.h: No such file or directory
> enh24.c:14: X11/keysym.h: No such file or directory
> enh24.c:17: X11/X.h: No such file or directory
> compile enh24.c:                FAILED
>
>I went through the warnings page, set the environment variables
>to the linux listing (I'm running FreeBSD 4.2), and added the
>.cshrc definitions beforehand.
>
>(X11R6 is installed and running properly on the machine, btw).

X is running, but were the X11R6 development files installed?  The
error messages listed above show that the various header files were not
found in /usr/X11R6/include/X11.  This is where the OS installation at
my other FreeBSD sites put the X11 include files.

What you need to find out is where the X11 include files really are on
your machine.  If you can find them, then you will need to edit
~mcidas/mcidas7.7/src/mccomp.sh and change the -I/usr/X11R6/include
line in the FreeBSD section to match your setup.  After that, you will
need to restart make (make mcx or make all depending on what you are
trying to build).

If you can not find the X11 include files it means that you probably
did not do a development installation.  In order to continue, you will
have to install the X development files.

Please let me know the results of your search for the X11 include files.

Tom