[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[UDUNITS #SCG-741485]: installation problems on Ubuntu.
- Subject: [UDUNITS #SCG-741485]: installation problems on Ubuntu.
- Date: Mon, 21 Dec 2009 11:35:03 -0700
Advait,
> Here they are..
The file "make.log" contained the following:
making `all' in directory /usr/local/src/udunits-1.12.9/src/lib
make[1]: Entering directory `/usr/local/src/udunits-1.12.9/src/lib'
ln -s ../port/misc/udalloc.c .
ln -s ../port/misc/udalloc.h .
c89 -c -g -O2 -I../port/misc -I../port/cfortran
-DUT_DEFAULT_PATH='"/usr/local/src/udunits-1.12.9/etc/udunits.dat"' utlib.c
In file included from utlib.c:29:
../port/cfortran/cfortran.h:133:3: error: #error "cfortran.h: Can't find your
environment among: - MIPS cc and
Note the lack of something like "-Df2cFortran" from the compile command. This
indicates that the CPPFLAGS environment variable wasn't correctly set. If
you're using a standard shell, then something like the following should work:
export CPPFLAGS='-Df2cFortran'
Otherwise, if you're using a csh(1)-like shell, then something like this should
work:
setenv CPPFLAGS -Df2cFortran
You can verify that an environment variable is set via something like this
env | grep CPPFLAGS
Start the build process from the beginning (starting with the "make distclean"
command). Verify that the CPPFLAGS environment variable is correctly set
before executing the configure(1) script.
Regards,
Steve Emmerson
Ticket Details
===================
Ticket ID: SCG-741485
Department: Support UDUNITS
Priority: Normal
Status: Closed