Thank you for the help Christian,

I was able to make and install scponly.

I still get the following error during the make phase.

        gcc -g -O2 -I. -I. -DHAVE_CONFIG_H
-DDEBUGFILE='"/usr/local/etc/scponly/debuglev
        el"' -o helper.o -c helper.c
        helper.c:174: warning: passing arg 1 of `strdup' makes pointer from
integer with
        out a cast
        helper.c:179: warning: passing arg 1 of `strcmp' makes pointer from
integer with
        out a cast

During the install phase the script attempted to set some file permisissions
as follows:
        ${INSTALL} -o 0 -g 0 scponly ${bindir}/scponly
        ${INSTALL} -o 0 -g 0 -m 0644 scponly.8 ${mandir}/man8/scponly.8
        ${INSTALL} -o 0 -g 0 -m 0644 debuglevel ${DEBUGFILE}

but was returing an error message:
        install: cannot change ownership of '/usr/local/bin/scponly'

I changed the make file to:
        ${INSTALL} -o SYSTEM -g SYSTEM scponly ${bindir}/scponly
        ${INSTALL} -o SYSTEM -g SYSTEM -m 0644 scponly.8
${mandir}/man8/scponly.8
        ${INSTALL} -o SYSTEM -g SYSTEM -m 0644 debuglevel ${DEBUGFILE}
And it worked fine.

I tried using the setup_chroot.sh script but could not get it to work.  You
mentioned an alternative make tool for setting up chrooted users.  Or
instructions on how to manually set it up.  

Your help is greatly appreciated.

Chad


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to