baruch / diskscan

Scan disk for bad or near failure sectors, performs disk diagnostics
GNU General Public License v3.0
108 stars 29 forks source link

The release does not build on Ubuntu 12.04.4 LTS #32

Closed alexandre-mbm closed 10 years ago

alexandre-mbm commented 10 years ago
alexandre$ lsb_release -d
Description:    Ubuntu 12.04.4 LTS
alexandre$ pwd
/home/alexandre/Build/diskscan/diskscan-0.14.1
alexandre$ ./do all
Removing previously built files...
do  all
do    config
do      autogen.sh exists.
do      configure.ac exists.
do:   config: got exit code 63
do: all: got exit code 1
baruch commented 10 years ago

Can you please send the output of:

alexandre-mbm commented 10 years ago

There are not configure.log and config.h.

autogen.sh.log output:

configure.ac:4: error: Autoconf version 2.69 or higher is required
configure.ac:4: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63

Really. My version of the autoconf:

alexandre$ autoconf -V | head -n 1
autoconf (GNU Autoconf) 2.68

Update

I have installed the newer autoconf:

$ sudo apt-add-repository ppa:costamagnagianfranco/autoconf
$ sudo apt-get install autoconf

But there are more errors:

alexandre$ DESTDIR=/ PREFIX=/usr/local ./do all install
Removing previously built files...
do  all
do    config
do      autogen.sh exists.
do      configure.ac exists.
do:   config: got exit code 1
do: all: got exit code 1
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking for memory.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for clock_gettime... no
checking for memset... yes
checking for munmap... yes
checking for strcasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking python module: yaml... no
configure: error: failed to find required module yaml

Update

Solution for last error:

$ sudo apt-get install python-yaml

But there are more errors:

$ DESTDIR=/ PREFIX=/usr/local ./do all install

[...]

do  install
Installing to: //usr/local
install: é impossível mudar as permissões de “//usr/local/share/man/man1”: Operação não permitida
install: é impossível mudar as permissões de “//usr/local/share/doc/diskscan”: Arquivo ou diretório não encontrado
do: install: got exit code 1

Update

Solution for last error:

$ DESTDIR=/ PREFIX=/usr/local sudo ./do all install

Resolved.

I don't knew to debug the "do"...