[RedHat 9] WU-FTPD install probleem

Pagina: 1
Acties:

  • schot
  • Registratie: September 2000
  • Laatst online: 27-09-2025
Ik probeer WU-FTPD te installeren op mijn redhat 9 server te installeren. Ik krijg echter iedere maal de volgende foutmelding:

[root@linuxfileserver wu-ftpd-2.6.2]# make
(cd support ; make all)
make[1]: Entering directory `/root/wu-ftpd-2.6.2/support'
rm -f libsupport.a
ar cq libsupport.a authuser.o
ranlib libsupport.a
make[1]: Leaving directory `/root/wu-ftpd-2.6.2/support'
(cd util/privatepw ; make all)
make[1]: Entering directory `/root/wu-ftpd-2.6.2/util/privatepw'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/wu-ftpd-2.6.2/util/privatepw'
(cd src ; make all)
make[1]: Entering directory `/root/wu-ftpd-2.6.2/src'
yacc ftpcmd.y
make[1]: yacc: Command not found
make[1]: *** [ftpcmd.c] Error 127
make[1]: Leaving directory `/root/wu-ftpd-2.6.2/src'
make: *** [all] Error 2

Nou heb ik al gekeken in de manual van WU-FTPD op de website in hun FAQ, en
hierin staat het volgende over dit probleem:

I don't have yacc

Replace yacc with bison -y in the Makefile.

Nu heb ik al gekeken in de Makefile, die er als volgt uit ziet:

# Use and distribution of this software and its source code are governed by
# the terms and conditions of the WU-FTPD Software License ("LICENSE").
#
# If you did not receive a copy of the license, it may be obtained online at
# http://www.wu-ftpd.org/license.html.
#
# $Id: Makefile.in,v 1.12 2000/07/01 17:42:15 wuftpd Exp $
#

prefix=/usr
exec_prefix=${prefix}
srcdir=.
mandir=${prefix}/man
# Portions Copyright (c) 1989 Massachusetts Institute of Technology.
# Portions Copyright (c) 1998 Sendmail, Inc.
# Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman.
# Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.
# Portions Copyright (C) 1991, 1992, 1993, 1994, 1995 1996, 1997
# Free Software Foundation, Inc.
# Portions Copyright (c) 1997 Stan Barber.
# Portions Copyright (c) 1997 Kent Landfield.
#
# Use and distribution of this software and its source code are governed by
# the terms and conditions of the WU-FTPD Software License ("LICENSE").
#
# If you did not receive a copy of the license, it may be obtained online at
# http://www.wu-ftpd.org/license.html.
#
# $Id: Makefile.in,v 1.12 2000/07/01 17:42:15 wuftpd Exp $
#

prefix=/usr
exec_prefix=${prefix}
srcdir=.
mandir=${prefix}/man
# Portions Copyright (c) 1989 Massachusetts Institute of Technology.
# Portions Copyright (c) 1998 Sendmail, Inc.
# Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman.
# Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.
# Portions Copyright (C) 1991, 1992, 1993, 1994, 1995 1996, 1997
# Free Software Foundation, Inc.
# Portions Copyright (c) 1997 Stan Barber.
# Portions Copyright (c) 1997 Kent Landfield.
#
# Use and distribution of this software and its source code are governed by
# the terms and conditions of the WU-FTPD Software License ("LICENSE").
#
# If you did not receive a copy of the license, it may be obtained online at
# http://www.wu-ftpd.org/license.html.
#
# $Id: Makefile.in,v 1.12 2000/07/01 17:42:15 wuftpd Exp $
#

prefix=/usr
exec_prefix=${prefix}
# Portions Copyright (c) 1989 Massachusetts Institute of Technology.
# Portions Copyright (c) 1998 Sendmail, Inc.
# Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman.
# Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.
# Portions Copyright (C) 1991, 1992, 1993, 1994, 1995 1996, 1997
# Free Software Foundation, Inc.
# Portions Copyright (c) 1997 Stan Barber.
# Portions Copyright (c) 1997 Kent Landfield.
#
# Use and distribution of this software and its source code are governed by
# the terms and conditions of the WU-FTPD Software License ("LICENSE").
[root@linuxfileserver wu-ftpd-2.6.2]# make
(cd support ; make all)
make[1]: Entering directory `/root/wu-ftpd-2.6.2/support'
rm -f libsupport.a
ar cq libsupport.a authuser.o
ranlib libsupport.a
make[1]: Leaving directory `/root/wu-ftpd-2.6.2/support'
(cd util/privatepw ; make all)
make[1]: Entering directory `/root/wu-ftpd-2.6.2/util/privatepw'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/wu-ftpd-2.6.2/util/privatepw'
(cd src ; make all)
make[1]: Entering directory `/root/wu-ftpd-2.6.2/src'
yacc ftpcmd.y
make[1]: yacc: Command not found
make[1]: *** [ftpcmd.c] Error 127
make[1]: Leaving directory `/root/wu-ftpd-2.6.2/src'
make: *** [all] Error 2
[root@linuxfileserver wu-ftpd-2.6.2]# make bison -y
make: invalid option -- y
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
#

