[ug-bosug] Solaris parted

Anil Gulecha anil.verve at gmail.com
Mon Apr 16 06:00:38 PDT 2007


On 4/16/07, Pradhap Devarajan <Pradhap.Devarajan at sun.com> wrote:
>
> Hi Anil,
> Make sure gcc in PATH.  add /usr/sfw/bin to $PATH in .bashrc.


Ah.. that worked. I assumed it would be using Sun Studio's cc.

The make seems t have gone fine. Make install however:

# echo $PATH
/usr/sbin:/usr/bin
# PATH=$PATH:/usr/sfw/bin
# export PATH
# /usr/ccs/bin/make install
Making install in po
if test "parted" = "gettext-tools"; then \
  /bin/sh .././mkinstalldirs /usr/local/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin  quot.sed boldquot.sed
en at quot.header en at boldquot.header insert-header.sin Rules-quot
Makevars.template; do \
    .././install-sh -c -m 644 ./$file \
                    /usr/local/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /usr/local/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
Making install in libparted
Making install in labels
Making install in fs
Making install in amiga
Making install in ext2
Making install in ufs
Making install in fat
Making install in ntfs
Making install in hfs
Making install in linux_swap
Making install in xfs
Making install in jfs
Making install in reiserfs
make: Warning: Too many rules defined for target solaris.lo
Current working directory /space/solaris-parted-0.1.2/libparted
make: Warning: Too many rules defined for target solaris.lo
Current working directory /space/solaris-parted-0.1.2/libparted
test -z "/usr/local/lib" || /bin/bash ../mkinstalldirs "/usr/local/lib"
 /bin/bash ../libtool --mode=install .././install-sh -c  'libparted.la'
'/usr/local/lib/libparted.la'
.././install-sh -c .libs/libparted-1.8.so.0.0.1 /usr/local/lib/libparted-
1.8.so.0.0.1
(cd /usr/local/lib && { ln -s -f libparted-1.8.so.0.0.1
libparted-1.8.so.0|| { rm -f
libparted-1.8.so.0 && ln -s libparted-1.8.so.0.0.1 libparted-1.8.so.0; }; })
(cd /usr/local/lib && { ln -s -f libparted-1.8.so.0.0.1 libparted.so || { rm
-f libparted.so && ln -s libparted-1.8.so.0.0.1 libparted.so; }; })
chmod +x /usr/local/lib/libparted-1.8.so.0.0.1
.././install-sh -c .libs/libparted.lai /usr/local/lib/libparted.la
.././install-sh -c .libs/libparted.a /usr/local/lib/libparted.a
chmod 644 /usr/local/lib/libparted.a
ranlib /usr/local/lib/libparted.a
../libtool: line 6600: ranlib: command not found
*** Error code 127
The following command caused the error:
list='libparted.la'; for p in $list; do \
  if test -f $p; then \
    f=`echo $p | sed -e 's|^.*/||'`; \
    echo " /bin/bash ../libtool --mode=install .././install-sh -c  '$p'
'/usr/local/lib/$f'"; \
    /bin/bash ../libtool --mode=install .././install-sh -c  "$p"
"/usr/local/lib/$f"; \
  else :; fi; \
done
make: Fatal error: Command failed for target `install-libLTLIBRARIES'
Current working directory /space/solaris-parted-0.1.2/libparted
*** Error code 1
The following command caused the error:
/usr/ccs/bin/make  install-exec-am install-data-am
make: Fatal error: Command failed for target `install-am'
Current working directory /space/solaris-parted-0.1.2/libparted
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo install-recursive | sed s/-recursive//`; \
list='labels fs'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && /usr/ccs/bin/make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  /usr/ccs/bin/make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `install-recursive'
Current working directory /space/solaris-parted-0.1.2/libparted
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo install-recursive | sed s/-recursive//`; \
list='po libparted parted partprobe include doc debug'; for subdir in $list;
do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && /usr/ccs/bin/make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  /usr/ccs/bin/make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `install-recursive'

Any pointers?

Also, what is the command to uninstall the stuff that was copied during this
partial install?

Regards
Anil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20070416/97df7199/attachment-0002.html 


More information about the ug-bosug mailing list