LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-23-2012, 07:53 AM   #1
VisionIncision
Member
 
Registered: Dec 2011
Location: Wiltshire, UK
Distribution: Slackware, Gentoo
Posts: 130

Rep: Reputation: 3
Smile Slackware64 13.37 Multilib


Hi all,
I am currently running Slackware64 13.37 and have made no effort to enable multilib, as of yet.

I really like the idea of a pure 64bit system, however, I really need to be able to use Octave, also Sage Math would be nice too! However, I am concerned with the risk of breaking my system by enabling multilib support.

I have read through Alien's guide here:- http://alien.slackbook.org/dokuwiki/...kware:multilib

What I am wondering is, what happens when I want to upgrade to Slackware64 14? Would I have to perform a fresh install. Would installing the compat-32 packages have the potential to cause any sort of conflict?

Sorry this is lengthy for a simple question, but I guess the meat of it is this; what are the odds of having a broken system afterwards?

Regards,
Jack Hunt
 
Old 07-23-2012, 08:55 AM   #2
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
I think that you can build and install both Octave and Sage Math on a pure 64 bit installation. Build scripts for both are available from slackbuilds.org.
 
Old 07-23-2012, 08:59 AM   #3
VisionIncision
Member
 
Registered: Dec 2011
Location: Wiltshire, UK
Distribution: Slackware, Gentoo
Posts: 130

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by ChrisAbela View Post
I think that you can build and install both Octave and Sage Math on a pure 64 bit installation. Build scripts for both are available from slackbuilds.org.
I did try, but I got the error about the C compiler not being able to create executables with Octave, and the same with the x86_64 version of Sage from their website.

Thanks.
 
Old 07-23-2012, 09:08 AM   #4
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by VisionIncision View Post
I did try, but I got the error about the C compiler not being able to create executables with Octave, and the same with the x86_64 version of Sage from their website.

Thanks.
Octave requires blas and lapack. Did you build and install them before you attempted to build Octave?

Last edited by mats_b_tegner; 07-23-2012 at 09:11 AM.
 
Old 07-23-2012, 09:10 AM   #5
VisionIncision
Member
 
Registered: Dec 2011
Location: Wiltshire, UK
Distribution: Slackware, Gentoo
Posts: 130

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by mats_b_tegner View Post
Octave needs blas and lapack. Did you build and install them before you attempted to build Octave?
I think so, I do usually check dependencies beforehand. I shall double check when my system is up and running again (an update went bad about 10 mins ago).

Thanks.
 
Old 07-23-2012, 09:22 AM   #6
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 572

Rep: Reputation: 154Reputation: 154
I am not sure what you mean by "executables". Normally I run scripts or directly from CLI. Anyway the following worked for me:

Quote:
bash-4.1$ cat foobar.m
printf ("Hello, world!\n");
bash-4.1$ octave foobar.m
GNU Octave, version 3.4.2
Copyright (C) 2011 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'.

Octave was configured for "i486-slackware-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

Hello, world!
both on my 13.37 Slack32 and pure Slack64 VM.
 
Old 07-23-2012, 09:57 AM   #7
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 154

Rep: Reputation: 43
Quote:
Originally Posted by VisionIncision View Post
What I am wondering is, what happens when I want to upgrade to Slackware64 14? Would I have to perform a fresh install. Would installing the compat-32 packages have the potential to cause any sort of conflict?
Hi,

you should experience no problems during upgrade, provided you follow Alien Bob's manual and put some effort to understand it. I've done many wrong things with my multilib Slackware installs, but it was always me failing to take a look at the manual
 
Old 07-23-2012, 12:13 PM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Make sure you have all the development packages installed. You should be able to build both under 64-bit. I personally avoid multilib except in cases when I have to run proprietary 32-bit only apps, which is never the case anymore for me. It is much simpler and cleaner to run pure 64-bit.
 
Old 07-23-2012, 12:59 PM   #9
VisionIncision
Member
 
Registered: Dec 2011
Location: Wiltshire, UK
Distribution: Slackware, Gentoo
Posts: 130

Original Poster
Rep: Reputation: 3
Ok, so an update. I have tried to compile Octave on my non multilib system, and I did not get the C compiler error. However, it did complain about TeX, however I am installing texlive as we speak. Once this is fixed, it should all work. No need for multilib. If Sage works as well then brilliant.

The problem was that I had the current mirror enabled in /etc/slackpkg/mirrors, so when I did updates it made my system rather weird, which I think affected GCC.

Thanks for the responses, I should be number crunching in no time
 
  


Reply

Tags
multilib, slackware


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
Multilib with Slackware64-bit riganta Slackware 2 06-11-2011 12:57 PM
Slackware64 13.37 multilib + doxygen sycamorex Slackware 0 04-29-2011 01:45 PM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
Slackware64 multilib and ettercap Bart_ Slackware 1 12-27-2010 06:23 AM
slackware64 multilib pros and cons? Pluribootent Slackware 6 03-18-2010 09:11 AM

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

All times are GMT -5. The time now is 11:25 PM.

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