//  
BlueQuartz.US Forum Index HOME
BlueQuartz.US
Open Source Info for Open Source Users
RegisterRegister 
MemberlistMemberlist
UsergroupsUsergroups
FAQFAQ   
SearchSearch
SubscriptionsSubscriptions
ProfileProfile   
Private messagesPrivate messages   
Log inLog in 
Are You Paying More Than Wholesale For Your Names?   Join the Hottest Domain Name Reseller Program Around!

 
Post new topic   Reply to topic    BlueQuartz.US Forum Index -> Ruby on Rails General
 Ferret installation Previous Topic
Next Topic
Message Author
PostPosted: Fri Jul 30, 2010 9:05 am    
Subject: Ferret installation
Reply with quote  
William Calvin

Hi guys,
I'm very new to the RoR. So please be kind to me..

I'm having problems with ferret installation in rubygems.
I'm on:
ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-mingw32]
Rails 2.3.8

and i'm running windows 7 x64

When i enter 'gem install ferret --version 0.11.6', it returns this
error:


Building native extensions. This could take a while...
ERROR: Error installing ./ferret-0.11.6.gem:
ERROR: Failed to build gem native extension.

C:/Ruby191/bin/ruby.exe extconf.rb
creating Makefile

make
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o analysis.o -c analysis.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o api.o -c api.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o array.o -c array.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o bitvector.o -c bitvector.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o compound_io.o -c compound_io.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o document.o -c document.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o except.o -c except.c
gcc -I. -IC:/Ruby191/include/ruby-1.9.1/i386-mingw32
-I/C/Ruby191/include/ruby-1
.9.1/ruby/backward -I/C/Ruby191/include/ruby-1.9.1 -I. -O2 -g -Wall
-Wno-paren
theses -D_FILE_OFFSET_BITS=64 -o ferret.o -c ferret.c
ferret.c: In function `rs2s':
ferret.c:165: error: structure has no member named `ptr'
ferret.c:165: error: structure has no member named `ptr'
ferret.c: In function `nstrdup':
ferret.c:172: error: structure has no member named `len'
ferret.c: In function `frt_field':
ferret.c:183: warning: return discards qualifiers from pointer target
type
ferret.c: In function `frt_term_to_s':
ferret.c:297: error: structure has no member named `len'
ferret.c:297: error: structure has no member named `len'
make: *** [ferret.o] Error 1


Gem files will remain installed in
C:/Ruby191/lib/ruby/gems/1.9.1/gems/ferret-0.
11.6 for inspection.
Results logged to
C:/Ruby191/lib/ruby/gems/1.9.1/gems/ferret-0.11.6/ext/gem_make
.out


please help me out.. I would very appreciate it

Many thanks in advance
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Back to top
PostPosted: Fri Jul 30, 2010 9:24 am    
Subject: Ferret installation
Reply with quote  
Tom Ha

I suspect you're trying to install a 32bit version on a 64bit machine...
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Back to top
PostPosted: Fri Jul 30, 2010 12:10 pm    
Subject: Ferret installation
Reply with quote  
William Calvin

Tom Ha wrote:
Quote:
I suspect you're trying to install a 32bit version on a 64bit machine...

Any idea how to install 64bit version? i'm completely clueless
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Back to top
PostPosted: Fri Jul 30, 2010 3:55 pm    
Subject: Ferret installation
Reply with quote  
Peter De Berdt

On 30 Jul 2010, at 19:10, William Calvin wrote:
Quote:
Quote:
I suspect you're trying to install a 32bit version on a 64bit machine...

Any idea how to install 64bit version? i'm completely clueless


Probably something like "(sudo) env ARCHFLAGS="-arch x86_64" gem install mysql"



Best regards


Peter De Berdt
Back to top
PostPosted: Sat Jul 31, 2010 5:12 pm    
Subject: Ferret installation
Reply with quote  
William Calvin

Peter De Berdt wrote:
Quote:
On 30 Jul 2010, at 19:10, William Calvin wrote:

Quote:
Quote:
I suspect you're trying to install a 32bit version on a 64bit
machine...

Any idea how to install 64bit version? i'm completely clueless

Probably something like "(sudo) env ARCHFLAGS="-arch x86_64" gem
install mysql"


Best regards

Peter De Berdt

Thanks mate.!! it works :)
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BlueQuartz.US Forum Index -> Ruby on Rails General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group