Jenny, > I have been googling and reading FAQs until I am blue in the face - I > just cannot seem to get udunits installed. Here is the error: > > Warning: -L../lib changed to -L/usr/local/bin/udunits-1.12.4/src/ > perl/../lib > Writing Makefile for UDUNITS > > making `dynamic' in directory /usr/local/bin/udunits-1.12.4/src/perl > > /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp -typemap / > System/Library/Perl/5.8.6/ExtUti > ls/typemap -typemap typemap UDUNITS.xs > UDUNITS.xsc && mv > UDUNITS.xsc UDUNITS.c > Please specify prototyping behavior for UDUNITS.xs (see perlxs manual) > gcc -c -I../lib -I../port/misc -g -pipe -fno-common -DPERL_DARWIN - > no-cpp-precomp -fno-strict-alias > ing -I/usr/local/include -O3 -DVERSION=\"1.12.4\" -DXS_VERSION= > \"1.12.4\" "-I/System/Library/Perl > /5.8.6/darwin-thread-multi-2level/CORE" -Df2cFortran UDUNITS.c > Running Mkbootstrap for UDUNITS () > chmod 644 UDUNITS.bs > rm -f blib/arch/auto/UDUNITS/UDUNITS.bundle > LD_RUN_PATH="" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle - > undefined dynamic_lookup -L/usr/local/ > lib UDUNITS.o -o blib/arch/auto/UDUNITS/UDUNITS.bundle -L/usr/ > local/bin/udunits-1.12.4/src/perl/. > ./lib -ludunits -lm > /usr/bin/ld: truncated or malformed archive: /usr/local/bin/ > udunits-1.12.4/src/perl/../lib/libudunit > s.a (ranlib structures in table of contents extends past the end of > the table of contents, can't loa > d from it) The last line above indicates that the UDUNITS library (/usr/local/bin/udunits-1.12.4/src/lib/libudunits.a) is malformed. Take a look at it using "ar" and "nm". Does is appear OK? The "make" output that you sent didn't contain output from making the UDUNITS library. Would you please do a "make clean" and send me the output from a "make". Do you need the Perl interface? If not, then you can skip building it by doing a "make distclean", setting the PERL environment variable to the empty string, and then doing a "make". > collect2: ld returned 1 exit status > make: *** [blib/arch/auto/UDUNITS/UDUNITS.bundle] Error 1 > make: *** [perl/dynamic] Error 1 > > I set the following environment variables: > > CPPFLAGS=-Df2cFortran > CXXFLAGS=-O2 -m64 > CXX=g++ > LD_MATH=-lm > CFLAGS=-O -m64 -fPIC (Also tried CFLAGS='-O2 -m64') > CC=gcc > > > I don't have the Intel C compiler installed (but I do have the Intel > Fortran compiler). That's why I'm using gcc. The hardware is a 64- > bit dual core mac running 10.4.10. > > output of uname -a: > Darwin leotest.al.noaa.gov 8.10.2 Darwin Kernel Version 8.10.2: Wed > Jun 20 21:49:49 PDT 2007; root:xnu-792.22.6~1/RELEASE_I386 i386 i386 > > NetCDF 3.6.2 compiled and installed with only two messages: > > make: Nothing to be done for 'check-am' > make: Nothing to be done for 'check-am' > > I also don't know what flags yacc needs - I usually leave that blank > during the configure process. > > Any help would be greatly appreciated. > > Thanks! > > --jenny > Jennifer Fox > Unix Systems Administrator > NOAA Earth Systems Research Laboratory, Chemical Sciences Division > 325 Broadway R/CSD > Boulder, CO 80205 > > (303) 497-4769 > Jenny dot Fox at noaa dot gov Regards, Steve Emmerson Ticket Details =================== Ticket ID: COP-571847 Department: Support UDUNITS Priority: Normal Status: On Hold
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.