Hi Marius, first I want congratulate for releasing version 1.8. Then I have a question. What compile options are given in the SuSE rpm? I want to compile v1.8 myself and I wonder where to install (and all this stuff like config dir and so on) Ciao ;-) Robert
On Tue, Jan 15, 2002 at 01:11:17AM +0100, Robert Rottscholl wrote:
Hi Marius,
Hi!
first I want congratulate for releasing version 1.8. Then I have a question. What compile options are given in the SuSE rpm? I want to compile v1.8 myself and I wonder where to install (and all this stuff like config dir and so on)
export CFLAGS="-pipe $RPM_OPT_FLAGS"
./configure --prefix=/usr --mandir=%{_mandir} \
--sysconfdir=/etc --localstatedir=/var/run \
--enable-static --enable-warnings --enable-so-linger \
--with-regex --with-libwrap --with-libldap \
--disable-proc-mods
It installs config as /etc/proxy-suite/ftp-proxy.conf,
binary as /usr/sbin/ftp-proxy and man pages to the
system-default of RPM - /usr/share/man/...
The default paths are all bellow of /usr/local:
/usr/local/etc/proxy-suite/ftp-proxy.conf,
/usr/local/sbin/ftp-proxy, /usr/local/man/man{5,8}
BTW: I've added some features to configure...
configure understands following options:
--enable and --with options recognized:
--enable-warnings enable compiler warnings [default=yes]
--enable-static enable static linkage [default=no ]
--enable-debug enable generation of debugging output [default=no ]
--enable-ctags generate (c)tags files [default=no ]
--enable-proc-mods enable (Linux) /proc module [default=n/a]
--enable-rfc1579 enable RFC 1579 FW-FTP extensions [default=n/a]
--enable-rfc2428 enable RFC 2428 IPv6 extensions [default=n/a]
--enable-so-linger enable SO_LINGER socket option [default=no ]
--with-regex[=PATH] compile in RegEx support [default=yes]
--with-libwrap[=PATH] compile in TCP wrapper support [default=yes]
--with-libldap[=PATH] compile in LDAP support [default=no ]
--with-ssl[=PATH] compile in SSL (sftp) support [default=n/a]
as you can see, they all are marked with "[default=???]",
that means:
yes: will be tryed to auto-detected if avaliable
no : not enabled by default
n/a: not avaliable - developement only
If you try to enable a "n/a" option you will get a "*** warning"
and a "devel only build" message at the end.
A -v or --verbose produces a summary, an -q or --quiet supresses
normal configure output, i.e.:
./configure -q -v --with-ssl
loading cache ./config.cache
configure: warning: *** SSL support (sftp) is not complete yet
creating ./config.status
creating Makefile
creating doc/Makefile
creating common/Makefile
creating ftp-proxy/Makefile
creating ftp-proxy/ftp-proxy.conf.5
creating ftp-proxy/ftp-proxy.8
creating ftp-proxy/rc.script
creating config.h
config.h is unchanged
===== configuration summary =====
compilation options:
compiler flags : -g -O2 -W -Wall -Dlint
linker flags :
libraries : -lnsl
additional libs : -lwrap
options / features :
ctags usage : no
so-linger option : no
rfc1579, FW-FTP : no
rfc2428, IPv6 : no
/proc module : no
regex support : yes
tcp-wrapper : yes
ldap support : no
ssl support : yes
*** developement-only options are enabled ***
*** !! do not use this build in production !! ***
Gruesse,
Marius Tomaschewski
participants (2)
-
Marius Tomaschewski
-
Robert Rottscholl