L
lancecarlson
Gems is not finding my id3.h file which is clearly inside of /usr/
local/include/id3.h. When I try to install I get the following
message:
Need to update 2 gems from http://gems.rubyforge.org
..
complete
Select which gem to install for your platform (i386-freebsd4)
1. id3lib-ruby 0.5.0 (ruby)
2. id3lib-ruby 0.5.0 (mswin32)
3. id3lib-ruby 0.4.1 (mswin32)
4. id3lib-ruby 0.4.1 (ruby)
5. Skip this gem
6. Cancel installation
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install id3lib-ruby
checking for main() in -lstdc++... yes
checking for main() in -lz... yes
checking for id3.h... no
You must have id3lib installed in order to use id3lib-ruby.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby18
--with-stdc++lib
--without-stdc++lib
--with-zlib
--without-zlib
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/
id3lib-ruby-0.5.0 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/id3lib-ruby-0.5.0/
ext/gem_make.out
I printed out the log and I get:
have_library: checking for main() in -lstdc++... --------------------
yes
"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-freebsd4 -I. -g -O
-pipe -D$
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return
0; }
/* end */
--------------------
have_library: checking for main() in -lz... -------------------- yes
"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-freebsd4 -I. -g -O
-pipe -D$
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return
0; }
/* end */
--------------------
have_header: checking for id3.h... -------------------- no
"cc -E -I. -I/usr/local/lib/ruby/1.8/i386-freebsd4 -I. -g -O -pipe -
DISERVER $
conftest.c:1: id3.h: No such file or directory
checked program was:
/* begin */
1: #include <id3.h>
/* end */
local/include/id3.h. When I try to install I get the following
message:
Password:sudo gem install id3lib-ruby
Need to update 2 gems from http://gems.rubyforge.org
..
complete
Select which gem to install for your platform (i386-freebsd4)
1. id3lib-ruby 0.5.0 (ruby)
2. id3lib-ruby 0.5.0 (mswin32)
3. id3lib-ruby 0.4.1 (mswin32)
4. id3lib-ruby 0.4.1 (ruby)
5. Skip this gem
6. Cancel installation
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install id3lib-ruby
checking for main() in -lstdc++... yes
checking for main() in -lz... yes
checking for id3.h... no
You must have id3lib installed in order to use id3lib-ruby.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/local/bin/ruby18
--with-stdc++lib
--without-stdc++lib
--with-zlib
--without-zlib
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/
id3lib-ruby-0.5.0 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/id3lib-ruby-0.5.0/
ext/gem_make.out
I printed out the log and I get:
have_library: checking for main() in -lstdc++... --------------------
yes
"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-freebsd4 -I. -g -O
-pipe -D$
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return
0; }
/* end */
--------------------
have_library: checking for main() in -lz... -------------------- yes
"cc -o conftest -I. -I/usr/local/lib/ruby/1.8/i386-freebsd4 -I. -g -O
-pipe -D$
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return
0; }
/* end */
--------------------
have_header: checking for id3.h... -------------------- no
"cc -E -I. -I/usr/local/lib/ruby/1.8/i386-freebsd4 -I. -g -O -pipe -
DISERVER $
conftest.c:1: id3.h: No such file or directory
checked program was:
/* begin */
1: #include <id3.h>
/* end */