<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi all,<div class=""><br class=""></div><div class="">I am running Macos 10.10 , and I have already therion 5.3.16 installed via homebrew, as published in the wiki.</div><div class=""><br class=""></div><div class="">I am trying to updgrade Therion to the last version. However, I am facing some problems :</div><div class=""><ul class="MailOutline"><li class="">if I do a simple <i class="">brew update, brew upgrade, brew tap homebrew/science, brew upgrade therion</i>, I got the error : <span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures; color: rgb(195, 55, 32);" class="">Error:</span><span style="font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;" class=""> homebrew/science/therion 5.3.16.reinstall already installed. </span>Indeed, a brew edit therion says that the dowload url is the 5.3.16. This formula is not updated. I tried to update it and made some tests on my computer (see further down).</li><li class="">If I try the solution proposed by Ladislav (2017/04/06 email : <i class="">brew upgrade</i> <a href="https://raw.githubusercontent.com/ladislavb/homebrew-science/ladislavb-patch-5.4.0/therion.rb" class="">https://raw.githubusercontent.com/ladislavb/homebrew-science/ladislavb-patch-5.4.0/therion.rb</a>), I get the error : <span style="font-family: Menlo; font-size: 11px;" class="">curl: (22) The requested URL returned error: 404 Not Found. </span>After a search on the web, I found that the url changed to <a href="https://github.com/ladislavb/homebrew-science/blob/master/therion.rb" class="">https://github.com/ladislavb/homebrew-science/blob/master/therion.rb</a>. If I do a <i class="">brew upgrade</i> with that url, I got this error :</li></ul><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">brew install <a href="https://github.com/ladislavb/homebrew-science/blob/master/therion.rb" class="">https://github.com/ladislavb/homebrew-science/blob/master/therion.rb</a></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">######################################################################## 100,0%</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">Error:</span><span style="font-variant-ligatures: no-common-ligatures" class=""> therion: /Users/robertxaold/Library/Caches/Homebrew/Formula/therion.rb:7: syntax error, unexpected '<'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><!DOCTYPE html></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> ^</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/robertxaold/Library/Caches/Homebrew/Formula/therion.rb:8: syntax error, unexpected '<'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><html lang="en"></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> ^</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/robertxaold/Library/Caches/Homebrew/Formula/therion.rb:9: syntax error, unexpected '<'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  <head></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   ^</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/robertxaold/Library/Caches/Homebrew/Formula/therion.rb:14: syntax error, unexpected '<'</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  <link crossorigin="anonymous" ...</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   ^</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/robertxaold/Library/Caches/Homebrew/Formula/therion.rb:14: syntax error, unexpected tIDENTIFIER, expecting end-of-input</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">...nk crossorigin="anonymous" href="<a href="https://assets-cdn.github.c" class="">https://assets-cdn.github.c</a>...</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">...                               ^</span></div></div></div><div class=""><ul class="MailOutline"><li class="">I downloaded the therion.rb from <a href="https://github.com/ladislavb/homebrew-science/blob/master/therion.rb" class="">https://github.com/ladislavb/homebrew-science/blob/master/therion.rb</a>. If I do a <i class="">brew upgrade</i> with the therion.rb downloaded, I get the error :</li></ul></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class="">Error:</span><span style="font-variant-ligatures: no-common-ligatures" class=""> inreplace failed</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Makefile:</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  expected replacement of "all: outdirs $(OUTDIR)/therion doc " with "all: outdirs $(OUTDIR)/therion "</span></div></div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>I have the same error with the url <a href="https://github.com/therion/therion/archive/v5.4.1.tar.gz" class="">https://github.com/therion/therion/archive/v5.4.1.tar.gz</a>. Indeed, in 5.4.x, the line in the Makefile is : <span style="font-family: Menlo; font-size: 11px;" class="">all: version outdirs $(OUTDIR)/therion doc</span></div><div class=""><ul class="MailOutline"><li class="">I thus changed the corresponding line in therion.rb (L21) by <font face="Menlo" class=""><span style="font-size: 11px;" class="">inreplace "Makefile", "all: version outdirs $(OUTDIR)/therion doc ", "all: outdirs $(OUTDIR)/therion ". </span></font>When I run <i class="">brew upgrade —verbose therion.rb</i>, I then got this error (after a while and a bunch of lines OK) :</li></ul></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./thlang</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">perl process.pl</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./thchencdata</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">perl generate.pl</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">perl thsymbolsetlist.pl</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">tclsh thcsdata.tcl</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make: *** No rule to make target `thchencdata.cxx', needed by `thchenc.o'.  Stop.</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make: *** Waiting for unfinished jobs....</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">ASCII.TXT => ascii, ASCII, TT_ASCII ... done</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">CP1250.TXT => cp1250, CP1250, TT_CP1250 ... done</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">CP1251.TXT => cp1251, CP1251, TT_CP1251 ... done</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">CP1252.TXT => cp1252, CP1252, TT_CP1252 ... done</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">CP1253.TXT => cp1253, CP1253, TT_CP1253 ... done</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">8859-1.TXT => iso8859-1, ISO8859-1, TT_ISO8859_1 ... done</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">8859-2.TXT => iso8859-2, ISO8859-2, TT_ISO8859_2 ... done</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">8859-5.TXT => iso8859-5, ISO8859-5, TT_ISO8859_5 ... done</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">8859-7.TXT => iso8859-7, ISO8859-7, TT_ISO8859_7 ... done</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">processing conversion tables: E9, A128, U375 … done</span></div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class="">I have the same error for both Therion 5.4.0 and 5.4.1. I checked in the therion-5.4.x folder, and the file <span style="font-family: Menlo; font-size: 11px;" class="">thchencdata.cxx </span>does not exists. It exists in the therion-5.1.16. </div><div class=""><br class=""></div><div class="">I am not a C/C++/Tex specialist. I am stuck there. Is it a bug ? Does this file exists elsewhere on the Macos system ? Do I need to add a :</div><div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>inreplace "Makefile ", " thchencdata.cxx ", " "?  </div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Xavier</div><div class=""><br class=""></div></body></html>