Paul, those “set” commands are to be entered from within Vim. However as Steven indicated, it’s likely that other files in the bundle have the same issue - possibly all? It’s best to re-extract the archive afresh on the machine where you’re building this. Also, is installing proftpd with yum not an option?
> On Aug 7, 2019, at 2:56 PM, Paul Merlo <[email protected]> wrote:
>
> Stephen,
>
> Thanks for jumping in on this.
>
> I tried the first method, using the mv command. Rename worked but dos2unix failed, my system does not have dos2unix in our $PATH.
>
> Our $PATH is:
> /usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
>
> Tried method 2, Tell me: After which statement do I place the statement set ff=unix
>
> Or, if that is not meant to be a statement inside the configure script, then how do I set ff=unix when I am invoking the configure script ?
>
> Yes, I am a newbie, but I have a good grounding in fundamentals.
>
> Paul Merlo
>
>
>
>> On Wed, Aug 7, 2019 at 3:46 PM Stephen Dowdy <[email protected]> wrote:
>> On 8/7/19 1:11 PM, Paul Merlo wrote:
>> > On a new implementation of RHEL 7.6, attempting to run the ProFTPD configure script, here is the command line followed by the full error message:
>> >
>> > [root@ftp00 bin]# /ProFTPD/./configure
>> > -bash: /ProFTPD/./configure: /bin/sh^M: bad interpreter: No such file or directory
>> >
>> > Directory /bin/ contains:
>> > lrwxrwxrwx. 1 root root 4 May 30 14:28 sh -> bash
>> >
>> > Please help me to get the configure shell script to run. Currently have no options customization.
>> >
>> > Paul Merlo
>>
>> Paul,
>>
>> That clearly looks like a DOS vs UNIX line-separator issue.
>>
>> Dunno how you downloaded/received that configure script, but for that one case, you can do one of:
>>
>> mv configure configure.dosff && dos2unix configure.dosff configure
>>
>> vim configure
>> :set ff=unix
>> :wq
>>
>> or other.
>>
>> I suspect you'll find that the rest of your files suffer the same issue, and you're best off getting a fresh source bundle.
>>
>> --stephen
>>
>>
>> --
>> Stephen Dowdy - Systems Administrator - NCAR/RAL
>> 303.497.2869 - [email protected] - http://www.ral.ucar.edu/~sdowdy/
>>
>>
>>
>> _______________________________________________
>> ProFTPD Users List <[email protected]>
>> Unsubscribe problems?
>> http://www.proftpd.org/list-unsub.html
> _______________________________________________
> ProFTPD Users List <[email protected]>
> Unsubscribe problems?
> http://www.proftpd.org/list-unsub.html
_______________________________________________
ProFTPD Users List <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.