Amarok 'Fast Forward' 1.4.2 Released!

Matthias Wieser mwieser at gmx.de
Sat Aug 26 09:52:55 UTC 2006


Bongani Hlope wrote:

> On Saturday 26 August 2006 01:50, Donn Washburn wrote:
>> Bongani Hlope wrote:
>> > Patch without the -lruby debug...
>>
>> It compiled just fine here and is running even with libvisual.
>> SuSE 10.1 and KDE 3.5.4 and fvwm2.

I have problems compiling svn amarok, too. Configure and gcc do not find 
ruby.h on my Suse 10.0 box. see below:

 
> Hi Donn
> 
> What doe the following commands return on your box? It might be that
> Mandriva X86_64 puts things in non-standard directories.
> 
> 1. rpm -ql ruby-devel

/usr/lib/libruby-static.a
/usr/lib/libruby.so
/usr/lib/ruby/1.8/i586-linux/config.h
/usr/lib/ruby/1.8/i586-linux/defines.h
/usr/lib/ruby/1.8/i586-linux/dl.h
/usr/lib/ruby/1.8/i586-linux/dlconfig.h
/usr/lib/ruby/1.8/i586-linux/dln.h
/usr/lib/ruby/1.8/i586-linux/env.h
/usr/lib/ruby/1.8/i586-linux/intern.h
/usr/lib/ruby/1.8/i586-linux/missing.h
/usr/lib/ruby/1.8/i586-linux/node.h
/usr/lib/ruby/1.8/i586-linux/re.h
/usr/lib/ruby/1.8/i586-linux/regex.h
/usr/lib/ruby/1.8/i586-linux/ruby.h
/usr/lib/ruby/1.8/i586-linux/rubyio.h
/usr/lib/ruby/1.8/i586-linux/rubysig.h
/usr/lib/ruby/1.8/i586-linux/st.h
/usr/lib/ruby/1.8/i586-linux/util.h
/usr/lib/ruby/1.8/i586-linux/version.h

> 2. ruby -rrbconfig -e 'puts Config::MAKEFILE_CONFIG["topdir"]'

nil

> 3. ruby  -rrbconfig -e 'puts
> Config::MAKEFILE_CONFIG["LIBRUBYARG_SHARED"].gsub("$(libdir)",
> Config::MAKEFILE_CONFIG["libdir"]).gsub("$(RUBY_SO_NAME)",
> Config::MAKEFILE_CONFIG["RUBY_SO_NAME"]).gsub("$(DESTDIR)", "") + " " +
> Config::MAKEFILE_CONFIG["LIBS"]'

-Wl,-R -Wl,/usr/lib -L/usr/lib -L. -l$(RUBY_INSTALL_NAME) -ldl -lcrypt -lm

> 4. ruby  -rrbconfig -e 'puts
> Config::MAKEFILE_CONFIG["archdir"].gsub( "$(rubylibdir)" ,
> Config::MAKEFILE_CONFIG["rubylibdir"]).gsub( "$(prefix)" ,
> Config::MAKEFILE_CONFIG["prefix"]).gsub( "$(ruby_version)" ,
> Config::MAKEFILE_CONFIG["ruby_version"]).gsub( "$(MAJOR)" ,
> Config::MAKEFILE_CONFIG["MAJOR"]).gsub( "$(MINOR)" ,
> Config::MAKEFILE_CONFIG["MINOR"]).gsub( "$(arch)" ,
> Config::MAKEFILE_CONFIG["arch"])'

$(libdir)/ruby/1.8/i586-linux

> 5. ruby -rrbconfig -e 'puts
> Config::MAKEFILE_CONFIG["LIBRUBYARG_SHARED"].gsub("$(libdir)",
> Config::MAKEFILE_CONFIG["libdir"]).gsub("$(RUBY_SO_NAME)",
> Config::MAKEFILE_CONFIG["RUBY_SO_NAME"]).gsub("$(DESTDIR)", "").gsub(
> "$(RUBY_INSTALL_NAME)" , Config::MAKEFILE_CONFIG["RUBY_INSTALL_NAME"])
> + " " + Config::MAKEFILE_CONFIG["LIBS"]'

-Wl,-R -Wl,/usr/lib -L/usr/lib -L. -lruby -ldl -lcrypt -lm

Even after applying Bongani's patch, ruby.h is not found:

./configure
[..]
checking for ruby... /usr/bin/ruby
checking ruby.h usability... no
checking ruby.h presence... no
checking for ruby.h... no
---

My config.log: (patched ./configure)

[...]
configure:38991: checking for ruby
configure:39009: found /usr/bin/ruby
configure:39022: result: /usr/bin/ruby
configure:39053: checking ruby.h usability
configure:39065: gcc -c -I$(libdir)/ruby/1.8/i586-linux -Wall conftest.c 
>&5
conftest.c:105:18: error: ruby.h: No such file or directory
configure:39071: $? = 1
configure: failed program was:
| /* confdefs.h.  */
[...]

But there is a ruby.h in /usr/lib/ruby/1.8/i586-linux/ !

Regards,
  Matthias






More information about the Amarok mailing list