[Orca-users] make install fails on AIX 5.2 (orca-snapshot-r385)
Blair Zajac
blair at orcaware.com
Wed Sep 8 15:25:37 PDT 2004
GKP Tharan wrote:
> Greetings!
>
> I have set up an Orca server on Solaris 9, It is running the Orca & web.
> I was able to sync the SE tool kit orcallator data from other Solaris
> server into this host via rsync and ssh.
>
> Now, I tried to monitor an AIX 5.2 system. So, I downloaded orca-snapshot-r385
> & able to run the config, make (using gcc 2.9 & perl 5.8.3) .
>
> However the make install fails with the following error:
>
> Any pointers or help would be very much appreciated.
>
> Thank you,
> -Murali
>
> root at beach(./orca-snapshot-r385)make install
> cd packages
> make CFLAGS=-g -O2 install || exit 1
> Target "install" is up to date.
> cd ..
> cd lib
> make CFLAGS=-g -O2 install || exit 1
> /chroot/vc/mk/orca-snapshot-r385/config/mkinstalldirs /home/orca/lib/Orc
> a
> mkdir /home/orca/lib
> mkdir /home/orca/lib/Orca
> /chroot/vc/mk/orca-snapshot-r385/config/mkinstalldirs /home/orca/lib/SE/
> 3.2.1
> ...
> ....
> ...
> ...
>
> /chroot/vc/mk/orca-snapshot-r385/config/install-sh -c -m 0644 SE/3.3.1/orca_p_vm
> stat_class.se /home/orca/lib/SE/3.3.1
> cd ..; svnversion . 2>/dev/null
> make: 1254-004 The error code from the last command is 127.
Hello,
Looks like your version of make fails if the command svnversion doesn't exist.
I tried this on a Linux box and it worked even though svnversion isn't installed.
Can you try applying this patch and see if it works:
Index: lib/Makefile.in
===================================================================
--- lib/Makefile.in (revision 385)
+++ lib/Makefile.in (working copy)
@@ -52,7 +52,7 @@
done \
done
@echo 'cd ..; svnversion . 2>/dev/null'
- @current_rev="`cd ..; svnversion . 2>/dev/null`"; \
+ @current_rev="`cd ..; svnversion . 2>/dev/null; true`"; \
if test "$$current_rev" != "" && \
test "$$current_rev" != "exported"; then \
echo "Found good svnversion for `cd ..; pwd`: $$current_rev"; \
After applying the patch, run make once and then make install.
Thanks,
Blair
--
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/
More information about the Orca-users
mailing list