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

20020704: building McIDAS-X 7.8x on RedHat Linux 7.1



>From: Daniel Vila <address@hidden>
>Organization: INA
>Keywords: 200207041251.g64Cp5n01680 McIDAS Linux

Hi Daniel,

>How are you? I don't known if you remember me but I am the guy from
>Argentina who was taking with you during the last AMS meeting in
>Orlando. You gave me the McIDAS and GEMPAK manuals (I appreciate this
>very much!).

Yes, I remember you quite well.  How are you?  I must say that your
email is very timely in some respects.  I am leaving on a trip for
Brazil and Argentina this coming Tuesday.  My only stop in Argentina
is Buenos Aires, but I will be there for a couple of days.  Where
exactly are you in Argentina?

>I'm trying to install the last version of McIDAS available in UNIDATA
>ftp site (under RedHat 7.1 i686) and everything goes well but (always
>BUT) during the making process ([mcidas@danielvilalinux src]$ make mcx)
>this message appears:
>
>convdlm mdxgra.dlm:  FAILED (See '/home/mcidas/mcidas7.8/src/makelog'
>for details.)
>
>make: *** [mdxgra.f] Error 1
>
>The last lines of makelog are the following
>
>collect2: ld returned 1 exit status
>link convdlm:  done
>./mccomp -s -vendor -o mcmkhelp mcmkhelp.o
>mcfc -s -o mcmkhelp mcmkhelp.o -L/usr/local/lib -L/usr/X11R6/lib -lf2c
>-ldl -lm
>/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libf2c.so: undefined
>reference to `MAIN__'
>collect2: ld returned 1 exit status
>link mcmkhelp:  done
>./convdlm mdxgra.dlm
>./mclog: ./convdlm: No such file or directory
>convdlm mdxgra.dlm:  FAILED

This is a well known problem that is addressed in the Notes and Warnings
document that is part of the Installation and Configuration instructions
of the Unidata McIDAS-X 7.8 web pages:

Unidata McIDAS-X 7.80
http://www.unidata.ucar.edu/packages/mcidas/780

=>Installation and Configuration
  http://www.unidata.ucar.edu/packages/mcidas/780/mdx/mcidas-x.html

  =>Build, Test, Install -X
    http://www.unidata.ucar.edu/packages/mcidas/780/mdx/make_mcx.html

    =>Review System-specific Notes and Warnings
      http://www.unidata.ucar.edu/packages/mcidas/780/mcx/warnings_mcx.html

Check out the section 'gcc/f2c' users:

http://www.unidata.ucar.edu/packages/mcidas/780/mcx/warnings_mcx.html#gcc

This explains what you have to do to get around the problem you ran into.

The other approach you could take, assuming that the version of 7.8
that you downloaded from our web site is new enough (you would have to
have grabbed this after December 2001), is to build using gcc and g77.
This assumes, of course, that your system has g77 loaded on it.  If
it does, I recommend that you do the following:

<login as 'mcidas'>
cd mcidas7.8/src
make clobber
make mcx VENDOR=-g77

The 'make clobber' will clean out all of the stuff combiled with your
previous invocation of 'make mcx', and the 'make mcx VENDOR=-g77' will
build using the combination of gcc and g77.  This is what I do on my
home system (which I am writing this from right now, and which is also
running RedHat 7.1), and it works nicely.

>(this file was changing because I was trying to solve it with no results
>at all)
>
>I am logged as mcidas user and I follow the instructions available in
>the UNIDATA web page (I supposed that they are updated respect the
>manual you gave me). I use a csh shell (csh is set as defaul shell for
>mcidas user) and I install f2c (20000510-5) and gcc (v2.96-81) for the
>building process. If you need any other information, please contact me.
>Thank you!

You are very close to being able to build with no problems.  Please either
look through the web page I listed above to find out how to get around
the problem you ran into, or try building from scratch using gcc/g77.

Cheers,

Tom Yoksas