Created
February 26, 2024 17:06
-
-
Save cgervais/d92f78ada9d8f7a1cadbdfebd716e676 to your computer and use it in GitHub Desktop.
Tigerbrew sphinx build error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install sphinx | |
✘ cgervais@TiBook ~ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install sphinx | |
==> Downloading http://sphinxsearch.com/files/sphinx-2.2.9-release.tar.gz | |
Already downloaded: /Users/cgervais/Library/Caches/Homebrew/sphinx-2.2.9.tar.gz | |
==> Verifying sphinx-2.2.9.tar.gz checksum | |
/usr/bin/tar xzf /Users/cgervais/Library/Caches/Homebrew/sphinx-2.2.9.tar.gz | |
==> Cloning https://github.com/snowballstem/snowball.git | |
Updating /Users/cgervais/Library/Caches/Homebrew/sphinx--stemmer--git | |
git config remote.origin.url https://github.com/snowballstem/snowball.git | |
git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master | |
git checkout -f 9b58e92c965cd7e3208247ace3cc00d173397f3c -- | |
HEAD is now at 9b58e92 Merge pull request #8 from vstakhov/master | |
git reset --hard 9b58e92c965cd7e3208247ace3cc00d173397f3c | |
HEAD is now at 9b58e92 Merge pull request #8 from vstakhov/master | |
==> Checking out revision 9b58e92c965cd7e3208247ace3cc00d173397f3c | |
==> make dist_libstemmer_c | |
sed 's/@MODULES_H@/modules.h/' libstemmer/libstemmer_c.in >libstemmer/libstemmer.c | |
sed 's/@MODULES_H@/modules_utf8.h/' libstemmer/libstemmer_c.in >libstemmer/libstemmer_utf8.c | |
libstemmer/mkmodules.pl libstemmer/modules.h src_c libstemmer/modules.txt libstemmer/mkinc.mak | |
libstemmer/mkmodules.pl libstemmer/modules_utf8.h src_c libstemmer/modules_utf8.txt libstemmer/mkinc_utf8.mak utf8 | |
/usr/bin/gcc-4.0 -Iinclude -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -c -o compiler/space.o compiler/space.c | |
/usr/bin/gcc-4.0 -Iinclude -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -c -o compiler/tokeniser.o compiler/tokeniser.c | |
/usr/bin/gcc-4.0 -Iinclude -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -c -o compiler/analyser.o compiler/analyser.c | |
/usr/bin/gcc-4.0 -Iinclude -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -c -o compiler/generator.o compiler/generator.c | |
/usr/bin/gcc-4.0 -Iinclude -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -c -o compiler/driver.o compiler/driver.c | |
/usr/bin/gcc-4.0 -Iinclude -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -c -o compiler/generator_java.o compiler/generator_java.c | |
/usr/bin/gcc-4.0 -o snowball compiler/space.o compiler/tokeniser.o compiler/analyser.o compiler/generator.o compiler/driver.o compiler/generator_java.o | |
cp algorithms/danish/stem_ISO_8859_1.sbl algorithms/danish/stem_Unicode.sbl | |
./snowball algorithms/danish/stem_Unicode.sbl -o src_c/stem_UTF_8_danish -eprefix danish_UTF_8_ -r ../runtime -u | |
cp algorithms/dutch/stem_ISO_8859_1.sbl algorithms/dutch/stem_Unicode.sbl | |
./snowball algorithms/dutch/stem_Unicode.sbl -o src_c/stem_UTF_8_dutch -eprefix dutch_UTF_8_ -r ../runtime -u | |
cp algorithms/english/stem_ISO_8859_1.sbl algorithms/english/stem_Unicode.sbl | |
./snowball algorithms/english/stem_Unicode.sbl -o src_c/stem_UTF_8_english -eprefix english_UTF_8_ -r ../runtime -u | |
cp algorithms/finnish/stem_ISO_8859_1.sbl algorithms/finnish/stem_Unicode.sbl | |
./snowball algorithms/finnish/stem_Unicode.sbl -o src_c/stem_UTF_8_finnish -eprefix finnish_UTF_8_ -r ../runtime -u | |
cp algorithms/french/stem_ISO_8859_1.sbl algorithms/french/stem_Unicode.sbl | |
./snowball algorithms/french/stem_Unicode.sbl -o src_c/stem_UTF_8_french -eprefix french_UTF_8_ -r ../runtime -u | |
cp algorithms/german/stem_ISO_8859_1.sbl algorithms/german/stem_Unicode.sbl | |
./snowball algorithms/german/stem_Unicode.sbl -o src_c/stem_UTF_8_german -eprefix german_UTF_8_ -r ../runtime -u | |
./snowball algorithms/hungarian/stem_Unicode.sbl -o src_c/stem_UTF_8_hungarian -eprefix hungarian_UTF_8_ -r ../runtime -u | |
cp algorithms/italian/stem_ISO_8859_1.sbl algorithms/italian/stem_Unicode.sbl | |
./snowball algorithms/italian/stem_Unicode.sbl -o src_c/stem_UTF_8_italian -eprefix italian_UTF_8_ -r ../runtime -u | |
cp algorithms/norwegian/stem_ISO_8859_1.sbl algorithms/norwegian/stem_Unicode.sbl | |
./snowball algorithms/norwegian/stem_Unicode.sbl -o src_c/stem_UTF_8_norwegian -eprefix norwegian_UTF_8_ -r ../runtime -u | |
cp algorithms/porter/stem_ISO_8859_1.sbl algorithms/porter/stem_Unicode.sbl | |
./snowball algorithms/porter/stem_Unicode.sbl -o src_c/stem_UTF_8_porter -eprefix porter_UTF_8_ -r ../runtime -u | |
cp algorithms/portuguese/stem_ISO_8859_1.sbl algorithms/portuguese/stem_Unicode.sbl | |
./snowball algorithms/portuguese/stem_Unicode.sbl -o src_c/stem_UTF_8_portuguese -eprefix portuguese_UTF_8_ -r ../runtime -u | |
./snowball algorithms/romanian/stem_Unicode.sbl -o src_c/stem_UTF_8_romanian -eprefix romanian_UTF_8_ -r ../runtime -u | |
./snowball algorithms/russian/stem_Unicode.sbl -o src_c/stem_UTF_8_russian -eprefix russian_UTF_8_ -r ../runtime -u | |
cp algorithms/spanish/stem_ISO_8859_1.sbl algorithms/spanish/stem_Unicode.sbl | |
./snowball algorithms/spanish/stem_Unicode.sbl -o src_c/stem_UTF_8_spanish -eprefix spanish_UTF_8_ -r ../runtime -u | |
cp algorithms/swedish/stem_ISO_8859_1.sbl algorithms/swedish/stem_Unicode.sbl | |
./snowball algorithms/swedish/stem_Unicode.sbl -o src_c/stem_UTF_8_swedish -eprefix swedish_UTF_8_ -r ../runtime -u | |
./snowball algorithms/turkish/stem_Unicode.sbl -o src_c/stem_UTF_8_turkish -eprefix turkish_UTF_8_ -r ../runtime -u | |
./snowball algorithms/russian/stem_KOI8_R.sbl -o src_c/stem_KOI8_R_russian -eprefix russian_KOI8_R_ -r ../runtime | |
./snowball algorithms/danish/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_danish -eprefix danish_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/dutch/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_dutch -eprefix dutch_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/english/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_english -eprefix english_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/finnish/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_finnish -eprefix finnish_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/french/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_french -eprefix french_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/german/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_german -eprefix german_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/italian/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_italian -eprefix italian_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/norwegian/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_norwegian -eprefix norwegian_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/porter/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_porter -eprefix porter_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/portuguese/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_portuguese -eprefix portuguese_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/spanish/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_spanish -eprefix spanish_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/swedish/stem_ISO_8859_1.sbl -o src_c/stem_ISO_8859_1_swedish -eprefix swedish_ISO_8859_1_ -r ../runtime | |
./snowball algorithms/hungarian/stem_ISO_8859_2.sbl -o src_c/stem_ISO_8859_2_hungarian -eprefix hungarian_ISO_8859_2_ -r ../runtime | |
./snowball algorithms/romanian/stem_ISO_8859_2.sbl -o src_c/stem_ISO_8859_2_romanian -eprefix romanian_ISO_8859_2_ -r ../runtime | |
destname=libstemmer_c; \ | |
dest=dist/${destname}; \ | |
rm -rf ${dest} && \ | |
rm -f ${dest}.tgz && \ | |
mkdir -p ${dest} && \ | |
cp -a doc/libstemmer_c_README ${dest}/README && \ | |
mkdir -p ${dest}/examples && \ | |
cp -a examples/stemwords.c ${dest}/examples && \ | |
mkdir -p ${dest}/src_c && \ | |
cp -a src_c/stem_UTF_8_danish.c src_c/stem_UTF_8_dutch.c src_c/stem_UTF_8_english.c src_c/stem_UTF_8_finnish.c src_c/stem_UTF_8_french.c src_c/stem_UTF_8_german.c src_c/stem_UTF_8_hungarian.c src_c/stem_UTF_8_italian.c src_c/stem_UTF_8_norwegian.c src_c/stem_UTF_8_porter.c src_c/stem_UTF_8_portuguese.c src_c/stem_UTF_8_romanian.c src_c/stem_UTF_8_russian.c src_c/stem_UTF_8_spanish.c src_c/stem_UTF_8_swedish.c src_c/stem_UTF_8_turkish.c src_c/stem_KOI8_R_russian.c src_c/stem_ISO_8859_1_danish.c src_c/stem_ISO_8859_1_dutch.c src_c/stem_ISO_8859_1_english.c src_c/stem_ISO_8859_1_finnish.c src_c/stem_ISO_8859_1_french.c src_c/stem_ISO_8859_1_german.c src_c/stem_ISO_8859_1_italian.c src_c/stem_ISO_8859_1_norwegian.c src_c/stem_ISO_8859_1_porter.c src_c/stem_ISO_8859_1_portuguese.c src_c/stem_ISO_8859_1_spanish.c src_c/stem_ISO_8859_1_swedish.c src_c/stem_ISO_8859_2_hungarian.c src_c/stem_ISO_8859_2_romanian.c src_c/stem_UTF_8_danish.h src_c/stem_UTF_8_dutch.h src_c/stem_UTF_8_english.h src_c/stem_UTF_8_finnish.h src_c/stem_UTF_8_french.h src_c/stem_UTF_8_german.h src_c/stem_UTF_8_hungarian.h src_c/stem_UTF_8_italian.h src_c/stem_UTF_8_norwegian.h src_c/stem_UTF_8_porter.h src_c/stem_UTF_8_portuguese.h src_c/stem_UTF_8_romanian.h src_c/stem_UTF_8_russian.h src_c/stem_UTF_8_spanish.h src_c/stem_UTF_8_swedish.h src_c/stem_UTF_8_turkish.h src_c/stem_KOI8_R_russian.h src_c/stem_ISO_8859_1_danish.h src_c/stem_ISO_8859_1_dutch.h src_c/stem_ISO_8859_1_english.h src_c/stem_ISO_8859_1_finnish.h src_c/stem_ISO_8859_1_french.h src_c/stem_ISO_8859_1_german.h src_c/stem_ISO_8859_1_italian.h src_c/stem_ISO_8859_1_norwegian.h src_c/stem_ISO_8859_1_porter.h src_c/stem_ISO_8859_1_portuguese.h src_c/stem_ISO_8859_1_spanish.h src_c/stem_ISO_8859_1_swedish.h src_c/stem_ISO_8859_2_hungarian.h src_c/stem_ISO_8859_2_romanian.h ${dest}/src_c && \ | |
mkdir -p ${dest}/runtime && \ | |
cp -a runtime/api.c runtime/utilities.c runtime/api.h runtime/header.h ${dest}/runtime && \ | |
mkdir -p ${dest}/libstemmer && \ | |
cp -a libstemmer/libstemmer.c libstemmer/libstemmer_utf8.c include/libstemmer.h libstemmer/modules.h libstemmer/modules_utf8.h libstemmer/modules.txt libstemmer/modules_utf8.txt libstemmer/libstemmer_c.in ${dest}/libstemmer && \ | |
mkdir -p ${dest}/include && \ | |
mv ${dest}/libstemmer/libstemmer.h ${dest}/include && \ | |
(cd ${dest} && \ | |
echo "README" >> MANIFEST && \ | |
ls src_c/*.c src_c/*.h >> MANIFEST && \ | |
ls runtime/*.c runtime/*.h >> MANIFEST && \ | |
ls libstemmer/*.c libstemmer/*.h >> MANIFEST && \ | |
ls include/*.h >> MANIFEST) && \ | |
cp -a libstemmer/mkinc.mak libstemmer/mkinc_utf8.mak ${dest}/ && \ | |
echo 'include mkinc.mak' >> ${dest}/Makefile && \ | |
echo 'CFLAGS=-Iinclude' >> ${dest}/Makefile && \ | |
echo 'all: libstemmer.o stemwords' >> ${dest}/Makefile && \ | |
echo 'libstemmer.o: $(snowball_sources:.c=.o)' >> ${dest}/Makefile && \ | |
echo ' $(AR) -cru $@ $^' >> ${dest}/Makefile && \ | |
echo 'stemwords: examples/stemwords.o libstemmer.o' >> ${dest}/Makefile && \ | |
echo ' $(CC) -o $@ $^' >> ${dest}/Makefile && \ | |
echo 'clean:' >> ${dest}/Makefile && \ | |
echo ' rm -f stemwords *.o src_c/*.o runtime/*.o libstemmer/*.o' >> ${dest}/Makefile && \ | |
(cd dist && tar zcf ${destname}.tgz ${destname}) && \ | |
rm -rf ${dest} | |
cp: illegal option -- a | |
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target | |
cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory | |
make: *** [dist_libstemmer_c] Error 64 | |
rm algorithms/spanish/stem_Unicode.sbl algorithms/porter/stem_Unicode.sbl algorithms/dutch/stem_Unicode.sbl algorithms/danish/stem_Unicode.sbl algorithms/finnish/stem_Unicode.sbl algorithms/italian/stem_Unicode.sbl algorithms/swedish/stem_Unicode.sbl algorithms/english/stem_Unicode.sbl algorithms/german/stem_Unicode.sbl algorithms/norwegian/stem_Unicode.sbl algorithms/portuguese/stem_Unicode.sbl algorithms/french/stem_Unicode.sbl | |
Error: No such file or directory - /usr/sbin/pkgutil | |
✘ cgervais@TiBook ~ brew -v doctor | |
Your system is ready to brew. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment