some problem about Cross-compiling owncloud client for windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
jim
Reply | Threaded
Open this post in threaded view
|

some problem about Cross-compiling owncloud client for windows

jim
This post has NOT been accepted by the mailing list yet.
Hi all,
    I use https://doc.owncloud.org/desktop/2.1/building.html.  to cross-compiler owncloud client for windows.
    The first step:
        cd admin/win32/docker
        docker build . -t ownCloud-client-win32:<version>

    I found some some problems´╝Ü in client/admin,  there is no folder named win32 . But there is a win folder. And the command "docker build . -t ownCloud-client-win32:<version>". Is this correct ?
    I use "docker build -t owncloud-client-win32:2.1 . " to replace.

   The second step:
         docker run ownCloud-client-win32:<version> -v "$PWD:/home/jenkins/client" \
           admin/win32/docker/build.sh $(id -u)
   I can't run this command.
   I use "docker run owncloud-client-win32:2.1 -v "$PWD:/home/junkings/client" \
           admin/win/docker/build.sh $(id -u)"
the error information :
   exec: "-v": executable file not found in $PATH
   Error response from daemon: Cannot start container 7b5afeee44b01a1307854514b6d0b41b7e5b485c45d6714ee6696e6fd893a93e: [8] System error: exec: "-v": executable file not found in $PATH

   So, How to compile correctly?
thankyou