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?

link|improve this question
feedback

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

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

2 Answers

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

link|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
feedback
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
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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