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

20041004: can't find UDUNITS.o



Youchunhua,

> To: address@hidden
> From: =?gb2312?B?0860uruq?= <address@hidden>
> Subject: Seems can't find UDUNITS.o
> Organization: UCAR/Unidata
> Keywords: 200410041707.i94H7dUE026338

The above message contained the following:

> I just met some problem when installing udunits-1.12.2,i attatch the
> log files below,hope you can help me.
> 
> the information of uname -a is:
> Linux jsahz.3322.org 2.6.3-7mdk #1 Wed Mar 17 15:56:42 CET 2004 i686 unknown 
> unknown GNU/Linux
...

> making `dynamic' in directory 
> /home/youchunhua/Downloads/udunits-1.12.2/udunits-1.12.2/src/perl
> 
> make[1]: Entering directory 
> `/home/youchunhua/Downloads/udunits-1.12.2/udunits-1.12.2/src/perl'
> Running Mkbootstrap for UDUNITS ()
> chmod 644 UDUNITS.bs
> rm -f blib/arch/auto/UDUNITS/UDUNITS.so
> LD_RUN_PATH="" gcc  -shared -L/usr/local/lib UDUNITS.o  -o 
> blib/arch/auto/UDUNITS/UDUNITS.so   
> -L/home/youchunhua/Downloads/udunits-1.12.2/udunits-1.12.2/src/perl/../lib 
> -ludunits -lm   
> gcc: UDUNITS.o: No such file or directory
> make[1]: *** [blib/arch/auto/UDUNITS/UDUNITS.so] error 1
> make[1]: Leaving directory 
> `/home/youchunhua/Downloads/udunits-1.12.2/udunits-1.12.2/src/perl'
> make: *** [perl/dynamic] error 1
> 
> I set the environment as below:
> pgiFortran=/usr/pgi/linux86/5.2/bin/pgf90
> CPPFLAGS='-DNDEBUG -DpgiFortran'
> CC=/usr/bin/gcc
> PERL=/usr/bin/perl
> LD_MATH='-L /usr/lib/libm.a -lm'

Odd.

Do you need the perl(1) interface?  If so, then go into the "perl/"
subdirectory and send me the output of the command "make".

If you do NOT need the perl(1) interface, then do the following:

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

    2.  Perform steps 3 through 5, described at the end of the file
        INSTALL.

    3.  Ensure that the environment variable PERL is set to the empty
        string, e.g.,

            export PERL=

        or

            setenv PERL ''

        depending on your user-shell

    4.  Perform steps 6 through 9, described at the end of the file
        INSTALL.

> thanks
> youchunhua

Regards,
Steve Emmerson

> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.