Hi all,

I am running Macos 10.10 , and I have already therion 5.3.16 installed via homebrew, as published in the wiki.

I am trying to updgrade Therion to the last version. However, I am facing some problems :
brew install https://github.com/ladislavb/homebrew-science/blob/master/therion.rb
######################################################################## 100,0%
Error: therion: /Users/robertxaold/Library/Caches/Homebrew/Formula/therion.rb:7: syntax error, unexpected '<'
<!DOCTYPE html>
 ^
/Users/robertxaold/Library/Caches/Homebrew/Formula/therion.rb:8: syntax error, unexpected '<'
<html lang="en">
 ^
/Users/robertxaold/Library/Caches/Homebrew/Formula/therion.rb:9: syntax error, unexpected '<'
  <head>
   ^
/Users/robertxaold/Library/Caches/Homebrew/Formula/therion.rb:14: syntax error, unexpected '<'
  <link crossorigin="anonymous" ...
   ^
/Users/robertxaold/Library/Caches/Homebrew/Formula/therion.rb:14: syntax error, unexpected tIDENTIFIER, expecting end-of-input
...nk crossorigin="anonymous" href="https://assets-cdn.github.c...
...                               ^
Error: inreplace failed
Makefile:
  expected replacement of "all: outdirs $(OUTDIR)/therion doc " with "all: outdirs $(OUTDIR)/therion "
I have the same error with the url https://github.com/therion/therion/archive/v5.4.1.tar.gz. Indeed, in 5.4.x, the line in the Makefile is : all: version outdirs $(OUTDIR)/therion doc
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./thlang
perl process.pl
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./thchencdata
perl generate.pl
perl thsymbolsetlist.pl
tclsh thcsdata.tcl
make: *** No rule to make target `thchencdata.cxx', needed by `thchenc.o'.  Stop.
make: *** Waiting for unfinished jobs....
ASCII.TXT => ascii, ASCII, TT_ASCII ... done
CP1250.TXT => cp1250, CP1250, TT_CP1250 ... done
CP1251.TXT => cp1251, CP1251, TT_CP1251 ... done
CP1252.TXT => cp1252, CP1252, TT_CP1252 ... done
CP1253.TXT => cp1253, CP1253, TT_CP1253 ... done
8859-1.TXT => iso8859-1, ISO8859-1, TT_ISO8859_1 ... done
8859-2.TXT => iso8859-2, ISO8859-2, TT_ISO8859_2 ... done
8859-5.TXT => iso8859-5, ISO8859-5, TT_ISO8859_5 ... done
8859-7.TXT => iso8859-7, ISO8859-7, TT_ISO8859_7 ... done
processing conversion tables: E9, A128, U375 … done

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 thchencdata.cxx does not exists. It exists in the therion-5.1.16. 

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 :
inreplace "Makefile ", " thchencdata.cxx ", " "?  

Cheers,

Xavier