[CIG-MC] Installing CitcomS - Cygwin

Lester Anderson lester_anderson1963 at hotmail.com
Fri Jun 8 01:19:28 PDT 2012


Hi Walter, Eric

Just a quick update to post the error log etc. 

Lester at Lester-VAIO /cygdrive/c/CitcomS/CitcomS-3.2.0
$ ./configure2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether the C compiler works... no   [this is very odd given that gcc is present as shown below]
configure2: error: in `/cygdrive/c/CitcomS/CitcomS-3.2.0':
configure2: error: C compiler cannot create executables
See `config.log' for more details

Lester at Lester-VAIO /cygdrive/c/CitcomS/CitcomS-3.2.0
$ gcc
gcc: no input files

Lester at Lester-VAIO /cygdrive/c/CitcomS/CitcomS-3.2.0
$ make
make: *** No targets specified and no makefile found.  Stop.

Lester at Lester-VAIO /cygdrive/c/CitcomS/CitcomS-3.2.0
$ gawk
Usage: gawk [POSIX or GNU style options] -f progfile [--] file ...
Usage: gawk [POSIX or GNU style options] [--] 'program' file ...
POSIX options:          GNU long options: (standard)
        -f progfile             --file=progfile
        -F fs                   --field-separator=fs
        -v var=val              --assign=var=val
Short options:          GNU long options: (extensions)
        -b                      --characters-as-bytes
        -c                      --traditional
        -C                      --copyright
        -d[file]                --dump-variables[=file]
        -e 'program-text'       --source='program-text'
        -E file                 --exec=file
        -g                      --gen-pot
        -h                      --help
        -L [fatal]              --lint[=fatal]
        -n                      --non-decimal-data
        -N                      --use-lc-numeric
        -O                      --optimize
        -p[file]                --profile[=file]
        -P                      --posix
        -r                      --re-interval
        -S                      --sandbox
        -t                      --lint-old
        -V                      --version

To report bugs, see node `Bugs' in `gawk.info', which is
section `Reporting Problems and Bugs' in the printed version.

gawk is a pattern scanning and processing language.
By default it reads standard input and writes standard output.

Examples:
        gawk '{ sum += $1 }; END { print sum }' file
        gawk -F: '{ print $1 }' /etc/passwd

Config.log listing:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by CitcomS configure2 3.2.0, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure2 

## --------- ##
## Platform. ##
## --------- ##

hostname = Lester-VAIO
uname -m = i686
uname -r = 1.7.15(0.260/5/3)
uname -s = CYGWIN_NT-6.1-WOW64
uname -v = 2012-05-09 10:25

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live
PATH: /cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live
PATH: /cygdrive/c/Program Files (x86)/Silverfrost/FTN95
PATH: /cygdrive/c/Windows/system32
PATH: /cygdrive/c/Windows
PATH: /cygdrive/c/Windows/System32/Wbem
PATH: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
PATH: /cygdrive/c/WConnectTool
PATH: /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software
PATH: /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64
PATH: /cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/10.0/DLLShared
PATH: /cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/DLLShared
PATH: /cygdrive/c/Program Files (x86)/Windows Live/Shared
PATH: /cygdrive/c/Program Files (x86)/QuickTime/QTSystem
PATH: /cygdrive/c/programs/GMT/bin
PATH: /cygdrive/c/programs/GMT/bin
PATH: /cygdrive/c/programs/GMT/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure2:2564: checking for a BSD-compatible install
configure2:2632: result: /usr/bin/install -c
configure2:2643: checking whether build environment is sane
configure2:2693: result: yes
configure2:2834: checking for a thread-safe mkdir -p
configure2:2873: result: /usr/bin/mkdir -p
configure2:2886: checking for gawk
configure2:2902: found /usr/bin/gawk
configure2:2913: result: gawk
configure2:2924: checking whether make sets $(MAKE)
configure2:2946: result: yes
configure2:3228: checking for C compiler version
configure2:3237: c:/mpich2/mpich2-1.4.1p1/bin/mpicc --version >&5
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure2:3248: $? = 0
configure2:3237: c:/mpich2/mpich2-1.4.1p1/bin/mpicc -v >&5
mpicc for MPICH2 version 1.4.1p1
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /managed/gcc-build/final-v3-bootstrap/gcc-3.4.4-999/configure --verbose --program-suffix=-3 --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,pascal,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
configure2:3248: $? = 0
configure2:3237: c:/mpich2/mpich2-1.4.1p1/bin/mpicc -V >&5
gcc: couldn't run `i686-pc-cygwin-gcc--I/cygdrive/c/mpich2/mpich2-1.4.1p1/src/include': No such file or directory
configure2:3248: $? = 1
configure2:3237: c:/mpich2/mpich2-1.4.1p1/bin/mpicc -qversion >&5
gcc: unrecognized option `-qversion'
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lpmpich
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpich
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lopa
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpl
collect2: ld returned 1 exit status
configure2:3248: $? = 1
configure2:3268: checking whether the C compiler works
configure2:3290: c:/mpich2/mpich2-1.4.1p1/bin/mpicc    conftest.c  >&5
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lpmpich
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpich
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lopa
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpl
collect2: ld returned 1 exit status
configure2:3294: $? = 1
configure2:3332: result: no
configure2: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "CitcomS"
| #define PACKAGE_TARNAME "CitcomS"
| #define PACKAGE_VERSION "3.2.0"
| #define PACKAGE_STRING "CitcomS 3.2.0"
| #define PACKAGE_BUGREPORT "cig-mc at geodynamics.org"
| #define PACKAGE_URL ""
| #define PACKAGE "CitcomS"
| #define VERSION "3.2.0"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure2:3337: error: in `/cygdrive/c/CitcomS/CitcomS-3.2.0':
configure2:3339: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=c:/mpich2/mpich2-1.4.1p1/bin/mpicc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_HC_HOME_set=
ac_cv_env_HC_HOME_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PHDF5_HOME_set=
ac_cv_env_PHDF5_HOME_value=
ac_cv_env_PYTHONPATH_set=
ac_cv_env_PYTHONPATH_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run tar'
AR=''
AUTOCONF='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run autoconf'
AUTOHEADER='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run autoheader'
AUTOMAKE='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run automake-1.11'
AWK='gawk'
CC='c:/mpich2/mpich2-1.4.1p1/bin/mpicc'
CCDEPMODE=''
CFLAGS=''
COND_CUDA_FALSE=''
COND_CUDA_TRUE='#'
COND_EMBEDDING_FALSE='#'
COND_EMBEDDING_TRUE=''
COND_EXCHANGER_FALSE=''
COND_EXCHANGER_TRUE=''
COND_GGRD_FALSE=''
COND_GGRD_TRUE='#'
COND_HDF5_FALSE=''
COND_HDF5_TRUE=''
COND_PYRE_FALSE=''
COND_PYRE_TRUE='#'
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='cygpath -w'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HC_HOME=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='CitcomS'
PACKAGE_BUGREPORT='cig-mc at geodynamics.org'
PACKAGE_NAME='CitcomS'
PACKAGE_STRING='CitcomS 3.2.0'
PACKAGE_TARNAME='CitcomS'
PACKAGE_URL=''
PACKAGE_VERSION='3.2.0'
PATH_SEPARATOR=':'
PHDF5_HOME=''
PYCONFIG=''
PYTHON=''
PYTHONPATH=''
PYTHON_BLDLIBRARY=''
PYTHON_EGG_CFLAGS=''
PYTHON_EGG_CPPFLAGS=''
PYTHON_EGG_LDFLAGS=''
PYTHON_EGG_LIBS=''
PYTHON_EGG_PYXFLAGS=''
PYTHON_EXEC_PREFIX=''
PYTHON_INCDIR=''
PYTHON_LA_LDFLAGS=''
PYTHON_LDFLAGS=''
PYTHON_LDLAST=''
PYTHON_LDLIBRARY=''
PYTHON_LIBDIR=''
PYTHON_LIBP=''
PYTHON_LIBPL=''
PYTHON_LIBS=''
PYTHON_LINKFORSHARED=''
PYTHON_MODLIBS=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_SYSLIBS=''
PYTHON_VERSION=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='3.2.0'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /cygdrive/c/CitcomS/CitcomS-3.2.0/aux-config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/usr/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgpyexecdir=''
pkgpythondir=''
pkgsysconfdir=''
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "CitcomS"
#define PACKAGE_TARNAME "CitcomS"
#define PACKAGE_VERSION "3.2.0"
#define PACKAGE_STRING "CitcomS 3.2.0"
#define PACKAGE_BUGREPORT "cig-mc at geodynamics.org"
#define PACKAGE_URL ""
#define PACKAGE "CitcomS"
#define VERSION "3.2.0"

