Mac install err: syntax error near unexpected token `SSL,'

Discuss issues related to installing or building

Mac install err: syntax error near unexpected token `SSL,'

Postby subgeneyes » Sat Sep 16 2017 6:30 pm

Downloaded cs-1.4 from GitHub. Followed build instructions:
Code: Select all
# autoreconf -I


- created env vars
Code: Select all
  # env | grep clang
   OBJCXX=clang++ -std=c++14
   CXX=clang++
   CC=clang

- ran ./configure

Got errors:
Code: Select all
   checking whether g++ accepts -g... (cached) yes
   checking dependency style of g++... (cached) gcc3

   ./configure: line 18835: syntax error near unexpected token `SSL,'
   ./configure: line 18835: `PKG_CHECK_MODULES(SSL, openssl >= 1.0.0, SSL="yes", true)'


running Mac OS ver 10.12.6
Code: Select all
# clang++ -v
  Apple LLVM version 8.1.0 (clang-802.0.42)
  Target: x86_64-apple-darwin16.7.0
subgeneyes
 
Posts: 1
Joined: Sat Sep 16 2017 6:15 pm

Re: Mac install err: syntax error near unexpected token `SS

Postby ansel » Sat Sep 16 2017 8:58 pm

Hi subgeneyes,

Since you are using a version of CopperSpice from git and therefore need to run autoreconf, you will need pkg-config available on your system as noted here: http://www.copperspice.com/docs/cs_overview/requirements-mac.html

We do not have specific instructions for installing pkg-config, as it is available from multiple different sources on OS X. For example, if you use Homebrew, all you will need is:

Code: Select all
brew install pkg-config


Thanks for your report,

Ansel
ansel
 
Posts: 52
Joined: Fri Apr 10 2015 8:23 am


Return to Installation

cron