Configure prioblems on SuSE 8.2

From: Andrei Kurbatov (akurbatov@XXXXXX)
Date: Fri Jun 06 2003 - 09:47:44 MDT


Dear ncar users.

I am trying to compile ncarg-3.3.1 on SuSE 8.2 linux running on R32 IBM
Think Pad.

I am using
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
my cpp is on

/usr/bin/cpp

I placed src files in
/usr/local/src/ncarg-4.3.1

This line is changed to run ymake in $NCARG/config/
in debuggging mode.

#!/bin/csh -fx

when I am typing as a root.
> csh
>setenv NCARG /usr/local/src/ncarg-4.3.1
>./Configure -v
I am getting this error messages.

Can anyone help me to figure out from what file these I am getting
preprocessor errors?

Thanks, andrei

vostok src/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

set defines
set ymakeargs
@ useinstalled = 1
while ( 6 )
switch ( -config )
shift
if ( 5 ) then
set config_dir = ./config
if ( ! -d ./config ) then
set defines = ( -I./config )
@ useinstalled = 0
else
breaksw
shift
end
while ( 4 )
switch ( -Curdir )
shift
if ( 3 ) then
set cur_dir = .
set defines= ( -I./config -DCURDIR=. )
else
breaksw
shift
end
while ( 2 )
switch ( -Topdir )
shift
if ( 1 ) then
set top_dir = .
if ( ! -d . ) then
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. )
else
breaksw
shift
end
while ( 0 )
@ num_args = 0
foreach arg ( )
if ( ! 1 ) then
if ( -r ./ymake.conf ) then
if ( ! 0 ) then
if ( -r ./ymake.project ) then
endif
if ( 0 != 0 ) then
if ( 0 ) then
if ( -e ./config/Site.local ) then
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local"
-DSiteFileName=Site.local )
else
set ymakefile
set outfile
set tmp1=ymake.tmp4713
/bin/rm -f ymake.tmp4713
if ( -e ymakefile ) then
if ( -e yMakefile ) then
set ymakefile=yMakefile
set outfile = Makefile
else
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local"
-DSiteFileName=Site.local -DYMAKESRCFILE=yMakefile )
if ( -e Makefile ) then
onintr error_cleanup
set foo = `uname -s`
uname -s
if ( 0 != 0 ) then
set mach = `uname -m`
uname -m
if ( 0 != 0 ) then
switch ( Linux )
case Darwin:
set opsys = Linux
breaksw
switch ( Linux )
set os = Linux
switch ( i686 )
case i*64:
case alpha:
set model = i686
set arch = i686
set sysincs = LINUX
set vendor = IBM
breaksw
breaksw
if ( 1 == 0 ) then
if ( -e ./config/LINUX ) then
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local"
-DSiteFileName=Site.local -DYMAKESRCFILE=yMakefile
-DSystemIncludes="LINUX" )
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local"
-DSiteFileName=Site.local -DYMAKESRCFILE=yMakefile
-DSystemIncludes="LINUX" -DSystemIncludesName="LINUX" )
else
switch ( Linux )
set major = `uname -r | cut -d. -f1`
uname -r
cut -d. -f1
set minor = `uname -r | cut -d. -f2`
uname -r
cut -d. -f2
set subminor = `uname -r | cut -d. -f3`
uname -r
cut -d. -f3
if ( 4 == 5SE ) set minor = 5
breaksw
if ( 20-4GB == ) then
if ( 0 ) then
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local"
-DSiteFileName=Site.local -DYMAKESRCFILE=yMakefile
-DSystemIncludes="LINUX" -DSystemIncludesName="LINUX" -D_OpSys2Def= )
endif
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local"
-DSiteFileName=Site.local -DYMAKESRCFILE=yMakefile
-DSystemIncludes="LINUX" -DSystemIncludesName="LINUX" -D_OpSys2Def=
-DLinux -D_OpSysDef=-DLinux )
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local"
-DSiteFileName=Site.local -DYMAKESRCFILE=yMakefile
-DSystemIncludes="LINUX" -DSystemIncludesName="LINUX" -D_OpSys2Def=
-DLinux -D_OpSysDef=-DLinux -Di686 -DIBM )
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local"
-DSiteFileName=Site.local -DYMAKESRCFILE=yMakefile
-DSystemIncludes="LINUX" -DSystemIncludesName="LINUX" -D_OpSys2Def=
-DLinux -D_OpSysDef=-DLinux -Di686 -DIBM -D_ArchDef=-Di686
-D_VendorDef=-DIBM )
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local"
-DSiteFileName=Site.local -DYMAKESRCFILE=yMakefile
-DSystemIncludes="LINUX" -DSystemIncludesName="LINUX" -D_OpSys2Def=
-DLinux -D_OpSysDef=-DLinux -Di686 -DIBM -D_ArchDef=-Di686
-D_VendorDef=-DIBM -D_Major=2 -D_Minor=4 )
if ( 1 ) then
set defines= ( -I./config -DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local"
-DSiteFileName=Site.local -DYMAKESRCFILE=yMakefile
-DSystemIncludes="LINUX" -DSystemIncludesName="LINUX" -D_OpSys2Def=
-DLinux -D_OpSysDef=-DLinux -Di686 -DIBM -D_ArchDef=-Di686
-D_VendorDef=-DIBM -D_Major=2 -D_Minor=4 -D_SubMinor=20-4GB )
endif
sed -e /^#[ ]*if/b -e /^#[ ]*ifdef/b -e /^#[
]*ifndef/b -e /^#[ ]*else/b -e /^#[ ]*elif/b -e
/^#[ ]*endif/b -e /^#[ ]*define/b -e /^#[ ]*undef/b
-e /^#[ ]*line/b -e /^#[ ]*include/b -e
/^#/s$$/**/_COMMENT_&$ -e /^ #/s$$/**/_COMMENT_&$
cat
if ( -e /usr/ccs/lib/cpp ) then
if ( -e /opt/ctl/bin/cpp ) then
if ( -e /usr/bin/cpp ) then
set cpp = /usr/bin/cpp
else
switch ( Linux )
case CYGWIN:
set cppopt = -traditional
breaksw
echo #include "Template"
/usr/bin/cpp -traditional -I. -D_COMMENT_= -DNGCOMM=# -I./config
-DCURDIR=. -DTOPDIR=. -DSiteFile="Site.local" -DSiteFileName=Site.local
-DYMAKESRCFILE=yMakefile -DSystemIncludes="LINUX"
-DSystemIncludesName="LINUX" -D_OpSys2Def= -DLinux -D_OpSysDef=-DLinux
-Di686 -DIBM -D_ArchDef=-Di686 -D_VendorDef=-DIBM -D_Major=2 -D_Minor=4
-D_SubMinor=20-4GB -DYMAKEFILE="ymake.tmp4713"
./config/ymake-filter
In file included from config/Template:843,
                 from <stdin>:1:
ymake.tmp4713:58: invalid preprocessing directive #The
ymake.tmp4713:59: invalid preprocessing directive #all
ymake.tmp4713:60: invalid preprocessing directive #It
ymake.tmp4713:61: invalid preprocessing directive #rebuilding
ymake.tmp4713:76: invalid preprocessing directive #The
ymake.tmp4713:77: invalid preprocessing directive #are
ymake.tmp4713:78: invalid preprocessing directive #code
ymake.tmp4713:79: invalid preprocessing directive #are
ymake.tmp4713:95: invalid preprocessing directive #The
ymake.tmp4713:96: invalid preprocessing directive #are
ymake.tmp4713:97: invalid preprocessing directive #code
ymake.tmp4713:98: invalid preprocessing directive #are
if ( 1 ) goto error_cleanup
goto error_cleanup
echo

echo Error in <ymake>: Interrupted in `pwd` - restoring Makefile
pwd
Error in <ymake>: Interrupted in /usr/local/src/ncarg-4.3.1 - restoring
Makefile
/bin/rm -f Makefile ymake.tmp4713
cp Makefile.bak Makefile
cp: cannot stat `Makefile.bak': No such file or directory
/bin/rm -f Makefile.bak
exit 1
Unable to build Makefile - fix above errors and re-run.

Terminating configuration procedure
vostok src/ncarg-4.3.1#

_______________________________________________
ncarg-talk mailing list
ncarg-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



This archive was generated by hypermail 2b29 : Fri Jun 06 2003 - 16:04:22 MDT