Errors with EasyApache - won't compile

kortezubi

Registered
Jun 10, 2010
1
0
51
I have been trying to compile Apache using EasyApache via WHM but I get errors and it reverts to the original config. Following is the first error in the log which I believe it the cause of my problems:
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
libstdc++-devel x86_64 4.1.2-48.el5 base 2.8 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 2.8 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: libstdc++-devel ######################### [1/1]Error unpacking rpm package libstdc++-devel - 4.1.2-48.el5.x86_64

error: unpacking of archive failed on file /usr/include/c++/4.1.1/org: cpio: mkdir
Installed: libstdc++-devel.x86_64 0:4.1.2-48.el5
Complete!
...then I get the following...
In file included from pcrecpp.cc:42:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/string:44:28: error: bits/c++config.h: No such file or directory
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:69,
from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/char_traits.h:46,
from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/string:46,
from pcrecpp.cc:42:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iosfwd:45:29: error: bits/c++locale.h: No such file or directory
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iosfwd:46:25: error: bits/c++io.h: No such file or directory
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/memory:54,
from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/string:47,
from pcrecpp.cc:42:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/allocator.h:52:31: error: bits/c++allocator.h: No such file or directory
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:45,
from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/string:52,
from pcrecpp.cc:42:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/atomicity.h:38:30: error: bits/atomic_word.h: No such file or directory
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/allocator.h:82: error: expected template-name before '<' token
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/allocator.h:82: error: expected `{' before '<' token
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/allocator.h:82: error: expected unqualified-id before '<' token
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/atomicity.h:44: error: expected constructor, destructor, or type conversion before '__exchange_and_add'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/atomicity.h:48: error: expected ',' or '...' before '*' token
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:150: error: '_Atomic_word' does not name a type
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h: In member function 'void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_dispose(const _Alloc&)':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:232: error: '__exchange_and_add' is not a member of '__gnu_cxx'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h: In member function 'typename _Alloc::rebind<_CharT>::eek:ther::size_type std::basic_string<_CharT, _Traits, _Alloc>::_M_check(typename _Alloc::rebind<_CharT>::eek:ther::size_type, const char*) const':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:306: error: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:306: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h: In member function 'void std::basic_string<_CharT, _Traits, _Alloc>::_M_check_length(typename _Alloc::rebind<_CharT>::eek:ther::size_type, typename _Alloc::rebind<_CharT>::eek:ther::size_type, const char*) const':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:314: error: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h: In member function 'typename _Alloc::rebind<_CharT>::eek:ther::const_reference std::basic_string<_CharT, _Traits, _Alloc>::at(typename _Alloc::rebind<_CharT>::eek:ther::size_type) const':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:726: error: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h: In member function 'typename _Alloc::rebind<_CharT>::eek:ther::reference std::basic_string<_CharT, _Traits, _Alloc>::at(typename _Alloc::rebind<_CharT>::eek:ther::size_type)':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h:745: error: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algo.h: In function 'void std::random_shuffle(_RandomAccessIterator, _RandomAccessIterator)':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algo.h:1906: error: 'rand' is not a member of 'std'
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc: In static member function 'static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag)':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:145: error: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc: In static member function 'static typename std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(typename _Alloc::rebind<_CharT>::eek:ther::size_type, typename _Alloc::rebind<_CharT>::eek:ther::size_type, const _Alloc&)':
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.tcc:533: error: there are no arguments to '__N' that depend on a template parameter, so a declaration of '__N' must be available
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/basic_string.h: At global scope:
This all means nothing to me so any help would be appreciated.
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
24
143
Houston, TX
cPanel Access Level
Root Administrator
Possible permissions and/or ownerships problem

The following:

Installing: libstdc++-devel ######################### [1/1]Error unpacking rpm package libstdc++-devel - 4.1.2-48.el5.x86_64

error: unpacking of archive failed on file /usr/include/c++/4.1.1/org: cpio: mkdir
suggests a permissions or ownerships issue on the file /usr/include/c++/4.1.1/org. What is the output of the following commands?

Code:
# ls -alh /usr/include/c++/4.1.1/org
# lsattr /usr/include/c++/4.1.1/org
Specifically, the "i" attribute displayed in the output of the lsattr command would be a serious problem.

If these commands do not reveal the issue, please submit a ticket so that we may log in and investigate directly. The problem could be caused by several different things and it would be much faster if we could log into the server, and we would be happy to do so for you.