PDA

View Full Version : Computer Chat C compiler on CentOS is missing!


Milado
Thu 19th Jun '08, 6:12pm
Hello

I bought a new unmanaged VPS for backing up purpose. but it does miss the FTP server.

I tried to install ProFTPd but I couldn't make it, because of a problem in the C compiler, which doesn't seem to be something we have to deal with on Windows!

So have you any suggestions about this?

Zachery
Thu 19th Jun '08, 6:23pm
What exactly is the error you were getting when trying to make proftpd?.

Milado
Fri 20th Jun '08, 3:35am
Thank you Zach,

I was following those instructions (http://www.linuxhelp.net/guides/proftpd/) when I faced the following error:

configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

cat config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = info.hostname.com
uname -m = x86_64
uname -r = 2.6.18-028stab053.6
uname -s = Linux
uname -v = #1 SMP Mon Feb 11 15:23:52 MSK 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1641: checking build system type
configure:1659: result: x86_64-unknown-linux-gnu
configure:1667: checking host system type
configure:1681: result: x86_64-unknown-linux-gnu
configure:1689: checking target system type
configure:1703: result: x86_64-unknown-linux-gnu
configure:1807: checking for gcc
configure:1836: result: no
configure:1887: checking for cc
configure:1916: result: no
configure:1929: checking for cc
configure:1975: result: no
configure:2028: checking for cl
configure:2057: result: no
configure:2071: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_target=x86_64-unknown-linux-gnu
ac_cv_target_alias=x86_64-unknown-linux-gnu

## ----------------- ##
## Output variables. ##
## ----------------- ##

ADDL_DIRS=''
ALLOCA=''
AR=''
BINDIR=''
BUILD_SHARED_MODULE_OBJS=''
BUILD_STATIC_MODULE_ARCHIVES=''
BUILD_STATIC_MODULE_OBJS=''
CC=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CURSES_LIBS=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DATADIR=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_NLS=''
EXEEXT=''
F77=''
FFLAGS=''
GLUE_MODULE_OBJS=''
INCLTDL='-I${top_srcdir}/lib/libltdl'
INCLUDEDIR=''
INCLUDES=''
INSTALL_DATA=''
INSTALL_DEPS=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP=''
LDFLAGS=''
LIBDIRS=''
LIBEXECDIR=''
LIBLTDL='${top_builddir}/lib/libltdl/libltdlc.la'
LIBOBJS=''
LIBRARIES=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIB_DEPS=''
LIB_OBJS=''
LN_S=''
LOCALSTATEDIR=''
LTLIBOBJS=''
MAIN_LDFLAGS=''
MAIN_LIBS=''
MODULE_DEPS=''
MODULE_LDFLAGS=''
OBJEXT=''
OSREL='-DLINUX'
OSTYPE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PREFIX=''
RANLIB=''
SBINDIR=''
SET_MAKE=''
SHARED_MODULE_DIRS=''
SHARED_MODULE_LIBS=''
SHARED_MODULE_OBJS=''
SHELL='/bin/sh'
STATIC_MODULE_DIRS=''
STATIC_MODULE_OBJS=''
STRIP=''
SYSCONFDIR=''
UTILS_LIBS=''
VERSION=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${prefix}/share'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_group=''
install_user=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PR_BUILD_OPTS ""
#define PR_PLATFORM "LINUX"

configure: exit 1


Any help would be appreciated.
Regards

Scott MacVicar
Fri 20th Jun '08, 1:05pm
there is none by default, you're meant to use binary packages.

yum install gcc

will fix this but you should try to avoid building things from source where possible.

Milado
Fri 20th Jun '08, 3:43pm
Thank you Scott,

will fix this but you should try to avoid building things from source where possible.
Why?

Milado
Fri 20th Jun '08, 3:58pm
I tried to use "yum install gcc" but it ended with error!

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for gcc to pack into transaction set.
gcc-4.1.2-14.el5.x86_64.r 100% |=========================| 66 kB 00:00
---> Package gcc.x86_64 0:4.1.2-14.el5 set to be updated
--> Running transaction check
--> Processing Dependency: cpp = 4.1.2-14.el5 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Processing Dependency: libgomp = 4.1.2-14.el5 for package: gcc
--> Processing Dependency: libgomp.so.1()(64bit) for package: gcc
--> Processing Dependency: libgcc >= 4.1.2-14.el5 for package: gcc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libgcc to pack into transaction set.
libgcc-4.1.2-14.el5.x86_6 100% |=========================| 54 kB 00:00
---> Package libgcc.x86_64 0:4.1.2-14.el5 set to be updated
---> Downloading header for cpp to pack into transaction set.
cpp-4.1.2-14.el5.x86_64.r 100% |=========================| 57 kB 00:00
---> Package cpp.x86_64 0:4.1.2-14.el5 set to be updated
---> Downloading header for glibc-devel to pack into transaction set.
glibc-devel-2.5-18.el5_1. 100% |=========================| 109 kB 00:01
---> Package glibc-devel.x86_64 0:2.5-18.el5_1.1 set to be updated
---> Downloading header for libgomp to pack into transaction set.
libgomp-4.1.2-14.el5.x86_ 100% |=========================| 54 kB 00:00
---> Package libgomp.x86_64 0:4.1.2-14.el5 set to be updated
--> Running transaction check
--> Processing Dependency: glibc = 2.5-18.el5_1.1 for package: glibc-devel
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.5-18.el5_1.1 for package: glibc-dev el
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc-headers to pack into transaction set.
glibc-headers-2.5-18.el5_ 100% |=========================| 142 kB 00:00
---> Package glibc-headers.x86_64 0:2.5-18.el5_1.1 set to be updated
---> Downloading header for glibc to pack into transaction set.
glibc-2.5-18.el5_1.1.x86_ 100% |=========================| 144 kB 00:01
---> Package glibc.x86_64 0:2.5-18.el5_1.1 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.5-18.el5_1.1 for package: glibc
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for glibc-common to pack into transaction set.
glibc-common-2.5-18.el5_1 100% |=========================| 723 kB 00:03
---> Package glibc-common.x86_64 0:2.5-18.el5_1.1 set to be updated
--> Running transaction check
--> Processing Dependency: glibc-common = 2.5-12 for package: glibc
Error: No Package Matching glibc.i686

I tried "yum install proftpd" also but:

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

What can I do?

Thanks in advance

SNN
Fri 20th Jun '08, 6:26pm
Hmm...I doubt this'll work but try
yum install libgcc

I found that on my VPS. Worth a try. ^^

Milado
Fri 20th Jun '08, 7:32pm
Didn't work either

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

SNN
Fri 20th Jun '08, 8:29pm
yum search gcc.i386

What do you get?

Kier
Fri 20th Jun '08, 9:39pm
Thank you Scott,


Why?
Simply because in using precompiled binaries there is less margin for errors to occur.

Milado
Sat 21st Jun '08, 12:46am
yum search gcc.i386

What do you get?
No Matches found

Milado
Sat 21st Jun '08, 12:47am
Simply because in using precompiled binaries there is less margin for errors to occur.
Do you know where I can find them?

Thank you guys for the help

Chousho
Sat 21st Jun '08, 10:01am
I would actually just install openssh and use sftp instead.
http://en.wikipedia.org/wiki/SSH_file_transfer_protocol

yum install openssh

if you're connecting, just do sftp://siteurl.com and port is 22.

Also, if you're doing rpms, you would do in console:

rpm -ivh rpm_name

and to remove:
rpm -e rpm_name

Milado
Sat 21st Jun '08, 11:46am
I'm not familiar with those terms, like RPM. I'll read http://en.wikipedia.org/wiki/RPM_Package_Manager anyway.

Now I found this http://dag.wieers.com/rpm/packages/proftpd/
which version will suit my VPS, which is CentOS 5 x86_64 btw

Thanks in advance.

Milado
Sat 21st Jun '08, 11:48am
I would actually just install openssh and use sftp instead.
http://en.wikipedia.org/wiki/SSH_file_transfer_protocol

yum install openssh

if you're connecting, just do sftp://siteurl.com and port is 22.

Also, if you're doing rpms, you would do in console:

rpm -ivh rpm_name

and to remove:
rpm -e rpm_name
The backups will be generated and transferred by cPanel, so I can use FTP/SCP only.

MrNase
Sun 22nd Jun '08, 11:38am
No offense but why do you buy an unmanaged server if you don't even know what RPM is?

Spend some extra money and get a managed one so you don't have to worry about those things.

Milado
Sun 22nd Jun '08, 1:38pm
No offense but why do you buy an unmanaged server if you don't even know what RPM is?

Spend some extra money and get a managed one so you don't have to worry about those things.

Because I don't have enough money to pay for managed one. I barely pay $15 dollars monthly to keep the backing up server up. I have difficulties receiving (Google Adsense) & sending (PayPal) money via the internet due to the American law that prevents American companies from dealing with Syrian citizens and companies.

My friend abroad receives Google Adsense payments, and moves them to the PayPal account which I can't access otherwise it will be limited. I'm happy she has another nationality, and that sounds good of course.

Also I'm advanced user and I can read & learn. I've always been learning.

Regards

Milado
Sun 22nd Jun '08, 1:40pm
Forgot to say that I'm an Windows user. and previously, back in 1997 when I started learning PC, I was very advanced user at DOS. so I'm familiar with the command line prompt.