polyglot
Posts: 2
Joined: Fri Nov 16, 2018 1:16 am

c++ v8.2.0 errors on x86_64-solus-linux

Fri Nov 16, 2018 1:29 am

Team.

I'm working with a node project that runs make to build some of its components.

The project builds fine on other distros, Ubuntu, Mint, but c++ breaks on Solus OS c++ version 8.2.0 which is the latest version installed from the Solus Software Center.

Specifically, this version is missing some header files and ' missing binary operator' on os_defines.h

Any guidance is appreciated.

Below are error details.

Code: Select all

In file included from /usr/include/c++/8.2.0/x86_64-solus-linux/bits/c++config.h:508,
                 from /usr/include/c++/8.2.0/bits/stl_algobase.h:59,
                 from /usr/include/c++/8.2.0/bits/stl_tree.h:63,
                 from /usr/include/c++/8.2.0/set:60,
                 from ../src/libsass/src/ast.hpp:4,
                 from ../src/libsass/src/ast.cpp:2:
/usr/include/c++/8.2.0/x86_64-solus-linux/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
 #include <features.h>
          ^~~~~~~~~~~~
compilation terminated.

Code: Select all

/usr/include/c++/8.2.0/x86_64-solus-linux/bits/os_defines.h:44:19: error: missing binary operator before token "("
 #if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)
                   ^
In file included from /usr/include/c++/8.2.0/bits/postypes.h:40,
                 from /usr/include/c++/8.2.0/bits/char_traits.h:40,
                 from /usr/include/c++/8.2.0/string:40,
                 from ../src/libsass/src/ast.hpp:7,
                 from ../src/libsass/src/ast.cpp:2:
/usr/include/c++/8.2.0/cwchar:44:10: fatal error: wchar.h: No such file or directory
 #include <wchar.h>
          ^~~~~~~~~
compilation terminated.
Thank you and keep up the good work.

User avatar
kyrios
Posts: 2349
Joined: Thu Sep 22, 2016 4:20 pm

Re: c++ v8.2.0 errors on x86_64-solus-linux

Fri Nov 16, 2018 7:09 pm

polyglot wrote:
Fri Nov 16, 2018 1:29 am
Team.

I'm working with a node project that runs make to build some of its components.

The project builds fine on other distros, Ubuntu, Mint, but c++ breaks on Solus OS c++ version 8.2.0 which is the latest version installed from the Solus Software Center.

Specifically, this version is missing some header files and ' missing binary operator' on os_defines.h

Any guidance is appreciated.

Below are error details.

Code: Select all

In file included from /usr/include/c++/8.2.0/x86_64-solus-linux/bits/c++config.h:508,
                 from /usr/include/c++/8.2.0/bits/stl_algobase.h:59,
                 from /usr/include/c++/8.2.0/bits/stl_tree.h:63,
                 from /usr/include/c++/8.2.0/set:60,
                 from ../src/libsass/src/ast.hpp:4,
                 from ../src/libsass/src/ast.cpp:2:
/usr/include/c++/8.2.0/x86_64-solus-linux/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
 #include <features.h>
          ^~~~~~~~~~~~
compilation terminated.

Code: Select all

/usr/include/c++/8.2.0/x86_64-solus-linux/bits/os_defines.h:44:19: error: missing binary operator before token "("
 #if __GLIBC_PREREQ(2,15) && defined(_GNU_SOURCE)
                   ^
In file included from /usr/include/c++/8.2.0/bits/postypes.h:40,
                 from /usr/include/c++/8.2.0/bits/char_traits.h:40,
                 from /usr/include/c++/8.2.0/string:40,
                 from ../src/libsass/src/ast.hpp:7,
                 from ../src/libsass/src/ast.cpp:2:
/usr/include/c++/8.2.0/cwchar:44:10: fatal error: wchar.h: No such file or directory
 #include <wchar.h>
          ^~~~~~~~~
compilation terminated.
Thank you and keep up the good work.

Well I highly doubt that Solus OS ever had c++ v8.2.0 since it was discontinued in 2013 :shock:

On Solus, I would try to install the system.devel with the below command

Code: Select all

sudo eopkg install -c system.devel

Question why is there so many people saying Solus OS while they don't say Debian OS, Ubuntu OS, ArchLinux OS, Android OS, WIndows OS, macOS OS, iOS OS, Fedora OS, RedHat OS, openSUSE OS, etc ??? There is not a single mention of Solus OS on the ISO, on the official sites except on the branding page to say that Solus shall not be used in conjunction with other acronyms or terminology. :geek:

polyglot
Posts: 2
Joined: Fri Nov 16, 2018 1:16 am

Re: c++ v8.2.0 errors on x86_64-solus-linux

Tue Nov 20, 2018 1:43 am

kyrios wrote:
Fri Nov 16, 2018 7:09 pm

On Solus, I would try to install the system.devel with the below command

Code: Select all

sudo eopkg install -c system.devel
Perfect! system.devel also installed a more current version of cmake.

Thanks again. :ugeek:

User avatar
kyrios
Posts: 2349
Joined: Thu Sep 22, 2016 4:20 pm

Re: c++ v8.2.0 errors on x86_64-solus-linux

Tue Nov 20, 2018 10:09 am

polyglot wrote:
Tue Nov 20, 2018 1:43 am
Perfect! system.devel also installed a more current version of cmake.

Thanks again. :ugeek:
No prob. :D
If you got a more current version of cmake it means your system wasn't up-to-date because there is only 1 version of cmake at a time in the repository.

Return to “Packaging”