Hi Kai, You're right. I've tried to build kerby on windows and then run it on linux before. It's probably that "enter" is interpreted as '\n\r' on windows and '\n' on linux. There is a tool to convert windows file to unix file, command like,
dos2unix winfile.txt unixfile.txt Regard, Yaning -----Original Message----- From: Zheng, Kai [mailto:[email protected]] Sent: Sunday, September 06, 2015 9:19 PM To: Apache Directory Developers List; [email protected] Subject: RE: [VOTE] Release Apache Kerby 1.0.0-RC1 Hi Jiajia, If you unzip http://people.apache.org/~elecharny/kerby-1.0.0-RC1/kerby-all-1.0.0-RC1-source-release.zip and try the *.sh scripts on Linux, you will see errors like follows. [root@zkdesk bin]# sh kadmin.sh : command not found 'admin.sh: line 22: syntax error near unexpected token `do 'admin.sh: line 22: `for var in $*; do The *.sh scripts are all DOS format. It may be caused by git checkout behavior on Windows. Regards, Kai -----Original Message----- From: Li, Jiajia [mailto:[email protected]] Sent: Sunday, September 06, 2015 9:13 PM To: Apache Directory Developers List; [email protected] Subject: RE: [VOTE] Release Apache Kerby 1.0.0-RC1 Hi Stefan, I've done the test of *.sh scripts(for linux) and *.cmd scripts(for windows), they are ready about half month ago. And I will try to test again, can you provide a detail error message? Thanks Jiajia -----Original Message----- From: Stefan Seelmann [mailto:[email protected]] Sent: Sunday, September 06, 2015 8:42 PM To: [email protected]; Apache Directory Developers List Subject: Re: [VOTE] Release Apache Kerby 1.0.0-RC1 One question: Should the *.sh scripts in kerby-dist/tool-dist/bin and kerby-dist/kdc-dist/bin be functional? Or are they not ready yet and out of scope for the RC1 release? I tried to run the example from https://directory.apache.org/kerby/user-guide/1-how-to-begin.html but the scripts just throw an error, the main issue seems that they contain DOS/Windows line breaks. Kind Regards, Stefan On 09/06/2015 09:40 AM, Emmanuel Lécharny wrote: > Hi ! > > this is the very first release of Apache Kerby, 1.0.0-RC1. This is a > release candidate, which means we are reaching an API freeze, but some > bug might be fixed before we move to an official GA. > > > Please cast your vote ! > > The revision : > > http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/c49e9d47 > > The source packages are available here : > http://people.apache.org/~elecharny/ > > The staging repository: > https://repository.apache.org/content/repositories/orgapachedirectory- > 1041/ > > Please cast your votes: > [ ] +1 Release Apache Kerby 1.0.0-RC1 > [ ] 0 abstain > [ ] -1 Do not release Apache Kerby 1.0.0-RC1 >
