Skip to content

Instantly share code, notes, and snippets.

@cedws
Created August 2, 2020 14:16
Show Gist options
  • Save cedws/d0fd6a2598a1a20486d323e9b0269bc6 to your computer and use it in GitHub Desktop.
Save cedws/d0fd6a2598a1a20486d323e9b0269bc6 to your computer and use it in GitHub Desktop.
"pkg-config --exists augeas"
| pkg-config --libs augeas
=> "-laugeas \n"
"gcc -o conftest -I/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/x86_64-linux -I/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby/backward -I/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -fPIC conftest.c -L. -L/home/cedwards/.rvm/rubies/ruby-2.4.4/lib -Wl,-rpath,/home/cedwards/.rvm/rubies/ruby-2.4.4/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/cedwards/.rvm/rubies/ruby-2.4.4/lib -L/home/cedwards/.rvm/rubies/ruby-2.4.4/lib -lruby -lpthread -lgmp -ldl -lcrypt -lm -lc"
In file included from /home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby.h:33,
from conftest.c:1:
/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes]
631 | CONSTFUNC(void rb_secure_update(VALUE));
| ^~~~~~~~~
In file included from /home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby/ruby.h:2012,
from /home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby.h:33,
from conftest.c:1:
/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes]
257 | CONSTFUNC(void rb_error_untrusted(VALUE));
| ^~~~~~~~~
/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes]
259 | CONSTFUNC(void rb_check_trusted(VALUE));
| ^~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
"gcc -o conftest -I/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/x86_64-linux -I/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby/backward -I/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -fPIC conftest.c -L. -L/home/cedwards/.rvm/rubies/ruby-2.4.4/lib -Wl,-rpath,/home/cedwards/.rvm/rubies/ruby-2.4.4/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/cedwards/.rvm/rubies/ruby-2.4.4/lib -L/home/cedwards/.rvm/rubies/ruby-2.4.4/lib -lruby -laugeas -lpthread -lgmp -ldl -lcrypt -lm -lc"
In file included from /home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby.h:33,
from conftest.c:1:
/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes]
631 | CONSTFUNC(void rb_secure_update(VALUE));
| ^~~~~~~~~
In file included from /home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby/ruby.h:2012,
from /home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby.h:33,
from conftest.c:1:
/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes]
257 | CONSTFUNC(void rb_error_untrusted(VALUE));
| ^~~~~~~~~
/home/cedwards/.rvm/rubies/ruby-2.4.4/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes]
259 | CONSTFUNC(void rb_check_trusted(VALUE));
| ^~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
package configuration for augeas is not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment