lutter / ruby-augeas-unused Goto Github PK
View Code? Open in Web Editor NEWRuby bindings for Augeas
Home Page: http://augeas.net/
License: GNU Lesser General Public License v2.1
Ruby bindings for Augeas
Home Page: http://augeas.net/
License: GNU Lesser General Public License v2.1
If you export CFLAGS and other env variables they are not passed via calling "rake build" to the 'sh "make"' line. This is problematic if you use libxml2 rather than libxml and want to add CLFAGS -I/usr/lib/libxml2. I solved this by recompiling augeas with a patched augeas.pc file and editing CFLAGS there. That seems like a bad solution to this problem.
It would be much nicer if ENV variables just were passed from Rake, to Make.
Hey i've problem installing ruby-augeas 0.4.1 on my vagrant VM to use it with Puppet.
==Host Version==
Ruby =1.8.7
gem = 1.6.2
Vagrant = 1.0.3
Puppet = 2.7.14
==VM Version==
Lucid32 box
only one ruby installed by vagrant under /opt/vagrant-ruby
packages: augeas-tools + libaugeas-dev + lib
==Output==
vagrant@lucid32: $ sudo gem install ruby-augeas #Also cloned this git repo and run the "$sudo rake build" but get the same error
ERROR: Error installing ruby-augeas:
ERROR: Failed to build gem native extension.
/opt/vagrant_ruby/bin/ruby extconf.rb
creating Makefile
make
/usr/bin/gcc -I. -I/opt/vagrant_ruby/lib/ruby/1.8/i686-linux -I/opt/vagrant_ruby/lib/ruby/1.8/i686-linux -I. -I'/opt/vagrant_ruby/include' -D_FILE_OFFSET_BITS=64 -fPIC -g -O2 -c _augeas.c
_augeas.c: In function 'Init__augeas':
_augeas.c:402: error: 'AUG_ENABLE_SPAN' undeclared (first use in this function)
_augeas.c:402: error: (Each undeclared identifier is reported only once
_augeas.c:402: error: for each function it appears in.)
make: *** [_augeas.o] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.