Re: ./Configure -v ERROR with Fedora 1 ?

From: Mary Haley (haley AT XXXXXX)
Date: Fri Apr 02 2004 - 14:02:08 MST


>
> Hi
> I have been trying to compile NCARG on RedHat 8.0 & 9 systems
> and get the same 13 compile error. So I moved the code to a new Fedora
> 1 system. It does not even run the ./Configure -v command. The errors
> I receive are below.
> Anyone know what I can do to get buy this error?

Hi,

We have a work-around. If somebody else has a better work-around, we'd
love to hear it!

You need to edit the file $NCARG/config/ymake, and make the following
two changes:

1.
         set cppopt = -traditional

to:

         set cppopt = -traditional-cpp

2.

    $cpp $cppopt -I. -D_COMMENT_="" -DNGCOMM=\# $defines
    -DYMAKEFILE=\"$tmp1\" | \

to:

    $cpp $cppopt -I. -D_COMMENT_\#="" -DNGCOMM=\# $defines
    -DYMAKEFILE=\"$tmp1\" | \

Let me know if this doesn't work on Fedora.

--Mary

>
>
> ========================================================================
> =============
> [root@mn2 ncarg-4.3.1]# export NCARG="/opt/NCARG/ncarg-4.3.1"
> [root@mn2 ncarg-4.3.1]# cd ${NCARG}
> [root@mn2 ncarg-4.3.1]# csh
> [root@mn2 ncarg-4.3.1]# ./Configure -v
> *** WARNING:There is a previous configuration saved.
>
> Overwrite existing configuration? (n)
> Enter Return(default), y(yes), n(no), or q(quit) > y
>
> Building top-level Makefile to determine System defaults
>
> In file included from config/Template:843,
> from <stdin>:1:
> ymake.tmp13767:58: invalid preprocessing directive #The
> ymake.tmp13767:59: invalid preprocessing directive #all
> ymake.tmp13767:60: invalid preprocessing directive #It
> ymake.tmp13767:61: invalid preprocessing directive #rebuilding
> ymake.tmp13767:76: invalid preprocessing directive #The
> ymake.tmp13767:77: invalid preprocessing directive #are
> ymake.tmp13767:78: invalid preprocessing directive #code
> ymake.tmp13767:79: invalid preprocessing directive #are
> ymake.tmp13767:95: invalid preprocessing directive #The
> ymake.tmp13767:96: invalid preprocessing directive #are
> ymake.tmp13767:97: invalid preprocessing directive #code
> ymake.tmp13767:98: invalid preprocessing directive #are
>
> Error in <ymake>: Interrupted in /opt/NCARG/ncarg-4.3.1 - restoring
> Makefile
> cp: cannot stat `Makefile.bak': No such file or directory Unable to
> build Makefile - fix above errors and re-run.
>
> Terminating configuration procedure
> [root@mn2 ncarg-4.3.1]#
>
> _______________________________________________
> ncarg-talk mailing list
> ncarg-talk AT unknown
> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
>

-- 
-------------------------------------------------
Mary Haley                   haley AT unknown
NCAR/SCD/VETS                303-497-1254 (voice)
1850 Table Mesa Dr           303-497-1804 (fax)
Boulder, CO  80305
-------------------------------------------------
_______________________________________________
ncarg-talk mailing list
ncarg-talk AT unknown
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



This archive was generated by hypermail 2b29 : Tue Apr 06 2004 - 07:21:12 MDT