Open sean256 opened 7 years ago
Something seems to be wrong with your /usr/local
permissions. Try running brew doctor
and follow the instructions.
Can't install libdnet too
$ make
Making all in include
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in dnet
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in man
make[1]: Nothing to be done for `all'.
Making all in src
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -Wall -c -o addr-util.lo `test -f 'addr-util.c' || echo './'`addr-util.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -Wall -c addr-util.c -fno-common -DPIC -o .libs/addr-util.o
In file included from addr-util.c:9:
../include/config.h:286:5: warning: incompatible redeclaration of library
function 'strlcat' [-Wincompatible-library-redeclaration]
int strlcat(char *, const char *, int);
^
../include/config.h:286:5: note: 'strlcat' is a builtin with type 'unsigned long
(char *, const char *, unsigned long)'
../include/config.h:290:5: warning: incompatible redeclaration of library
function 'strlcpy' [-Wincompatible-library-redeclaration]
int strlcpy(char *, const char *, int);
^
../include/config.h:290:5: note: 'strlcpy' is a builtin with type 'unsigned long
(char *, const char *, unsigned long)'
In file included from addr-util.c:13:
/usr/include/string.h:162:9: error: conflicting types for 'strlcat'
size_t strlcat(char *__dst, const char *__source, size_t __size);
^
../include/config.h:286:5: note: previous declaration is here
int strlcat(char *, const char *, int);
^
In file included from addr-util.c:13:
/usr/include/string.h:163:9: error: conflicting types for 'strlcpy'
size_t strlcpy(char *__dst, const char *__source, size_t __size);
^
../include/config.h:290:5: note: previous declaration is here
int strlcpy(char *, const char *, int);
^
2 warnings and 2 errors generated.
make[1]: *** [addr-util.lo] Error 1
make: *** [all-recursive] Error 1
It works now.
I removed config.h in ../incude
Then
make clean & make
cd python
python setup.py install
brew install libdnet
I have the same issue.
$ make Making all in include /Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in dnet make[3]: Nothing to be done for
all'. Making all in man make[1]: Nothing to be done for
all'. Making all in src make[1]: Nothing to be done forall'. Making all in python make[1]: Nothing to be done for
all'. Making all in test Making all in check make[2]: Nothing to be done forall'. Making all in dnet make[2]: Nothing to be done for
all'. make[2]: Nothing to be done forall-am'. make[1]: Nothing to be done for
all-am'.