Re: messages in french / compile it is not sufficent

Stephane <[email protected]> Mon, 11 Oct 2004 17:51:20 +0200
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <[email protected]>
Hi all,

any one interested in compiling wu-ftpd to display some messages in his 
own language ?

I am. So i download (debian) source of wu-ftpd and tried to compile it 
after had modifying ftpcmd.c file (thanx to bishop) :
<<
...
    lreply(221, "You have transferred %d bytes in %d files.", 
data_count_total, file_count_total);
    lreply(221, "Total traffic for this session was %d bytes in %d 
transfers.", byte_count_total, xfer_count_total);
    lreply(221, "Thank you for using the FTP service on %s.", hostname);
...
 >>
i changed that in (only two lines, less verbose is better for me):
<<
    lreply(221, "Vous avez transfere %d octets pour %d fichiers.", 
data_count_total, file_count_total);
    lreply(221, "FPS vous remercie d'avoir utilise son service FTP.");
 >>

BUT i didn't succed to make it work as i expected :
note : you can avoid the old "build-based command" process and now use 
automake configure/make/make install

I did ./configure; make all (and not install otherwise i loose my 
configuration)

I obtain binaries in the bin directory (under the top source tree)
then i copy bin/ftpd as /usr/sbin/wu-ftpd
i also ensure the -a switch is present in my init.d script
then I stop and restart wu
and get a totally different apperance : my costum message ar not there 
and when i quit, i cannot connect using usual user and pass, and there 
is no message in french but in english (simply Goodbye). ALl is as if 
wu-ftps does'nt read the ftpaccess file neither passwd and well, i don't 
know. Anyidea of how i should compile it ?

I use debian version 3.0 and wu-ftp 2.6.2-3woody4.