configure2: exit 77

Cannot see what the problem is when all the necessary programs are present.

Cheers

Lester



> Date: Thu, 7 Jun 2012 11:16:52 -0700
> To: cig-mc at geodynamics.org
> From: wlandry at caltech.edu
> Subject: Re: [CIG-MC] Installing CitcomS - Cygwin
> 
> Lester Anderson <lester_anderson1963 at hotmail.com> wrote:
> > Hi Eric,
> > 
> > No I never did manage to get the code the compile under Cygwin. The
> > main issue seems to be that the MPI library will not install. At the
> > moment I am working with a colleague that uses the code a lot and
> > has it working. Unfortunately I do not have the time to keep trying
> > to compile the code.
> > 
> > Perhaps somewhere down the line the code could be modified to work
> > on Windows 32/64 bit but I can appreciate that it would require a
> > lot of tweaking to get the functionality.
> > 
> > If anyone does manage to get the code to compile and run under
> > Cygwin I would be interested to know. Cygwin is a bit of a strange
> > beast in that it is running in windows and can access windows
> > programs (eg GMT) but is fully UNIX compliant, so it is odd why
> > things do not work.
> 
> I just compiled in on the Cygwin machine we have.  I did not have any
> of the problems you had.  I compiled my own version of mpich2-1.3.2p1
> with the configure line
> 
>   ./configure --prefix=/home/walter --with-pm=gforker --enable-fast --disable-f77 --disable-fc
> 
> Then I set the environment variables, configured, and built it.
> 
>   export CC=/home/walter/src/mpich2-1.3.2p1/bin/mpicc
>   ./configure
>   make
> 
> This gave me the non-Pyre version without HDF5.  Then I ran the
> command
> 
> /home/walter/src/mpich2-1.3.2p1/bin/mpirun -np 4 bin/CitcomSRegional.exe  examples/Regional/input.sample
> 
> and it seems to work.
> 
> Cheers,
> Walter Landry
> _______________________________________________
> CIG-MC mailing list
> CIG-MC at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-mc/attachments/20120608/106a95a1/attachment-0001.htm 


More information about the CIG-MC mailing list