mrtazz/plustache — Issue #5: Build error: uninitialized constant DYNFLAGS
Author: creoto
Created: 2012-02-09 17:23:08+00:00
State: open

I'm trying to build plustache on Ubuntu 11.10 64-bit. I am getting a "uninitialized constant DYNFLAGS" build error. I have included build output.

I am using the following command: rake --trace install prefix=../zulu

```
(in /home/jmckinzie/Development/plustache)
g++ -M -MF .depend.mf -I . -I/usr/local/include -I/usr/include src/template.cpp src/context.cpp tests/test_change_delimiter.cpp tests/test_simple_plustache.cpp tests/test_html_escape_plustache.cpp tests/tests.cpp tests/test_nested_sections_plustache.cpp tests/test_sections_plustache.cpp tests/test_multiple_plustache.cpp tests/test_partials_plustache.cpp tests/test_inverted_sections.cpp tests/test_collections_plustache.cpp
mkdir -p build
g++ -O3 -Wall -fPIC -I . -I /usr/local/include -I /usr/include -c src/template.cpp -o build/template.o
g++ -O3 -Wall -fPIC -I . -I /usr/local/include -I /usr/include -c src/context.cpp -o build/context.o
rake aborted!
uninitialized constant DYNFLAGS
/home/jmckinzie/Development/plustache/rakefile:133
(See full trace by running task with --trace)
jmckinzie@jmckinzie:~/Development/plustache$ rake --trace install prefix=../zulu
(in /home/jmckinzie/Development/plustache)
** Invoke .depend.mf (first_time, not_needed)
** Invoke install (first_time)
** Invoke dynamic (first_time)
** Invoke (first_time)
** Invoke lib (first_time, not_needed)
** Invoke build/template.o (first_time, not_needed)
** Invoke src/template.cpp (first_time, not_needed)
** Invoke build (first_time, not_needed)
** Invoke build/context.o (first_time, not_needed)
** Invoke src/context.cpp (first_time, not_needed)
** Invoke build (not_needed)
** Execute
rake aborted!
uninitialized constant DYNFLAGS
/usr/lib/ruby/1.8/rake.rb:2503:in `const_missing'
/home/jmckinzie/Development/plustache/rakefile:133
/usr/lib/ruby/1.8/rake.rb:634:in `call'
/usr/lib/ruby/1.8/rake.rb:634:in `execute'
/usr/lib/ruby/1.8/rake.rb:631:in `each'
/usr/lib/ruby/1.8/rake.rb:631:in `execute'
/usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:604:in `each'
/usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:604:in `each'
/usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:583:in `invoke'
/usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2029:in `each'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2001:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28
```