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

Discuss issues related to installing or building
Post Reply
subgeneyes
Posts: 1
Joined: Sat Sep 16 2017 6:15 pm

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

Post by subgeneyes »

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

ansel
Posts: 99
Joined: Fri Apr 10 2015 8:23 am

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

Post by ansel »

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_over ... s-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 Sermersheim
CopperSpice Cofounder

Post Reply