Hi all,
I'm a new convert to the LiteSpeed 'family' and I'm trying to setup a staging server on an old iMac G5 (PPC), running the latest version of OS X 10.5 (Leopard) (Client version).
I got LS 3.3 installed fine, couldn't do the LS admin PHP upgrade though, but installed PHP (5.2.5) just fine myself.
However, when trying to install the ruby-lsapi (sudo gem install ruby-lsapi) or the manual way (ruby-lsapi-2.7) I get the following error:
I can get ruby-lsapi installed just fine on an Intel version of OS X (10.5) so it seems to relate to the PowerPC architecture.
Anyone having any suggestions / fixes to overcome this problem ?
Every bit of assistance would be much appreciated.
I'm a new convert to the LiteSpeed 'family' and I'm trying to setup a staging server on an old iMac G5 (PPC), running the latest version of OS X 10.5 (Leopard) (Client version).
I got LS 3.3 installed fine, couldn't do the LS admin PHP upgrade though, but installed PHP (5.2.5) just fine myself.
However, when trying to install the ruby-lsapi (sudo gem install ruby-lsapi) or the manual way (ruby-lsapi-2.7) I get the following error:
Code:
iMac:~ kematzy$ sudo gem install ruby-lsapi
Bulk updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
ERROR: Error installing ruby-lsapi:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb install ruby-lsapi
checking for main() in -lsocket... no
creating Makefile
make
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -c lsapilib.c
gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -c lsruby.c
cc -arch ppc -arch i386 -pipe -bundle -o lsapi.bundle lsapilib.o lsruby.o -L"." -L"/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib" -L. -arch ppc -arch i386 -lruby -lpthread -ldl -lm
Undefined symbols for architecture ppc:
"_environ", referenced from:
_environ$non_lazy_ptr in lsapilib.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
Undefined symbols for architecture i386:
"_environ", referenced from:
_environ$non_lazy_ptr in lsapilib.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccC8yf2L.out (No such file or directory)
make: *** [lsapi.bundle] Error 1
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/ruby-lsapi-2.7 for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/ruby-lsapi-2.7/ext/lsapi/gem_make.out
iMac:~ kematzy$
Anyone having any suggestions / fixes to overcome this problem ?
Every bit of assistance would be much appreciated.