$ gem install ./radcli-0.0.1.gem
Building native extensions. This could take a while...
ERROR: Error installing ./radcli-0.0.1.gem:
ERROR: Failed to build gem native extension.
/home/daniel/.rvm/rubies/ruby-2.0.0-p643/bin/ruby -r ./siteconf20161220-21737-10kk6x6.rb extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling radcli.c
compiling radconn.c
compiling radenroll.c
radenroll.c: In function ‘radenroll_initialize’:
radenroll.c:32:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
adcli_enroll *enroll = adcli_enroll_new (ptr_conn->conn);
^~~~~~~~~~~~
radenroll.c: In function ‘radenroll_set_computer_name’:
radenroll.c:62:18: warning: unused variable ‘res’ [-Wunused-variable]
adcli_result res;
^~~
radenroll.c: In function ‘radenroll_set_computer_password’:
radenroll.c:95:18: warning: unused variable ‘res’ [-Wunused-variable]
adcli_result res;
^~~
At top level:
radenroll.c:146:14: warning: ‘radenroll_password’ defined but not used [-Wunused-function]
static VALUE radenroll_password (VALUE self) {
^~~~~~~~~~~~~~~~~~
radenroll.c:122:14: warning: ‘radenroll_update’ defined but not used [-Wunused-function]
static VALUE radenroll_update (VALUE self) {
^~~~~~~~~~~~~~~~
linking shared-object radcli.so
/usr/bin/ld: cannot find -ladcli
collect2: error: ld returned 1 exit status
Makefile:231: recipe for target 'radcli.so' failed
make: *** [radcli.so] Error 1
make failed, exit code 2
.
├── CHANGES
├── ext
│ ├── lib
│ │ └── libadcli.a
│ └── radcli
│ ├── adconn.h
│ ├── adenroll.h
│ ├── adutil.h
│ ├── extconf.rb
│ ├── radcli.c
│ ├── radcli.h
│ ├── radconn.c
│ └── radenroll.c
├── LICENSE
├── MANIFEST
├── radcli-0.0.1.gem
├── radcli.gemspec
├── Rakefile
├── README.md
└── test
└── test_radconn.rb