Miniruby

Is miniruby needed to install ruby for Unix? If so, where can I find
it?

Thanks.

···

--
Posted via http://www.ruby-forum.com/.

Richard Lee wrote:

Is miniruby needed to install ruby for Unix? If so, where can I find
it?

Thanks.
  
It is included in the source files and is built automatically when you compile Ruby.

-Justin

Justin Collins wrote:

Richard Lee wrote:

Is miniruby needed to install ruby for Unix? If so, where can I find
it?

Thanks.
  
It is included in the source files and is built automatically when you
compile Ruby.

-Justin

Hi...thanks for the information. If miniruby is included in the source
files, how come I can not find it when I run the make command. It
failed with "./miniruby not found" error message. Can you tell me if
something is missing? Thanks.

Richard

···

--
Posted via http://www.ruby-forum.com/\.

Richard Lee wrote:

Justin Collins wrote:
  

Richard Lee wrote:
    

Is miniruby needed to install ruby for Unix? If so, where can I find
it?

Thanks.
  

It is included in the source files and is built automatically when you
compile Ruby.

-Justin
    
Hi...thanks for the information. If miniruby is included in the source files, how come I can not find it when I run the make command. It failed with "./miniruby not found" error message. Can you tell me if something is missing? Thanks.

Richard
  
Perhaps you could include the entire output from running make? My guess would be that miniruby is not being built for some reason.

-Justin

Justin Collins wrote:

Richard Lee wrote:

It is included in the source files and is built automatically when you

Richard
  
Perhaps you could include the entire output from running make? My guess
would be that miniruby is not being built for some reason.

-Justin

Thanks for helping me out. The following is the error that I got from
the make command:

make: 1254-008 Target "./.rbconfig.time" is dependent on itself.

make: 1254-008 Target "miniruby" is dependent on itself.

        ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb -I.
-rrbconfig ./tool/compile_prelude.rb ./prelude.rb ./enc/prelude.rb
./gem_prelude.rb prelude.c
./miniruby: not found

make: 1254-004 The error code from the last command is 1.

Stop.

Thanks,

Richard

···

--
Posted via http://www.ruby-forum.com/\.

Richard Lee wrote:

Justin Collins wrote:

Richard Lee wrote:

It is included in the source files and is built automatically when you

Richard
  
Perhaps you could include the entire output from running make? My guess
would be that miniruby is not being built for some reason.

-Justin

Thanks for helping me out. The following is the error that I got from
the make command:

make: 1254-008 Target "./.rbconfig.time" is dependent on itself.

make: 1254-008 Target "miniruby" is dependent on itself.

        ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb -I.
-rrbconfig ./tool/compile_prelude.rb ./prelude.rb ./enc/prelude.rb
./gem_prelude.rb prelude.c
./miniruby: not found

make: 1254-004 The error code from the last command is 1.

Stop.

Thanks,

Richard

gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
main.o -c main.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
dln.o -c dln.c
dln.c:1105: warning: 'dln_strerror' defined but not used
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
dmyencoding.o -c dmyencoding.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
miniprelude.o -c miniprelude.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
array.o -c array.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
bignum.o -c bignum.c
bignum.c: In function 'big2dbl':
bignum.c:1177: warning: dereferencing type-punned pointer will break
strict-aliasing rules
bignum.c: In function 'rb_big2dbl':
bignum.c:1217: warning: dereferencing type-punned pointer will break
strict-aliasing rules
bignum.c:1219: warning: dereferencing type-punned pointer will break
strict-aliasing rules
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
class.o -c class.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
compar.o -c compar.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
complex.o -c complex.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
dir.o -c dir.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
enum.o -c enum.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
enumerator.o -c enumerator.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
error.o -c error.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
eval.o -c eval.c
eval.c: In function 'ruby_cleanup':
eval.c:139: warning: passing argument 1 of 'ruby_init_stack' discards
qualifiers from pointer target type
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
load.o -c load.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
proc.o -c proc.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
file.o -c file.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
gc.o -c gc.c
gc.c: In function 'mark_current_machine_context':
gc.c:1977: warning: dereferencing type-punned pointer will break
strict-aliasing rules
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
hash.o -c hash.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
inits.o -c inits.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
io.o -c io.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
marshal.o -c marshal.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
math.o -c math.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
numeric.o -c numeric.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
object.o -c object.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
pack.o -c pack.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
parse.o -c parse.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
process.o -c process.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
random.o -c random.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
range.o -c range.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
rational.o -c rational.c
rational.c: In function 'nurat_to_f':
rational.c:1088: warning: dereferencing type-punned pointer will break
strict-aliasing rules
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
re.o -c re.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
regcomp.o -c regcomp.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
regenc.o -c regenc.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
regerror.o -c regerror.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
regexec.o -c regexec.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
regparse.o -c regparse.c
regparse.c: In function 'onig_parse_make_tree':
regparse.c:5540: warning: passing argument 3 of 'parse_regexp' discards
qualifiers from pointer target type
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
regsyntax.o -c regsyntax.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
ruby.o -c ruby.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
safe.o -c safe.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
signal.o -c signal.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
sprintf.o -c sprintf.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
st.o -c st.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
strftime.o -c strftime.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
string.o -c string.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
struct.o -c struct.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
time.o -c time.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
transcode.o -c transcode.c
transcode.c: In function 'str_transcode0':
transcode.c:2503: warning: format '%d' expects type 'int', but argument
3 has type 'long int'
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
util.o -c util.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
variable.o -c variable.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
version.o -c version.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
compile.o -c compile.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
debug.o -c debug.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
iseq.o -c iseq.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
vm.o -c vm.c
In file included from vm_exec.c:106,
                 from vm.c:23:
