Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
twins:Desktop blackthorne$ gem install RubyRRDtool Building native extensions. This could take a while... ERROR: Error installing RubyRRDtool: ERROR: Failed to build gem native extension. /opt/local/bin/ruby extconf.rb install RubyRRDtool checking for main() in -lz... yes checking for main() in -lpng... yes checking for main() in -lfreetype... yes checking for main() in -lart_lgpl_2... yes checking for rrd_first() in -lrrd... yes creating Makefile make /usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin9 -I. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -fno-common -O2 -fno-common -pipe -fno-common -DHAVE_RRD_DUMP_R_2 -c rubyrrdtool.c In file included from rubyrrdtool.c:25: rrd_addition.h:20: error: redeclaration of enumerator ‘RD_I_VAL’ /opt/local/include/rrd.h:103: error: previous definition of ‘RD_I_VAL’ was here rrd_addition.h:21: error: redeclaration of enumerator ‘RD_I_CNT’ /opt/local/include/rrd.h:104: error: previous definition of ‘RD_I_CNT’ was here rrd_addition.h:22: error: redeclaration of enumerator ‘RD_I_STR’ /opt/local/include/rrd.h:105: error: previous definition of ‘RD_I_STR’ was here rrd_addition.h:23: error: redeclaration of enumerator ‘RD_I_INT’ /opt/local/include/rrd.h:106: error: previous definition of ‘RD_I_INT’ was here rrd_addition.h:39: error: conflicting types for ‘rrd_info’ /opt/local/include/rrd.h:132: error: previous declaration of ‘rrd_info’ was here rubyrrdtool.c: In function ‘rrdtool_create’: rubyrrdtool.c:317: warning: passing argument 5 of ‘rrd_create_r’ from incompatible pointer type rubyrrdtool.c: In function ‘rrdtool_update’: rubyrrdtool.c:590: warning: passing argument 4 of ‘rrd_update_r’ from incompatible pointer type make: *** [rubyrrdtool.o] Error 1 Gem files will remain installed in /opt/local/lib/ruby/gems/1.8/gems/RubyRRDtool-0.6.0 for inspection. Results logged to /opt/local/lib/ruby/gems/1.8/gems/RubyRRDtool-0.6.0/gem_make.out twins:Desktop blackthorne$
This paste will be private.
From the Design Piracy series on my blog: