Jump to content
  • 0

help! when compile get libconfig.h not found error


Question

Posted

when I ./configure --enable-64bit completed,

do make

It's report.

gcc -g -O2 -pipe -ffast-math -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -DHAVE_USELOCALE -DHAVE_NEWLOCALE -DHAVE_FREELOCALE -DHAVE_XLOCALE_H -Wno-unused -Wno-parentheses  -I../common -I/usr/include  -L/usr/lib -shared -o ../../plugins/sig.so sig.c ../common/obj_all/showmsg.o ../common/obj_all/utils.o ../common/obj_all/strlib.o ../common/obj_all/minimalloc.o
In file included from sig.c:10:
../common/showmsg.h:7:23: error: libconfig.h: No such file or directory
In file included from sig.c:10:
../common/showmsg.h:97: error: expected ‘)’ before ‘*’ token
make[1]: *** [sig.so] Error 1
make: *** [plugins] Error 2

how do I fix it ?

P.S. my OS is MAC OS X 10.7

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...