Subject: Re: ftpwho doesn't work -Reply

From: [email-masked] (Vard Lott)
Date: Tue, 16 Jan 1996 16:51:23 -0800

Hi, Ulla:

Unrelated question:  Where did you get your
gcc?  We've got it and I'm trying to
recompile for other reasons and am getting:

"...cannot exec cc1:  No such file..."

Thanks,

Vard Lott, Webmaster
Novell, Inc.

P.S. - Our ftpwho works fine on Solaris 2.4,
would you like me to send you a copy of our
binary?

>>> Ulla Fischer <[email-masked]> 01/05/96
03:55am >>>

Scott> Has anyone figured out a way to get
ftpwho working under
Scott> Solaris 2.4? 

I just compiled and installed the
wu-ftpd-2.4 with gcc-2.6.3, and then it run?

My pathnames.h looks like this:

/* Copyright (c) 1989 The Regents of the
University of California. All rights
 * reserved.
 *
 * Redistribution and use in source and
binary forms, with or without
 * modification, are permitted provided that
the following conditions are
 * met: 1. Redistributions of source code
must retain the above copyright
 * notice, this list of conditions and the
following disclaimer. 2.
 * Redistributions in binary form must
reproduce the above copyright notice,
 * this list of conditions and the following
disclaimer in the documentation
 * and/or other materials provided with the
distribution. 3. All advertising
 * materials mentioning features or use of
this software must display the
 * following acknowledgement: This product
includes software developed by the
 * University of California, Berkeley and
its contributors. 4. Neither the
 * name of the University nor the names of
its contributors may be used to
 * endorse or promote products derived from
this software without specific
 * prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS
AND CONTRIBUTORS ``AS IS'' AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE
REGENTS OR CONTRIBUTORS BE LIABLE FOR
 * ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER
 * CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 * @(#)pathnames.h 5.2 (Berkeley) 6/1/90 */
  #define _PATH_FTPUSERS  "/etc/ftpusers"
#define _PATH_FTPACCESS
"/pack/ftpd/etc/ftpaccess"
#define _PATH_EXECPATH  "/bin/ftp-exec"
#define _PATH_PIDNAMES 
"/pack/ftpd/daemon/ftpd/ftp.pids-%s"
#define _PATH_CVT      
"/pack/ftpd/etc/ftpconversions"
#define _PATH_XFERLOG  
"/pack/ftpd/log/xferlog"
#define _PATH_PRIVATE   "/etc/ftpgroups"
  #ifndef _PATH_UTMP
#define _PATH_UTMP      "/etc/utmp"
#define _PATH_WTMP      "/usr/adm/wtmp"
#define _PATH_LASTLOG   "/usr/adm/lastlog"
#endif
  #define _PATH_BSHELL    "/bin/sh"
#define _PATH_DEVNULL   "/dev/null"
  #ifdef  HOST_ACCESS
#define _PATH_FTPHOSTS 
"/pack/ftpd/etc/ftphosts"
#endif
  and my Makefile looks like this:

BINDIR=         /pack/wu-ftpd-2.4/bin
ETCDIR=         /pack/wu-ftpd-2.4/etc
MANDIR=         /pack/wu-ftpd-2.4/man
MANEXT=         8
  all:
        @ echo 'Use the "build" command
(shell script) to make ftpd.'
        @ echo 'You can say "build help" for
details on how it works.'
  install: bin/ftpd bin/ftpcount bin/ftpshut
        -mv -f ${ETCDIR}/ftpd
${ETCDIR}/ftpd-old
        @echo Installing binaries.
        install -o bin -g bin -m 755
bin/ftpd ${ETCDIR}/ftpd
        install -o bin -g bin -m 755
bin/ftpshut ${BINDIR}/ftpshut
        install -o bin -g bin -m 755
bin/ftpcount ${BINDIR}/ftpcount
        install -o bin -g bin -m 755
bin/ftpwho ${BINDIR}/ftpwho
        @echo Installing manpages.
        install -o bin -g bin -m 755
doc/ftpd.8 ${MANDIR}/man8/ftpd.8
        install -o bin -g bin -m 755
doc/ftpcount.1 ${MANDIR}/man1/ftpcount.1
        install -o bin -g bin -m 755
doc/ftpwho.1 ${MANDIR}/man1/ftpwho.1
        install -o bin -g bin -m 755
doc/ftpshut.8 ${MANDIR}/man8/ftpshut.8
        install -o bin -g bin -m 755
doc/ftpaccess.5 ${MANDIR}/man5/ftpaccess.5
        install -o bin -g bin -m 755
doc/ftphosts.5 ${MANDIR}/man5/ftphosts.5
        install -o bin -g bin -m 755
doc/ftpconversions.5
${MANDIR}/man5/ftpconversions.5
        install -o bin -g bin -m 755
doc/xferlog.5 ${MANDIR}/man5/xferlog.5

Yours,
Ulla Fischer
Danmarks Meteorologiske Institut      Email:
[email-masked]
Edb-afdelingen                        Phone:
+ 45 39 15 75 00  Lyngbyvej 100             
           Phone: + 45 39 15 75 54
2100 Koebenhavn 0                     Fax:  
+ 45 39 15 75 98
Denmark