LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware64 13.37 Multilib (http://www.linuxquestions.org/questions/slackware-14/slackware64-13-37-multilib-4175418229/)

VisionIncision 07-23-2012 07:53 AM

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

ChrisAbela 07-23-2012 08:55 AM

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.

VisionIncision 07-23-2012 08:59 AM

Quote:

Originally Posted by ChrisAbela (Post 4735866)
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.

mats_b_tegner 07-23-2012 09:08 AM

Quote:

Originally Posted by VisionIncision (Post 4735873)
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?

VisionIncision 07-23-2012 09:10 AM

Quote:

Originally Posted by mats_b_tegner (Post 4735881)
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.

ChrisAbela 07-23-2012 09:22 AM

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.

tomtomjkw 07-23-2012 09:57 AM

Quote:

Originally Posted by VisionIncision (Post 4735813)
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 :)

H_TeXMeX_H 07-23-2012 12:13 PM

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.

VisionIncision 07-23-2012 12:59 PM

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 :D


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