Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to install Sally http://www.mlsec.org/sally/ on MacOSX when I run ./configure, I get stuck at:

No package 'libconfig' found

even after installing libconfig through macports.

Can anyone shred some light on this?

share|improve this question

migrated from stackoverflow.com Jun 4 '11 at 2:39

This question came from our site for professional and enthusiast programmers.

Assuming that you have MacPorts configured to install into '/opt/local' (see prefix in macports/macports.conf)...

You'll want to check that your ${CPPFLAGS} contains -I/opt/local/include and your ${LDFLAGS} -L/opt/local/lib

share|improve this answer
    
How can I get the installation directory of libconfig that was installed via MacPorts? – mabounassif Jun 4 '11 at 1:01
    
The configuration is running but when I want to make the program I get the following error: input_lines.c:35: error: expected '=', ',', ';', 'asm' or 'attribute' before 'cfg' Could it be an architecture problem? – mabounassif Jun 4 '11 at 1:46
    
@mabounassif: You'll have to read the rest of the logfile to understand what's missing. – Johnsyweb Jun 4 '11 at 2:07
up vote 0 down vote accepted

It was a problem with how i installed libconfig.

Should have installed using the following command:

sudo port install libconfig-hr
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .