[ug-bosug] Solaris parted

Anil Gulecha anil.verve at gmail.com
Mon Apr 16 05:29:39 PDT 2007


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    libparted
parted.spec.in
ChangeLog       config.guess    configure.ac~   libtool         partprobe
Makefile        config.h        copying         ltmain.sh       po
Makefile.am     config.h.in     debug           missing         readme
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> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20070416/34675d88/attachment-0002.html 


More information about the ug-bosug mailing list