[esp-r] Re: Error of Installing ESP-r on Mac OS X 10.8.5
Jon Hand
jon at esru.strath.ac.uk
Thu Oct 17 09:22:49 BST 2013
>From the message it would appear that you are attempting to install
ESP-r on an OSX computer. My guess is that you have not installed
the full development environment needed to build ESP-r.
Have you done a build on this compueter before?
Have you installed the GNU gcc g++ and gfortran compilers as listed in the osx
setup instructions e.g. if you give the commands
which gcc
which g++
which gfortran
in a terminal do you get a response?
What version of OSX are you running?
Regards, Jon Hand
________________________________________
From: esp-r-bounces at lists.strath.ac.uk [esp-r-bounces at lists.strath.ac.uk] on behalf of Xiao LIU (6514827) [Xiao.Liu at nottingham.edu.cn]
Sent: 17 October 2013 06:21
To: esp-r at lists.strath.ac.uk
Subject: [esp-r] Error of Installing ESP-r on Mac OS X 10.8.5
Subject: Error of Installing ESP-r on Mac OS X 10.8.5
Hi,
I am trying to install ESP-r in my computer with the latest system of Mac OS X 10.8.5. Following with the instruction from the website <http://www.esru.strath.ac.uk/Programs/ESP-r_central.htm>
and after resolving several dependencies with other software I still get an error. I am copying the relevant text from the error below (verbose text):
- building libX11... Done.
- building aco...
ERROR: could not build executable aco!
ERROR: result /Users/mac/Src/development_branch/src/esruaco/aco!
Compilation messages follow:
-----------------------------------------
Compilation of aco on Mon Oct 14 11:21:58 CST
Make command:
-------------
make MCTYPE=osx MCC=gcc MCPL=g++ MFC=gfortran DESTdir=/Users/mac/cset ESPdir=/Users/mac/cset/esp-r WWLINK=unshared EXE= XINSTALLDIR=/usr/X11R6 CFLAGS=-I../include -I../shocc -I/usr/local/include -I../cetc/h3kreports -I/usr/X11R6/include -DOSX -DLIN -m64 -DX11 FFLAGS=-I../include -I../shocc -I/usr/local/include -I../cetc/h3kreports -DOSX -DLIN -m64 -DX11 -fno-automatic -DGCC4 LD_FLAGS= ULIBS=-L/Users/mac/Src/development_branch/src/lib -lversion -lxesru -L/usr/X11R6/lib -lX11 -lXML -lSQLite xml_status= SQLite_status= -f Makefile aco >>.make_msg 2>&1
Make output:
------------
cd `pwd`/esruaco; make
gcc -I../include -I../shocc -I/usr/local/include -I../cetc/h3kreports -DOSX -DLIN -m64 -DX11 -fno-automatic -DGCC4 -c h3kmodule.f90
clang: warning: argument unused during compilation: '-I ../include'
clang: warning: argument unused during compilation: '-I ../shocc'
clang: warning: argument unused during compilation: '-I /usr/local/include'
clang: warning: argument unused during compilation: '-I ../cetc/h3kreports'
clang: warning: argument unused during compilation: '-fno-automatic'
error: invalid value 'f95' in '-x f95'
make[1]: *** [h3kmodule.o] Error 1
make: *** [aco] Error 2
-----------------------------------------
Install: Fatal error.
Executable aco could not be built!
Installation aborted.
Could you give me some ideas of how to resolve this? Great appreciation for your help and kindness.
I am installing revision r9 9495 of the development branch.
Xiao LIU
PhD Candidate
Centre for Sustainable Energy Technologies (CSET)
The University of Nottingham, Ningbo, China (UNNC)
Mobile: (+86)150 6746 9263
E-mail: Xiao.Liu at nottingham.edu.cn
Address: 199 Taikang East Road, University Park, Ningbo, China
Post code: 315100
This message and any attachment are intended solely for the addressee and may contain confidential information.
If you have received this message in error, please send it back to me, and immediately delete it.
Please do not use, copy or disclose the information contained in this message or in any attachment.
Any views or opinions expressed by the author of this email do not necessarily reflect the views of The University of Nottingham Ningbo China.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system:
you are advised to perform your own checks.
Email communications with The University of Nottingham Ningbo China may be monitored as permitted by UK and Chinese legislation.
_______________________________________________
esp-r mailing list
esp-r at lists.strath.ac.uk
http://lists.strath.ac.uk/mailman/listinfo/esp-r
More information about the esp-r
mailing list