Global options: -q,--quiet suppress message outputs --verbose output messages verbosely -h,--help print this message -v,--version print version and quit --copyright print copyright and quit
Tasks: config saves your configurations show shows current configuration setup compiles extention or else install installs files clean does `make clean' for each extention distclean does `make distclean' for each extention
Options for config: --prefix=path path prefix of target environment [/opt/local] --std-ruby=path the directory for standard ruby libraries [$prefix/lib/ruby/1.8] --site-ruby-common=path the directory for version-independent non-standard ruby libraries [$prefix/lib/ruby/site_ruby] --site-ruby=path the directory for non-standard ruby libraries [$prefix/lib/ruby/site_ruby/1.8] --bin-dir=path the directory for commands [$prefix/bin] --rb-dir=path the directory for ruby scripts [$site-ruby] --so-dir=path the directory for ruby extentions [$prefix/lib/ruby/site_ruby/1.8/powerpc-darwin8.3.0] --data-dir=path the directory for shared data [$prefix/share] --ruby-path=path path to set to #! line [/opt/local/bin/ruby] --ruby-prog=name the ruby program using for installation [/opt/local/bin/ruby] --make-prog=name the make program to compile ruby extentions [make] --without-ext does not compile/install ruby extentions [no] --jsdk-include=path path to the JSDK headers [/usr/local/java/j2sdk1.4.1/include/] --jsdk-lib=path path to the JSDK libraries [/usr/local/java/j2sdk1.4.1/jre/lib/i386/] --jsdk-so-include=path path to the system-specific JSDK headers [/usr/local/java/j2sdk1.4.1/include/linux/] --rbconfig=path your rbconfig.rb to load [running ruby's]
Options for install: --no-harm only display what to do if given [off] --prefix install path prefix [$prefix]
pour l'instant j'ai 2 bridges qui fonctionnent : jruby, extrêmemnt lent, et yajb-0.8.1 (particularité écrit en pur java d'un côté et pur ruby de l'autre pas de native => du coup ça marche même avec Swing...)
-- une bévue
Erwan David <erwan@rail.eu.org> wrote:
Un .so sur un Unix classique c'est un .dylib sur MacOS X.
ah merci !
notes que je m'en suis douté, mais bon, le script de config semble
vouloir absolument des *.so, seule solution; amha, discuter avec le dev
?
ma commande (au cas où) et sa réponse :
~/work/Ruby/rjni_tech-preview-2%> ruby install.rb config >
--jsdk-include=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.
0/Home/include/ >
--jsdk-lib=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Ho
me/lib/ >
--jsdk-so-include=/System/Library/Frameworks/JavaVM.framework/Versions/1
.5.0/Librairies install.rb: entering config phase... ---> lib --->
lib/rjni <--- lib/rjni <--- lib ---> ext ---> ext/rjni
/opt/local/bin/ruby
/Users/yvon/work/Ruby/rjni_tech-preview-2/ext/rjni/extconf.rb checking
for main() in -ljava... no Cannot find the Java library (libjava.so in
UN*X) Please specify the correct paths with options
--jsdk-include=<directory> --jsdk-lib=<directory>
--jsdk-so-include=<directory> Build cancelled. config failed 'system
/opt/local/bin/ruby
/Users/yvon/work/Ruby/rjni_tech-preview-2/ext/rjni/extconf.rb ' failed
Try 'ruby install.rb --help' for detailed usage.
help me donne : ~/work/Ruby/rjni_tech-preview-2%> ruby install.rb --help
Typical Installation Procedure: $ ruby install.rb config $ ruby
install.rb setup # ruby install.rb install (may require root privilege)
Global options: -q,--quiet suppress message outputs --verbose
output messages verbosely -h,--help print this message
-v,--version print version and quit --copyright print
copyright and quit
Tasks: config saves your configurations show shows current
configuration setup compiles extention or else install
installs files clean does `make clean' for each extention
distclean does `make distclean' for each extention
Options for config: --prefix=path path prefix of target
environment [/opt/local] --std-ruby=path the directory for standard
ruby libraries [$prefix/lib/ruby/1.8] --site-ruby-common=path the
directory for version-independent non-standard ruby libraries
[$prefix/lib/ruby/site_ruby] --site-ruby=path the directory for
non-standard ruby libraries [$prefix/lib/ruby/site_ruby/1.8]
--bin-dir=path the directory for commands [$prefix/bin]
--rb-dir=path the directory for ruby scripts [$site-ruby]
--so-dir=path the directory for ruby extentions
[$prefix/lib/ruby/site_ruby/1.8/powerpc-darwin8.3.0] --data-dir=path
the directory for shared data [$prefix/share] --ruby-path=path path
to set to #! line [/opt/local/bin/ruby] --ruby-prog=name the ruby
program using for installation [/opt/local/bin/ruby] --make-prog=name
the make program to compile ruby extentions [make] --without-ext
does not compile/install ruby extentions [no] --jsdk-include=path path
to the JSDK headers [/usr/local/java/j2sdk1.4.1/include/]
--jsdk-lib=path path to the JSDK libraries
[/usr/local/java/j2sdk1.4.1/jre/lib/i386/] --jsdk-so-include=path path
to the system-specific JSDK headers
[/usr/local/java/j2sdk1.4.1/include/linux/] --rbconfig=path your
rbconfig.rb to load [running ruby's]
Options for install: --no-harm only display what to do if
given [off] --prefix install path prefix [$prefix]
pour l'instant j'ai 2 bridges qui fonctionnent : jruby, extrêmemnt lent,
et yajb-0.8.1 (particularité écrit en pur java d'un côté et pur ruby de
l'autre pas de native => du coup ça marche même avec Swing...)
Global options: -q,--quiet suppress message outputs --verbose output messages verbosely -h,--help print this message -v,--version print version and quit --copyright print copyright and quit
Tasks: config saves your configurations show shows current configuration setup compiles extention or else install installs files clean does `make clean' for each extention distclean does `make distclean' for each extention
Options for config: --prefix=path path prefix of target environment [/opt/local] --std-ruby=path the directory for standard ruby libraries [$prefix/lib/ruby/1.8] --site-ruby-common=path the directory for version-independent non-standard ruby libraries [$prefix/lib/ruby/site_ruby] --site-ruby=path the directory for non-standard ruby libraries [$prefix/lib/ruby/site_ruby/1.8] --bin-dir=path the directory for commands [$prefix/bin] --rb-dir=path the directory for ruby scripts [$site-ruby] --so-dir=path the directory for ruby extentions [$prefix/lib/ruby/site_ruby/1.8/powerpc-darwin8.3.0] --data-dir=path the directory for shared data [$prefix/share] --ruby-path=path path to set to #! line [/opt/local/bin/ruby] --ruby-prog=name the ruby program using for installation [/opt/local/bin/ruby] --make-prog=name the make program to compile ruby extentions [make] --without-ext does not compile/install ruby extentions [no] --jsdk-include=path path to the JSDK headers [/usr/local/java/j2sdk1.4.1/include/] --jsdk-lib=path path to the JSDK libraries [/usr/local/java/j2sdk1.4.1/jre/lib/i386/] --jsdk-so-include=path path to the system-specific JSDK headers [/usr/local/java/j2sdk1.4.1/include/linux/] --rbconfig=path your rbconfig.rb to load [running ruby's]
Options for install: --no-harm only display what to do if given [off] --prefix install path prefix [$prefix]
pour l'instant j'ai 2 bridges qui fonctionnent : jruby, extrêmemnt lent, et yajb-0.8.1 (particularité écrit en pur java d'un côté et pur ruby de l'autre pas de native => du coup ça marche même avec Swing...)
-- une bévue
ericb
Bonjour,
Un .so sur un Unix classique c'est un .dylib sur MacOS X.
Je le croyais aussi... Juste par curiosité, jette un oeil ici : /System/Library/Framework/Python.framework/Versions/Current/lib/python2.3/lib-dynload
Ce n'est pas très grave en soi en fait, il faut juste le savoir quand on cherche à utiliser python :-)
Bonjour,
Un .so sur un Unix classique c'est un .dylib sur MacOS X.
Je le croyais aussi... Juste par curiosité, jette un oeil ici :
/System/Library/Framework/Python.framework/Versions/Current/lib/python2.3/lib-dynload
Ce n'est pas très grave en soi en fait, il faut juste le savoir quand on
cherche à utiliser python :-)