help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling for Octave 4.0.0 in ubuntu 14.04 error


From: Rick T
Subject: Re: Compiling for Octave 4.0.0 in ubuntu 14.04 error
Date: Thu, 23 Jul 2015 02:21:23 -0400

Karl I'm the original person who posted the question and I'm the one that included that link hahahah. I even tried

https://scivision.co/compiling-octave-4-0-on-ubuntu-14-04/#comment-931

On Thu, Jul 23, 2015 at 12:58 AM, karl <address@hidden> wrote:
Am 22.07.2015 um 23:47 schrieb Rick T:

Maybe this helps:

http://www.schoeps.org/home/2015/06/five-simple-instructions-to-compile-octave-4-on-ubuntu/

I tried to install your ppa into ubuntu 14.04 - 64 bit but I got these errors

The following packages have unmet dependencies:

octave: Depends: libgcc1 (>= 1:4.1.1) but 1:4.9.1-0ubuntu1 is to be installed
        Depends: libglpk36 (>= 4.51) but 4.52.1-2build1 is to be installed
        Depends: liboctave3 (= 4.1.0+hg20150613.20259.4c426eb2eb53-0~ppa1~trusty1) but 4.1.0+hg20150613.20259.4c426eb2eb53-0~ppa1~trusty1 is to be installed
        Depends: libgl1-mesa-glide3 but it is not going to be installed
        Depends: libportaudio2 (>= 19+svn20101113) but 19+svn20140130-1 is to be installed
        Depends: libqt4-network (>= 4:4.5.3) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
        Depends: libqt4-opengl (>= 4:4.5.3) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
        Depends: libqtcore4 (>= 4:4.7.0~beta1) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
        Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
        Depends: libstdc++6 (>= 4.6) but 4.8.4-2ubuntu1~14.04 is to be installed
        Depends: octave-common (= 4.1.0+hg20150613.20259.4c426eb2eb53-0~ppa1~trusty1) but 4.1.0+hg20150613.20259.4c426eb2eb53-0~ppa1~trusty1 is to be installed




On Wed, Jul 22, 2015 at 1:23 PM, <address@hidden> wrote:
On Thursday, July 23, 2015 01:02 AM, RT wrote:
I followed these instructions because I couldn't find any for 14.04 ubuntu.

http://www.schoeps.org/home/2015/06/five-simple-instructions-to-compile-octave-4-on-ubuntu/


# 1) get necessary dev-tools
sudo apt-get install g++ gcc gfortran make autoconf automake bison flex gperf gzip icoutils librsvg2-bin libtool perl rsync tar
# 2) get necessary packages
sudo apt-get install libblas-dev liblapack-dev libpcre3-dev libarpack2-dev libcurl4-gnutls-dev epstool libfftw3-dev transfig libfltk1.3-dev libfontconfig1-dev libfreetype6-dev libgl2ps-dev libglpk-dev libreadline-dev gnuplot libgraphicsmagick++-dev libhdf5-serial-dev openjdk-7-jdk libsndfile1-dev llvm-dev lpr texinfo libgl1-mesa-dev libosmesa6-dev pstoedit portaudio19-dev libqhull-dev libqrupdate-dev libqscintilla2-dev libqt4-dev libqtcore4 libqtwebkit4 libqt4-network libqtgui4 libsuitesparse-dev libxft-dev zlib1g-dev
# 3) download and extract
cd /tmp
wget -cftp://ftp.gnu.org/gnu/octave/octave-4.0.0.tar.gz
tar -xzf octave-4.0.0.tar.gz
cd octave-4.0.0
# 4) configure and make
./configure --prefix=/opt/octave-4.0.0 CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial
make
make check
# 5) install
sudo make install


I tried this but get an error when I run #2 I try and configure but I
get an error

The following packages have unmet dependencies:
  libosmesa6-dev : Depends: libosmesa6 (= 10.1.3-0ubuntu0.4) but it is
not going to be installed
E: Unable to correct problems, you have held broken packages.

And

configure: error: to build Octave, you must have the PCRE library and
header files installed

Hi RT,

If you don't mind using unofficial packages, there's a ppa of octave 4.1 for ubuntu trusty.

https://launchpad.net/~dac922/+archive/ubuntu/octave-unstable

You can also download the source package and look at the debian/control file for the build dependencies, or build it the debian way. :-)

Regards,
ST
--


_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave



_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]