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

./configure doesn't check for pandoc #3306

Closed
cyclops1982 opened this issue Jan 26, 2016 · 2 comments
Closed

./configure doesn't check for pandoc #3306

cyclops1982 opened this issue Jan 26, 2016 · 2 comments

Comments

@cyclops1982
Copy link
Contributor

HI,

./configure completes succesfully without pandoc, but building doesn't:

  CXXLD    libpipebackend.la
make[3]: Leaving directory `/data/home/cyclops/dev/pdns/modules/pipebackend'
make[3]: Entering directory `/data/home/cyclops/dev/pdns/modules'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/data/home/cyclops/dev/pdns/modules'
make[2]: Leaving directory `/data/home/cyclops/dev/pdns/modules'
Making all in codedocs
make[2]: Entering directory `/data/home/cyclops/dev/pdns/codedocs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/data/home/cyclops/dev/pdns/codedocs'
Making all in docs
make[2]: Entering directory `/data/home/cyclops/dev/pdns/docs'
echo "You need pandoc to generate the manpages"
You need pandoc to generate the manpages
exit 1
make[2]: *** [pdnsutil.1] Error 1
make[2]: Leaving directory `/data/home/cyclops/dev/pdns/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/home/cyclops/dev/pdns'
make: *** [all] Error 2
@pieterlexis
Copy link
Contributor

Hi @cyclops1982,

When running from git this is needed, when the user has a tarball, it contains the manpages already and no pandoc is needed. powerdns can still be built with make -C pdns, but I agree we should perhaps fail is pandoc is not installed and the generate manpages are missing

@Habbie Habbie added this to the auth-4.1.0 milestone Jan 26, 2016
@benv666
Copy link

benv666 commented Aug 11, 2016

Yesterday I tried to build pdns 4.0.1 from the release tarball on a Slackware64 machine without pandoc. Configure correctly detected the lack of pandoc and went through fine.
My slackbuild build script starts off with a 'make clean' however, which removed the provided manpages from the tarball after which make broke on the doc directory due to a lack of pandoc.

pieterlexis added a commit to pieterlexis/pdns that referenced this issue Dec 19, 2016
* Always dist the relevant manpages
* Don't build tools manpages is configured with `--disable-tools`
  (Closes PowerDNS#4643)
* Don't remove manpages if they cannot be rebuilt (Closes PowerDNS#3306)
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Dec 19, 2016
* Always dist the relevant manpages
* Don't build tools manpages is configured with `--disable-tools`
  (Closes PowerDNS#4643)
* Don't remove manpages if they cannot be rebuilt (Closes PowerDNS#3306)
@ahupowerdns ahupowerdns modified the milestone: auth-4.1.0 Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants