The ruby-lsapi gem won't install for me.
I'm running LiteSpeed 3.3.3 Standard on OS X 10.5 (Leopard) on a MacBook (with an Intel processor, of course).
I've installed lots of gems, so as far as I know the problem is not with my system. Here's the console input and output:
It's easy to reproduce, I just type
I'm running LiteSpeed 3.3.3 Standard on OS X 10.5 (Leopard) on a MacBook (with an Intel processor, of course).
I've installed lots of gems, so as far as I know the problem is not with my system. Here's the console input and output:
Code:
DrTeeth:litespeed brandon$ sudo gem install ruby-lsapi
Bulk updating Gem source index for: [url]http://gems.rubyforge.org[/url]
Building native extensions. This could take a while...
ERROR: Error installing ruby-lsapi:
[COLOR="Red"]ERROR: Failed to build gem native extension.[/COLOR]
/usr/local/bin/ruby extconf.rb install ruby-lsapi
checking for main() in -lsocket... no
creating Makefile
make
gcc -I. -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.10.1 -I. -fno-common -g -O2 -fno-common -pipe -fno-common -c lsapilib.c
gcc -I. -I. -I/usr/local/lib/ruby/1.8/i686-darwin8.10.1 -I. -fno-common -g -O2 -fno-common -pipe -fno-common -c lsruby.c
cc -dynamic -bundle -undefined suppress -flat_namespace -L"/usr/local/lib" -o lsapi.bundle lsapilib.o lsruby.o -lruby -lpthread -ldl -lobjc
/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libpthread.dylib unknown flags (type) of section 6 (__TEXT,__dof_plockstat) in load command 0
/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libdl.dylib unknown flags (type) of section 6 (__TEXT,__dof_plockstat) in load command 0
/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libobjc.dylib load command 9 unknown cmd field
/usr/bin/ld: /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libSystem.dylib unknown flags (type) of section 6 (__TEXT,__dof_plockstat) in load command 0
/usr/bin/ld: /usr/lib/libSystem.B.dylib unknown flags (type) of section 6 (__TEXT,__dof_plockstat) in load command 0
collect2: ld returned 1 exit status
make: *** [lsapi.bundle] Error 1
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/ruby-lsapi-2.9 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/ruby-lsapi-2.9/ext/lsapi/gem_make.out
DrTeeth:litespeed brandon$
Code:
sudo gem install ruby-lsapi