Greetings, I have just grabbed the proxy suite package (1.7) since I need to proxy my internal FTP serve to the outside world and this seems like just the ticket. I am, however, having a little trouble compiling it. I ran the usual ./configure and make and I get this error.... ::::::::::::: make 'all' in ./ftp-proxy make[1]: Entering directory `/usr/src/proxy-suite-1.7/ftp-proxy' gcc -g -O2 -c -I. -I.. -I../common ftp-cmds.c ftp-cmds.c: In function `cmds_user': ftp-cmds.c:374: structure has no member named `regex' ftp-cmds.c:376: structure has no member named `regex' ftp-cmds.c:376: warning: assignment makes pointer from integer without a cast make[1]: *** [ftp-cmds.o] Error 1 make[1]: Leaving directory `/usr/src/proxy-suite-1.7/ftp-proxy' make: *** [all] Error 1 I'm wondering if this is something missing from my system or if it is a problem with the configure. I don't want the regex stuff (or do I?) so left that bit out and configure reported it would not use the regex. I am going to try grabbing the regex libraries and try again. Cheers Michael Anthon
Do a "./configure --with-regex" before compile.
It is an error in the INSTALL-File.
Regards. Frank
--
Frank Fiene
On Tue, 16 Nov 1999, Michael Anthon wrote:
Greetings, I have just grabbed the proxy suite package (1.7) since I need to proxy my internal FTP serve to the outside world and this seems like just the ticket.
Yes, you are right. The docs are not too completed here, sorry... I'm working on it. Make sure you look into the man page for ftp-proxy.conf.5 and check the section on AllowMagicUser, this will help you to use the proxy for intranet clients going to internet servers ...
I am, however, having a little trouble compiling it. I ran the usual ./configure and make and I get this error....
::::::::::::: make 'all' in ./ftp-proxy make[1]: Entering directory `/usr/src/proxy-suite-1.7/ftp-proxy' gcc -g -O2 -c -I. -I.. -I../common ftp-cmds.c ftp-cmds.c: In function `cmds_user': ftp-cmds.c:374: structure has no member named `regex' ftp-cmds.c:376: structure has no member named `regex' ftp-cmds.c:376: warning: assignment makes pointer from integer without a cast make[1]: *** [ftp-cmds.o] Error 1 make[1]: Leaving directory `/usr/src/proxy-suite-1.7/ftp-proxy' make: *** [all] Error 1
I'm wondering if this is something missing from my system or if it is a problem with the configure. I don't want the regex stuff (or do I?) so left that bit out and configure reported it would not use the regex. I am going to try grabbing the regex libraries and try again.
No, you are not the culprit --- it's me :-) Actually I forgot to #ifdef the offending block. Compiling the regex stuff does not hurt in any way, so just configure with --with-regex if you don't mind. Most probably you will not even have to get any additional stuff, as most operating systems already have the required functions in the standard C library.
Cheers Michael Anthon
Volker -- Volker Wiegand Phone: +49 (0) 6196 / 50951-24 SuSE Rhein/Main AG Fax: +49 (0) 6196 / 40 96 07 Mergenthalerallee 45-47 Mobile: +49 (0) 179 / 292 66 76 D-65760 Eschborn E-Mail: Volker.Wiegand@suse.de ++ Only users lose drugs. Or was it the other way round? ++
participants (3)
-
Frank Fiene
-
Michael Anthon
-
Volker Wiegand