PDA

View Full Version : Proftpd and Gproftpd: installation fails


brokenbones
November 25th, 2005, 01:42 PM
Hi,

I am configuring my Ubuntu to work as a web server, and as an ftp server as well. However since I am migrating from windows (as many others here apparently), setting my ftp server in command line is quite difficult.

I asked in alt.os.linux and I got a friendly answer pointing me to gproftpd (http://mange.dynup.net/linux.html), a frontend GUI for proftpd.

My proftpd is installed as a standalone and works, I am only trying to find a easy way to add/remove (virtual) users, and easily configure their environments.

However, the simple installation procedure for Gproftpd doesn't work with the standard Ubuntu application, some elements of the C compiler are unavailable.

I pasted the terminal output down here, and there seems to be problems with gawk (missing), makefiles, gcc...

Gcc-4.0 is installed, gawk wasn't (but now is), and still the install fails.

Any suggestion ?

Thank you very much for your help.

Lorenzo


Here is a copy-paste of the terminal window:


root@ubuntu:~# cd /downloads/gproftpd-8.2.2
root@ubuntu:/downloads/gproftpd-8.2.2# ./Autoinstall
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for OS type... Linux (i686-pc-linux-gnu) found.
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.






and here is the 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 --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--sbindir=/usr/sbin

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

hostname = ubuntu
uname -m = i686
uname -r = 2.6.12-10-686
uname -s = Linux
uname -v = #1 Fri Nov 18 12:09:04 UTC 2005

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

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

PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/games


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

configure:1344: checking for a BSD-compatible install
configure:1399: result: /usr/bin/install -c
configure:1410: checking whether build environment is sane
configure:1453: result: yes
configure:1518: checking for gawk
configure:1547: result: no
configure:1518: checking for mawk
configure:1534: found /usr/bin/mawk
configure:1544: result: mawk
configure:1554: checking whether make sets $(MAKE)
configure:1574: result: yes
configure:1744: checking whether to enable maintainer-specific portions
of Makefiles
configure:1753: result: no
configure:1775: checking build system type
configure:1793: result: i686-pc-linux-gnu
configure:1801: checking host system type
configure:1815: result: i686-pc-linux-gnu
configure:1823: checking for OS type
configure:1827: result: Linux (i686-pc-linux-gnu) found.
configure:1930: checking for style of include used by make
configure:1958: result: GNU
configure:2029: checking for gcc
configure:2045: found /usr/bin/gcc
configure:2055: result: gcc
configure:2299: checking for C compiler version
configure:2302: gcc --version </dev/null >&5
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2305: $? = 0
configure:2307: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared
--with-system-zlib --libexecdir=/usr/lib --enable-nls
--without-included-gettext --enable-threads=posix --program-suffix=-4.0
--enable-__cxa_atexit --enable-libstdcxx-allocator=mt
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
configure:2310: $? = 0
configure:2312: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2315: $? = 1
configure:2338: checking for C compiler default output file name
configure:2341: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2344: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gproftpd"
| #define VERSION "8.2.2"
| #define USE_LINUX 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2383: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-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_LDFLAGS_set=
ac_cv_env_LDFLAGS_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=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

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

ACLOCAL='${SHELL} /downloads/gproftpd-8.2.2/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /downloads/gproftpd-8.2.2/missing --run tar'
AUTOCONF='${SHELL} /downloads/gproftpd-8.2.2/missing --run autoconf'
AUTOHEADER='${SHELL} /downloads/gproftpd-8.2.2/missing --run autoheader'
AUTOMAKE='${SHELL} /downloads/gproftpd-8.2.2/missing --run automake-1.9'
AWK='mawk'
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GETTEXT_PACKAGE=''
GMOFILES=''
GMSGFMT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LOCALSTATEDIR=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /downloads/gproftpd-8.2.2/missing --run makeinfo'
MKINSTALLDIRS=''
MSGFMT=''
OBJEXT=''
PACKAGE='gproftpd'
PACKAGE_BUGREPORT=''
PACKAGE_CFLAGS=''
PACKAGE_LIBS=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
POFILES=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SYSCONFDIR=''
USE_NLS=''
VERSION='8.2.2'
XGETTEXT=''
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/downloads/gproftpd-8.2.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='/usr/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

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

#define PACKAGE "gproftpd"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define USE_LINUX 1
#define VERSION "8.2.2"

configure: exit 77

hostile
November 25th, 2005, 02:43 PM
I have used proftpd for years and have never used gproftpd.

If you truly *need* a GUI to config proftpd, may I suggest Webmin? The Webmin module for proftpd is actually quite good, and is very easy to use.

Aside from that, what are you trying to do exactly?

jbinc1
January 6th, 2006, 06:30 PM
I'm getting the same error trying to install gproftp from source. It looks like there may be a debian package, but the site was down last time I checked.
I'm trying to test this gui for someone to see if it's any good.

Anyone have a clue?

curtis
January 6th, 2006, 06:35 PM
Pure-ftpd is quite good, a bit securer than Proftpd.

frodon
January 10th, 2006, 10:58 AM
What make you think that pure-ftp is securer than proftpd ?