icecc / icecream

Distributed compiler with a central scheduler to share build load
GNU General Public License v2.0
1.6k stars 252 forks source link

Build error on Ubuntu 20.04 #616

Closed themightyoarfish closed 1 year ago

themightyoarfish commented 1 year ago

On the above system, I can start the build with

    sudo apt -y install libcap-ng-dev liblzo2-dev libzstd-dev libarchive-dev
    ./configure
    make && sudo make install

However, the install bit fails with

…
/usr/bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 ./icecc.1 ./icerun.1 ./iceccd.1 ./icecc-scheduler.1 ./icecc-create-env.1 '/usr/local/share/man/man1'
/usr/bin/install: cannot stat './icecc.1': No such file or directory
/usr/bin/install: cannot stat './icerun.1': No such file or directory
/usr/bin/install: cannot stat './iceccd.1': No such file or directory
/usr/bin/install: cannot stat './icecc-scheduler.1': No such file or directory
/usr/bin/install: cannot stat './icecc-create-env.1': No such file or directory
make[2]: *** [Makefile:360: install-man1] Error 1
make[2]: Leaving directory '/home/rasmus/sources/icecream/doc'
make[1]: *** [Makefile:497: install-am] Error 2
make[1]: Leaving directory '/home/rasmus/sources/icecream/doc'
make: *** [Makefile:429: install-recursive] Error 1

Is this cause for concern? I also see a lot of messages like this

asciidoc is missing. Install asciidoc package. -a revnumber=1.4.90 -d manpage -b docbook -o ./iceccd.xml iceccd.adoc

do i need this or is it just for doc?

themightyoarfish commented 1 year ago

the binaries appear to be installed, so maybe does not matter.

themightyoarfish commented 1 year ago

Also, how do i build the scheduler? I don't seem to get a binary for that one.

themightyoarfish commented 1 year ago

Ok it turns out, these dependencies are needed:

    sudo apt -y install libcap-ng-dev liblzo2-dev libzstd-dev libarchive-dev asciidoc

Is there documentation somewhere that I missed on what deps to install?

ossilator commented 1 year ago

missing deps should be handled by the configure script, though, so this is a valid report.