LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-14-2009, 02:41 PM   #16
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94

Hi Knudfl

Thanks for your help :-)


Quote:
Originally Posted by knudfl View Post

...cd scicoslab/
./autogen.sh
### Uncomment line 3...14 , Makefile.in .
./configure && make

Notice : 'g77' or similar is required.
.....
bash-3.1$ pwd
/home/alex/Desktop/ScicosLab/scicoslab-gtk-4.3
bash-3.1$ ls
ACKNOWLEDGEMENTS Makefile.dist Makemex RELEASE_NOTES autogen.sh configheaders.bat imp license.txt pvmconf.bat scripts
CHANGES Makefile.in Makemex.in Scilab.sln autom4te.cache configure intersci macros pvmconf.sce tcl
Make.bat Makefile.incl Makesubdirs.bat Win-util bin configure.in lcc man routines tclmajor
Makefile Makefile.incl.in Path.incl WinConfigure.verif config contrib libs maple scilab.iss tclminor
Makefile.OBJ Makefile.incl.mak Perl X11_defaults config.log demos libtool ocaml scilab.quit tests
Makefile.OBJ.in Makefile.mak README_Unix aclocal.m4 config.status examples licence.txt pvm3 scilab.star util
bash-3.1$ ./autogen.sh


.........................


configure: WARNING: PVM unable to find architecture: I will not use PVM
checking for main in -ldl... yes
checking for header file tcl.h... found in /usr/include
checking if tcl is version 8.4 or later... (8.5) yes
checking for tcl library tcl8.5... configure: error: header file tcl.h has been found for 8.4* but no corresponding tcl library (ie libtcl8.4.so)

but

bash-3.1$ ls -la /usr/lib64 | grep libtcl
lrwxrwxrwx 1 root root 12 2009-10-30 03:49 libtcl.so -> libtcl8.5.so
-r-xr-xr-x 1 root root 1140744 2009-04-29 20:40 libtcl8.5.so
-rw-r--r-- 1 root root 488476 2009-11-04 02:19 libtclcad.a
-rwxr-xr-x 1 root root 1352 2009-11-04 02:19 libtclcad.la
lrwxrwxrwx 1 root root 19 2009-11-04 03:27 libtclcad.so -> libtclcad.so.19.0.1
lrwxrwxrwx 1 root root 19 2009-11-04 03:27 libtclcad.so.19 -> libtclcad.so.19.0.1
-rwxr-xr-x 1 root root 248824 2009-11-04 02:19 libtclcad.so.19.0.1
-rw-r--r-- 1 root root 3978 2009-04-29 20:40 libtclstub8.5.a
lrwxrwxrwx 1 root root 13 2009-10-30 03:49 libtclx.so -> libtclx8.4.so
lrwxrwxrwx 1 root root 21 2009-10-30 03:49 libtclx8.4.so -> tclx8.4/libtclx8.4.so

...

bash-3.1$ ls -la /usr/include | grep tcl
-rw-r--r-- 1 root root 1835 2009-05-12 21:41 expect_tcl.h
-rw-r--r-- 1 root root 6867 2009-11-04 02:18 itcl.h
-rw-r--r-- 1 root root 11076 2009-11-04 02:18 itclDecls.h
-rw-r--r-- 1 root root 17551 2009-11-04 02:18 itclInt.h
-rw-r--r-- 1 root root 53001 2009-11-04 02:18 itclIntDecls.h
-rw-r--r-- 1 root root 2884 2009-04-03 07:16 k3bvideodvdtitledetectclippingjob.h
drwxr-xr-x 4 root root 4096 2009-04-29 20:40 tcl-private
-rw-r--r-- 1 root root 87115 2009-04-29 20:40 tcl.h
-rw-r--r-- 1 root root 225338 2009-04-29 20:40 tclDecls.h
-rw-r--r-- 1 root root 5752 2008-11-04 11:21 tclExtend.h
-rw-r--r-- 1 root root 3831 2009-04-29 20:40 tclPlatDecls.h
-rw-r--r-- 1 root root 18634 2009-04-29 20:40 tclTomMath.h
-rw-r--r-- 1 root root 24364 2009-04-29 20:40 tclTomMathDecls.h
-rw-r--r-- 1 root root 1733 2009-05-12 21:41 tcldbg.h


Seems that I will have to downgrade tcl 8.5 back to tcl 8.4.... can they be both present in my system...?

I Have downgraded Python 2.6.2 to Python 2.5.2 in order for Code Aster to compile... without any major problems... can the same hackery be performed with tcl...?

BRGDS

Alex

Strangest thing is that Tcl 8.5 is allowed to build Scilab, or ScicosLab...

Tcl 8.5 is the default of Slackware 64 13... never tikered with that... so, how come tcl.h is for 8.4... ???

Last edited by Alexvader; 11-14-2009 at 02:54 PM.
 
Old 11-15-2009, 12:02 AM   #17
smoooth103
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 238

Rep: Reputation: 60
Quote:
Originally Posted by Alexvader View Post
Hi Forum, @Alien Bob




Downloaded the SlackBuild from the site, as well as the diff and Manifest files to a folder...

Changed ARCH to x86_64, and launched ./scilab.SlackBuild, It downloads the source tarball to ./scilab and stops...


How do I need to change the SlackBuild for this to build...?


Alex
Delete the manifest checking out of the slackbuild. There appears to be a problem with it. Once I removed it, it built correctly.

smoooth
 
Old 11-15-2009, 07:27 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,152

Rep: Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642
About python : More than one version is OK :
.. but only one /usr/bin/python

.....

About tcl : Two or more "runtime" is OK.
.. but only one /usr/bin/tclsh ( link )
.. and of course one /usr/lib/libtcl.so


'tcl-8.4.18' ( like the slack 12.1 version ) provides
/usr/include/tcl.h
/usr/bin/tclsh8.4

'tcl-8.5.7' in Slackware 13 provides /usr/include/tcl.h ,
other Linux's : /usr/include/tcl8.5/tcl.h
.. and 'tcl-8.5.7' provides /usr/bin/tclsh8.5
.....
.....

ScicosLab :
the 'git clone' is supposed to be the latest bug fixed version.
ScicosLab requires /usr/bin/g77 , and compiles with no errors
using either tcl-8.4.x or tcl-8.5.7
.....
 
Old 11-15-2009, 04:59 PM   #19
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Quote:
Originally Posted by smoooth103 View Post
Delete the manifest checking out of the slackbuild. There appears to be a problem with it. Once I removed it, it built correctly.

smoooth
I did so... and it progressed a lot further, but aborted at the patch thing...
#####################################
scilab-4.1.2/scilab.quit
scilab-4.1.2/SVN_revision.incl
patching file bin/scilink
patching file util/scidem
patching file util/scidoc
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file util/scidoc.rej
bash-3.1#

Is it safe to remove the patch thing from scilab.SlackBuild...?

BRGDS

Alex
 
Old 11-15-2009, 05:39 PM   #20
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi Knudfl, I did so...


Quote:
Originally Posted by knudfl View Post
# 13 :...cd scicoslab/
./autogen.sh
### Uncomment line 3...14 , Makefile.in .
./configure && make

Notice : 'g77' or similar is required.
.....
but...

bash-3.1$ ./configure
...............................

checking for values.h... yes
checking for main in -lncurses... yes
checking for PVM architecture... LINUXX86_64
configure: WARNING: checking for tcl/tk.
checking for Tcl configuration... configure: WARNING: Can't find Tcl configuration definitions

But Tcl and Tk are there allright

bash-3.1# find /mnt/cdrom -name tcl
/mnt/cdrom/slackware64/tcl
/mnt/cdrom/source/tcl
/mnt/cdrom/source/tcl/tcl
bash-3.1# ls /mnt/cdrom/slackware64/tcl
expect-5.44.1.11-x86_64-3.txt hfsutils-3.2.6-x86_64-4.txz maketag tcl-8.5.7-x86_64-1.txz tclx-8.4-x86_64-2.txz.asc tk-8.5.7-x86_64-1.txt
expect-5.44.1.11-x86_64-3.txz hfsutils-3.2.6-x86_64-4.txz.asc maketag.ez tcl-8.5.7-x86_64-1.txz.asc tix-8.4.3-x86_64-1.txt tk-8.5.7-x86_64-1.txz
expect-5.44.1.11-x86_64-3.txz.asc install-packages tagfile tclx-8.4-x86_64-2.txt tix-8.4.3-x86_64-1.txz tk-8.5.7-x86_64-1.txz.asc
hfsutils-3.2.6-x86_64-4.txt install.end tcl-8.5.7-x86_64-1.txt tclx-8.4-x86_64-2.txz tix-8.4.3-x86_64-1.txz.asc
bash-3.1# installpkg /mnt/cdrom/slackware64/tcl/tcl-8.5.7-x86_64-1.txz
Verifying package tcl-8.5.7-x86_64-1.txz.
Installing package tcl-8.5.7-x86_64-1.txz [ADD]:
PACKAGE DESCRIPTION:
# tcl (Tool Command Language)
#
# Tcl, developed by Dr. John Ousterhout, is a simple to use text-based
# script language with many built-in features which make it especially
# nice for writing interactive scripts.
#
Executing install script for tcl-8.5.7-x86_64-1.txz.
Package tcl-8.5.7-x86_64-1.txz installed.

