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

20031208: Problems with instaling Udunits

Mae Qiu,

> To: address@hidden
> From: Mae Qiu <address@hidden>
> >Subject: Problems with instaling Udunits
> rganization: NOAA
> Keywords: UDUNITS MacOS

The above message contained the following:

> A. uname -a
> Darwin Mae-Qius-Computer.local. 6.8 Darwin Kernel Version 6.8: Wed Sep 
> 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC  Power 
> Macintosh powerpc
> B. File version: 1.12.1
> C. See attachment. 
> creating cache ./config.cache
> checking type of operating system... darwin
> checking for catman... no
> checking for makewhatis... no
> checking for /usr/lib/makewhatis... no
> checking for manual-page index command... 
> checking for C compiler... /usr/bin/cc=

It appears that the environment variable CC was set to the string
"/usr/bin/cc=" (note the equals-sign suffix) when the configure script
was executed.  This is probably not what you want -- judging from the
file "config.log":

> configure:1114: checking how to run the C preprocessor
> configure:1135: /usr/bin/cc= -E  conftest.c >/dev/null 2>conftest.out
> ./configure: /usr/bin/cc=: No such file or directory

Please try the following:

    1.  Go to the top-level source directory.

    2.  Perform steps 3 through 5 described near the end of the file

    3.  Ensure that the environment variable CC is set to the pathname
        of the C compiler and doesn't have a equals-sign suffix, e.g.,

            export CC=/usr/bin/cc


            setenv CC /usr/bin/cc

        depending on your user-shell.

    4.  Perform steps 6 through 9 described near the end of the file

Please let me know if this helps.

Steve Emmerson

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.