Subject: compiling wu-ftpd on solaris 2.5

From: [email-masked] (Junlei Zhang)
Date: Thu, 11 Apr 1996 14:06:33 -0400

Hi, all:

After compiling wu-ftpd2.4 on a Sparc 5 running Solaris 2.5 which seemed
to be successful, I found the following not set up.

_PATH_EXECPATH  "/bin/ftp-exec" is not found in the chroot()ed directory
                 (where /bin is the bin directory for our current vanilla
                 ftp server.)

_PATH_PIDNAMES  "/usr/local/daemon/ftpd/ftp.pids-%s" didn't set up the
		subdirectories daemon/ftpd

_PATH_XFERLOG   "/usr/local/etc/adm/xferlog" didn't set up the subdirectory adm.

I did get the following warning during build

----------------------------------------------------------
Making support library.
cc -g -DDEBUG   -c fnmatch.c
cc -g -DDEBUG   -c strcasestr.c
cc -g -DDEBUG   -c strsep.c
cc -g -DDEBUG   -c authuser.c
In file included from authuser.c:7:
/usr/include/arpa/inet.h:46: warning: `struct in_addr' declared inside parameter list
/usr/include/arpa/inet.h:46: warning: its scope is only this definition or declaration,
/usr/include/arpa/inet.h:46: warning: which is probably not what you want.
/usr/include/arpa/inet.h:46: warning: parameter has incomplete type
/usr/include/arpa/inet.h:49: warning: parameter has incomplete type
/usr/include/arpa/inet.h:50: warning: parameter has incomplete type
rm -f libsupport.a
ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o
touch libsupport.a
-------------------------------------------

>From the way things look, the installation is not complete, is it?

Does anybody have any solutions?  Any help will be greatly appreciated.
Thanks.

      #=======================================================#
      #                                                       # 
      #                    Junlei Zhang                       # 
      #        Electronic Records and Network Services        #
      #  New York State Archives and Records Administration   #
      #            Email: [email-masked]              #
      #                                                       #
      #=======================================================#

---

From: Terry Esau <[email-masked]>
Date: Thu, 11 Apr 1996 12:44:00 -0600

>ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o

I had the same problem with Solaris 2.4.
I grabbed the latest beta of 2.4.2  and was rid of the problem.
You may want to get it from academ

ftp://ftp.academ.com/pub/wu-ftpd/private/wu-ftpd-2.4.2-beta-10.tar.Z
============================================================
= Terry Esau        Main address:       [email-masked] =
= kneehill internet services       http://www.kneehill.com =
========= Linden ====== Alberta ======== Canada ============

---

From: [email-masked] (Junlei Zhang)
Date: Thu, 11 Apr 1996 16:18:02 -0400

> From [email-masked] Thu Apr 11 14:57 EDT 1996
> Date: Thu, 11 Apr 1996 12:44:00 -0600
> From: Terry Esau <[email-masked]>
> To: [email-masked]
> Subject: Re: compiling wu-ftpd on solaris 2.5
> Mime-Version: 1.0
> X-Sender: [email-masked]
> X-Listprocessor-Version: 7.1 -- ListProcessor by CREN
> 
Thanks for the help.  I did get the beta and tried the install, but got the
following this time.

------------------------------------------------------------------
Making support library.
cc -g -DDEBUG   -c fnmatch.c
cc -g -DDEBUG   -c strcasestr.c
cc -g -DDEBUG   -c strsep.c
cc -g -DDEBUG   -c authuser.c
In file included from authuser.c:13:
/usr/include/netdb.h:203: warning: `MAXHOSTNAMELEN' redefined
../src/config.h:35: warning: this is the location of the previous definition
cc -g -DDEBUG   -c vsnprintf.c
rm -f libsupport.a
ar cq libsupport.a fnmatch.o strcasestr.o strsep.o authuser.o vsnprintf.o
touch libsupport.a

Making ftpd.
cc -g -DDEBUG -I.. -I../support -L../support  -c  ftpd.c
In file included from ftpd.c:79:
/usr/include/netdb.h:203: warning: `MAXHOSTNAMELEN' redefined
config.h:35: warning: this is the location of the previous definition
yacc  ftpcmd.y
------------------------------------------------------------------------

Everything else was fine.  Again, none of the specified directories in
pathnames.h are set up.

More help needed.

---

From: Terry Esau <[email-masked]>
Date: Thu, 11 Apr 1996 15:47:39 -0600

>config.h:35: warning: this is the location of the previous definition

Maybe someone else can tell you why this error..
All I can tell you is that mine did the same.  But works fine.

---

From: Terry Esau <[email-masked]>
Date: Fri, 12 Apr 1996 09:31:49 -0600

your original ftpd should have been in.ftpd right ?

did you run make install ??

At 10:00 AM 4/12/96 -0400, you wrote:
>I compiled the wu-ftpd 2.4.10 beta.  The ftpd daemon is now in 
>../wu-ftpd-2.4.2-beta-10/bin directory.  In the pathnames.h file, I
>changed some of the defaults as follows:
>
>#define _PATH_FTPUSERS  "/usr/local/etc/ftpusers"
>#define _PATH_FTPACCESS "/usr/local/etc/ftpaccess"
>#define _PATH_CVT       "/usr/local/etc/ftpconversions"
>#define _PATH_PRIVATE   "/usr/local/etc/ftpgroups"
>#define _PATH_FTPUSERS  "/usr/local/etc/ftpd/ftpusers"
>#define _PATH_FTPACCESS "/usr/local/etc/ftpd/ftpaccess"
>#define _PATH_CVT       "/usr/local/etc/ftpd/ftpconversions"
>#define _PATH_PRIVATE   "/usr/local/etc/ftpd/ftpgroups"
>#define _PATH_UTMP      "/etc/utmp"
>#define _PATH_WTMP      "/etc/wtmp"
>#define _PATH_LASTLOG   "/var/adm/lastlog"
>
>Now, the original ftpd is gone from my /etc directory, and the 
>ftpd subdirectories were not created under /usr/local/etc as defined
>in the above.  The ftpd subdirectories were also not created as the
>default definition in: 
>
>#define _PATH_FTPUSERS  "/usr/local/lib/ftpd/ftpusers"
>#define _PATH_FTPACCESS "/usr/local/lib/ftpd/ftpaccess"
>#define _PATH_CVT       "/usr/local/lib/ftpd/ftpconversions"
>#define _PATH_PRIVATE   "/usr/local/lib/ftpd/ftpgroups"
>
>What is happening here?  Do I need to manually created these ftpd
>subdirectories?  Where is my original /etc/ftpd?
>
>I am running Solaris 2.5 on a Sparc 5.
>
>Please, please, somebody help me!!!!!!!
>

---

From: [email-masked] (Stan Barber)
Date: 12 Apr 1996 15:41:21 GMT

>subdirectories?  Where is my original /etc/ftpd?

Yes, you need to manually create these directories. wu-ftpd does not (yet)
do this and won't do it in the 2.4.2 release. That will all come in release
2.5 (yet to be started). 

I don't know where your origina /etc/ftpd is.

-- 
Stan   | Academ Consulting Services        |internet: [email-masked]
Olan   | For more info on academ, see this |uucp: {mcsun|amdahl}!academ!sob
Barber | URL- http://www.academ.com/academ |Opinions expressed are only mine.