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

Re: netcdf under apple A/UX



>Date: Mon, 28 Feb 1994 21:22:59 +0000
>From: address@hidden (=?iso-8859-1?Q?Bj=F6rn?= =?iso-8859-1?Q?Regnstr=F6m
?=)
>To: Steve Emmerson <address@hidden>
>Subject: Re: netcdf under apple A/UX

In the above message you wrote:

>>        3. send me the output from the following command:
>>        
>>                % make test LIBOBJS=
>
>cc -O xdrtest.o -o xdrtest
>        ./xdrtest > xdrtest_out.new
>diff xdrtest_out.new testout.sav
>*** XDR passes formatted test ***
>cmp test.xdr test_xdr.sav
>test.xdr test_xdr.sav differ: char 3478, line 1
>*** XDR fails binary test ***
>Make: *** Error: Update of `test' terminated with exit code 1
>Make:            [line 55 in /users/bjre/numerix/netcdf-2.3.2/xdr/Makefile]

OK.  A/UX's xdr(3) implementation is definitely broken.  Now we need to
discover why this wasn't discovered by the `configure' script.

Would you please do the following:

        1. Apply the following patch to the `configure' script:

*** configure   Fri Jun 11 14:16:55 1993
--- /tmp/t.t    Mon Feb 28 15:13:43 1994
***************
*** 598,603 ****
--- 598,604 ----
  fi
  
  echo checking for XDR header-file
+ set echo
    if test -z "$CPP_XDR"; then
      for dir in /usr/include/rpc /usr/local/include/rpc \
      $prefix/include `case "xdr" in 
***************
*** 741,746 ****
--- 742,748 ----
  XDR_INSTALL_DEPS=installed_headers
  LD_XDR=
  fi
+ exit
  rm -f conftest*
  
  echo checking for function prototypes

        2. Run the `configure' script and send me the output.

        3. Move the file `conftest.c', which was created by the `configure'
           script, to the file `testxdr.c'.

        4. Move the program `conftest', which was also created by the
           `configure' script, to the file `testxdr'.

        5. run `testxdr' and send me the output.

--------
Steve Emmerson   <address@hidden>