1
0
-1

I'm running macOS 10.14.2 Mojave, and having an issue installing pkg-config during EUPS setup. I've installed gcc-8.1 from http://hpc.sourceforge.net and Xcode 10.1.

I found similar threads online, which suggest using my gcc compiler from above in /usr/local/bin gcc. But then I run up against the "On OSX only CLANG compilers are supported" error. Same story typing "eups distrib install pkgconfig 0.28+4" or "eups distrib install tcl 8.5.17+0" myself.

Thanks for the help.


The config.log file.


Terminal output:

Welcome to the EUPS installer

Some simple checks to see if the requirements are available...
Checking python version...                                            ok
Checking shell type...                                                ok
Checking existence of 'bash'...                                       ok
Checking existence of 'curl'...                                       ok
Checking existence of 'wget'...                                       warning
  wget might not be installed or is not working.
  Running 'wget --help' resulted in return code 32512.
  Output:
  sh: wget: command not found

Would you like to install wget using EUPS?
[yes] : 
Checking existence of 'pkg-config'...                                 warning
  pkg-config might not be installed or is not working.
  Running 'pkg-config --help' resulted in return code 32512.
  Output:
  sh: pkg-config: command not found

Would you like to install pkg-config using EUPS?
[yes] : 
Checking existence of 'subversion'...                                 ok
Checking existence of 'git'...                                        ok
Checking existence of 'gcc'...                                        ok
Checking existence of 'gfortran'...                                   ok
Checking existence of 'make'...                                       ok
Checking existence of 'tr'...                                         ok
Checking existence of 'sed'...                                        ok
Checking if file zlib.h exists....                                    ok

Where should EUPS be installed?
[/Users/colin/EUPS_DESDM/eups] : 

Directory /Users/colin/EUPS_DESDM/eups already exists! Are you sure that you would like to use that directory?
[yes] : 

Where should the EUPS packages (the software components managed by EUPS)
be installed?
[/Users/colin/EUPS_DESDM/eups/packages] : 

Directory /Users/colin/EUPS_DESDM/eups/packages already exists! Are you sure that you would like to use that directory?
[yes] : 
Checking if file cc exists....                                        ok

Please select the CLANG C compiler that will be used to build packages:
[/usr/bin/cc] : 
Checking if file c++ exists....                                       ok

Please select the CLANG C++ compiler that will be used to build packages:
[/usr/bin/c++] : 
Checking if file gfortran exists....                                  ok

Please select the gfortran compiler that will be used to build packages:
[/usr/local/bin/gfortran] : 

Should those packages that support it be build with
INTEL's ICC compiler and INTEL's MKL (Math Kernel Library), instead of
/usr/bin/cc, ATLAS and FFTW?
ICC support is experimental.
(ATLAS and FFTW are available as EUPS packages. ICC and MKL must be installed
 manually if they are to be used.)
[no] : 

The installation will create a script that setup the environment for this EUPS
installation. This script needs to be sourced before EUPS can be used.

Should the setup script be sourced from ~/.bashrc ?
[yes] : 

Should the setup script be sourced from ~/.bash_profile ?
[yes] : 

Should the setup script be sourced from ~/.cshrc ?
[no] : 


---------------------------------------------------------------
Before starting the installation, please review the settings:

EUPS installation directory:         /Users/colin/EUPS_DESDM/eups
EUPS package installation directory: /Users/colin/EUPS_DESDM/eups/packages

Primary C compiler:                  /usr/bin/cc
Primary C++ compiler:                /usr/bin/c++
Primary fortran compiler:            /usr/local/bin/gfortran

Installing the following EUPS packages by default:
  wget 1.16+1
  pkgconfig 0.28+4

Use only /usr/bin/cc, /usr/bin/c++, /usr/local/bin/gfortran, ATLAS, and FFTW.

Setup EUPS environment in
  .bashrc:                                                            yes
  .bash_profile:                                                      yes
  .cshrc:                                                             no

Are those settings correct?
[yes] : 
---------------------------------------------------------------

Creating temporary directory...                                       ok
Changing into temporary directory...                                  ok
Downloading EUPS...                                                   ok
Unpacking EUPS...                                                     ok
Changing into unpacked directory...                                   ok
Ensuring existence of the EUPS installation directory...              ok
Ensuring existence of the EUPS version installation directory...      ok
Ensuring existence of the EUPS installation directory for packages... ok
Configuring EUPS...                                                   ok
Building EUPS...                                                      ok
Installing EUPS...                                                    ok
Changing into EUPS directory...                                       ok
Deleting temporary directory...                                       ok
Creating symlink 1.2.30 -> default...                                 ok
Checking if we can run EUPS....                                       ok
Extracting this machine's flavor...                                   ok
Creating environment setup script for BASH...                         ok
Creating environment setup script for CSH...                          ok
Installing wget 1.16+1...                                             ok
Appending setup command to BASH script...                             ok
Appending setup command to CSH script...                              ok
Installing pkgconfig 0.28+4...                                        error
  Execution of 'bash -c "source 1.2.30/desdm_eups_setup.sh; eups distrib install pkgconfig 0.28+4"' failed. Got exit code 2304.
  Output:
  BUILD ERROR!  From build log:
    3900K .......... .......... .......... .......... .......... 88% 3.50M 0s
    3950K .......... .......... .......... .......... .......... 90% 3.75M 0s
    4000K .......... .......... .......... .......... .......... 91% 3.42M 0s
    4050K .......... .......... .......... .......... .......... 92% 3.50M 0s
    4100K .......... .......... .......... .......... .......... 93% 3.88M 0s
    4150K .......... .......... .......... .......... .......... 94% 3.26M 0s
    4200K .......... .......... .......... .......... .......... 95% 3.75M 0s
    4250K .......... .......... .......... .......... .......... 96% 3.56M 0s
    4300K .......... .......... .......... .......... .......... 97% 3.43M 0s
    4350K .......... .......... .......... .......... .......... 99% 3.71M 0s
    4400K .......... .......... .......... .........            100% 3.65M=1.3s
  
  2019-01-05 19:43:27 (3.32 MB/s) - 'tcl8.5.17-src.tar.gz' saved [4546317/4546317]
  
  checking whether to use symlinks for manpages... no
  checking whether to compress the manpages... no
  checking whether to add a package name suffix for the manpages... no
  checking for gcc... /usr/bin/cc
  checking for C compiler default output file name... configure: error: C compiler cannot create executables
  See `config.log' for more details.
  eups distrib: Failed to build tcl-8.5.17+0.build: Command:
   export EUPS_PATH=/Users/colin/EUPS_DESDM/eups/packages
   (cd /Users/colin/EUPS_DESDM/eups/packages/EupsBuildDir/DarwinX86/tcl-8.5.17+0 && 
   set -o errexit
   set -o nounset
   shopt -s extglob
   EXTERNAL=http://desbuild.cosmology.illinois.edu/eeups/webservice/resources
   PRODUCT=tcl
   VERSION=8.5.17
   PKG_VERSION=0
   FULL_VERSION=8.5.17+0
   SVNROOT='https://dessvn.cosmology.illinois.edu/svn/desdm/devel'
   SVN_PATH=tags/8.5.17+0
   FLAVOR=$(eups flavor)
  if [[ $FLAVOR =~ -icc ]] ; then ICC=1 ; else ICC=0; fi
   PRODUCT_DIR=$(eups path 0)/$FLAVOR/$PRODUCT/${FULL_VERSION}
   mkdir -p $PRODUCT_DIR
   rm -rf $PRODUCT_DIR/*
   find . -not -regex  "./[^/]*.log" -delete
   wget $EXTERNAL/$PRODUCT/$PRODUCT$VERSION-src.tar.gz
   tar xzf $PRODUCT$VERSION-src.tar.gz
   cd $PRODUCT$VERSION
   cd unix
   if [[ $FLAVOR =~ Darwin ]] ; then 
       DARWIN_VERSION=`sw_vers -productVersion | awk -F"." '{printf "%s.%s\n",$1,$2}'` || echo "Cannot set Darwin version"
       SDK_VERSION=macosx$DARWIN_VERSION
       SDK_PATH=`xcodebuild -version -sdk $SDK_VERSION Path` || echo "Cannot set SKD path"
       export CFLAGS="-isysroot $SDK_PATH -arch i386 -arch x86_64" 
       export MACOSX_DEPLOYMENT_TARGET=$DARWIN_VERSION 
       ./configure --prefix=$PRODUCT_DIR --enable-framework --disable-corefoundation 
   elif [[ $FLAVOR =~ Linux ]] ; then 
       ./configure --prefix=$PRODUCT_DIR 
   else 
       echo "ERROR: EUPS FLAVOR:$FLAVOR not supported"
       exit 1
   fi 
   make
   make install) >> /Users/colin/EUPS_DESDM/eups/packages/EupsBuildDir/DarwinX86/tcl-8.5.17+0/tcl-8.5.17+0.build.log 2>&1 
  exited with code 77
  Installing tcl 8.5.17+0 for generic...
   


    CommentAdd your comment...