Error on "make install" MAC OSX 10.12.3
Getting the following error when running command make install I'm running MAC OSX 10.12.3.
cd lib; /Applications/Xcode.app/Contents/Developer/usr/bin/make clean install rm -f wfdbinit.o annot.o signal.o calib.o wfdbio.o libwfdb.* *.dll ~ /Applications/Xcode.app/Contents/Developer/usr/bin/make clean # force recompilation since config may have changed rm -f wfdbinit.o annot.o signal.o calib.o wfdbio.o libwfdb. *.dll *~ /Applications/Xcode.app/Contents/Developer/usr/bin/make all sed "s+DBDIR+/usr/local/database+" <wfdblib.h0 >wfdblib.h gcc -arch i386 -arch x86_64 -fPIC -fno-common -g -O -DWFDB_MAJOR=10 -DWFDB_MINOR=5 -DWFDB_RELEASE=24 -DNOVALUES_H
curl-config --cflags-I/usr/local/include -c -o wfdbinit.o wfdbinit.c In file included from wfdbinit.c:33: In file included from ./wfdblib.h:234: In file included from /Users/Alyssa/anaconda/include/curl/curl.h:35: /Users/Alyssa/anaconda/include/curl/curlrules.h:143:6: error: 'curl_rule_01' declared as an array with a negative size [CurlchkszEQ(long, CURL_SIZEOF_LONG)]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/Alyssa/anaconda/include/curl/curlrules.h:132:27: note: expanded from macro 'CurlchkszEQ' #define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1 ^~~~~~~~~~~~~~~~~~~~~~~ /Users/Alyssa/anaconda/include/curl/curlrules.h:153:6: error: 'curl_rule_02' declared as an array with a negative size [CurlchkszEQ(curl_off_t, CURL_SIZEOF_CURL_OFF_T)]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/Alyssa/anaconda/include/curl/curlrules.h:132:27: note: expanded from macro 'CurlchkszEQ' #define CurlchkszEQ(t, s) sizeof(t) == s ? 1 : -1 ^~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make[2]: *** [wfdbinit.o] Error 1 make[1]: *** [install] Error 2 make: *** [install] Error 2
@Alutoe I encountered the same problem. have you found a workaround since then? i am using mac os 10.13.4.
No, I have not found a workaround. I ended up giving up on the problem. I hope you have better luck.
On Apr 27, 2018, at 12:16 AM, zezeko [email protected] wrote:
@Alutoe I encountered the same problem. have you found a workaround since then? i am using mac os 10.13.4.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Where did you find the makefile that you are attempting to run?
When reporting a bug, please begin by saying exactly what you're trying to do (in this case, it sounds like you are trying to install WFDB 10.5.24.)
It looks like you have installed curl from source (in /Users/Alyssa/anaconda), and you've added that version of curl-config to your PATH. This breaks the WFDB build system which assumes, by default, that it's using the system's libcurl.
I would suggest that you first try running
make PATH=/bin:/usr/bin
and if that works,
sudo make install PATH=/bin:/usr/bin
I was trying to install 10.6 but the original post is from one year ago. Thanks for the response. I have installed the package successfully.
That's good to hear. I'll try to fix this in the next version of WFDB.