From: Daniel Berger Date: 2006-04-13T04:04:23+09:00 Subject: Re: Installing on Solaris using sparc-sun-solaris-2.8 Fleur Corfield wrote: > I am a newbie to Solaris and Ruby. > > I have downloaded the source for Ruby 1.8.4, I added CC to the > environment using "CC=/usr/local/bin/gcc" & "export CC". I have run > ./configure successfully. > > I then set my variables for make (as initially that was not doing > anything) using "PATH=$PATH:/usr/ccs/bin" and "export PATH". After doing > this I tried to use the make command, and received the following errors: > > 1. make: Warning: Illegal dependency list for target `.DEFAULT' > and far more worrying: > > 2.internal error: error_message(58) > *** Error code 100 > make: Fatal error: Command failed for target `libruby-static.a' > > I did find a file called "ruby" under usr/local/bin but it does not do > anything (most likely because of the fatal error) can anyone help me? Wait a minute - are you building against the latest in CVS? Because I'm hitting the same issue because "isinf" isn't linked in properly. However, if you're building against 1.8.4 stable (release 12-24-2005), you shouldn't hit this. Is this what you're seeing? gcc -Wall main.o libruby-static.a -ldl -lcrypt -lm -o miniruby -g -O2 -DRUBY_EXPORT Undefined first referenced symbol in file isinf libruby-static.a(marshal.o) ld: fatal: Symbol referencing errors. No output written to miniruby collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `miniruby' Regards, Dan