[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: installing octave on Redhat 5.8
From: |
CdeMills |
Subject: |
Re: installing octave on Redhat 5.8 |
Date: |
Thu, 27 Mar 2014 02:37:16 -0700 (PDT) |
parafux wrote
> Hi,
>
> I want to install (compile) octave locally, because i do not have any root
> rights.
> I used the command:
> ~/octave-3.8.0>./configure --prefix=/tools/octave/
> and get the following message:
> configure: error: to build Octave, you must have the PCRE library and
> header files installed
> but i already installed pcre into my home-dir:
> ~/octave-3.8.0>ll /home/a15216/opt/local/bin/
> total 256
> drwxr-xr-x 2 a15216 vlsi 4096 Mar 27 07:43 ./
> drwxr-xr-x 6 a15216 vlsi 4096 Mar 27 07:43 ../
> -rwxr-xr-x 1 a15216 vlsi 2375 Mar 27 07:43 pcre-config*
> -rwxr-xr-x 1 a15216 vlsi 86117 Mar 27 07:43 pcregrep*
> -rwxr-xr-x 1 a15216 vlsi 148177 Mar 27 07:43 pcretest*
> I also added the path to my PATH variable at the beginning
Non-standard installation. You need to provide some hint to the compiler to
find your files:
env CPPFLAGS="-I${HOME}/opt/local/include" LDFLAGS="-L${HOME}/opt/local/lib
./configure --prefix=/tools/octave
You may need to further refine this depending on the path where components
(include file, library .a and .so files) can be found. To figure it out:
./configure --help
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/installing-octave-on-Redhat-5-8-tp4663331p4663333.html
Sent from the Octave - General mailing list archive at Nabble.com.