Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.