Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

Issues compiling on Funtoo #90

@lozenge57

Description

@lozenge57

I apologize if this I overlooked the solution or missed the obvious answer.

lozenge@ramtag ~> sudo gem install soundcloud2000
Building native extensions.  This could take a while...
ERROR:  Error installing soundcloud2000:
    ERROR: Failed to build gem native extension.

    current directory: /usr/local/lib64/ruby/gems/2.2.0/gems/audite-0.4.0/ext/portaudio
/usr/bin/ruby22 -r ./siteconf20160201-2646-18myoch.rb extconf.rb
checking for portaudio.h... yes
checking for main() in -lportaudio... yes
checking for PaStreamCallbackTimeInfo in portaudio.h... yes
creating Makefile

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /usr/local/lib64/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/audite-0.4.0/mkmf.log

current directory: /usr/local/lib64/ruby/gems/2.2.0/gems/audite-0.4.0/ext/portaudio
make "DESTDIR=" clean

current directory: /usr/local/lib64/ruby/gems/2.2.0/gems/audite-0.4.0/ext/portaudio
make "DESTDIR="
compiling portaudio.c
linking shared-object portaudio.so
portaudio.o: In function `rb_portaudio_write_from_mpg':
portaudio.c:(.text+0x4e6): undefined reference to `mpg123_read'
portaudio.c:(.text+0x50e): undefined reference to `mpg123_plain_strerror'
collect2: error: ld returned 1 exit status
Makefile:253: recipe for target 'portaudio.so' failed
make: *** [portaudio.so] Error 1

make failed, exit code 2

Gem files will remain installed in /usr/local/lib64/ruby/gems/2.2.0/gems/audite-0.4.0 for inspection.
Results logged to /usr/local/lib64/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/audite-0.4.0/gem_make.out

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions