Hi Gnashley
Thks for yr reply, I have tried with the 5.1 sources yesterday... I changed the references to 5.0.3 in the patch to 5.1, and patched... :
bash-3.1# patch -p1 < MyPatch
patching file libs/MALLOC/Makefile.am
patching file libs/MALLOC/Makefile.in
Hunk #4 succeeded at 305 (offset 1 line).
Hunk #5 succeeded at 337 (offset 7 lines).
Hunk #6 succeeded at 448 (offset 7 lines).
Hunk #7 succeeded at 485 (offset 7 lines).
bash-3.1# ./configure --with-gfortran --sysconfdir=/etc --without-ocaml --without-pvm --without-matio --with-x --enable-build-localization --enable-bu
ild-help
..........................
Scilab is configured as follows. Please verify that this configuration
matches your expectations.
Host system type : x86_64-unknown-linux-gnu
Option Value
-------------------------------------------------------------------------
Shared libraries....... --enable-shared=yes yes
Static libraries....... --enable-static=no no
GNU ld................. --with-gnu-ld=yes yes
Enable debug .......... --enable-debug=no no
Enable debug C......... --enable-debug-C=no no
Enable debug C++....... --enable-debug-CXX=no no
Enable debug Fortran... --enable-debug-fortran=no no
Enable stop on warning. --enable-stop-on-warning=
Compiler Configuration:
Intel (--with-intelcompilers) .... =
GNU gcc (--with-gcc) ............. =
GNU Fortran 77 (--with-g77) ...... =
GNU Fortran 95 (--with-gfortran) . = yes
Options:
Use PVM (--with-pvm) ............................. = no
PVM include (--with-pvm-include) ................. =
PVM library (--with-pvm-library) ................. =
Do not use TCL/TK (--without-tk) ................. =
Do not compile with Ocaml (--without-ocaml) ...... = no
TCL include (--with-tcl-include) ................. =
TCL library (--with-tcl-library) ................. =
TK include (--with-tk-include) ................... =
TK library (--with-tk-library) ................... =
Install XML Help (--with-install-help-xml) ....... =
Make the package relocatable (--enable-relocatable)= no
Use FFTW (--with-fftw) ........................... =
Don't use MATIO (--without-matio) ................ =
Scicos enable
Ocaml Configuration (for Modelica compiler):
OCAMLC ............. =
OCAMLOPT ........... =
OCAMLDEP ........... =
Not using PVM
FFTW Configuration:
FFTW LIBS .......... = -lfftw3
FFTW CFLAGS ........ =
Not using MATIO
UMFPACK Configuration:
UMFPACK LIBS ....... = -lumfpack -lamd
UMFPACK CFLAGS ..... =
UMFPACK SUITESPARSE = Yes
BLAS/LAPACK/ATLAS Configuration:
BLAS LIBS ............. = -lblas
BLAS TYPE ............. = Generic Blas
LAPACK LIBS ........... = -llapack
LAPACK TYPE ........... = Library -llapack
Gettext/localization configuration:
xgettext ............... = /usr/bin/xgettext
msgfmt ................ = /usr/bin/msgfmt
msgfmt_opts ............ =
msgcat ................ = /usr/bin/msgcat
Docbook XSL path ....... = /home/alex/Scilab51B/scilab-5.1/thirdparty/docbook/
Batik (SVG) ............ = /home/alex/Scilab51B/scilab-5.1/thirdparty/batik-all-1.7.jar
Saxon XSLT ............. = /home/alex/Scilab51B/scilab-5.1/thirdparty/saxon.jar
FOP (XML => PDF) ....... = /home/alex/Scilab51B/scilab-5.1/thirdparty/fop.jar
Jeuclid (MathML) ....... = /home/alex/Scilab51B/scilab-5.1/thirdparty/jeuclid-core.jar
Commons I/O ............ = /home/alex/Scilab51B/scilab-5.1/thirdparty/commons-io.jar
XML graphics commons ... = /home/alex/Scilab51B/scilab-5.1/thirdparty/xmlgraphics-commons-1.3.1.jar
Java Configuration:
JAVA_HOME ........... = /usr/lib64/java
JAVAC ............... = /usr/lib64/java/bin/javac
JAVA_CLASSPATH ...... =
JAVA_VERSION ........ = 1.5
JAVAC_FLAGS ......... = -g
JAVA_JNI_INCLUDE .... = -I/usr/lib64/java/include -I/usr/lib64/java/include/linux
JAVA_JNI_LIBS ....... = -L/usr/lib64/java/jre/lib/amd64 -ljava -lverify -L/usr/lib64/java/jre/lib/amd64/server -ljvm
JAVA_JNI_LIBS_PRELOAD =
JAVA ................ = /usr/lib64/java/bin/java
JAR ................. = /usr/lib64/java/bin/jar
ANT ................. = /usr/bin/ant
TCL/TK configuration:
TK_INC_PATH ........ = -I/usr/include
TCL_INC_PATH ....... = -I/usr/include
TCLTK_LIBS ......... = -L/usr/lib64 -ltk8.5 -L/usr/lib64 -ltcl8.5 -ldl
TCL_SERIAL_VERSION . = 8.5.7
TK_SERIAL_VERSION .. = 8.5.7
XML configuration:
XML_FLAGS .......... = -I/usr/include/libxml2
XML_LIBS ........... = -lxml2 -lz -lm
XML_VERSION ........ = 2.7.3
PCRE configuration:
PCRE_CFLAGS ........ =
PCRE_LIBS .......... = -L/usr/lib64 -lpcreposix -lpcre
PCRE_VERSION ....... = 7.7
SWIG Configuration:
SWIG generation disabled
GIWS Configuration:
GIWS generation disabled
Libtool config:
objext .............. = o
libext (static) ..... = a
shrext_cmds ......... = .so
exeext .............. =
Compilation paths:
srcdir .............. = .
srcdir_full ......... = /home/alex/Scilab51B/scilab-5.1
builddir ............ = /home/alex/Scilab51B/scilab-5.1
Platform informations:
host ........... = x86_64-unknown-linux-gnu
host_cpu ....... = x86_64
host_vendor .... = unknown
host_os ... .... = linux-gnu
hostname ....... = iskandhar
CPU 64 bits .... = true
Options used to compile and link:
prefix ......... = /usr/local
localedir ...... = ${datarootdir}/locale
VERSION ........ = 5
CC ............. = gcc
CFLAGS ......... = -g -O2 -DNDEBUG -fno-stack-protector -DNARROWPROTO -m64 -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/inclu
des/ -I$(top_srcdir)/modules/localization/includes/
PCFLAGS ........ =
DEFS ........... = -DHAVE_CONFIG_H
LD ............. = /usr/x86_64-slackware-linux/bin/ld -m elf_x86_64
LDFLAGS ........ =
LIBS ........... =
CXX ............ = g++
CXXFLAGS ....... = -g -O2 -DNDEBUG -fno-stack-protector -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)
/modules/localization/includes/
F77 ............ = gfortran
FFLAGS ......... = -g -O2 -DNDEBUG -m64 -fPIC -I$(top_srcdir)/modules/core/includes/
F77_LDFLAGS .... =
TERMCAP_LIB .... = -lncurses
The idea now is #make&&trackinstall
bash-3.1# make
Making all in libs
make[1]: Entering directory `/home/alex/Scilab51B/scilab-5.1/libs'
Making all in MALLOC
make[2]: Entering directory `/home/alex/Scilab51B/scilab-5.1/libs/MALLOC'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../modules/core/includes -g -O2 -DNDEBUG -fno-stack-protector -DNARR
OWPROTO -m64 -I../../modules/core/includes/ -I../../libs/MALLOC/includes/ -I../../modules/localization/includes/ -MT libscimalloc_la-sci_mem_alloc.lo
-MD -MP -MF .deps/libscimalloc_la-sci_mem_alloc.Tpo -c -o libscimalloc_la-sci_mem_alloc.lo `test -f 'src/sci_mem_alloc.c' || echo './'`src/sci_mem_all
oc.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I../../modules/core/includes -g -O2 -DNDEBUG -fno-stack-protector -DNARROWPROTO -m64 -I../../modules/core/includes/ -I../../
libs/MALLOC/includes/ -I../../modules/localization/includes/ -MT libscimalloc_la-sci_mem_alloc.lo -MD -MP -MF .deps/libscimalloc_la-sci_mem_alloc.Tpo
-c src/sci_mem_alloc.c -fPIC -DPIC -o .libs/libscimalloc_la-sci_mem_alloc.o
0 entries
mv -f .deps/libscimalloc_la-sci_mem_alloc.Tpo .deps/libscimalloc_la-sci_mem_alloc.Plo
mv: cannot stat `.deps/libscimalloc_la-sci_mem_alloc.Tpo': No such file or directory
make[2]: *** [libscimalloc_la-sci_mem_alloc.lo] Error 1
make[2]: Leaving directory `/home/alex/Scilab51B/scilab-5.1/libs/MALLOC'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/Scilab51B/scilab-5.1/libs'
make: *** [all-recursive] Error 1
bash-3.1#
...Failed at the same spot...
I will try again in a few hours with the 5.0.3 sources.... :-(
What pisses me more is that I have already built the binaries for 5.1.1,
http://www.linuxquestions.org/questi...e64-13-769742/, using the configure make trackinstall scheme, but it was a useless version, because I had to --without-scicos... because of a missing reference to clock_gettime function...
I dumped the source tree, and I do not recall exactly whathave I done to get past this "mv -f" MALLOC thing...
It was a working version, although useless for me, it had no scicos ( control theory toolbox ) support, and had some graphical issues which i solved copying some jogl.jar stuff to my Java source tree, as advised in the Inria Scilab wiki page...
...for a "geek wannabe" engineer like me this is rather frustrating...
The version 4.1.2 SlackBuild for Slackware 12.x builds allright, athough not as complete as the 5.x.y, but the editor functions ( a tcl window ) is bugged, one cannot close it or perform any edit/close/open/save functions ( i.e. no script editing...)
This was the reason for me asking " is this just me, or it happens to everyone...?"
Once again, thanks
BRGDS
Alex