[kepler-users] Problem building Kepler 2.4 on Cygwin
Jianwu Wang
jianwu at sdsc.edu
Fri Jul 19 15:31:13 PDT 2013
Hi Jonathan,
Thanks for your experiment sharing. I'm glad you made it working.
So the reason you had problem at the beginning is because the svn was
installed by Cygwin?
My svn is tortoise svn 1.7.3. The version dependency on
https://kepler-project.org/developers/teams/build/systems/build-system/extension-build-system
are the ones we mainly tested against. We assume newer versions of these
tools have backward compatibility and work too.
Best wishes
Sincerely yours
Jianwu Wang, Ph.D.
jianwu at sdsc.edu
http://users.sdsc.edu/~jianwu/
Assistant Project Scientist
Scientific Workflow Automation Technologies (SWAT) Laboratory
San Diego Supercomputer Center
University of California, San Diego
San Diego, CA, U.S.A.
On 7/19/13 10:11 AM, Jonathan Boright wrote:
> Jianwu,
> Thanks you for the quick response. I'm afraid I wasn't explicit enough
> in my first e-mail... Just to be clear I am installing kepler into a
> directory named /kepler/2.4. and had already created the build-area
> folder within it. Because I was already in the build-area folder when
> I checked out the build-area-2.4 from the repository my check-out
> command line ended in " ." instead of 'build-area".
>
> I did manage to figure out the issue I was having and I'm describing
> it here in case it is useful to others.
> It turns out that the problem was caused by the svn version installed
> by cygwin. Cygwin no longer supports svn version 1.6 so I had v1.7
> installed. I noticed that in the kepler build documentation
> (https://kepler-project.org/developers/teams/build/systems/build-system/extension-build-system)
> the requirement of svn version 1.6 had been changed to "You have
> installed an SVN client" so I assumed the svn version I was using was
> OK. After making sure that all the other components were as prescribed
> (Ant v1.7.1, Java 1.6...) I was still getting the same error so I
> re-visited the svn version. First I upgraded the version installed by
> cygwin to 1.8... still failure.
> Then I downloaded and installed v1.7.10 (x64 version) from the
> Collabnet web site, and changed my .bashrc file to include the
> collabnet install directory in my PATH variable. In cywin this can be
> verified by:
> $ which svn
> /cygdrive/c/Program Files/CollabNet/Subversion Client/svn
>
> $ svn --version
> svn, version 1.7.10 (r1485443)
> compiled May 27 2013, 05:11:52
>
> I'm now able to check out and update kepler 2.4 without errors.
>
> Jon
>
> PS, Just FYI, I had un-installed Java 1.7 and Ant 1.8.4 from my
> machine to satisfy the stated build requirements. Once the svn issue
> was solved, however, I was able to re-install java 1.7 and Ant 1.8.4
> and still build kepler 2.4 successfully.
>
> On Thu, Jul 18, 2013 at 5:40 PM, Jianwu Wang <jianwu at sdsc.edu> wrote:
>> Hi Jonathan,
>>
>> I just tried it using Cygwin on windows 7 for 2.4. It worked for me.
>> The correct commands are as followed (more info is at
>> https://kepler-project.org/developers/teams/build/systems/build-system/extension-build-system).
>> I think your directory setting is wrong. First, you didn't check out
>> build-area-2.4 to be build-area. Second, it looks your build-area-2.4 is
>> inside of build-area, which is weird. We should only have one build-area
>> directory.
>>
>> mkdir kepler.modules
>> cd kepler.modules
>> svn co
>> https://code.kepler-project.org/code/kepler/releases/release-branches/build-area-2.4
>> build-area
>> cd build-area
>> ant change-to -Dsuite=kepler-2.4
>>
>>
>> Best wishes
>>
>> Sincerely yours
>>
>> Jianwu Wang, Ph.D.
>> jianwu at sdsc.edu
>> http://users.sdsc.edu/~jianwu/
>>
>> Assistant Project Scientist
>> Scientific Workflow Automation Technologies (SWAT) Laboratory
>> San Diego Supercomputer Center
>> University of California, San Diego
>> San Diego, CA, U.S.A.
>>
>> On 7/18/13 8:29 AM, Jonathan Boright wrote:
>>
>> All,
>>
>> I'm having trouble building the stable 2.4 release using cygwin. The
>> trouble comes when sending ant update or ant change-to -Dsuite...
>>
>> I was successful at checking out the build area:
>> me at xxxx /cygdrive/c/kepler/2.4/build-area
>> $ svn co
>> https://code.kepler-project.org/code/kepler/releases/release-branches/build-area-2.4
>> .
>> Restored 'resources'
>> Restored 'resources/modules.default'
>> Restored 'resources/installer'
>> ... [ many lines removed]
>> Restored 'src/org/kepler/build/UpgradeKeplerTasks.java'
>> Restored 'src/org/kepler/build/FindBugs.java'
>> Restored 'src/org/kepler/build/GetAllModules.java'
>> Checked out revision 32227.
>>
>> but then the following line fails:
>> me at xxxx /cygdrive/c/kepler/2.4/build-area
>> $ ant change-to -Dsuite=kepler-2.4
>> Buildfile: C:\kepler\2.4\build-area\build.xml
>>
>> change-to:
>> [change-to] Copying 1 file to C:\kepler\2.4\build-area
>> [change-to] Retrieving modules....
>> [change-to]
>> [change-to] kepler-2.4:
>> [change-to] Downloading (if necessary) kepler-2.4...
>> [change-to] svn co -r head
>> https://code.kepler-project.org/code/kepler/releases/release-branches/kepler-2.4
>> C:\kepler\2.4\kepler-2.4
>> [change-to] svn: E000002: Can't make directory
>> '/cygdrive/c/kepler/2.4/build-area/C:\kepler\2.4\kepler-2.4': No such
>> file or directory
>> [change-to]
>>
>> BUILD FAILED
>> C:\kepler\2.4\build-area\build.xml:93: ERROR: It appears that the
>> command did not execute properly and exited with an exit code of: 1
>>
>> Total time: 2 seconds
>>
>> boright at lupine /cygdrive/c/kepler/2.4/build-area
>> $
>>
>> It seems like it is trying to check out to the following incorrect
>> path " '/cygdrive/c/kepler/2.4/build-area/C:\kepler\2.4\kepler-2.4'"
>>
>> Any help would be greatly appreciated.
>>
>> Cheers,
>>
>> Jon
>>
>>
>> ------------------------------
>> ---
>> Jonathan Boright
>> Research Scientist
>> ISciences, LLC
>> 61 Main Street, Suite 200
>> Burlington, VT 05401
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at kepler-project.org
>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>
>>
>
>
More information about the Kepler-users
mailing list