Closed ghost closed 5 years ago
Hi @rbastic,
Thank you for your report.
It doesn't seem to be a binary that includes analyzers used in index mapping. You should specifiy the build tags or optimize the index mapping. I have release new version of Blast (v0.4.0) today. Please try this out after clone new master branch. Following commands makes a binary that include some analyzers and stemmers.
$ sudo apt-get install -y \
libicu-dev \
libstemmer-dev \
gcc-4.8 \
g++-4.8 \
build-essential
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 $ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 80 $ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90 $ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
$ go get -u -v github.com/blevesearch/cld2 $ cd ${GOPATH}/src/github.com/blevesearch/cld2 $ git clone https://github.com/CLD2Owners/cld2.git $ cd cld2/internal $ ./compile_libs.sh $ sudo cp *.so /usr/local/lib
- build Blast
```bash
$ make \
GOOS=linux \
BUILD_TAGS="kagome icu libstemmer cld2" \
CGO_ENABLED=1 \
build
Thank you for fast response time! This solved the issue.
Please note I found another bug, a segfault that occurs when the 8080 port is already bound in this case. I will file a separate issue for this (I am assuming that's what you'd prefer.)
Kind regards, Ryan
Hello,
I ran a fresh build off the latest master and then a segfault happened when I tried to startup blast.
Looks like a very exciting project, curious to know if I might be building it wrong somehow (Ubuntu 18.10)