[ug-bosug] Solaris parted
Pradhap Devarajan
Pradhap.Devarajan at Sun.COM
Mon Apr 16 05:32:55 PDT 2007
Hi Anil,
Make sure gcc in PATH. add /usr/sfw/bin to $PATH in .bashrc.
~ Pradhap.D
Anil Gulecha wrote:
> Ah.. i tried building but it failed. The issue is with by build setup
> as others have been able to compile it.
>
> bash-3.00$ pwd
> /space/solaris-parted-0.1.2
> bash-3.00$ ls
> ABOUT-NLS compile configure.ac <http://configure.ac>
> libparted parted.spec.in <http://parted.spec.in>
> ChangeLog config.guess configure.ac~ libtool partprobe
> Makefile config.h copying ltmain.sh po
> Makefile.am <http://Makefile.am> config.h.in
> <http://config.h.in> debug missing readme
> Makefile.in <http://Makefile.in> config.log depcomp
> mkinstalldirs scripts
> aclocal.m4 config.rpath doc news stamp-h1
> authors config.status include parted thanks
> autom4te.cache config.sub install parted.m4 todo
> bugs configure install-sh parted.spec
> bash-3.00$ make
> make all-recursive
> Making all in po
> Making all in libparted
> Making all in labels
> source='rdb.c' object='rdb.lo ' libtool=yes \
> DEPDIR=.deps depmode=none /bin/bash ../../depcomp \
> /bin/bash ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H
> -I. -I. -I../.. -I../../include -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -DLOCALEDIR="\"/usr/local/share/locale\""
> -DLOCALEDIR="\"/usr/local/share/locale\"" -W -Wall -Wno-unused
> -Wno-switch -Wno-format -Werror -c -o rdb.lo rdb.c
> ../../libtool: line 96: gcc: command not found
> ../../libtool: line 97: gcc: command not found
> First RE may not be null
> First RE may not be null
> First RE may not be null
> First RE may not be null
> mkdir .libs
> cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -D_REENTRANT
> -D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/local/share/locale\"
> -DLOCALEDIR=\"/usr/local/share/locale\" -W -Wall -Wno-unused
> -Wno-switch -Wno-format -Werror -c rdb.c -KPIC -DPIC -o .libs/rdb.o
> cc: illegal option -W-Wall
> *** Error code 1
> make: Fatal error: Command failed for target `rdb.lo'
> Current working directory /space/solaris-parted-0.1.2/libparted/labels
> *** 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 all-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 && make $local_target) \
> || eval $failcom; \
> done; \
> if test "$dot_seen" = "no"; then \
> make "$target-am" || exit 1; \
> fi; test -z "$fail"
> make: Fatal error: Command failed for target `all-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 all-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 && make $local_target) \
> || eval $failcom; \
> done; \
> if test "$dot_seen" = "no"; then \
> make "$target-am" || exit 1; \
> fi; test -z "$fail"
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /space/solaris-parted-0.1.2
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> bash-3.00$
>
> What am I missing?
>
> Regards
> Anil
>
> On 4/15/07, *Ananth Shrinivas* <Ananth.Shrinivas at sun.com
> <mailto:Ananth.Shrinivas at sun.com>> wrote:
>
>
> nikhil v wrote:
> > Hi,
> > Thanks a lot to all .
> > The parted code that we had uploaded a while ago had a small
> error. It
> > refused to configure becoz of that. The new code has been put up.
>
> make install in libparted and parted worked nevetheless. Anyway I
> downloaded the new file file too. The configure/make error in doc has
> disappeared and the code works on all SX builds and IDE disks I have
> tested so far.
>
> Cheers,
> Ananth
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>
--
Sun Microsystems (I) Pvt Ltd
Bangalore
More information about the ug-bosug
mailing list