bash-3.1# installpkg /mnt/cdrom/slackware64/tcl/tk-8.5.7-x86_64-1.txz
Verifying package tk-8.5.7-x86_64-1.txz.
Installing package tk-8.5.7-x86_64-1.txz [REC]:
PACKAGE DESCRIPTION:
# tk (Tk toolkit for Tcl)
#
# Tk is an extension to Tcl that allows you to quickly and easily build
# X11 applications that have the look and feel of Motif apps.
#
Executing install script for tk-8.5.7-x86_64-1.txz.
Package tk-8.5.7-x86_64-1.txz installed.

bash-3.1# find / -name tclsh
/root/Downloads/brlcad-7.16.0/misc/win32-msvc8/tclsh
/usr/bin/tclsh
/tmp/brlcad-7.16.0-src-1/misc/win32-msvc8/tclsh
bash-3.1#

bash-3.1# ls /usr/lib64 | grep libtcl
libtcl.so
libtcl8.5.so
libtclcad.a
libtclcad.la
libtclcad.so
libtclcad.so.19
libtclcad.so.19.0.1
libtclstub8.5.a
libtclx.so
libtclx8.4.so

bash-3.1# ls /usr/lib64 | grep libtk
libtk.so
libtk8.5.so
libtkstub8.5.a
bash-3.1#

What must I do here...? I guess some things are out of default prefix, but which...?



bash-3.1# ls /usr/include | grep tk
atk-1.0
gtk-1.2
gtk-2.0
gtk-unix-print-2.0
gtkhtml-2.0
gtkspell-2.0
itk.h
itkDecls.h
pygtk-2.0
tk-private
tk.h
tkDecls.h
tkPlatDecls.h
bash-3.1#


bash-3.1# ls /usr/include | grep tcl
expect_tcl.h
itcl.h
itclDecls.h
itclInt.h
itclIntDecls.h
k3bvideodvdtitledetectclippingjob.h
tcl-private
tcl.h
tclDecls.h
tclExtend.h
tclPlatDecls.h
tclTomMath.h
tclTomMathDecls.h
tcldbg.h
bash-3.1#


BRGDS


Alex
 
Old 11-15-2009, 10:20 PM   #21
smoooth103
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 238

Rep: Reputation: 60
Quote:
Originally Posted by Alexvader View Post
I did so... and it progressed a lot further, but aborted at the patch thing...
#####################################
scilab-4.1.2/scilab.quit
scilab-4.1.2/SVN_revision.incl
patching file bin/scilink
patching file util/scidem
patching file util/scidoc
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file util/scidoc.rej
bash-3.1#

Is it safe to remove the patch thing from scilab.SlackBuild...?

BRGDS

Alex
Yeah I think I took out the patch too. Sorry I didn't mention before. After that, it made a package, I installed it.. and scilab appears to work normally...

I'm not using scilab in a production environment either -- mostly as a toy, so if you are -- you may want to look into what the patch is for.

Hope this helps,
smoooth103
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Status of compilation of Scilab (v4.x and v5.1.1 ) under Slackware 13 Alexvader Slackware 1 10-26-2009 08:53 AM
For the Krusader fans on slackware64 slackbuild ROXR Slackware 0 07-20-2009 07:03 PM
Kmymoney2 Slackware64 Sbo Slackbuild Error AlleyTrotter Slackware 4 07-05-2009 11:10 PM


All times are GMT -5. The time now is 10:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration