[ug-bosug] Solaris parted

Moinak Ghosh Moinak.Ghosh at Sun.COM
Mon Apr 16 06:11:29 PDT 2007


Include /usr/ccs/bin in your path. Also looking at the warnings
you need to use /usr/sfw/bin/gmake (GNU make) instead of make.

Regards,
Moinak.

Anil Gulecha wrote:
>
>
> On 4/16/07, *Pradhap Devarajan* <Pradhap.Devarajan at sun.com 
> <mailto: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 <http://Makefile.in.in> 
> remove-potcdate.sin  quot.sed boldquot.sed en at quot.header 
> <mailto:en at quot.header> en at boldquot.header <mailto: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 
> <http://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 <http://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
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>   




More information about the ug-bosug mailing list