Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling on Ubuntu #2

Closed
modem7 opened this issue Dec 7, 2021 · 4 comments
Closed

Compiling on Ubuntu #2

modem7 opened this issue Dec 7, 2021 · 4 comments

Comments

@modem7
Copy link

modem7 commented Dec 7, 2021

Heya @vitlav,

Just stumbled across this particular repo and I'm having a bit of a difficult time compiling, just curious if you could give me a bit of guidance?

If I try automake, I get a few errors.

configure.ac:14: error: required file './compile' not found
configure.ac:14:   'automake --add-missing' can install 'compile'
configure.ac:9: error: required file './config.guess' not found
configure.ac:9:   'automake --add-missing' can install 'config.guess'
configure.ac:9: error: required file './config.sub' not found
configure.ac:9:   'automake --add-missing' can install 'config.sub'
configure.ac:11: error: required file './install-sh' not found
configure.ac:11:   'automake --add-missing' can install 'install-sh'
configure.ac:11: error: required file './missing' not found
configure.ac:11:   'automake --add-missing' can install 'missing'
src/Makefile.am:23: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: error: required file './depcomp' not found
src/Makefile.am:   'automake --add-missing' can install 'depcomp'

and if I try to run autogen I get:

configure.ac:29: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library
configure.ac:30: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.ac:29: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:30: error: possibly undefined macro: AM_GNU_GETTEXT

No doubt it's an ID10T issue!

@modem7 modem7 changed the title Compiling Compiling on Ubuntu Dec 7, 2021
@modem7 modem7 closed this as completed Mar 1, 2022
@gregewing
Copy link

I'm having the same issues, what was your fix ?

@modem7
Copy link
Author

modem7 commented Jan 9, 2023

I'm having the same issues, what was your fix ?

#5 (comment)

git clone https://github.com/vitlav/hddtemp.git
cd hddtemp/
./autogen.sh
./configure
cd src/
make

@gregewing
Copy link

Thanks. I found a list of pre-requisite packages for building the software in another thread aind installed them all, and started the build. It quickly got itself into an infinite loop trying to do the same one thing over and over, so I gave up and used the docker image instead, as that was my goal in the beginning anyway.

thanks fro your help, and thanks for th docker image. May you rapidly eclipse the 5M+ downloads of the drewster727 image.

@modem7
Copy link
Author

modem7 commented Jan 17, 2023

Thanks. I found a list of pre-requisite packages for building the software in another thread aind installed them all, and started the build. It quickly got itself into an infinite loop trying to do the same one thing over and over, so I gave up and used the docker image instead, as that was my goal in the beginning anyway.

thanks fro your help, and thanks for th docker image. May you rapidly eclipse the 5M+ downloads of the drewster727 image.

@gregewing - Just in case it's still useful:

I've just made a Dockerfile that builds the binary without autogen + updates the drive database from Gentoo.
https://github.com/modem7/hddtemp-docker/blob/master/Dockerfile#L12-L29

Seems to work with no issues so far. It should be quite easy to adapt to bare metal if needs be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants