Closed CaptainQuirk closed 8 years ago
Hi there,
I can't build devtodo2 on ubuntu 14.04 using linuxbrew. The following error happens:
brew install devtodo ==> Downloading http://swapoff.org/files/devtodo/devtodo-0.1.20.tar.gz ######################################################################## 100,0% ==> Patching patching file util/XML.cc ==> ./configure --prefix=/home/leo/.linuxbrew/Cellar/devtodo/0.1.20 --mandir=/ho ==> make install Last 15 lines from /home/leo/.cache/Homebrew/Logs/devtodo/02.make: /usr/bin/g++-4.8 -DHAVE_CONFIG_H -I. -I.. -I../util -DNDEBUG -isystem/home/leo/.linuxbrew/include -Os -w -pipe -march=core2 -c -o support.o support.cc /usr/bin/g++-4.8 -DHAVE_CONFIG_H -I. -I.. -I../util -DNDEBUG -isystem/home/leo/.linuxbrew/include -Os -w -pipe -march=core2 -c -o main.o main.cc /usr/bin/g++-4.8 -DHAVE_CONFIG_H -I. -I.. -I../util -DNDEBUG -isystem/home/leo/.linuxbrew/include -Os -w -pipe -march=core2 -c -o todoterm.o todoterm.cc /usr/bin/g++-4.8 -DHAVE_CONFIG_H -I. -I.. -I../util -DNDEBUG -isystem/home/leo/.linuxbrew/include -Os -w -pipe -march=core2 -c -o Loaders.o Loaders.cc todoterm.cc: In function ‘int getWidth()’: todoterm.cc:18:38: error: ‘getenv’ was not declared in this scope char const *termtype = getenv("TERM"); ^ todoterm.cc:22:29: error: ‘setenv’ was not declared in this scope setenv("TERM", "vt100", 0); ^ make[1]: *** [todoterm.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/tmp/devtodo20160203-27658-7myrwv/devtodo-0.1.20/src' make: *** [install-recursive] Error 1 READ THIS: https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
This is a bug in https://github.com/alecthomas/devtodo, which is no longer supported. DevTodo2 is written in Go, and should be installable with go get github.com/alecthomas/devtodo2.
go get github.com/alecthomas/devtodo2
Hi there,
I can't build devtodo2 on ubuntu 14.04 using linuxbrew. The following error happens: