|
From: | Feuerbacher, Alan |
Subject: | Compile Problem with Octave |
Date: | Thu, 11 Aug 2011 21:51:47 +0000 |
Hi, 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. 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. Alan Feuerbacher |
[Prev in Thread] | Current Thread | [Next in Thread] |