LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-11-2009, 01:57 AM   #1
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 145Reputation: 145
Why is proftpd compiled without nls support?


Will nls support break something? If nls support is disabled, proftpd cannot support the UTF8 option, which is important for multi-language networks.
 
Old 03-11-2009, 02:36 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
A lot of builds will break if nls is used -it's one of the most common causes of build failure.
 
Old 03-11-2009, 04:14 AM   #3
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Original Poster
Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by gnashley View Post
A lot of builds will break if nls is used -it's one of the most common causes of build failure.
Do you mean builds for other packages? I only meant proftpd.
 
Old 03-11-2009, 05:15 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
I mean that many sources are broken and that if you don't use --disable-nls, compilation will throw errors and maybe fail completely. I haven't tried compiling proftpd so I'm not sure what is going on there. I'd suggest you try compiling it yourself without disabling nls support. If it does not build properly, then try compiling it with the option --with-included-gettext. Sometimes that will fix this common problem.
There are lots of sources which have this exact same problem -it just stems from poorly-maintained sources. For many developers, internationalization is an afterthought. And they usually depend on other people for doing the translations, so sometimes there are files with bad syntax which break the build.
 
Old 03-11-2009, 02:47 PM   #5
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Original Poster
Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by gnashley View Post
I mean that many sources are broken and that if you don't use --disable-nls, compilation will throw errors and maybe fail completely.
I don't think proftpd is among them. Servers in multi-language environment (e.g. universities) need UseUTF8.

Could anyone else also test to help the proftpd package to support nls in the furure?
 
Old 03-12-2009, 05:34 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Okay, so I had a look at this specific build. Whereas nls is usually enabled by default, with proftpd it is not. And the SlackBuild contains a line:
rmdir $PKG/usr/share/locale
so it is probably not an oversight that nls is not enabled, but maybe so. It may not be enabled because the nls support is very limited for proftpd -only Italian, Russian and one Chinese locale are included.
If having any of those enabled would help you, I'd suggest you email PatV and ask him to enable the nls option. If none of those are options you'd need, you might consider submitting a translation upstream to the developers of proftpd.
Meanwhile, you could easily rebuild the package and add the --enable-nls option to the configure line and comment out the two lines below which remove $PKG/usr/share/locale and $PKG/usr/share.
Another note if you decide to recompile, if you use the latest version of the sources, the pacth used with the SlackBuild is no longer needed.
 
Old 03-12-2009, 05:48 AM   #7
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Original Poster
Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by gnashley View Post
Okay, so I had a look at this specific build. Whereas nls is usually enabled by default, with proftpd it is not. And the SlackBuild contains a line:
rmdir $PKG/usr/share/locale
so it is probably not an oversight that nls is not enabled, but maybe so. It may not be enabled because the nls support is very limited for proftpd -only Italian, Russian and one Chinese locale are included.
No. It's not for l10n. It's for i18n. Without --enable-nls, proftpd does not allow the UTF8 command (RFC2640). Then proftpd cannot handle multi-lang filenames, which is common in universities, especially School of Arts.
 
Old 03-12-2009, 06:01 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
You need to take it up with the authors of the program, then.
I just tried to answer this question:
Why is proftpd compiled without nls support?
You'll have to ask the authors why some feature is not supported by their software.
 
Old 03-12-2009, 08:20 AM   #9
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 634

Rep: Reputation: 35
Slackware has seena tremendous uptake in utf8 support over the past 6/12 months. Previously, quite a few packages came with utf8/international support deliberately disabled, like gnashley says. Now most upstream packages tend to be far more utf8-friendly.

i've been tracking a TODO-list for utf8 for slackware for a while, and with the latest updates that went in a couple of days ago that list is now quite short (man, mc, proftpd and a select few others).

I'll try to run a utf8-enabled version of proftpd on a test server for a couple of weeks to see if it behaves OK, and if it does, we'll just submit that info to Pat and see what he does :-)

-y1
 
Old 03-12-2009, 11:09 AM   #10
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Original Poster
Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by gnashley View Post
You need to take it up with the authors of the program, then.
I just tried to answer this question:
Why is proftpd compiled without nls support?
You'll have to ask the authors why some feature is not supported by their software.
I don't think so. The software itself supports nls, obviously. Otherwise I must not have the question.
 
Old 03-12-2009, 11:12 AM   #11
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Original Poster
Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by Yalla-One View Post
Slackware has seena tremendous uptake in utf8 support over the past 6/12 months. Previously, quite a few packages came with utf8/international support deliberately disabled, like gnashley says. Now most upstream packages tend to be far more utf8-friendly.

i've been tracking a TODO-list for utf8 for slackware for a while, and with the latest updates that went in a couple of days ago that list is now quite short (man, mc, proftpd and a select few others).

I'll try to run a utf8-enabled version of proftpd on a test server for a couple of weeks to see if it behaves OK, and if it does, we'll just submit that info to Pat and see what he does :-)

-y1
It's very kind of you! I just don't have a server with heavy traffic to test it. It's nice that you have one :-)
 
Old 03-12-2009, 11:39 AM   #12
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 634

Rep: Reputation: 35
Quote:
Originally Posted by guanx View Post
It's very kind of you! I just don't have a server with heavy traffic to test it. It's nice that you have one :-)
Well, my server is not heavy traffic, but these things tend to be of the kind that either it works, or it doesn't, so we'll see...
 
Old 03-12-2009, 12:52 PM   #13
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
I'll try to not be helpful next time...
 
Old 03-12-2009, 01:14 PM   #14
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 634

Rep: Reputation: 35
Uhm, anyone said you weren't?
 
Old 03-12-2009, 01:54 PM   #15
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Original Poster
Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by Yalla-One View Post
Uhm, anyone said you weren't?
I did not, at least :-)
German ladies are always so cussed and lovely, as gnashley is.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
driver wi fi support on two compiled kernel!!! agostain Linux - Hardware 0 01-07-2009 06:17 AM
MPlayer was compiled without libmp3lame support schneidz Linux - Software 2 10-09-2007 08:43 PM
kernel compiled with raid support? imagineers7 Linux - General 1 05-30-2006 08:30 AM
kernel compiled with raid support? imagineers7 Linux - Kernel 1 05-30-2006 08:25 AM
No desired NLS language support after kernel rebuild Sader Slackware 3 11-25-2004 12:47 PM


All times are GMT -5. The time now is 02:24 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration