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

[UDUNITS #FOM-224333]: Where I can get the 'udunits.inc' file? Thanks.



Chung-Lin,

> Ted just found me "head" in "/usr/bsd" ("Berkeley System Division"),
> which is unfortunately in a different directory from "tail"
> (/usr/bin).

/usr/bsd often has non-standard implementations of utilities.  I 
suggest, therefore, that you put it at the *end* of your PATH
environment variable.

> I therefore performed a quick test again and was able to
> progress a bit further.  There's no longer complaint about "head" in
> "configure.log" (see (ii) below), but still has the same error
> message (see (i) below) in "make.log".  Looks like the major concern
> is
> 
> "conflicts: 5 shift/reduce

The shift/reduce conflicts can be safely ignored.

> Cannot find parser ut, line 173"

The above message indicates a fatal error.

> Looking forward to hearing from you again.  Thanks again for you patient 
> helps!
> 
> Chung-Lin
> 
> 
> (i) "make.log"
> 
> making `all' in directory /usr/user6/shie/dir-t2m/udunits-1.12.9/src/port
> 
> 
> making `all' in directory /usr/user6/shie/dir-t2m/udunits-1.12.9/src/port/misc
> 
> cc -c -g -I.  -D_REENTRANT  uddummy.c
> `FORCE' no action taken.
> ar rcuv libudport.a uddummy.o
> a - uddummy.o
> case "" in \
> '') ;; \
> *)  ar rucv libudport.a ;; \
> esac
> : libudport.a
> `library' no action taken.
> `all' no action taken.
> 
> returning to directory /usr/user6/shie/dir-t2m/udunits-1.12.9/src/port
> 
> 
> making `all' in directory
> /usr/user6/shie/dir-t2m/udunits-1.12.9/src/port/cfortran
> 
> 
> returning to directory /usr/user6/shie/dir-t2m/udunits-1.12.9/src/port
> 
> `FORCE' no action taken.
> `all' no action taken.
> 
> returning to directory /usr/user6/shie/dir-t2m/udunits-1.12.9/src
> 
> 
> making `all' in directory /usr/user6/shie/dir-t2m/udunits-1.12.9/src/lib
> 
> ln -s ../port/misc/udalloc.c .
> ln -s ../port/misc/udalloc.h .
> cc -c -g -I../port/misc -I../port/cfortran
> -DUT_DEFAULT_PATH='"/usr/user6/shie/dir-t2m/udunits-1.12.9/etc/udunits.dat"'
> utlib.c
> yacc -b utparse -d -p ut utparse.y
> 
> conflicts: 5 shift/reduce
> Cannot find parser ut, line 173
> conflicts: 5 shift/reduce
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> 
> 
> (ii) "configure.log"
> 
> checking for manual-page index command... /usr/lib/makewhatis -M
> $(MANDIR) $(MANDIR)/whatis
> checking for cc... cc
> checking type of operating system... irix64

IRIX64 has a non-standard yacc(1), which we'll have to work around
by setting a particular environment variable.

Try this:

1. Go to the top-level source-directory.

2. Execute the command "make distclean".

3. Set environment variables equivalent to the following:

    export PERL=''
    export CPPFLAGS=-Df2cFortran
    export _XPG=1

    That last one should fix the yacc(1) problem.

4. Execute the configure script. Redirect both the standard output
and standard error streams to the file "configure.log". Look at
the file. If a fatal error occurred, then send me the file and
stop.

5. Execute the command "make". Redirect both the standard output
and standard error streams to the file "make.log". Look at
the file. If a fatal error occurred, then send me the file and
stop.

6. Execute the command "make install". Redirect both the standard output
and standard error streams to the file "install.log". Look at
the file. If a fatal error occurred, then send me the file and
stop.

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: FOM-224333
Department: Support UDUNITS
Priority: Normal
Status: Closed