dudek888
Verified User
Hello,
I confirm, I have the same problem (FreeBSD 7.3 and 8.1).
Regards
I confirm, I have the same problem (FreeBSD 7.3 and 8.1).
Regards
Hello,
I confirm, I have the same problem (FreeBSD 7.3 and 8.1).
Regards
It doesn't install from the ./build script but manually it works.
If you get the gmake errror, press ctrl+z to put the script in the background, cd into the proftpd-1.3.3e directory, run ./configure, cd up 1 directory, 'fg' + enter to get the script back to the foreground, type 'y' + enter (You won't see a prompt as the script is still waiting on the y/n input to retry the build.
run ./configure
run: Command not found.
If you get the gmake errror, press ctrl+z to put the script in the background, cd into the proftpd-1.3.3e directory, run ./configure, cd up 1 directory, 'fg' + enter to get the script back to the foreground, type 'y' + enter (You won't see a prompt as the script is still waiting on the y/n input to retry the build.
cd /usr/local/directadmin/custombuild
mkdir custom/proftpd
cp -pf configure/proftpd/configure.proftpd custom/proftpd/configure.proftpd
perl -pi -e 's|--enable-nls \\\n||' custom/proftpd/configure.proftpd
cd /usr/local/directadmin/custombuild
./build update
./build set proftpd no
./build set pureftpd yes
./build pureftpd
./build update
./build proftpd
...So for the time being I've updated custombuild to do a perl regex to swap enable-nls with disable-nls if the OS is freebsd. This only applies to the main configure/proftpd/configure.proftpd file. If you're running a custom/proftpd/configure.proftpd file, the swap won't happen (in case you made it work.. in which case, do share)
This is clearly a bug in the proftpd configure script, after I find a fix I will file the fix on github for them to fix.
#!/bin/sh
install_user=ftp \
install_group=ftp \
./configure \
--prefix=/usr/local \
--sysconfdir=/etc \
--localstatedir=/var/run \
--mandir=/usr/share/man \
--without-pam \
--disable-auth-pam \
--enable-nls \
--enable-dso \
--with-modules=mod_ratio:mod_readme:mod_tls \
[B]--with-libraries=/usr/local/lib[/B]
This still works and I notified DA to add this last line in to the configure script. also to addI was able to compile ProFTP with --enable-nls by doing this addition to the configure script:
Code:#!/bin/sh install_user=ftp \ install_group=ftp \ ./configure \ --prefix=/usr/local \ --sysconfdir=/etc \ --localstatedir=/var/run \ --mandir=/usr/share/man \ --without-pam \ --disable-auth-pam \ --enable-nls \ --enable-dso \ --with-modules=mod_ratio:mod_readme:mod_tls \ [B]--with-libraries=/usr/local/lib[/B]
The addition is the final line. I fetched it from the proftpd FreeBSD port.
pkg install gettext
cat configure.proftpd
#!/bin/sh
install_user=ftp \
install_group=ftp \
./configure \
--prefix=/usr/local \
--sysconfdir=/etc \
--localstatedir=/var/run \
--mandir=/usr/share/man \
--without-pam \
--disable-auth-pam \
--enable-dso \
--with-modules=mod_ratio:mod_readme:mod_tls
cat configure.proftpd
#!/bin/sh
install_user=ftp \
install_group=ftp \
./configure \
--prefix=/usr/local \
--sysconfdir=/etc \
--localstatedir=/var/run \
--mandir=/usr/share/man \
--without-pam \
--disable-auth-pam \
--enable-dso \
--with-modules=mod_ratio:mod_readme:mod_tls:mod_sftp
cat configure.proftpd
#!/bin/sh
install_user=ftp \
install_group=ftp \
./configure \
--prefix=/usr/local \
--sysconfdir=/etc \
--localstatedir=/var/run \
--mandir=/usr/share/man \
--without-pam \
--disable-auth-pam \
--enable-nls \
--enable-dso \
--with-modules=mod_ratio:mod_readme:mod_tls \
--with-libraries=/usr/local/lib
cat configure.proftpd
#!/bin/sh
install_user=ftp \
install_group=ftp \
./configure \
--prefix=/usr/local \
--sysconfdir=/etc \
--localstatedir=/var/run \
--mandir=/usr/share/man \
--without-pam \
--disable-auth-pam \
--enable-nls \
--enable-dso \
--with-modules=mod_ratio:mod_readme:mod_tls:mod_sftp \
--with-libraries=/usr/local/lib
Try winscp ..Everyone sorry Proftpd is not broken on Debian it was my FTP client Transmit 5
I am happy to report Filezilla works fine.