<commit_before>#!/bin/bash

set -e

cd ncurses-6.0/

rm -rf build/

mkdir build

cd build/

../configure --prefix=/ \
             --includedir=/usr/include/ \
             --datarootdir=/usr/share/ \
             --enable-widec

#             --enable-overwrite

make

make install<commit_msg>workaround: Include-directory is not in a standard location<commit_after>#!/bin/bash

set -e

cd ncurses-6.0/

rm -rf build/

mkdir build

cd build/

../configure --prefix=/usr \
             --bindir=/bin \
             --libdir=/lib \
             --enable-widec

make

make install

# If prefix is /, it says:
# ** Include-directory is not in a standard location
# Even --includedir=/usr/include does not help.
{'fraction_non_alphanumeric': 0.13437057991513437, 'fraction_numerical': 0.005657708628005658, 'mean_word_length': 1.7984189723320159, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6312693', 'n_tokens_mistral': 250, 'n_tokens_neox': 232, 'n_words': 64}