insns.def: In function 'vm_exec_core':
insns.def:1062: warning: format '%d' expects type 'int', but argument 2
has type 'long int'
insns.def:1062: warning: format '%d' expects type 'int', but argument 3
has type 'long int'
vm.c: In function 'rb_thread_mark':
vm.c:1591: warning: dereferencing type-punned pointer will break
strict-aliasing rules
vm.c:1592: warning: dereferencing type-punned pointer will break
strict-aliasing rules
vm_eval.c: In function 'vm_call0':
vm_eval.c:100: warning: passing argument 7 of 'vm_call_bmethod' discards
qualifiers from pointer target type
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
vm_dump.o -c vm_dump.c
vm_dump.c: In function 'control_frame_dump':
vm_dump.c:122: warning: format '%04d' expects type 'int', but argument 3
has type 'long int'
vm_dump.c:129: warning: format '%04d' expects type 'int', but argument 3
has type 'long int'
vm_dump.c:130: warning: format '%06d' expects type 'int', but argument 3
has type 'long int'
vm_dump.c:130: warning: format '%06x' expects type 'unsigned int', but
argument 3 has type 'long int'
vm_dump.c:131: warning: format '%06d' expects type 'int', but argument 3
has type 'long int'
vm_dump.c:131: warning: format '%06x' expects type 'unsigned int', but
argument 3 has type 'long int'
vm_dump.c: In function 'vm_stack_dump_each':
vm_dump.c:310: warning: format '%d' expects type 'int', but argument 5
has type 'long int'
vm_dump.c: In function 'rb_vmdebug_debug_print_register':
vm_dump.c:347: warning: format '%04d' expects type 'int', but argument 4
has type 'long int'
vm_dump.c: In function 'rb_vmdebug_debug_print_pre':
vm_dump.c:367: warning: format '%3d' expects type 'int', but argument 2
has type 'long int'
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
thread.o -c thread.c
In file included from thread.c:182:
thread_pthread.c: In function 'native_sleep':
thread_pthread.c:599: warning: format '%ld' expects type 'long int', but
argument 2 has type 'int'
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
cont.o -c cont.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
ascii.o -c ./enc/ascii.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
us_ascii.o -c ./enc/us_ascii.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
unicode.o -c ./enc/unicode.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
utf_8.o -c ./enc/utf_8.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
newline.o -c newline.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
flock.o -c ./missing/flock.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
strlcpy.o -c ./missing/strlcpy.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
strlcat.o -c ./missing/strlcat.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
dmyext.o -c dmyext.c
        gcc -O2 -g -Wall -Wno-parentheses -I.
-I.ext/include/powerpc-aix5.3.0.0 -I./include -I. -DRUBY_EXPORT -o
encoding.o -c encoding.c
make: 1254-008 Target "./.rbconfig.time" is dependent on itself.

make: 1254-008 Target "miniruby" is dependent on itself.

        ./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb -I.
-rrbconfig ./tool/compile_prelude.rb ./prelude.rb ./enc/prelude.rb
./gem_prelude.rb prelude.c
./miniruby: not found

make: 1254-004 The error code from the last command is 1.

Stop.

Thanks

···

--
Posted via http://www.ruby-forum.com/\.