Forum: Ferret Error upgrading to 0.9.1 on freebsd

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Eca15b2b601e7e577d38bd5210a753ac?d=identicon&s=25 Carl Youngblood (Guest)
on 2006-04-16 07:36
(Received via mailing list)
I got some errors when running gem update to update my version of
ferret on freebsd:

Attempting remote upgrade of ferret
Attempting remote installation of 'ferret'
Building native extensions.  This could take a while...
In file included from /usr/include/sys/time.h:40,
                 from
/usr/local/lib/ruby/1.8/i386-freebsd4.10/missing.h:16,
                 from
/usr/local/lib/ruby/1.8/i386-freebsd4.10/ruby.h:670,
                 from lang.h:4,
                 from global.h:19,
                 from ferret.h:4,
                 from ferret.c:1:
/usr/include/sys/types.h:57: redefinition of `uint'
global.h:15: `uint' previously declared here
In file included from /usr/include/sys/time.h:40,
                 from
/usr/local/lib/ruby/1.8/i386-freebsd4.10/missing.h:16,
                 from
/usr/local/lib/ruby/1.8/i386-freebsd4.10/ruby.h:670,
                 from lang.h:4,
                 from global.h:19,
                 from ferret.h:4,
                 from ferret.c:1:
/usr/include/sys/types.h:57: redefinition of `uint'
global.h:15: `uint' previously declared here
ruby extconf.rb update
creating Makefile

make
gcc -fPIC -g -O2 -I. -I/usr/local/lib/ruby/1.8/i386-freebsd4.10
-I/usr/local/lib/ruby/1.8/i386-freebsd4.10 -I. -c ferret.c
*** Error code 1

Stop in /usr/local/lib/ruby/gems/1.8/gems/ferret-0.9.1/ext.

make install
gcc -fPIC -g -O2 -I. -I/usr/local/lib/ruby/1.8/i386-freebsd4.10
-I/usr/local/lib/ruby/1.8/i386-freebsd4.10 -I. -c ferret.c
*** Error code 1

Stop in /usr/local/lib/ruby/gems/1.8/gems/ferret-0.9.1/ext.
Successfully installed ferret-0.9.1

Did the upgrade really work?  It seems doubtful.  Any suggestions on
how I can fix this?

Thanks,
Carl
Eca15b2b601e7e577d38bd5210a753ac?d=identicon&s=25 Carl Youngblood (Guest)
on 2006-04-16 07:40
(Received via mailing list)
Update: I got the same errors installing from scratch, FWIW.
This topic is locked and can not be replied to.