StringZilla icon indicating copy to clipboard operation
StringZilla copied to clipboard

Bug: 3.10.8 installs the stray file /usr/src/stringzilla/lib.c

Open yurivict opened this issue 1 year ago • 5 comments

Describe the bug

see subject

Steps to reproduce

build+install

Expected behavior

n/a

StringZilla version

3.10.8

Operating System

FreeBSD 14.1

Hardware architecture

x86

Which interface are you using?

C implementation

Contact Details

No response

Are you open to being tagged as a contributor?

  • [X] I am open to being mentioned in the project .git history as a contributor

Is there an existing issue for this?

  • [X] I have searched the existing issues

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

yurivict avatar Nov 09 '24 04:11 yurivict

cc @Spixmaster, #191

ashvardanian avatar Nov 09 '24 16:11 ashvardanian

@yurivict, what do you suggest?

ashvardanian avatar Nov 09 '24 16:11 ashvardanian

The file is needed, https://github.com/unum-cloud/usearch/issues/522.

Spixmaster avatar Nov 09 '24 16:11 Spixmaster

@Spixmaster, I wouldn’t reference that as a reason. We should and we use the git submodules there. The broader question is, what is the right installation path across different OSes? Hard-coding the path common to a couple of Linux distros is a bad solution.

ashvardanian avatar Nov 09 '24 18:11 ashvardanian

what do you suggest?

Install it into $PREFIX/share/stringzilla/. This is a standard place for "other" files that are needed.

yurivict avatar Nov 10 '24 18:11 yurivict

Hi @yurivict! I've just shipped the v4. Can you please check if the issue still persists, when you have time 🤗

ashvardanian avatar Sep 21 '25 21:09 ashvardanian