[ minicom-Bugs-300503 ] make it build and work on cygwin

noreply@alioth.debian.org noreply@alioth.debian.org
Sun, 10 Oct 2004 13:34:30 -0600


Bugs item #300503, was opened at 2004-02-11 22:26
You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=100031&aid=300503&group_id=30018

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: make it build and work on cygwin

Initial Comment:
versions:
 minicom 2.1
 cygwin 1.5.7 on winXP

It doesn't extract/build on cygwin because of the "aux" directory name and
references to it. "aux" is one of Windows fancy reserved filenames.
This simple script renames the "aux" dir and references to "auxiliary"

Of course you can pick another name. Just not "aux" (or "lpt1" , "com1" for that matter :-d ) 

Of course you need a non-windows platform to run the script on or find a way to rename the "aux" dir in the archive.   
Or supply a separate cygwin distribution. Or rename it altogether.

Further cygwin configuration needed:
- check if ntsec is enabled
- create a (UID 0) root account (for "-s" option)

Jan Roeloffzen


------- patch-minicom-cygwin.sh -------------
#!/bin/bash

grep -l aux `find .` > lst
for x in `cat lst` ; do 
	mv $x $x.tmp ; 
	sed "s/aux/auxiliary/g" $x.tmp > $x ; 
	rm $x.tmp ; 
done
rm lst
mv aux auxiliary

chmod a+x configure


----------------------------------------------------------------------

>Comment By: Adam Lackorzynski (al-guest)
Date: 2004-10-10 21:34

Message:
Logged In: YES 
user_id=104

There's no aux directory in the CVS version anymore.

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2004-05-20 05:23

Message:
Logged In: NO 

great! thank you!

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=100031&aid=300503&group_id=30018