bug-fdisk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-fdisk] Problem with building Fdisk


From: George Goffe
Subject: [bug-fdisk] Problem with building Fdisk
Date: Tue, 7 Sep 2010 12:54:24 -0700

Hi,

My purpose in getting the source for fdisk was to add a little code to it (very little) so that it accepts "+2g as well as +2G" insisting on the capital G.

In building Fdisk, I ran across this requirement for a parted.h file and a minor(?) error message "./configure: line 4561: gt_INTL_MACOSX: command not found"

Am I doing something wrong?

George...


goffeg bash-4.1 ~/tools/fdisk/fdisk-1.2.4 };-) ../mkconfig
#!/bin/bash -xv

 if [ $# = 0 ]
 then
    ncpus=1
 else
    ncpus=$1
 fi
+ '[' 0 = 0 ']'
+ ncpus=1

 sysver=`uname -s`
uname -s
++ uname -s
+ sysver=Linux
 syslvl=`uname -r`
uname -r
++ uname -r
+ syslvl=2.6.32-gg228-generic

 osname=$sysver.$syslvl
+ osname=Linux.2.6.32-gg228-generic

 case $osname in
    SunOS.5.5)
       osname="$sysver.5.5"
       ;;
    SunOS.5.5.1)
       osname="$sysver.5.5.1"
       ;;
    SunOS.5.6)
       osname="$sysver.5.6"
       ;;
    SunOS.5.7)
       osname="$sysver.5.7"
       ;;
    SunOS.5.8)
       osname="$sysver.5.8"
       ;;
    SunOS.5.9)
       osname="$sysver.5.9"
       ;;
    SunOS.5.10)
       osname="$sysver.5.10"
       ;;
    SunOS.5.11)
       osname="$sysver.5.11"
       ;;
    Linux*)
       osname="$sysver"
       ;;
    *CYGWIN*)
       osname=CYGWIN
       ;;
    *)
       printf "%s" 'Wrong system level encountered...'
       exit 86
 esac
+ case $osname in
+ osname=Linux

# rhel gcc
 PATH=/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/bin:/usr/ccs/bin:/usr/X11/bin:/usr/dt/bin
+ PATH=/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/bin:/usr/ccs/bin:/usr/X11/bin:/usr/dt/bin

# /usr/lsd gcc
#PATH=/usr/lsd/$osname/bin:/usr/sbin:/sbin:/usr/bin:/bin:/usr/local/bin:/usr/ccs/bin:/usr/X11/bin:/usr/dt/bin

 export PATH
+ export PATH

 CONFIG_SHELL=/bin/bash
+ CONFIG_SHELL=/bin/bash
 export CONFIG_SHELL
+ export CONFIG_SHELL

 which gcc
+ which gcc
/usr/bin/gcc

 gcc --version
+ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 which as
+ which as
/usr/bin/as

 as --version
+ as --version
GNU assembler (GNU Binutils for Ubuntu) 2.20.1-system.20100303
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-linux-gnu'.

 which ld
+ which ld
/usr/bin/ld

 ld --version
+ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

 which libtool
+ which libtool

 libtool --version
+ libtool --version
../mkconfig: line 76: libtool: command not found

 make distclean
+ make distclean
make: *** No rule to make target `distclean'.  Stop.

 ./configure --prefix=/usr/lsd/$osname --verbose        \
             --enable-dependency-tracking               \
             --with-gnu-ld                              \
             --with-gnu-ext
+ ./configure --prefix=/usr/lsd/Linux --verbose --enable-dependency-tracking --with-gnu-ld --with-gnu-ext
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done

checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking host system type... (cached) x86_64-unknown-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking parted/parted.h usability... no
checking parted/parted.h presence... no
checking for parted/parted.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for parted/parted.h... (cached) no
configure: error: <parted/parted.h> not found; install GNU/Parted


reply via email to

[Prev in Thread] Current Thread [Next in Thread]