zeisler / voice_chapters

Voice Chapters will create an audio file with bookmarked chapters
https://github.com/zeisler/voice_chapters
MIT License
2 stars 0 forks source link

won't install on mac yosemite #1

Open ch1ago opened 9 years ago

ch1ago commented 9 years ago

gem install voice_chapters Fetching: chapter-0.1.1.gem (100%) Building native extensions. This could take a while... ERROR: Error installing voice_chapters: ERROR: Failed to build gem native extension.

/Users/tj/.rbenv/versions/2.2.2/bin/ruby -r ./siteconf20150623-75615-1cz2ypd.rb extconf.rb

checking for main() in -lmp4v2... no creating Makefile

make "DESTDIR=" clean

make "DESTDIR=" compiling chapter.c chapter.c:2:10: fatal error: 'mp4v2/mp4v2.h' file not found

include <mp4v2/mp4v2.h>

     ^

1 error generated. make: *\ [chapter.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/tj/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/chapter-0.1.1 for inspection. Results logged to /Users/tj/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/extensions/x86_64-darwin-14/2.2.0-static/chapter-0.1.1/gem_make.out

ch1ago commented 9 years ago

I really wanted to try this project :smile:

zeisler commented 9 years ago

This has to do with the gem dependency chapter There is a fork that works https://github.com/youpy/chapter

If you pull down the gem and add this to the gem file you can run it locally.

gem 'chapter', git: 'https://github.com/youpy/chapter'

What needs to be done is that this gem needs to be copied into the project or release this working version of chapter as a new gem. Hope that helps, I welcome a PR to fix.