Hey there Otto,

People will probably disagree, but I wouldn't bother building the  
gems. Just install the gems listed in environment.rb plus the extras  
you need via 'sudo gem install gemnamewhatever', then edit the  
version numbers in environment to match the versions that installed.  
Should work fine.

Jason :)

On 22/09/2008, at 7:01 PM, WantToBuildFamilynetwork wrote:

>
> Hi,
>
> I'm trying to get Lovd by Less running on my  Ubuntu 8.04 system.
> Following the readme and after dealing with some minor issues
> concerning rmagick etc, I encountered following problem:
>
> "[EMAIL PROTECTED]:~/ruby/lovdbyless$ sudo rake gems:build --trace
> (in /home/otto/ruby/lovdbyless)
> ** Invoke gems:build (first_time)
> ** Execute gems:build
> Built gem: '/home/otto/ruby/lovdbyless/vendor/gems/
> will_paginate-2.2.2'
> rake aborted!
> ERROR: Failed to build gem native extension."
>
> After searching the net turned out useless I decided to ask you folks
> for help.
>
>
> Kind regards
> Otto
>
>
> [EMAIL PROTECTED]:~$ cd ruby/lovdbyless/
> [EMAIL PROTECTED]:~/ruby/lovdbyless$ sudo gem update --system
> Updating RubyGems
> Nothing to update
> [EMAIL PROTECTED]:~/ruby/lovdbyless$ gem sources -a
> http://gems.github.comhttp://gems.github.com added to sources
> [EMAIL PROTECTED]:~/ruby/lovdbyless$ sudo gem install rflickr
> Successfully installed rflickr-2006.02.01
> 1 gem installed
> [EMAIL PROTECTED]:~/ruby/lovdbyless$ sudo gem install RedCloth
> Building native extensions.  This could take a while...
> Successfully installed RedCloth-4.0.3
> 1 gem installed
> Installing ri documentation for RedCloth-4.0.3...
> Installing RDoc documentation for RedCloth-4.0.3...
> [EMAIL PROTECTED]:~/ruby/lovdbyless$ sudo gem install rmagick
> Building native extensions.  This could take a while...
> Successfully installed rmagick-2.6.0
> 1 gem installed
>
> [EMAIL PROTECTED]:~/ruby/lovdbyless$ sudo rake gems:build --trace
> (in /home/otto/ruby/lovdbyless)
> ** Invoke gems:build (first_time)
> ** Execute gems:build
> Built gem: '/home/otto/ruby/lovdbyless/vendor/gems/
> will_paginate-2.2.2'
> rake aborted!
> ERROR: Failed to build gem native extension.
>
> /usr/bin/ruby1.8 extconf.rb gems:build --trace
> creating Makefile
>
> make
> cc -shared -o ferret_ext.so array.o stem_ISO_8859_1_french.o
> q_const_score.o stem_ISO_8859_1_english.o q_wildcard.o hash.o
> document.o stem_ISO_8859_1_italian.o stem_UTF_8_dutch.o sort.o store.o
> fs_store.o q_range.o search.o r_store.o stem_KOI8_R_russian.o
> priorityqueue.o q_filtered_query.o q_boolean.o q_fuzzy.o q_match_all.o
> stem_ISO_8859_1_norwegian.o stem_ISO_8859_1_danish.o api.o
> stem_ISO_8859_1_porter.o stem_UTF_8_porter.o stem_UTF_8_portuguese.o
> r_index.o except.o analysis.o q_multi_term.o q_span.o r_qparser.o
> stem_UTF_8_danish.o mempool.o ram_store.o stem_ISO_8859_1_swedish.o
> stem_ISO_8859_1_spanish.o compound_io.o q_term.o r_search.o helper.o
> q_parser.o libstemmer.o stem_UTF_8_french.o posh.o r_utils.o ferret.o
> stem_UTF_8_norwegian.o stem_UTF_8_english.o term_vectors.o
> stem_UTF_8_russian.o stem_ISO_8859_1_dutch.o r_analysis.o utilities.o
> hashset.o multimapper.o stem_UTF_8_finnish.o stem_UTF_8_italian.o
> global.o stem_UTF_8_german.o stopwords.o q_prefix.o filter.o
> stem_ISO_8859_1_portuguese.o index.o q_phrase.o
> stem_ISO_8859_1_finnish.o stem_UTF_8_spanish.o similarity.o
> stem_UTF_8_swedish.o bitvector.o stem_ISO_8859_1_german.o -L"." -L"/
> usr/lib" -L. -Wl,-Bsymbolic-functions -rdynamic -Wl,-export-dynamic
> -lruby1.8  -lpthread -ldl -lcrypt -lm   -lc
> array.o: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
> make: *** [ferret_ext.so] Error 1
>
>
> Gem files will remain installed in /home/otto/ruby/lovdbyless/vendor/
> gems/ferret-0.11.4 for inspection.
> Results logged to /home/otto/ruby/lovdbyless/vendor/gems/ 
> ferret-0.11.4/
> ext/gem_make.out
> /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:426:in
> `build_extensions'
> /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:389:in `each'
> /usr/local/lib/site_ruby/1.8/rubygems/installer.rb:389:in
> `build_extensions'
> /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/tasks/gems.rake:27
> /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/tasks/gems.rake:22:in
> `each'
> /usr/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/tasks/gems.rake:22
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:621:in `call'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:621:in `execute'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:616:in `each'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:616:in `execute'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:582:in
> `invoke_with_call_chain'
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:575:in
> `invoke_with_call_chain'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:568:in `invoke'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:2031:in
> `invoke_task'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:2009:in `top_level'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:2009:in `each'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:2009:in `top_level'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:2048:in
> `standard_exception_handling'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:2003:in `top_level'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:1982:in `run'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:2048:in
> `standard_exception_handling'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake.rb:1979:in `run'
> /usr/lib/ruby/gems/1.8/gems/rake-0.8.2/bin/rake:31
> /usr/bin/rake:19:in `load'
> /usr/bin/rake:19
> [EMAIL PROTECTED]:~/ruby/lovdbyless$
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---

Reply via email to