OpenVZ Forum


Home » General » Support » How to create a full template for centos
Re: How to create a full template for centos [message #22554 is a reply to message #21230] Tue, 30 October 2007 19:17 Go to previous messageGo to previous message
r1ch97rd is currently offline  r1ch97rd
Messages: 2
Registered: October 2007
Junior Member
Hi dowdle,
Thanks for your instructions. I managed to add some packages in default.list and created a VPS based on this template. The problem is I don't know what packages I still missing because the default.list doesn't contain a workable collection of packages to run as a server. For my case, I want to install asterisk, but the default template cache doesn't have compiler, I used yum install gcc within VE to install it, but when I compile it, the following error showed up:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for uname... /bin/uname
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Can you tell me what else I have to install?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Host OS and OpenVZ Kernel matching
Next Topic: *SOLVED* Easy way to create templates from iso packages
Goto Forum:
  


Current Time: Mon Sep 09 22:23:15 GMT 2024

Total time taken to generate the page: 0.04500 seconds