[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: Gecko/20110616 Red Hat/3.6-1.el5_6 Firefox/3.6.18


                 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



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

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"

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.


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:


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
> #    $(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.sh $(top_srcdir)

I suspect that the problem is in Makefile.am . Lines 541-543 are:

    ../libgnu/libgnu.la \

I think there should be a "\" at the end of line 542.

The compressed Makefile is attached.


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
./DLD-FUNCTIONS/config-module.sh ..
../src/DLD-FUNCTIONS/module.mk is unchanged
     -lpcre \
    -lreadline -lncurses \
    -llapack -lcblas -lf77blas -latlas \
    -lm   \
-L/lib/../lib64 -L/usr/lib/../lib64
-lgfortran -lm -lquadmath
make[2]: -lpcre: Command not found
make[2]: *** [DLD-FUNCTIONS/module.mk] Error 127
make[2]: Leaving directory
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.


File Attachments:

Date: Tue 16 Aug 2011 08:37:49 PM UTC  Name: Makefile.bz2  Size: 43kB   By:



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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