rekado / soundCLI

A command line client for soundcloud.com with streaming support via gstreamer
soundcli.elephly.net
96 stars 11 forks source link

Fail to install on Debian Testing #26

Closed ProMcTagonist closed 8 years ago

ProMcTagonist commented 8 years ago
Building native extensions.  This could take a while...
ERROR:  Error installing soundcli:
ERROR: Failed to build gem native extension.

/usr/bin/ruby2.1 extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... yes
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... yes
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
checking for -Wpointer-arith option to compiler... yes
checking for -Wswitch-default option to compiler... yes
checking for -Wswitch-enum option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wout-of-line-declaration option to compiler... no
checking for -Wunsafe-loop-optimizations option to compiler... yes
checking for -Wwrite-strings option to compiler... yes
checking for rb_define_alloc_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for new allocation framework... yes
checking for attribute assignment... no
checking for Windows... no
checking for gstreamer-0.10... yes
checking for gstreamer-plugins-base-0.10... yes
checking for unistd.h... yes
checking for io.h... no
checking for main() in -lgstinterfaces-0.10... yes
checking for gst/interfaces/xoverlay.h... yes
checking for gstreamer-pbutils-0.10... yes
creating ruby-gstreamer.pc
creating Makefile

make "DESTDIR=" clean

make "DESTDIR="
compiling rbgst-plugin-feature.c
rbgst-plugin-feature.c:112:1: warning: no previous prototype for ‘Init_gst_plugin_feature’ [-Wmissing-prototypes]
 Init_gst_plugin_feature (void)
 ^
compiling rbgst-pad-template.c
rbgst-pad-template.c:107:1: warning: no previous prototype for ‘Init_gst_pad_template’ [-Wmissing-    prototypes]
 Init_gst_pad_template (void)
 ^
compiling rbgstregistry.c
rbgstregistry.c: In function ‘rb_gst_registry_get_default’:
rbgstregistry.c:28:35: warning: unused parameter ‘self’ [-Wunused-parameter]
 rb_gst_registry_get_default(VALUE self)
                               ^

[many similar -W errors]

rbgst-install-plugins.c: In function ‘Init_gst_install_plugins’:
rbgst-install-plugins.c:180:33: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 context_table.instance2robj = context2robj;
                             ^
rbgst-install-plugins.c:181:33: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
 context_table.robj2instance = robj2context;
                             ^
Makefile:224: recipe for target 'rbgst-install-plugins.o' failed
make: *** [rbgst-install-plugins.o] Error 1

make failed, exit code 2

Gem files will remain installed in /var/lib/gems/2.1.0/gems/gstreamer-1.0.3 for inspection.
Results logged to /var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/gstreamer-1.0.3/gem_make.out```

uname -a: Linux hostname 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-2 (2015-04-13) x86_64 GNU/Linux

Thanks for your time and effort, this project looks very cool.

rekado commented 8 years ago

Thanks for the report. This is a problem installing ruby-gstreamer, not soundCLI. I have abandoned and not used soundCLI for a very long time. Also I don't use Debian, so I don't know how you would fix this.

I might eventually rewrite soundCLI in a friendlier language with better tooling, such as Guile. It's not a very complicated application anyway.

ProMcTagonist commented 8 years ago

Ah, I'll try youtube-dl for my project, then.

Thanks for the quick response, good luck in your endeavors :)