octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41711] Build fails for libtool: moc-file-edit


From: anonymous
Subject: [Octave-bug-tracker] [bug #41711] Build fails for libtool: moc-file-editor-interface.cc: PIC: No such file or directory
Date: Wed, 26 Feb 2014 17:30:00 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0

URL:
  <http://savannah.gnu.org/bugs/?41711>

                 Summary: Build fails for libtool:
moc-file-editor-interface.cc: PIC: No such file or directory
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 26 Feb 2014 05:29:58 PM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Alexander Kolovos
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Unsure whether this is a bug, a system-related issue, or my bad; please
advise.

I am attempting to build Octave 3.8.0 (also verified the issue on v.3.8.1 RC3)
on SUSE Linux Enterprise Server (SLES) 11 SP1.

I use the following to configure the build:

./configure CPPFLAGS="-fPIC -I/usr/include -I/usr/share/qhull-2012.1/src"
CFLAGS="-I/usr/share/qhull-2012.1/src" LDFLAGS="-L/usr/lib64 -L/usr/local/lib
-L/usr/lib" LD_LIBRARY_PATH="/usr/lib64" --enable-float --enable-shared
--enable-64 --with-fftw3=yes --with-qhull


The build continues well for a while until it comes to libtool, and
specifically the M-editor interface. After MOC creates the
"moc-file-editor-interface.cc" file, compilation produces an error about the
#include statement on line 13 of this file where it is specified:

#include "PIC"


The build output from the creation of the "moc-file-editor-interface.cc" file
and onwards is appended at the bottom of my message. I only once found the
same error appearing on posts online but was unable to find how it was
resolved. Could it be my SLES11-SP1 installation lacks some library or tweak?
What am I possibly doing wrong?

Thanks,
Alexander.


( echo '#ifdef HAVE_CONFIG_H'; echo '#include <config.h>'; echo '#endif'; moc
-DHAVE_CONFIG_H -I. -I..   -fPIC -I/usr/include -I/usr/share/qhull-2012.1/src 
 src/m-editor/file-editor-interface.h ) >
src/m-editor/moc-file-editor-interface.cc-t
mv src/m-editor/moc-file-editor-interface.cc-t
src/m-editor/moc-file-editor-interface.cc
/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  
-I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtNetwork
-I./qterminal/libqterminal -Isrc -I./src -I./src/m-editor -I./src/qtinfo
-I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric
-I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators
-I../liboctave/system -I../liboctave/util -I../libinterp -I../libinterp
-I../libinterp/parse-tree -I../libinterp/parse-tree -I../libinterp/corefcn
-I../libinterp/corefcn -I../libinterp/octave-value -I../libgnu -I../libgnu
-fPIC -I/usr/include -I/usr/share/qhull-2012.1/src  -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -g -O2 -pthread -MT
src/m-editor/src_libgui_src_la-moc-file-editor-interface.lo -MD -MP -MF
src/m-editor/.deps/src_libgui_src_la-moc-file-editor-interface.Tpo -c -o
src/m-editor/src_libgui_src_la-moc-file-editor-interface.lo `test -f
'src/m-editor/moc-file-editor-interface.cc' || echo
'./'`src/m-editor/moc-file-editor-interface.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/QtCore
-I/usr/include/QtGui -I/usr/include/QtNetwork -I./qterminal/libqterminal -Isrc
-I./src -I./src/m-editor -I./src/qtinfo -I../liboctave/cruft/misc
-I../liboctave/array -I../liboctave/numeric -I../liboctave/numeric
-I../liboctave/operators -I../liboctave/operators -I../liboctave/system
-I../liboctave/util -I../libinterp -I../libinterp -I../libinterp/parse-tree
-I../libinterp/parse-tree -I../libinterp/corefcn -I../libinterp/corefcn
-I../libinterp/octave-value -I../libgnu -I../libgnu -fPIC -I/usr/include
-I/usr/share/qhull-2012.1/src -Wall -W -Wshadow -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -MT
src/m-editor/src_libgui_src_la-moc-file-editor-interface.lo -MD -MP -MF
src/m-editor/.deps/src_libgui_src_la-moc-file-editor-interface.Tpo -c
src/m-editor/moc-file-editor-interface.cc  -fPIC -DPIC -o
src/m-editor/.libs/src_libgui_src_la-moc-file-editor-interface.o
src/m-editor/moc-file-editor-interface.cc:13:15: error: PIC: No such file or
directory
src/m-editor/moc-file-editor-interface.cc:15:2: error: #error "The header file
'file-editor-interface.h' doesn't include <QObject>."
src/m-editor/moc-file-editor-interface.cc:23: error: expected constructor,
destructor, or type conversion before 'static'
src/m-editor/moc-file-editor-interface.cc:68: error: 'QMetaObject' does not
name a type
src/m-editor/moc-file-editor-interface.cc:77: error: expected initializer
before '*' token
src/m-editor/moc-file-editor-interface.cc:82: error: 'file_editor_interface'
has not been declared
src/m-editor/moc-file-editor-interface.cc: In function 'void*
qt_metacast(const char*)':
src/m-editor/moc-file-editor-interface.cc:85: error: 'strcmp' was not declared
in this scope
src/m-editor/moc-file-editor-interface.cc:86: error: expected type-specifier
before 'file_editor_interface'
src/m-editor/moc-file-editor-interface.cc:86: error: expected `>' before
'file_editor_interface'
src/m-editor/moc-file-editor-interface.cc:86: error: expected `(' before
'file_editor_interface'
src/m-editor/moc-file-editor-interface.cc:86: error: 'file_editor_interface'
was not declared in this scope
src/m-editor/moc-file-editor-interface.cc:86: error: expected
primary-expression before '>' token
src/m-editor/moc-file-editor-interface.cc:86: error: invalid use of 'this' in
non-member function
src/m-editor/moc-file-editor-interface.cc:86: error: expected `)' before ';'
token
src/m-editor/moc-file-editor-interface.cc:87: error: 'octave_dock_widget' has
not been declared
src/m-editor/moc-file-editor-interface.cc: At global scope:
src/m-editor/moc-file-editor-interface.cc:90: error: 'file_editor_interface'
has not been declared
src/m-editor/moc-file-editor-interface.cc:90: error: 'QMetaObject' has not
been declared
src/m-editor/moc-file-editor-interface.cc:90: error: expected
primary-expression before 'int'
src/m-editor/moc-file-editor-interface.cc:90: error: expected
primary-expression before 'void'
src/m-editor/moc-file-editor-interface.cc:90: error: initializer expression
list treated as compound expression
src/m-editor/moc-file-editor-interface.cc:91: error: expected ',' or ';'
before '{' token
make[3]: *** [src/m-editor/src_libgui_src_la-moc-file-editor-interface.lo]
Error 1
make[3]: Leaving directory `/usr/share/octave-3.8.1-rc3/libgui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/share/octave-3.8.1-rc3/libgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/share/octave-3.8.1-rc3'
make: *** [all] Error 2






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41711>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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