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?


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

  • 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

It was a problem with how i installed libconfig.

Should have installed using the following command:

sudo port install libconfig-hr

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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