[Scilab-Dev] Porting Scilab 5.1.1 on Mac OS X 10.4 PPC.
Sylvestre Ledru
sylvestre.ledru at scilab.org
Thu Oct 1 10:26:54 CEST 2009
Hello Pascal,
Sorry about the delay
Le vendredi 07 août 2009 à 22:02 +0200, Pascal a écrit :
> Hello Sylvestre.
>
> Following your advice, I've made some modification on configure:
> --- configure.0 2009-04-14 09:22:35.000000000 +0200
> +++ configure 2009-08-06 23:00:41.000000000 +0200
> @@ -10906,7 +10906,7 @@
> *-*-darwin*)
> CFLAGS=" $CFLAGS -I/sw/include "
> CPPFLAGS=" $CPPFLAGS -I/sw/include "
> - LDFLAGS=" $LDFLAGS -L/sw/lib/ "
> + LDFLAGS=" $LDFLAGS -Xlinker -m -L/sw/lib/ "
> ;;
> esac
> ;; # end of the gcc case on the $CC
> @@ -11743,6 +11743,10 @@
> # Sun
> machine=sparc
> ;;
> + *Macintosh*)
> + # Mac OS X
> + machine=`uname -p`
> + ;;
> esac
>
> # Check for known JDK installation layouts
> @@ -11868,7 +11872,8 @@
> ac_java_jvm_jni_lib_runtime_path=$D
> ac_java_jvm_jni_lib_flags="-L$D -ljvm"
>
> - D=$ac_java_jvm_dir/jre/lib/i386/server
> +# D=$ac_java_jvm_dir/jre/lib/i386/server
> + D=$ac_java_jvm_dir/../Libraries
> ac_java_jvm_jni_lib_runtime_path="$
> {ac_java_jvm_jni_lib_runtime_path}:$D"
>
> ac_java_jvm_jni_lib_flags="$ac_java_jvm_jni_lib_flags -L$D -ljvm"
> fi
>
> and call:
> $ ./configure --prefix=/Users/pascal/Documents/Programmation/
> scilab-5.1.1-alpha-1/build --without-ocaml --without-fftw --without-
> pvm --without-umfpack --without-matio --without-tk
> All build.
>
> When I launch Scilab, I've got the error:
> $ ./scilab
> The native library sciconsole does not exist or cannot be found :
> no sciconsole in java.library.path
> Current java.library.path is : :/Users/pascal/Documents/Programmation/
> scilab-5.1.1-alpha-1/build/share/scilab//../../lib/scilab/
> Though, the library existe in this directory:
> $ ls
> ...
> libsciconsole.5.0.1.dylib libsciconsole.dylib
> libsciconsole.5.dylib libsciconsole.la
> ...
> Any idea ?
Yep, try to update
etc/librarypath.xml to add the path to this library.
> Then I've tried:
> $ ./scilab -nwni
> Unfortunately, the help is not available in this mode:
> -->help
> !--error 10000
> help : Le navigateur d'aide n'est pas accessible dans le mode NWNI.
> at line 33 of function help called by :
> help
Yes, help is available in the NW & GUI modes.
Bye
Sylvestre
More information about the dev
mailing list