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

Compile issue on Ubuntu 13.10 desktop - AX_PYTHON_MODULE(yaml, fatal) #31

Closed liquiz closed 10 years ago

liquiz commented 10 years ago

Did a get clone of the repository (the link from freecode.com was returning a server error 500)

doing a make results in the following

make

./do all Removing previously built files... do all do config do autogen.sh exists. do configure.ac exists. do: config: got exit code 2 do: all: got exit code 1 make: *\ [all] Error 1

Digging a little further it looks like auttogen.sh runs fine but configure errors out with the following

checking for strcasecmp... yes checking for strstr... yes checking for strtol... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu ./configure: line 4002: syntax error near unexpected token yaml,' ./configure: line 4002:AX_PYTHON_MODULE(yaml, fatal)'

Im guessing we are looking for the python yaml file

pip install pyaml

Downloading/unpacking pyaml Downloading pyaml-13.12.0.tar.gz Running setup.py egg_info for package pyaml

Requirement already satisfied (use --upgrade to upgrade): PyYAML in /usr/lib/python2.7/dist-packages (from pyaml) Installing collected packages: pyaml Running setup.py install for pyaml

Successfully installed pyaml Cleaning up...

baruch commented 10 years ago

Thanks for the notification I'll look into this.

On Wed, Mar 19, 2014 at 9:58 PM, liquiz notifications@github.com wrote:

Did a get clone of the repository (the link from freecode.com was returning a server error 500)

doing a make results in the following make

./do all Removing previously built files... do all do config do autogen.sh exists. do configure.ac exists. do: config: got exit code 2 do: all: got exit code 1 make: *\ [all] Error 1

Digging a little further it looks like auttogen.sh runs fine but configure errors out with the following

checking for strcasecmp... yes checking for strstr... yes checking for strtol... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu ./configure: line 4002: syntax error near unexpected token yaml,' ./configure: line 4002:AX_PYTHON_MODULE(yaml, fatal)'

Im guessing we are looking for the python yaml file pip install pyaml

Downloading/unpacking pyaml Downloading pyaml-13.12.0.tar.gz Running setup.py egg_info for package pyaml

Requirement already satisfied (use --upgrade to upgrade): PyYAML in /usr/lib/python2.7/dist-packages (from pyaml) Installing collected packages: pyaml Running setup.py install for pyaml

Successfully installed pyaml Cleaning up...

— Reply to this email directly or view it on GitHubhttps://github.com/baruch/diskscan/issues/31 .

baruch commented 10 years ago

The problem seems to be that the AX_PYTHON_MODULE wasn't found on your system, I now include it in the archive to prevent this error. should be fixed in the latest version.

This was fixed in commit 08f520c44d99e1dd690056d4224928f2eb825c4e