Displaying 20 results from an estimated 31 matches for "cygpath".
2004 Jun 05
3
'cygpath -d' to fix windows paths with spaces
The cygwin 'cygpath' command can now convert arbitrary windows and unix
paths into the short ms-dos 8.3 equivalents. This tools might allow the
windows build system to better deal with those messy long Windows file and
directory names that contain spaces.
EG:
warneg@GRDGROL99X1028: src [1]$ pwd
/cygdrive/c/Docu...
2009 May 30
2
How convert Linux path to Windows path like "cygpath" does?
...ake very heavy use of Cygwin (http://cygwin.com/), a very wonderful thing. One way I use it is with this handy little shell script:
Code:
#!/bin/sh
MSO="/cygdrive/c/Program Files/Microsoft Office/OFFICE11"
if [ -n "$1" ]; then
"$MSO"/WORDVIEW.EXE "$(cygpath -w "$@")" &
else
"$MSO"/WORDVIEW.EXE &
fi
Now I have installed Microsoft's free wordview program on my Linux machine under wine and would like to use this script to easily view word documents.
But I need an equivalent to the cygpath command.
How can I au...
2006 Oct 13
2
cygwin script for Sweave
...t;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$ cat /usr/local/bin/pdfview
#!/bin/bash.exe
if [ $# -eq 1 ]
then
/c/Program\ Files/Adobe/Acrobat\ 6.0/Reader/AcroRd32.exe `cygpath -w -a -s "$1"`
else
/c/Program\ Files/Adobe/Acrobat\ 6.0/Reader/AcroRd32.exe
fi
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<&...
2013 Apr 11
0
No subject
../libtool: line 1231: cygpath: command not found
You need to put cygpath in your PATH. This might also be why configure
is failing.
Best,
Tristan
--20cf307f35267e30eb0505f59648
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hi,<br><div class=...
2015 Mar 11
2
Notes on building a gcc toolchain for Rtools (but not multilib)
On 11/03/2015 3:09 PM, Dan Tenenbaum wrote:
>
> ----- Original Message -----
> > From: "Duncan Murdoch" <murdoch.duncan at gmail.com>
> > To: "Dan Tenenbaum" <dtenenba at fredhutch.org>
> > Cc: r-devel at r-project.org
> > Sent: Wednesday, March 11, 2015 12:06:48 PM
> > Subject: Re: [Rd] Notes on building a gcc toolchain for
2005 Jan 14
2
[LLVMdev] Building the CFE I get this error: there are no arguments to `lrand48'
...---
I use this command to build the cfe: 'make all'
If I build the gcc 3.4.0 on the mingw platform I don't see such error.
However the command to build is slightly different.
Any suggestions?
Henrik.
P.S. In some cases when building on mingw I've noticed that libtool? calls
cygpath:
-----------------
../libtool: cygpath: command not found
-----------------
=============================================================
Henrik Bach
LLVM Open Source Developer
e-mail: henrik_bach_llvm at hotmail.com
=============================================================
'Nothing is...
2003 Oct 30
0
[PATCH] contrib/cygwin/ssh-host-config: Fix a CRLF/LF issue
...dir="${SYSTEMROOT}\\system32\\drivers\\etc"
+ _services="${_my_etcdir}/services"
else
- _wservices="${WINDIR}\\SERVICES"
- _wserv_tmp="${WINDIR}\\SERV.$$"
+ _win_etcdir="${WINDIR}"
+ _services="${_my_etcdir}/SERVICES"
fi
-_services=`cygpath -u "${_wservices}"`
-_serv_tmp=`cygpath -u "${_wserv_tmp}"`
+_serv_tmp="${_my_etcdir}/srv.out.$$"
-mount -t -f "${_wservices}" "${_services}"
-mount -t -f "${_wserv_tmp}" "${_serv_tmp}"
+mount -t -f "${_win_etcdir}" &...
2005 Jan 14
0
[LLVMdev] Building the CFE I get this error: there are no arguments to `lrand48'
...l'
>
> If I build the gcc 3.4.0 on the mingw platform I don't see such error.
> However the command to build is slightly different.
>
>
> Any suggestions?
>
> Henrik.
>
>
> P.S. In some cases when building on mingw I've noticed that libtool? calls
> cygpath:
>
> -----------------
> ../libtool: cygpath: command not found
> -----------------
>
>
> =============================================================
> Henrik Bach
> LLVM Open Source Developer
>
> e-mail: henrik_bach_llvm at hotmail.com
> ======================...
2005 Jan 14
1
[LLVMdev] Building the CFE I get this error: there are no arguments to `lrand48'
...0 on the mingw platform I don't see such
>> error. However the command to build is slightly different.
>>
>>
>> Any suggestions?
>>
>> Henrik.
>>
>>
>> P.S. In some cases when building on mingw I've noticed that libtool?
>> calls cygpath:
>>
>> -----------------
>> ../libtool: cygpath: command not found
>> -----------------
>>
>>
>> =============================================================
>> Henrik Bach
>> LLVM Open Source Developer
>>
>> e-mail: henrik_bach_llv...
2014 May 15
1
[patch/cygwin] contrib/cygwin/ssh-host-config
...rieving revision 1.34
diff -u -p -r1.34 ssh-host-config
--- contrib/cygwin/ssh-host-config 8 Nov 2013 13:19:23 -0000 1.34
+++ contrib/cygwin/ssh-host-config 15 May 2014 08:46:20 -0000
@@ -34,6 +34,7 @@ declare -a csih_required_commands=(
/usr/bin/mv coreutils
/usr/bin/rm coreutils
/usr/bin/cygpath cygwin
+ /usr/bin/mkpasswd cygwin
/usr/bin/mount cygwin
/usr/bin/ps cygwin
/usr/bin/setfacl cygwin
@@ -59,8 +60,9 @@ PREFIX=/usr
SYSCONFDIR=/etc
LOCALSTATEDIR=/var
+sshd_config_configured=no
port_number=22
-privsep_configured=no
+strictmodes=yes
privsep_used=yes
cygwin_value="...
2001 Mar 07
4
[PATCH]: contrib/cygwin/ssh-host-config
...2
+Port $port_number
#
Protocol 2,1
ListenAddress 0.0.0.0
@@ -330,7 +342,7 @@ UseLogin no
EOF
fi
-# Add port 22/tcp to services
+# Care for services file
_sys="`uname -a`"
_nt=`expr "$_sys" : "CYGWIN_NT"`
if [ $_nt -gt 0 ]
@@ -344,33 +356,86 @@ fi
_services=`cygpath -u "${_wservices}"`
_serv_tmp=`cygpath -u "${_wserv_tmp}"`
-mount -b -f "${_wservices}" "${_services}"
-mount -b -f "${_wserv_tmp}" "${_serv_tmp}"
+mount -t -f "${_wservices}" "${_services}"
+mount -t -f "${_wse...
2009 Jan 28
1
[PATCH] Update Cygwin service installer script for new Cygwin release
...====
@@ -76,7 +76,7 @@ update_services_file() {
fi
_serv_tmp="${_my_etcdir}/srv.out.$$"
- mount -t -f "${_win_etcdir}" "${_my_etcdir}"
+ mount -o text -f "${_win_etcdir}" "${_my_etcdir}"
# Depends on the above mount
_wservices=`cygpath -w "${_services}"`
@@ -278,8 +278,6 @@ install_service() {
echo -e "${_csih_QUERY_STR} Do you want to install sshd as a service?"
if csih_request "(Say \"no\" if it is already installed as a service)"
then
- csih_inform "Note that th...
2005 Mar 13
0
[PATCH] contrib/cygwin/ssh-host-config: Reliability fix
...quot;your ${SYSCONFDIR}/group file. Please regenerate this entry using 'mkgroup -l'"
- echo "and restart this script."
+ echo "mkgroup -l produces no group with SID S-1-5-32-544 (Local administrators group)."
exit 1
fi
dos_var_empty=`cygpath -w ${LOCALSTATEDIR}/empty`
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.
2005 Feb 10
0
Trouble calling rsync from Java
...mpany over a LAN. Users
can specify info on their computer that should be archived to a central
location, then a Java servlet calls Runtime.exec() to launch the following
script:
#!/bin/sh
from=$1
to=$2
mntName=$3
mount -f "$from" "/$mntName"
rsync -avz "/$mntName/" `cygpath "$to"`
umount "/$mntName"
This works fine on my development box, but when I moved everything to the
production environment, I get the following error every time:
pipe: Operation not permitted
rsync error: error in IPC code (code 14) at
/home/lapo/packaging/tmp/rsync-2.6.0/pipe...
2006 May 14
0
[LLVMdev] llvm-gcc4 & mingw32 & bash
...nds in bash (they are called
"builtins"). For example "echo", "pwd", etc. Some other commands are
just binaries in /usr/bin directory. Our goal it to get paths like
"drive:/path" from pwd, not "/drive/path". We can tunnel output of
/usr/bin/pwd thru cygpath to get correct path. But this won't work,
since /usr/bin/pwd is not actually called, because of presence of
builtin.
We should disable that builtin to get everything work. Well, we can
done it executing "enable -n pwd" in .bashrc script. But this won't
work, since configure scrip...
2007 Nov 29
0
[LLVMdev] LLVM on MinGW
...ame extension. This process is
described in http://llvm.org/docs/GettingStarted.html#cross-compile
2. Feed all the paths to tablegen via cygdrive program. In this case
you'll need to tweak build system in several places:
- Detect, if you're really building mingw-on-cygwin
- Detect, where cygpath is located
- Feed paths provided to tablegen via cygdrive
There probably is possibility, that paths in some other places need to
be handled in the same fashion.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2011 Feb 10
2
Installing R on cygwin
Hi R users,
Thanks in advance.
Is it possible to install R on cygwin? If yes, can anyone assist me how can I install R on cygwin?
Currently, I am using R on Windows XP. I have found that binary version of some packages such as RCurl is not available.
Once again, thank you very much for the time you have given.
Regards,
Deb
[[alternative HTML version deleted]]
2002 Jul 07
1
[PATCH]: Some fixes in contrib/cygwin/ssh-host-config
...t;There are still ssh processes running. Please shut them down first."
echo
- #exit 1
+ exit 1
fi
# Check for ${SYSCONFDIR} directory
@@ -340,7 +340,7 @@ then
if request "Shall this script create a local user 'sshd' on this machine?"
then
dos_var_empty=`cygpath -w /var/empty`
- net user sshd /add /fullname:"sshd privsep" "/HOMEDIR:$dos_var_empty" > /dev/null 2>&1 && sshd_in_sam=yes
+ net user sshd /add /fullname:"sshd privsep" "/homedir:$dos_var_empty" /active:no > /dev/null 2>&1...
2010 Dec 23
3
[LLVMdev] LLVM on Cygwin: why tests don't run
....
If PATHEXT is only relevant on Windows, perhaps the split should be
done with a hardcoded ';' instead of os.pathsep
Otherwise, it should be the responsibility of the user to set PATHEXT
to the appropriate form in his Cygwin environment, e.g. with something
like this in .bashrc
PATHEXT=`cygpath -p -u $PATHEXT`
This should be documented in LLVM somewhere (perhaps in GettingStarted.html ?)
Any opinions?
P.S.
With the above change, "make check-all" starts to run. Estimated run
time: 40 hours on my 1.8GHz single-core Centrino laptop. (The same
machine running Linux completed &quo...
2001 Jan 18
1
New configuration scripts for Cygwin
...uot;CYGWIN_NT"`
if [ $_nt -gt 0 ]
then
_wservices="${SYSTEMROOT}\\system32\\drivers\\etc\\services"
_wserv_tmp="${SYSTEMROOT}\\system32\\drivers\\etc\\srv.out.$$"
else
_wservices="${WINDIR}\\SERVICES"
_wserv_tmp="${WINDIR}\\SERV.$$"
fi
_services=`cygpath -u "${_wservices}"`
_serv_tmp=`cygpath -u "${_wserv_tmp}"`
mount -b -f "${_wservices}" "${_services}"
mount -b -f "${_wserv_tmp}" "${_serv_tmp}"
if [ `grep -q 'sshd[ \t][ \t]*22' "${_services}"; echo $?` -ne 0 ]
then...