Open checho221 opened 5 years ago
@checho221 Hi, Thanks for reporting. I'm not sure how to resolve this, as zlib is a third-party code. Let me search for zlib related questions to see if I can find anything. Could you provide your linux version?
@ledw i am using 3.10.0-693.2.2.el7.x86_64 on aws instance.
I had the same issue. I have resolved it by adding zconf.h
to the 3rdparty/
directory since 3rdparty/zlib.h
contains line #include "zconf.h"
. I have successfully build Starspace then, but when I train the model from a compressed file, it crashes on segfault (I am not sure if I used correct zconf.h
or the problem is elsewhere). Could it be possible to add either the proper zconf.h
file into 3rdparty/
directory or a proper dependency?
@checho221 @ProchazkaPavel Thanks for the pointers here. I'll look into adding zconf.h into 3rdparty/ which could resolve the problem.
zconf.h is not needed. Here is what I did to make it work:
Get zlib-1.2.11
Configure and install zlib: ./configure; make test sudo make install
Modify makefile_compress from the first line to the second line:
I am on linux, i did:
But i got: