LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-25-2009, 10:12 AM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Slackbuild of Scilab 5.1 fails under Slackware64 13... is this reproducible...??


I Have tried to compile the SlackBuild for Scilab http://repository.slacky.eu/slackwar...fic/scilab/5.1 from Slacky e.u. for x64 arch under Slackware;

I Have manually download the packages, to an USB disk because my Slackware machine does not have www connection, and I have changed the slackbuild to use the tarballs, instead of downloading them, as well as to build for x86_64 arch ( Slackware 12.2 is 32 bits );

Also made some changes as to use gfortran, and about the location of ant.

The external prerequirements are all set up : pvm, lapack, blas, umfpack, metis, jdk, ocaml, fftw3, ant. ( there are slackbulds for them too, either for SL 12.2, or for SL 13...) .

this is the Slackbuild as I changed it...:

#!/bin/sh
# Heavily based on the Slackware 12.2 SlackBuild
# http://www.scilab.org/
# Packager Vincenzi Loris - slacky@slacky.it

CWD=`pwd`
TMP=${TMP:-/tmp/tgz}
PKG=$TMP/package-scilab
NAME=scilab
VERSION=5.1
###################################
CHOST=x86_64
###################################
ARCH=${ARCH:-x86_64}
###################################
BUILD=1sl
SOURCE=http://www.scilab.org/download/$VERSION/$NAME-$VERSION-src.tar.gz
PREREQUIREMENTS=http://www.scilab.org/download/$VERSION/prerequirements-$NAME-$VERSION-src.tar.gz
# PVM=http://www.netlib.org/pvm3/pvm3.4.6.tgz


set -e
##################################################
#if [ ! -e prerequirements-$NAME-$VERSION-src.tar.gz ]; then
#echo "Downloading prerequirements"
#wget -c $PREREQUIREMENTS
#fi

# if [ ! -e pvm3.4.6.tgz ]; then
# echo "Downloading PVM"
# wget -c $PVM
# fi

#if [ ! -e $NAME-$VERSION-src.tar.gz ]; then
#echo "Downloading source"
#wget -c $SOURCE
#fi
###############################################
if [ "$ARCH" = "i386" ]; then
SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
elif [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2"
fi

if [ ! -d $TMP ]; then
mkdir -p $TMP
fi
if [ ! -d $PKG ]; then
mkdir -p $PKG
fi

cd $TMP
# tar xzf $CWD/pvm3.4.6.tgz
# export PVM_ROOT=$TMP/pvm3
# (
# echo "Building PVM"
# cd pvm3
# CFLOPTS="$SLKCFLAGS" \
# FFLOPTS="$SLKCFLAGS" \
# make
# make install
# )

echo "Unpacking Prerequirements (this can take several minutes)"
########################################################################
tar xzf $CWD/prerequirements-$NAME-$VERSION-x86_64-src.tar.gz
########################################################################
tar xzf $CWD/$NAME-$VERSION-src.tar.gz

echo "+=============================================================================="
echo "| Building $NAME-$VERSION"
echo "+=============================================================================="

cd $NAME-$VERSION
find . \( -perm 777 -o -perm 775 -o -perm 711 \) -exec chmod 755 {} \;
find . \( -perm 700 -o -perm 555 -o -perm 511 \) -exec chmod 755 {} \;
find . \( -perm 666 -o -perm 664 -o -perm 600 \) -exec chmod 644 {} \;
find . \( -perm 444 -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
chown -R root:root .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
FFLABS="$SLKCFLAGS" \
./configure --prefix=/usr \
#############################################
--with-gfortran \
#############################################
--sysconfdir=/etc \
--without-ocaml \
--without-pvm \
--with-jdk=$TMP/$NAME-$VERSION/java/jdk \
--without-matio \
#############################################
--with-ant=/usr/bin \
#############################################
--with-x \
--enable-build-localization \
--enable-build-help \
--build=$CHOST-slackware-linux
make all
make doc
make install DESTDIR=$PKG

cd $PKG


mv $TMP/$NAME-$VERSION/thirdparty $PKG/usr/share/$NAME
cp $TMP/$NAME-$VERSION/bin/lib* $PKG/usr/lib/$NAME/

sed -i "s/\/tmp\/tgz\/$NAME-$VERSION/\$SCILAB/" $PKG/usr/share/scilab/etc/classpath.xml

find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs strip -g 2> /dev/null
mkdir -p $PKG/usr/share/applications
cp $CWD/scilab.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/pixmaps
cp $CWD/scilab.png $PKG/usr/share/pixmaps

mkdir -p $PKG/usr/doc/$NAME-$VERSION
ln -s /usr/share/$NAME $PKG/usr/doc/$NAME-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/slack-desc > $PKG/usr/doc/$NAME-$VERSION/slack-desc
cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
requiredbuilder -v -y -s $CWD $PKG
makepkg -l y -c n $CWD/../$NAME-$VERSION-$ARCH-$BUILD.tgz


if [ "$1" = "--cleanup" ]; then
rm -rf $TMP
fi

My changes are between comment lines....;

Anyway, the script, identifies the packages, untar them, and configures.

When it reaches the build phase, it complains in the same place, the ../libs/MALLOC thing, not finding some object to link with... and it is all about some mv -f something...


I have tried to change the "mv -f" to a "cp -a" in the Makefile.in and in the Makefile of ../libs/MALLOC, but the error continues...

Making all in libs
make[1]: Entering directory `/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs'
Making all in MALLOC
make[2]: Entering directory `/store/alex/Dstor/Packages/Scilab/scilab-5.1.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
-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 -o libscimalloc_la-sci_mem_alloc.lo `test -f
'src/sci_mem_alloc.c' || echo './'`src/sci_mem_alloc.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 `/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs/MALLOC'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs'
make: *** [all-recursive] Error 1

I do not have the detailed log, I left it at my home PC, but I will bring this tomorrow...

Is This error reproducible...?

I am using a fresh sorce tree, unpacked from the scilab tarballs, in a Fresh Slackware64 13 install,

The only things I changed were :

The prerequirements ( as Slackbuilds ) to install GMSH, Paraview, Gnumeric, and Octave/QtOctave, ( all standard to SL 13 ) and I downgraded Python 2.6.2 to Python 2.5.2 using a Slackware 12.1 Slackbuild, to allow me to build Code Aster ( which calls for Python 2.5 ) And I upgraded Mesa to <current> to allow me to use BRL CAD with Raytracing features

Do you think that any of these things may have contributed to Scilab not properly building... ?

I mean... I can use src2pkg to build cmake projects, as well as "configure make install" build systems...

Why does this fail...?

Can anybody here reproduce this...? or is it just some cranky stuff in my system...??

BRGDS

Alex
 
Old 11-25-2009, 10:48 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I had a look at the debian patch for scilab-5.1.1 and found a patch there that looks like it might fix that -it has something to do with those files anyway, so it's worth a try:
Code:
diff -u scilab-5.0.3.orig/libs/MALLOC/Makefile.am scilab-5.0.3/libs/MALLOC/Makefile.am
--- scilab-5.0.3.orig/libs/MALLOC/Makefile.am	2008-11-05 18:42:13.000000000 +0100
+++ scilab-5.0.3/libs/MALLOC/Makefile.am	2008-11-19 22:51:28.000000000 +0100
@@ -6,7 +6,7 @@
 MALLOC_C_SOURCES = src/sci_mem_alloc.c src/getmaxMALLOC.c 
 
 if IS_64_BITS_CPU
-MALLOC_C_SOURCES += src/malloc.c
+#MALLOC_C_SOURCES += src/malloc.c
 endif
 
 libscimalloc_la_includedir=$(pkgincludedir)/malloc
Only in scilab-5.0.3/libs/MALLOC/: Makefile.am~
diff -u scilab-5.0.3.orig/libs/MALLOC/Makefile.in scilab-5.0.3/libs/MALLOC/Makefile.in
--- scilab-5.0.3.orig/libs/MALLOC/Makefile.in	2008-11-05 18:42:13.000000000 +0100
+++ scilab-5.0.3/libs/MALLOC/Makefile.in	2008-11-19 22:51:37.000000000 +0100
@@ -54,10 +54,9 @@
 POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
-@IS_64_BITS_CPU_TRUE@am__append_1 = src/malloc.c
 DIST_COMMON = $(libscimalloc_la_include_HEADERS) $(srcdir)/Makefile.am \
 	$(srcdir)/Makefile.in $(top_srcdir)/Makefile.incl.am
-@NEED_JAVA_TRUE@am__append_2 = java
+@NEED_JAVA_TRUE@am__append_1 = java
 subdir = libs/MALLOC
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/docbook.m4 \
@@ -88,12 +87,9 @@
 pkglibLTLIBRARIES_INSTALL = $(INSTALL)
 LTLIBRARIES = $(pkglib_LTLIBRARIES)
 libscimalloc_la_DEPENDENCIES =
-am__libscimalloc_la_SOURCES_DIST = src/sci_mem_alloc.c \
-	src/getmaxMALLOC.c src/malloc.c
-@IS_64_BITS_CPU_TRUE@am__objects_1 = libscimalloc_la-malloc.lo
-am__objects_2 = libscimalloc_la-sci_mem_alloc.lo \
-	libscimalloc_la-getmaxMALLOC.lo $(am__objects_1)
-am_libscimalloc_la_OBJECTS = $(am__objects_2)
+am__objects_1 = libscimalloc_la-sci_mem_alloc.lo \
+	libscimalloc_la-getmaxMALLOC.lo
+am_libscimalloc_la_OBJECTS = $(am__objects_1)
 libscimalloc_la_OBJECTS = $(am_libscimalloc_la_OBJECTS)
 libscimalloc_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
 	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(libscimalloc_la_CFLAGS) \
@@ -111,7 +107,7 @@
 	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
 	$(LDFLAGS) -o $@
 SOURCES = $(libscimalloc_la_SOURCES)
-DIST_SOURCES = $(am__libscimalloc_la_SOURCES_DIST)
+DIST_SOURCES = $(libscimalloc_la_SOURCES)
 libscimalloc_la_includeHEADERS_INSTALL = $(INSTALL_HEADER)
 HEADERS = $(libscimalloc_la_include_HEADERS)
 ETAGS = etags
@@ -308,8 +304,9 @@
 target_alias = @target_alias@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-MALLOC_C_SOURCES = src/sci_mem_alloc.c src/getmaxMALLOC.c \
-	$(am__append_1)
+MALLOC_C_SOURCES = src/sci_mem_alloc.c src/getmaxMALLOC.c 
+
+#MALLOC_C_SOURCES += src/malloc.c
 libscimalloc_la_includedir = $(pkgincludedir)/malloc
 libscimalloc_la_include_HEADERS = includes/sci_mem_alloc.h \
 includes/MALLOC.h \
@@ -333,7 +330,7 @@
 #### the procedure will be the same with Microsoft Windows (C)
 #### and Linux/Unix
 #######################################################################
-TARGETS_ALL = $(am__append_2)
+TARGETS_ALL = $(am__append_1)
 
 ################ MACROS ######################
 # Rule to build a macro
@@ -444,7 +441,6 @@
 	-rm -f *.tab.c
 
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscimalloc_la-getmaxMALLOC.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscimalloc_la-malloc.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscimalloc_la-sci_mem_alloc.Plo@am__quote@
 
 .c.o:
@@ -482,13 +478,6 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscimalloc_la_CFLAGS) $(CFLAGS) -c -o libscimalloc_la-getmaxMALLOC.lo `test -f 'src/getmaxMALLOC.c' || echo '$(srcdir)/'`src/getmaxMALLOC.c
 
-libscimalloc_la-malloc.lo: src/malloc.c
-@am__fastdepCC_TRUE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscimalloc_la_CFLAGS) $(CFLAGS) -MT libscimalloc_la-malloc.lo -MD -MP -MF $(DEPDIR)/libscimalloc_la-malloc.Tpo -c -o libscimalloc_la-malloc.lo `test -f 'src/malloc.c' || echo '$(srcdir)/'`src/malloc.c
-@am__fastdepCC_TRUE@	mv -f $(DEPDIR)/libscimalloc_la-malloc.Tpo $(DEPDIR)/libscimalloc_la-malloc.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	source='src/malloc.c' object='libscimalloc_la-malloc.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscimalloc_la_CFLAGS) $(CFLAGS) -c -o libscimalloc_la-malloc.lo `test -f 'src/malloc.c' || echo '$(srcdir)/'`src/malloc.c
-
 mostlyclean-libtool:
 	-rm -f *.lo
 
Old 11-25-2009, 11:07 AM   #3
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi Gnashley

Thks for your answer, So you mean that if i paste that patch into scilab5.1 folder and run patch < DebianPatch it will do the job...? or must it be above the scilab5.1 folder...?

Will it be looking for sci5.1 or must I change the name of the thing...?

BRGDS

Alex
 
Old 11-25-2009, 11:52 AM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Looks like that patch is looking for scilab 5.0.3 files. Assuming the patch works on 5.1.1, I'd edit the patch file path name at the beginning so that it refers to 5.1.1. If you leave in the full path name you can execute it from wherever the path begins, eg. scilab root folder, or you can get rid of the path and execute it in the directory the Makefile is in, since I didn't see it patch anything else (but I might have missed something).
 
Old 11-25-2009, 01:53 PM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
'patch -p1' will make it ignore the first part of the path on those lines at the beginning of the diff. The patch is from a group of debian patches for 5.1.1 so it should still apply.
You can copy the patch into the sources, then cd in there and do:
patch -p1 < name-of-diff
or leave outside the sources and do:
patch -p1 < ../name-of-diff
 
Old 11-25-2009, 03:13 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
Can anybody here reproduce this...?
Yes, you had the same error October - 26 - 2009

http://www.linuxquestions.org/questi...7/?highlight#2
Quote:
deps/libscimalloc_la-sci_mem_alloc.Tpo': No such file or directory

Last edited by knudfl; 11-25-2009 at 03:16 PM.
 
Old 11-25-2009, 03:28 PM   #7
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi Knudfl

I know i did... what I am asking is :

Is this some cranky stupid mistake I have made in my Install/configuration of slackware and/or Scilab, or does this happen to others here in this forum...?

Before complaining about a possible bug to Scilab developers, one must be sure he's doing everything right... this the reason for me asking if this is reproducible by others... :-)

BRGDS

Alex
 
Old 11-26-2009, 01:10 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I don't think it has anything to do with a 'bad' installation as it is referring to a file which is part of the same sources. The Tpo files are generated during compilation and this one is not getting done. Have you tried the patch?
If you want to try compilng it using src2pkg, all you have to do is place the patch alongside the sources in the current directory and it will be applied automatically.
 
Old 11-26-2009, 06:50 AM   #9
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
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

Last edited by Alexvader; 11-26-2009 at 07:12 AM.
 
Old 11-26-2009, 11:49 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ gnashley :
It isn't so that the Tpo's are not created.
The application scilab is obviosly looping one ore more times.
And then the "mv -f Tpo Po" is stopping the compiling.
Changing "mv -f Tpo Po" to "cp -a Tpo Po" in Makefile.in solves
the issue. Also proves that the Tpo files actually were created.
http://www.linuxquestions.org/questi...7/?highlight#2
> > # 2 .
I had the same issue with another application a couple of months ago.


@ Alexvader : Some applications do loop briefly or continiously
on some Linux's. For reasons I don't know.
A good example is with 'Insight', a GUI version of 'gdb', going
into an infinite loop on Mandriva 2007 and PCLinuxOS 2007, but
on no other Linux's.
.....
So far I have compiled Scilab on three different OS within the
last months. All 32 bit OS. I think the looping with those
particular files happened too on Mandriva 2009.1 .
But no problems on Slackware 13 and PCLinuxOS 2009.
.....

Last edited by knudfl; 11-27-2009 at 12:08 AM.
 
Old 11-27-2009, 06:36 AM   #11
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi Knudfl

Thanks for your answer; as I told, I tried with the 5.0.3... And using tha patch pointed to me by @Gnashley, no avail... this time, ./configure states a missing -lrt ( librt ), so I reconfigured --without-scicos... but then again, #make will stop at the same point.

I will try your approach changing the seven references "mv -f" to "cp -a" in Makefile.in and Makefile, but I think i've been there and didn't do much... I will try again anyway :-)

One more question, yu stated that you have compiled the Scilab thing for various distros... were they 64bit releases...?

I am inclined to think that this is a 64bit thing... I do not use 32 bits releases... AFAIK all slackbuilds for Scilab ( 4.1.2 and 5.1 ) were targeted for 32b OS... may this be the prob...?

BRGDS

Alex

EDIT:

Everytime I itry a new OS, or try to build something for a Distro, I try it under 64bit ARCH...
since I intend to run this OS under large memory models, 16 Gb min, this means memory adress pointers that cannot be coped with in 32bit arch... and then ther is the issue of speed efficiency of binaries compiled for 64 bit arch vs binaries compiled for 32bit arch running under a 64 bit processor


This is why I never even lose any time trying the 32bit thing...

Last edited by Alexvader; 11-27-2009 at 07:05 AM.
 
Old 11-27-2009, 08:17 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
All 32 bit = old pentium 4 , 2.7 .. 3.0 GHz.

I have no 64 bit computer(s) for the moment.
.....

No need to change the Makefile, the lines are in the Makefile.in only. AFAIK.
Please read the reference link again.
http://www.linuxquestions.org/questi...7/?highlight#2
.....

Last edited by knudfl; 11-27-2009 at 08:21 AM.
 
Old 11-27-2009, 09:17 AM   #13
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Alexvader, here's a diff for that change:
Code:
--- ./Makefile.in.00	2009-04-14 09:30:41.000000000 +0200
+++ ./Makefile.in	2009-11-27 16:21:05.000000000 +0100
@@ -570,49 +570,49 @@
 
 .c.o:
 @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@	cp -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c $<
 
 .c.obj:
 @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
-@am__fastdepCC_TRUE@	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@am__fastdepCC_TRUE@	cp -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
 
 .c.lo:
 @am__fastdepCC_TRUE@	$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
-@am__fastdepCC_TRUE@	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@am__fastdepCC_TRUE@	cp -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(LTCOMPILE) -c -o $@ $<
 
 scilab_bin-mainscic.o: $(top_srcdir)/modules/shell/src/c/others/mainscic.c
 @am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scilab_bin_CFLAGS) $(CFLAGS) -MT scilab_bin-mainscic.o -MD -MP -MF $(DEPDIR)/scilab_bin-mainscic.Tpo -c -o scilab_bin-mainscic.o `test -f '$(top_srcdir)/modules/shell/src/c/others/mainscic.c' || echo '$(srcdir)/'`$(top_srcdir)/modules/shell/src/c/others/mainscic.c
-@am__fastdepCC_TRUE@	mv -f $(DEPDIR)/scilab_bin-mainscic.Tpo $(DEPDIR)/scilab_bin-mainscic.Po
+@am__fastdepCC_TRUE@	cp -f $(DEPDIR)/scilab_bin-mainscic.Tpo $(DEPDIR)/scilab_bin-mainscic.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$(top_srcdir)/modules/shell/src/c/others/mainscic.c' object='scilab_bin-mainscic.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scilab_bin_CFLAGS) $(CFLAGS) -c -o scilab_bin-mainscic.o `test -f '$(top_srcdir)/modules/shell/src/c/others/mainscic.c' || echo '$(srcdir)/'`$(top_srcdir)/modules/shell/src/c/others/mainscic.c
 
 scilab_bin-mainscic.obj: $(top_srcdir)/modules/shell/src/c/others/mainscic.c
 @am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scilab_bin_CFLAGS) $(CFLAGS) -MT scilab_bin-mainscic.obj -MD -MP -MF $(DEPDIR)/scilab_bin-mainscic.Tpo -c -o scilab_bin-mainscic.obj `if test -f '$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; then $(CYGPATH_W) '$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; fi`
-@am__fastdepCC_TRUE@	mv -f $(DEPDIR)/scilab_bin-mainscic.Tpo $(DEPDIR)/scilab_bin-mainscic.Po
+@am__fastdepCC_TRUE@	cp -f $(DEPDIR)/scilab_bin-mainscic.Tpo $(DEPDIR)/scilab_bin-mainscic.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$(top_srcdir)/modules/shell/src/c/others/mainscic.c' object='scilab_bin-mainscic.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scilab_bin_CFLAGS) $(CFLAGS) -c -o scilab_bin-mainscic.obj `if test -f '$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; then $(CYGPATH_W) '$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; fi`
 
 scilab_static_bin-mainscic.o: $(top_srcdir)/modules/shell/src/c/others/mainscic.c
 @am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scilab_static_bin_CFLAGS) $(CFLAGS) -MT scilab_static_bin-mainscic.o -MD -MP -MF $(DEPDIR)/scilab_static_bin-mainscic.Tpo -c -o scilab_static_bin-mainscic.o `test -f '$(top_srcdir)/modules/shell/src/c/others/mainscic.c' || echo '$(srcdir)/'`$(top_srcdir)/modules/shell/src/c/others/mainscic.c
-@am__fastdepCC_TRUE@	mv -f $(DEPDIR)/scilab_static_bin-mainscic.Tpo $(DEPDIR)/scilab_static_bin-mainscic.Po
+@am__fastdepCC_TRUE@	cp -f $(DEPDIR)/scilab_static_bin-mainscic.Tpo $(DEPDIR)/scilab_static_bin-mainscic.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$(top_srcdir)/modules/shell/src/c/others/mainscic.c' object='scilab_static_bin-mainscic.o' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scilab_static_bin_CFLAGS) $(CFLAGS) -c -o scilab_static_bin-mainscic.o `test -f '$(top_srcdir)/modules/shell/src/c/others/mainscic.c' || echo '$(srcdir)/'`$(top_srcdir)/modules/shell/src/c/others/mainscic.c
 
 scilab_static_bin-mainscic.obj: $(top_srcdir)/modules/shell/src/c/others/mainscic.c
 @am__fastdepCC_TRUE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scilab_static_bin_CFLAGS) $(CFLAGS) -MT scilab_static_bin-mainscic.obj -MD -MP -MF $(DEPDIR)/scilab_static_bin-mainscic.Tpo -c -o scilab_static_bin-mainscic.obj `if test -f '$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; then $(CYGPATH_W) '$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; fi`
-@am__fastdepCC_TRUE@	mv -f $(DEPDIR)/scilab_static_bin-mainscic.Tpo $(DEPDIR)/scilab_static_bin-mainscic.Po
+@am__fastdepCC_TRUE@	cp -f $(DEPDIR)/scilab_static_bin-mainscic.Tpo $(DEPDIR)/scilab_static_bin-mainscic.Po
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$(top_srcdir)/modules/shell/src/c/others/mainscic.c' object='scilab_static_bin-mainscic.obj' libtool=no @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(scilab_static_bin_CFLAGS) $(CFLAGS) -c -o scilab_static_bin-mainscic.obj `if test -f '$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; then $(CYGPATH_W) '$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/modules/shell/src/c/others/mainscic.c'; fi`
You'll need to use 'patch -p0 < name-of-diff' with this one. Hopefully that will get you going.
 
1 members found this post helpful.
Old 11-27-2009, 09:47 AM   #14
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi @Gnashley, @Knudfl,

In a few hours I will have some time free in the lab, and i will untar fresh new source files of prerequirements-Scilab, and src-Scilab, cp your patch to Scilab-5.1.1/libs/MALLOC, and run 'patch -p0 < MyPatch, ./configure&&make&&trackinstall and report here how it went...

( crossing my fingers already... :-) )

.. This is weird though... :-( How come automake, and gcc work allright in some distros and not in others...?

I thought that POSIX compilance automatically fixed these issues... :-|
 
Old 11-28-2009, 02:12 PM   #15
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi @Gnashley, @Knudfl

I don't really think that the file to be moved ever gets created... :-(

@Gnashley, Thanks for your patch, I ran it with patch -p0 < LastPatch in the source top directory of Scilab-5.1.1, and shell really showed Makefile.in being patched, so I went through all the drill again... ( ./conf make ...) and it stopped at the same spot... the mv -f thing;

So I rm -rf scilab-5.1.1, untared a fresh new source tree, and ran the patch -po < LastPatch in ../Scilab-5.1.1 AND in ../Scilab-5.1.1/libs/MALLOC... same drill, same result... :-(

As a last ditch try, I again rm -rf scilab-5.1.1, untared a fresh new source tree, and hand edited EACH and EVERY occurence of "mv -f" to "cp -f" in ../Scilab-5.1.1/Makefile.in and in ../Scilab-5.1.1/libs/Makefile.in in nano.

... ran the ./conf-make drill again, and this time ( this one kills me... ) the error message was about not having a file to COPY...

The makefile.in are signed by Sylvestre Ledru from Inria, to whom I have also posed the problem of compilation in Slackware64 13... It shows up in the users list of Scilab... so far he has found no solution for this... :-(

In Two hours I will post here my Hand edited Makefile.in files, as well as the detailed build logs of the result using the patch, and the result after the hand editing to change all ocurrences of "mv -f" to "cp -f"...


I guess this must be Karma... :-(


Thanks to all of you ppl... :-)


BRGDS

Alex
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bad Graphics Issue with Scilab 5.1.1 and Slackware64 13 Alexvader Slackware 20 11-23-2009 03:01 PM
Porting SlackBuild of Scilab from Slackware 12 to Slackware64 13 Alexvader Slackware 20 11-15-2009 09:20 PM
wmii slackbuild fails... What can I do...? Alexvader Slackware 3 11-02-2009 09:59 AM
For the Krusader fans on slackware64 slackbuild ROXR Slackware 0 07-20-2009 06:03 PM
Kmymoney2 Slackware64 Sbo Slackbuild Error AlleyTrotter Slackware 4 07-05-2009 10:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration