J
Jonas Hartmann
Welcome list, I am new to this and to ruby 
I want to start ruby and use it instead of php where it is possible to
write small and medium sized web applications using sql and xml. i
tried that in php but was not happy with the object orientation.
I hope that ruby will force me into more oop-like coding style and
enable more possibilities - I once did java for a short period
Can one hand me over some tutorial/documentation links how to set up
ruby/eruby and configure apache on Mac OS X? apache is already running:
http://ionas.homeunix.org/
I was following the following information:
http://modruby.net/en/index.rbx/mod_ruby/install.html#label-0
ionas:~/Desktop/eruby-1.0.5 ionas$ ./configure.rb
--with-apxs=/usr/sbin/apxs --enable-shared
checking whether we are using gcc... yes
checking Ruby version... 1.6.8
checking for default charset... iso-8859-1
checking whether enable shared... yes
creating config.h
creating Makefile
ionas:~/Desktop/eruby-1.0.5 ionas$ make
gcc -g -Os -pipe -no-cpp-precomp -fno-common -DHAVE_INTTYPES_H -pipe
-pipe -Wall -I. -I/usr/lib/ruby/1.6/powerpc-darwin7.0 -c eruby_lib.c
ar rcu liberuby.a eruby_lib.o
cc -g -Os -pipe -no-cpp-precomp -fno-common -DHAVE_INTTYPES_H -pipe
-pipe -Wall -I. -I/usr/lib/ruby/1.6/powerpc-darwin7.0 -dynamic -bundle
-undefined suppress -flat_namespace -L/usr/lib eruby_lib.o \
-ldl -lobjc -o liberuby.bundle.1.0.5
gcc -L/usr/lib eruby_logo.o eruby_main.o -L. -leruby
/usr/lib/ruby/1.6/powerpc-darwin7.0/libruby.a -ldl -lobjc -o eruby
gcc: /usr/lib/ruby/1.6/powerpc-darwin7.0/libruby.a: No such file or
directory
make: *** [eruby] Error 1
ionas:~/Desktop/eruby-1.0.5 ionas$
There simply is no libruby.a - how do I get that libary now? how can I
compile it from where?
ionas:/usr/lib/ruby/1.6/powerpc-darwin7.0 ionas$ ls -ha
dln.h node.h rubyio.h util.h
.. env.h pty.bundle rubysig.h
version.h
config.h etc.bundle rbconfig.rb sdbm.bundle
defines.h fcntl.bundle re.h socket.bundle
digest intern.h regex.h st.h
digest.bundle nkf.bundle ruby.h tkutil.bundle
--
Best regards
Jonas Hartmann
eMail : (e-mail address removed)
mobile : +49 160 99 2 44 679
phone : +49 6151 2 79 45 97
I want to start ruby and use it instead of php where it is possible to
write small and medium sized web applications using sql and xml. i
tried that in php but was not happy with the object orientation.
I hope that ruby will force me into more oop-like coding style and
enable more possibilities - I once did java for a short period
Can one hand me over some tutorial/documentation links how to set up
ruby/eruby and configure apache on Mac OS X? apache is already running:
http://ionas.homeunix.org/
I was following the following information:
http://modruby.net/en/index.rbx/mod_ruby/install.html#label-0
ionas:~/Desktop/eruby-1.0.5 ionas$ ./configure.rb
--with-apxs=/usr/sbin/apxs --enable-shared
checking whether we are using gcc... yes
checking Ruby version... 1.6.8
checking for default charset... iso-8859-1
checking whether enable shared... yes
creating config.h
creating Makefile
ionas:~/Desktop/eruby-1.0.5 ionas$ make
gcc -g -Os -pipe -no-cpp-precomp -fno-common -DHAVE_INTTYPES_H -pipe
-pipe -Wall -I. -I/usr/lib/ruby/1.6/powerpc-darwin7.0 -c eruby_lib.c
ar rcu liberuby.a eruby_lib.o
cc -g -Os -pipe -no-cpp-precomp -fno-common -DHAVE_INTTYPES_H -pipe
-pipe -Wall -I. -I/usr/lib/ruby/1.6/powerpc-darwin7.0 -dynamic -bundle
-undefined suppress -flat_namespace -L/usr/lib eruby_lib.o \
-ldl -lobjc -o liberuby.bundle.1.0.5
gcc -L/usr/lib eruby_logo.o eruby_main.o -L. -leruby
/usr/lib/ruby/1.6/powerpc-darwin7.0/libruby.a -ldl -lobjc -o eruby
gcc: /usr/lib/ruby/1.6/powerpc-darwin7.0/libruby.a: No such file or
directory
make: *** [eruby] Error 1
ionas:~/Desktop/eruby-1.0.5 ionas$
There simply is no libruby.a - how do I get that libary now? how can I
compile it from where?
ionas:/usr/lib/ruby/1.6/powerpc-darwin7.0 ionas$ ls -ha
dln.h node.h rubyio.h util.h
.. env.h pty.bundle rubysig.h
version.h
config.h etc.bundle rbconfig.rb sdbm.bundle
defines.h fcntl.bundle re.h socket.bundle
digest intern.h regex.h st.h
digest.bundle nkf.bundle ruby.h tkutil.bundle
--
Best regards
Jonas Hartmann
eMail : (e-mail address removed)
mobile : +49 160 99 2 44 679
phone : +49 6151 2 79 45 97