[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34030] make fails with "Missing message separ
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #34030] make fails with "Missing message separator", "-lpcre: Command not found" |
Date: |
Tue, 16 Aug 2011 20:37:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.18) Gecko/20110616 Red Hat/3.6-1.el5_6 Firefox/3.6.18 |
URL:
<http://savannah.gnu.org/bugs/?34030>
Summary: make fails with "Missing message separator",
"-lpcre: Command not found"
Project: GNU Octave
Submitted by: None
Submitted on: Tue 16 Aug 2011 08:37:49 PM UTC
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name: Alan Feuerbacher
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.4.2
Operating System: GNU/Linux
_______________________________________________________
Details:
I'm reporting two separate but probably related bugs here. I think I've found
the cause of one, but not the other.
I'm compiling Octave-3.4.2 on one of my company's servers which runs Redhat 5.
It's a Dell 2-core Xeon machine.
Doing cat /proc/version yields:
Linux version 2.6.18-194.11.1.el5 (address@hidden) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Tue Jul 27 05:45:06 EDT
2010
I'm using gcc-4.6.1 for the gcc, g++ and gfortran compilers.
To get Octave to configure, I had to install ncurses-5.9, readline-6.2,
pcre-8.12, lapack-3.3.1 and the BLAS libraries with atlas3.8.4 .
I'm not the system administrator, so I'm installing everything in my own
directory structure. Since I'm relatively new to compiling GNU stuff, all this
is not terribly well organized, so please bear with me. I've done a lot of
experimenting to get to the point where configure runs all the way through.
Configure script:
./configure --prefix=/home/afbacher/GCC/Octave/install --enable-shared=no
--enable-dl=no --enable-extra-warning-flags --enable-strict-warning-flags
--without-opengl --without-glpk --with-blas="-lcblas -lf77blas -latlas"
--with-lapack="-llapack"
CXX=/home/afbacher/GCC/GCC_2_4.6.1/install/bin/c++-4.6.1
CC=/home/afbacher/GCC/GCC_2_4.6.1/install/bin/gcc-4.6.1
CPP=/home/afbacher/GCC/GCC_2_4.6.1/install/bin/cpp-4.6.1
CPPFLAGS="-I/home/afbacher/GCC/PCRE/install/include
-I/home/afbacher/GCC/Octave/install/include"
F77=/home/afbacher/GCC/GCC_2_4.6.1/install/bin/gfortran-4.6.1
LDFLAGS="-L/home/afbacher/GCC/GCC_2_4.6.1/install/lib64
-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"
Note that when I use "..../" it means "Wherever I've installed the source
code". At this point I'm also compiling Octave in a temporary directory.
*FIRST BUG*
When compiling in ..../octave-3.4.2/src the make script gives an error
something like:
"Missing message separator"
I found a discussion online that pointed me in the right direction: the
Makefile has spaces instead of a tab at the beginning of a command line.
In this case, ..../octave-3.4.2/src has a Makefile which at line 9684 has:
$(QHULL_LDFLAGS) $(QHULL_LIBS) \
This has 4 spaces at the beginning -- they should be a TAB because that's what
gmake requires.
I modified the Makefile accordingly and it got further along.
Here's the output of diff for the before and after Makefiles:
$ diff Makefile.original Makefile.modified
9684c9684,9685
< $(QHULL_LDFLAGS) $(QHULL_LIBS) \
---
> # $(QHULL_LDFLAGS) $(QHULL_LIBS) \The problem appears to be in the file
Makefile.in on line 9684 which contains " $(QHULL_LDFLAGS) $(QHULL_LIBS)
\".
This contains the offending 4 spaces at the beginning of the line. The lines
9682-9685 around it are:
$(srcdir)/DLD-FUNCTIONS/module.mk: $(srcdir)/DLD-FUNCTIONS/config-module.sh
$(srcdir)/DLD-FUNCTIONS/config-module.awk
$(srcdir)/DLD-FUNCTIONS/module-files
$(srcdir)/DLD-FUNCTIONS/config-module.sh $(top_srcdir)
@AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(QHULL_LDFLAGS) $(QHULL_LIBS) \
@AMCOND_ENABLE_DYNAMIC_LINKING_FALSE@ $(QRUPDATE_LDFLAGS) $(QRUPDATE_LIBS)
\
I suspect that the problem is in Makefile.am . Lines 541-543 are:
../libgnu/libgnu.la \
$(FFTW_XLDFLAGS) $(FFTW_XLIBS)
$(QHULL_LDFLAGS) $(QHULL_LIBS) \
I think there should be a "\" at the end of line 542.
The compressed Makefile is attached.
*SECOND BUG*
I suspect that this is related to the first bug.
After I corrected the above bug, make got to a certain point and gave an error
message like so:
Making all in src
make[2]: Entering directory
`/home/afbacher/GCC/Octave/Tempbuild/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/lib64
-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
make[2]: -lpcre: Command not found
make[2]: *** [DLD-FUNCTIONS/module.mk] Error 127
make[2]: Leaving directory
`/home/afbacher/GCC/Octave/Tempbuild/octave-3.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/afbacher/GCC/Octave/Tempbuild/octave-3.4.2'
make: *** [all] Error 2
I have no clue where to go from here. Any help will be appreciated.
> $(QHULL_LDFLAGS) $(QHULL_LIBS) \
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 16 Aug 2011 08:37:49 PM UTC Name: Makefile.bz2 Size: 43kB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=23821>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34030>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34030] make fails with "Missing message separator", "-lpcre: Command not found",
anonymous <=