Skip to content
This repository has been archived by the owner on Nov 27, 2017. It is now read-only.

txr fails to build on Ubuntu 14.04 #948

Closed
3 tasks done
rwhogg opened this issue Mar 18, 2016 · 3 comments
Closed
3 tasks done

txr fails to build on Ubuntu 14.04 #948

rwhogg opened this issue Mar 18, 2016 · 3 comments

Comments

@rwhogg
Copy link
Contributor

rwhogg commented Mar 18, 2016

txr fails to build on Ubuntu 14.04. See https://gist.github.com/rwhogg/87a85424efca56c55efd#file-01-configure-L27

Checking what C type we have for integers wider than "long long" ... ./configure: line 1017: [: gcc: integer expression expected
./configure: line 1017: $2: unbound variable
  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?
@rwhogg
Copy link
Contributor Author

rwhogg commented Mar 18, 2016

This seems to work if you set --ccname=clang, but since llvm is currently keg-only, I don't think that's an option just yet.

@rwhogg
Copy link
Contributor Author

rwhogg commented Mar 18, 2016

Another result for comparison:

--ccname=gcc-4.8 or gcc-5

Last 15 lines from /home/bob/.cache/Homebrew/Logs/txr/02.make:
CC glob.c -> opt/glob.o
CC signal.c -> opt/signal.o
CC linenoise/linenoise.c -> opt/linenoise/linenoise.o
CC y.tab.c -> opt/y.tab.o
CC match.c -> opt/match.o
CC parser.c -> opt/parser.o
CC txr.c -> opt/txr.o
CC lex.yy.c -> opt/lex.yy.o
lex.yy.c: In function ‘yyensure_buffer_stack’:
lex.yy.c:3993:21: error: expected expression before ‘/’ token
   num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
                     ^
Makefile:137: recipe for target 'opt/lex.yy.o' failed
make: *** [opt/lex.yy.o] Error 1
make: *** Waiting for unfinished jobs....

@rwhogg
Copy link
Contributor Author

rwhogg commented May 2, 2016

This issue was moved to Linuxbrew/homebrew-core#148

@rwhogg rwhogg closed this as completed May 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant