[Top][All Lists]

[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: Mike Miller
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:54:11 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0

Update of bug #41711 (project octave):

                  Status:                    None => Need Info              


Follow-up Comment #1:

Hi, thanks for your bug report. I think this falls under user error due to
your use of the -fPIC option in CPPFLAGS. Please try removing that option from
your configure line and report back if that allows your build to succeed.

Now, the specific reason for the error in this case is that -fPIC isn't really
a preprocessor option, it's a compilation option. So it shouldn't be in
CPPFLAGS, it should rather be in CFLAGS/CXXFLAGS/FFLAGS. But one of the
advantages of using libtool is that it figures this stuff out on its own, so
you really don't need to specify -fPIC at all.

Lastly, Octave is passing all preprocessor options on to the moc command,
which only understands the basics: -I, -D, and -U. The -f option to moc means
"add an explicit #include for the following file", which is exactly what
you're seeing.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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