Subject: Re: F16 how to install "less" ruby gem?
2012/2/21 VÃt Ondruch <vondruch@xxxxxxxxxx>:
> Dne 21.2.2012 18:30, MichaÅ Piotrowski napsal(a):
>
>> Hi,
>>
>> I want to install "less" gem. I switched to root account, and typed
>>
>> # gem install less
>> Fetching: therubyracer-0.9.10.gem (100%)
>> Building native extensions. ÂThis could take a while...
>>
>> ...
>>
>> And it's all - install process stops. When I check what is happening
>> with ps I get
>>
>> ps -aux :
>> root   18047 Â0.0 Â0.1 166076 Â2164 pts/1  ÂS  Â18:15  0:00 su
>> root   18048 Â0.0 Â0.1 116496 Â2144 pts/1  ÂS  Â18:15  0:00 bash
>> root   18062 Â6.1 Â3.7 129296 77444 pts/1  ÂS+  18:15  0:16
>> /usr/bin/ruby /usr/bin/gem install less
>> root   18408 Â0.0 Â0.0 107084 Â1000 pts/1  ÂS+  18:16  0:00 make
>> root   18409 Â0.0 Â0.0 107124  816 pts/1  ÂS+  18:16  0:00 g++
>> -I. -I/usr/lib/ruby/1.8/libv8/v8/include
>> -I/usr/lib64/ruby/1.8/x86_64-linux -I/usr/lib64/ruby/1.8/x86_64-linux
>> -I. -Wall -g -rdynamic -fPIC -O2 -g -pipe -Wall
>> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
>> --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing
>> -fPIC -c v8_value.cpp
>> root   18410 Â0.3 Â1.0 147628 21780 pts/1  ÂS+  18:16  0:00
>> /usr/libexec/gcc/x86_64-redhat-linux/4.6.2/cc1plus -quiet -I . -I
>> /usr/lib/ruby/1.8/libv8/v8/include -I /usr/lib64/ruby/1.8/x86_64-linux
>> -I /usr/lib64/ruby/1.8/x86_64-linux -I . -D_GNU_SOURCE
>> -D_FORTIFY_SOURCE=2 v8_value.cpp -quiet -dumpbase v8_value.cpp -m64
>> -mtune=generic -march=x86-64 -auxbase v8_value -g -g -O2 -Wall
>> -fexceptions -fstack-protector -fno-strict-aliasing -fPIC --param
>> ssp-buffer-size=4 -o -
>> root   18411 Â0.0 Â0.0   Â0   0 pts/1  ÂZ+  18:16  0:00
>> [as]<defunct>
>>
>> It seems that as is in zombie state. Could anyone advise where to
>> start looking for the solution to this problem?
>> Where it can be a problem? Gem itself or toolchain?
>>
>
> The problem will be the gem and its dependencies probably. Since the
> therubyracer gem bundles v8 javascript engine, it may take some time to
> compile. The /ext directory of the therubyracer gem might be of interest to
> you.

I'll try to build it manually - without gem scripts.

>
> However, since this is nice example of bundling, I would suggest you to take
> a look for some alternative to less gem.

I need lessc with --compress option to build bootstrap framework. I'm
not sure if "less" gem is appropriate for this task, but I wanted to
try it.

>
>
> Vit
> --
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/devel

Thanks for your help!

--
Best regards,
Michal

http://eventhorizon.pl/
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
(C)2011 mailinglist-archive.com