Community
Participate
Working Groups
Building the proxy (PTP Server compiling problems) on Ubuntu is listing an error regarding SLURM (not installed) on PTP 5.0.4 but not with PTP 5.0.2.
The PTP proxy also does not build on Mac OS X Lion, although there is one additional problem which must be fixed before the SLURM error appears. On Lion, running "sh BUILD" on org.eclipse.ptp.macosx.x86 initially fails with the output shown below. In the case of the first error ("configure: line 2364: 15: command not found" on org.eclipse.ptp.proxy), the problematic line is if `expr "$VERSION" : "_@[^@]*@"` -gt 0 ; then which can be fixed by adding brackets if [ `expr "$VERSION" : "_@[^@]*@"` -gt 0 ]; then The subsequent "15: command not found" errors can be fixed similarly. After all of those have been fixed, the build fails with 'configure: error: The top installation directory of SLURM rms must be specified via "--with-slurm=DIR".' which makes me think this is the same problem as Denis is reporting on Ubuntu. Earlier in the output, SDM has also failed to compile ("configure: error: utils directory not found") although the build script continues past this. ==================== $ sh BUILD Building core/org.eclipse.ptp.utils... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... i386-apple-darwin11.2.0 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether gcc and cc understand -c and -o together... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for ranlib... ranlib checking for asprintf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands make[1]: Nothing to be done for `install-exec-am'. make[1]: Nothing to be done for `install-data-am'. Building core/org.eclipse.ptp.proxy... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... i386-apple-darwin11.2.0 configure: line 2364: 15: command not found configure: error: utils directory not found Building debug/org.eclipse.ptp.debug.sdm... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... i386-apple-darwin11.2.0 configure: error: utils directory not found Building rms/org.eclipse.ptp.rm.ibm.ll.proxy... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... i386-apple-darwin11.2.0 configure: line 2252: 15: command not found configure: error: utils directory not found Building rms/org.eclipse.ptp.rm.ibm.pe.proxy... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... i386-apple-darwin11.2.0 configure: line 2255: 15: command not found configure: error: utils directory not found Building rms/org.eclipse.ptp.rm.slurm.proxy... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking build system type... i386-apple-darwin11.2.0 configure: line 2275: 15: command not found configure: error: utils directory not found
Well Greg just got Lion on his machine so i think the ease of fixing it just increased. :)
Which version are you using? I just built using 5.0.4.201111121445 on Lion and it worked fine (apart from the missing "--with-slurm=DIR"). The equivalent line in configure is 2228 in my version, but this line is: if test `expr "$VERSION" : "_@^@*@"` -gt 0; then It seems like you're using an old version somehow. Are you building from the repo or using the proxy zip file?
> It seems like you're using an old version somehow. Are you building from the > repo or using the proxy zip file? I'm building from inside my git repo with the master branch checked out. I just realized this bug was for 5.0.4... maybe I should have filed separately... sorry...
Yes, please open a separate bug.
Done -- see Bug 369404
Fixed in master and ptp_5_0. Please test using the latest 5.0.5 build from http://wiki.eclipse.org/PTP/builds. Note that this is built using automake 1.11.2 and autoconf 2.68. If you have older versions then you may get a warning when running the BUILD script.
linux.x86_64 works with no problems for me now.