336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
nodejs cento6에서 최신 버젼 설치시에 발생하는 문제때문에....
WARNING: C++ compiler too old, need g++ 4.8 or clang++ 3.4 (CXX=g++)
해결 방법은 아래에...
Installing gcc 4.8 and Linuxbrew on CentOS 6
The GCC distributed with CentOS 6 is 4.4.7, which is pretty outdated. I'd like to use gcc 4.8+. Also, when trying to install Linuxbrew you run into a dependency loop where Homebrew's gcc depends on zlib, which depends on gcc. Here's how I solved the problem.
Note: Requires sudo
privileges.
Resources:
- http://superuser.com/a/676337/88393: Forum response on using CERN's open Scientific Linux distribution of RHEL's developer toolset.
- http://linux.web.cern.ch/linux/devtoolset/: CERN's developer toolset installation instructions.
- https://github.com/Homebrew/linuxbrew/wiki/Standalone-Installation: Instructions for a standalone installation of Homebrew.
- https://twitter.com/sjackman: Shaun Jackman -- the hero who maintains Linuxbrew.
Upgrading gcc
First, verify which version of CentOS you're using:
$ cat /etc/centos-release
CentOS release 6.7 (Final)
Import CERN's GPG key:
sudo rpm --import http://ftp.scientificlinux.org/linux/scientific/5x/x86_64/RPM-GPG-KEYs/RPM-GPG-KEY-cern
Save repository information as /etc/yum.repos.d/slc6-devtoolset.repo
on your system:
wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo
Install:
sudo yum install devtoolset-2
Enable the environment:
scl enable devtoolset-2 bash
Test the environment:
$ gcc --version
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
...
$ g++ --version
g++ (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
...
$ gfortran --version
GNU Fortran (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
...
'스터디 > 서버관리' 카테고리의 다른 글
구글에서 프로젝트 이름 설정시 (0) | 2017.01.11 |
---|---|
도메인 신청시 cafe24... (0) | 2016.12.29 |
(error)You need tcl 8.5 or newer in order to run the Redis test (0) | 2016.07.22 |
파이어베이스 관련 링크 (0) | 2016.07.22 |
Bourne Again Shell(Bash) 취약점 (0) | 2014.09.29 |