[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile Problem with Octave
From: |
John W. Eaton |
Subject: |
Compile Problem with Octave |
Date: |
Thu, 11 Aug 2011 18:30:26 -0400 |
On 11-Aug-2011, Feuerbacher, Alan wrote:
| In trying to install Octave 3.4.2 on a company computer running Red Hat Linux
| 5, I got the following error when running make:
|
|
|
| Making all in src
|
| make[2]: Entering directory `/home/afbacher/GCC/Octave/octave-3.4.2/src'
|
| ./DLD-FUNCTIONS/config-module.sh ..
|
| ../src/DLD-FUNCTIONS/module.mk is unchanged
|
| \
|
| # \
|
| \
|
| \
|
| -lpcre \
|
| \
|
| \
|
| \
|
| \
|
| \
|
| \
|
| \
|
| -lreadline -lncurses \
|
| \
|
| -llapack -lcblas -lf77blas -latlas \
|
| \
|
| -lm \
|
| -L/home/afbacher/GCC/GCC_2_4.6.1/install/lib -L/home/afbacher/GCC/PCRE/
| install/lib -L/home/afbacher/GCC/LAPACK/ATLAS3.8.4/install/lib
-L/home/afbacher
| /GCC/Octave/install/lib -L/home/afbacher/GCC/GCC_2_4.6.1/install/lib/gcc/
| x86_64-unknown-linux-gnu/4.6.1
-L/home/afbacher/GCC/GCC_2_4.6.1/install/lib/gcc
| /x86_64-unknown-linux-gnu/4.6.1/../../../../lib64 -L/lib/../lib64
-L/usr/lib/..
| /lib64 -L/home/afbacher/GCC/GCC_2_4.6.1/install/lib/gcc/
| x86_64-unknown-linux-gnu/4.6.1/../../.. -lgfortran -lm -lquadmath
|
| /bin/sh: line 12: -lpcre: command not found
|
| make[2]: *** [DLD-FUNCTIONS/module.mk] Error 127
|
| make[2]: Leaving directory `/home/afbacher/GCC/Octave/octave-3.4.2/src'
|
| make[1]: *** [all-recursive] Error 1
|
| make[1]: Leaving directory `/home/afbacher/GCC/Octave/octave-3.4.2'
|
| make: *** [all] Error 2
|
|
|
| I have no clue what to do about this.
|
| Related to this problem is that, just prior to getting to this point in
running
| make, I got an error like ?Missing message separator? for the above line
| beginning with DLD-FUNCTIONS. I found a fix on the Net: In the Makefile
replace
| the five spaces at the beginning of the next line with a tab. You can see in
| the above where I commented out the line with five spaces and added one with a
| tab. This got past the message separator problem.
It looks like there are some things missing in that command. It is
certainly not supposed to start with -lpcre, which is the name of a
library. It should start with a libtool link command. I can't tell
why this is happening without seeing more context. For starters, can
you send the Makefile? The mailing list has a size limit for
postings, so you'll need to compress it before attaching it.
| I?ve also found a number of things in the build process that might be
improved,
| since I had to jump through some hoops (partly because of my relative
| inexperience in compiling GNU source code) to get things to work. If you folks
| are interested in my input, as a relatively naïve user of Octave, please let
| me know.
Sure, post the problems you found. If you think they are bugs, it
might be best to report them here:
https://savannah.gnu.org/bugs/?func=additem&group=octave
jwe