prefix=/usr
exec_prefix=${prefix}
srcdir=.
mandir=${prefix}/man
INSTALL=/usr/bin/install -c
INSTALL_PROGRAM=${INSTALL}
INSTALL_DATA=${INSTALL} -m 644

all:
(cd support ; $(MAKE) all)
(cd util/privatepw ; $(MAKE) all)
(cd src ; $(MAKE) all)
if [ ! -d bin ]; then mkdir bin; fi
rm -f bin/ftpd bin/ftpshut bin/ftpcount bin/ftpwho bin/ckconfig bin/ftprestart
ln src/ftpd bin
ln src/ftpshut bin
ln src/ftpcount bin
ln src/ftpcount bin/ftpwho
ln src/ckconfig bin
ln src/ftprestart bin
size bin/ftpd bin/ftpshut bin/ftpcount bin/ftpwho bin/ckconfig bin/ftprestart
clean:
(cd support ; $(MAKE) clean)
(cd util/privatepw ; $(MAKE) clean)
(cd src ; $(MAKE) clean)
-rm -rf bin
distclean: clean
(cd support ; $(MAKE) distclean)
(cd util/privatepw ; $(MAKE) distclean)
(cd src ; $(MAKE) distclean)
-rm -f *~
-rm -f src/*~
-rm -f support/*~
-rm -f doc/*~
-rm -f util/*~
-rm -f config.log config.status config.cache Makefile config.h
install: all
@echo installing binaries.
-@mkdir -p $(DESTDIR)/${exec_prefix}/sbin
-@mkdir -p $(DESTDIR)/${exec_prefix}/bin
-@mkdir -p $(DESTDIR)/$(mandir)/man8
-@mkdir -p $(DESTDIR)/$(mandir)/man1
-@mkdir -p $(DESTDIR)/$(mandir)/man5
-@mkdir -p $(DESTDIR)//etc
${INSTALL} -o bin -g bin -m 755 bin/ftpd $(DESTDIR)/${exec_prefix}/sbin/in.ftpd
${INSTALL} -o bin -g bin -m 755 bin/ftpshut $(DESTDIR)/${exec_prefix}/sbin/ftpshut
${INSTALL} -o bin -g bin -m 755 bin/ftpcount $(DESTDIR)/${exec_prefix}/bin/ftpcount
${INSTALL} -o bin -g bin -m 755 bin/ftpwho $(DESTDIR)/${exec_prefix}/bin/ftpwho
${INSTALL} -o bin -g bin -m 755 bin/ckconfig $(DESTDIR)/${exec_prefix}/sbin/ckconfig
${INSTALL} -o bin -g bin -m 755 bin/ftprestart $(DESTDIR)/${exec_prefix}/sbin/ftprestart
${INSTALL} -o bin -g bin -m 755 util/privatepw/privatepw $(DESTDIR)/${exec_prefix}/sbin/privatepw
@echo installing manpages.
-@mkdir -p $(mandir)
${INSTALL} -m 644 -o bin -g bin -m 644 doc/ftpd.8 $(DESTDIR)/$(mandir)/man8/ftpd.8
${INSTALL} -m 644 -o bin -g bin -m 644 doc/ftpcount.1 $(DESTDIR)/$(mandir)/man1/ftpcount.1
#
# Copyright (c) 1999,2000 WU-FTPD Development Group.
# All rights reserved.
#
# Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994
# The Regents of the University of California.
# Portions Copyright (c) 1993, 1994 Washington University in Saint Louis.
# Portions Copyright (c) 1989 Massachusetts Institute of Technology.
# Portions Copyright (c) 1998 Sendmail, Inc.
# Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman.
# Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.
# Portions Copyright (C) 1991, 1992, 1993, 1994, 1995 1996, 1997
# Free Software Foundation, Inc.
# Portions Copyright (c) 1997 Stan Barber.
# Portions Copyright (c) 1997 Kent Landfield.
#
# Use and distribution of this software and its source code are governed by
# the terms and conditions of the WU-FTPD Software License ("LICENSE").
#
# If you did not receive a copy of the license, it may be obtained online at
# http://www.wu-ftpd.org/license.html.
#
# $Id: Makefile.in,v 1.12 2000/07/01 17:42:15 wuftpd Exp $
#

prefix=/usr
exec_prefix=${prefix}
srcdir=.
mandir=${prefix}/man
INSTALL=/usr/bin/install -c
INSTALL_PROGRAM=${INSTALL}
INSTALL_DATA=${INSTALL} -m 644

all:
(cd support ; $(MAKE) all)
(cd util/privatepw ; $(MAKE) all)
(cd src ; $(MAKE) all)
if [ ! -d bin ]; then mkdir bin; fi
INSTALL_DATA=${INSTALL} -m 644

all:
(cd support ; $(MAKE) all)
(cd util/privatepw ; $(MAKE) all)
(cd src ; $(MAKE) all)
if [ ! -d bin ]; then mkdir bin; fi
rm -f bin/ftpd bin/ftpshut bin/ftpcount bin/ftpwho bin/ckconfig bin/ftprestart
ln src/ftpd bin
ln src/ftpshut bin
ln src/ftpcount bin
ln src/ftpcount bin/ftpwho
ln src/ckconfig bin
ln src/ftprestart bin
size bin/ftpd bin/ftpshut bin/ftpcount bin/ftpwho bin/ckconfig bin/ftprestart
clean:
(cd support ; $(MAKE) clean)
(cd util/privatepw ; $(MAKE) clean)
(cd src ; $(MAKE) clean)
-rm -rf bin
distclean: clean
(cd support ; $(MAKE) distclean)
(cd util/privatepw ; $(MAKE) distclean)
(cd src ; $(MAKE) distclean)
-rm -f *~
-rm -f src/*~
-rm -f support/*~

Alleen weet iemand waar ik nu dat yacc kan wijzigen voor dat bison -y.

Ik heb al wat zoekwerk gedaan maar kom er nog niet echt uit.

  • Kees
  • Registratie: Juni 1999
  • Laatst online: 20:55

Kees

Serveradmin / BOFH / DoC
Twee opties:

1. Yacc instaleren
2. zoeken en vervangen op yacc en dat allemaal vervangen door bison -y

Doe ook een find . -iname 'Makefile' en verander het daar ook.

"Een serveradmin, voluit een serveradministrator, is dan weer een slavenbeheerder oftewel een slavendrijver" - Rataplan


  • Robtimus
  • Registratie: November 2002
  • Laatst online: 19:30

Robtimus

me Robtimus no like you

Zit dacht ik in de RPM van byacc. Zit voor zover ik weet standaard bij RedHat.

Maar als ik jou was zou ik geen wu-ftpd gebruiken, er zijn betere zoals proftpd of pureftpd

More than meets the eye
There is no I in TEAM... but there is ME
system specs


  • schot
  • Registratie: September 2000
  • Laatst online: 27-09-2025
Ok, weet iemand waar ik dat Yacc kan downloaden, kan hem niet echt vinden via freshmeat.

Verwijderd

code:
1
2
3
4
5
cat > /usr/bin/yacc << EOF
#!/bin/sh
exec bison -y $@
EOF
chmod +x /usr/bin/yacc


en je hebt yacc.

  • Robtimus
  • Registratie: November 2002
  • Laatst online: 19:30

Robtimus

me Robtimus no like you

schot schreef op 31 July 2003 @ 16:48:
Ok, weet iemand waar ik dat Yacc kan downloaden, kan hem niet echt vinden via freshmeat.
Kijk eens op je eigen RH CD. Daar staat als het goed is de file byacc-1.9-25.i386.rpm (voor RH 9). Die installeren en voila.

* Robtimus had dit al gezegd toch :?

More than meets the eye
There is no I in TEAM... but there is ME
system specs


  • schot
  • Registratie: September 2000
  • Laatst online: 27-09-2025
Ok, thanks voor het advies, ik zal er nog even naar kijken. Heb trouwens pureftpd maar even geinstalleerd en deze werkt al goed, dus ik laat WUFTPD maar zitten.
Pagina: 1