octave-maintainers
[Top][All Lists]
Advanced

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

Re: Build failure on centos 6.4


From: Mike Miller
Subject: Re: Build failure on centos 6.4
Date: Thu, 21 Nov 2013 22:56:32 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

On Fri, 22 Nov 2013 10:53:14 +0800, Leo Liu wrote:
> Hello again,
> 
> My build script:
> 
>   cd $HOME/sources/octave
>   hg purge --all
>   ./bootstrap
>   ./configure --prefix=/usr/local/octave
> 
> Keeps failing on CentOS 6.4. Could someone help?

I don't get any such error building on CentOS 6 here. Can you try to
track down this error

> In file included from 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/x86_64-redhat-linux/bits/gthr-default.h:42,
>                  from 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/x86_64-redhat-linux/bits/gthr.h:162,
>                  from 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/atomicity.h:34,
>                  from 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/basic_string.h:41,
>                  from 
> /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:53,
>                  from /usr/include/QtCore/qstring.h:60,
>                  from /usr/include/QtCore/qobject.h:48,
>                  from /usr/include/QtCore/qcoreapplication.h:45,
>                  from /usr/include/QtGui/qapplication.h:45,
>                  from /usr/include/QtGui/QApplication:1,
>                  from src/octave-dock-widget.cc:24:
> ../libgnu/unistd.h:121:3: error: #error "Please include config.h first."

to start? For example, do you have a config.h file at the top level of
your build directory? Does it have the symbols _GL_INLINE_HEADER_BEGIN
and _GL_INLINE_HEADER_END defined? Do you possibly have a different
config.h file somewhere else in your build directory or elsewhere in
your include paths?

Also what revision are you building?

  $ hg id
  7c48493d98e1 tip @

And finally note the recommended way to build as described in etc/HACKING is

  ./bootstrap
  mkdir .build
  cd .build
  ../configure
  make

-- 
mike


reply via email to

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