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

"make install" fails ( tag : 0.31.2 ) #36

Closed
crvigh opened this issue Sep 9, 2020 · 9 comments
Closed

"make install" fails ( tag : 0.31.2 ) #36

crvigh opened this issue Sep 9, 2020 · 9 comments

Comments

@crvigh
Copy link

crvigh commented Sep 9, 2020

Installing ne_uri.h into /tmp/abc/include/neon
/usr/bin/install: cannot stat './doc/man/*.3': No such file or directory
/usr/bin/install: cannot stat './doc/html/*.html'make: *** [Makefile:140: install-man] Error 1
make: *** Waiting for unfinished jobs....
: No such file or directory
make: *** [Makefile:133: install-html] Error 1
@crvigh
Copy link
Author

crvigh commented Sep 9, 2020

git master

Installing neon-config into /app/bin
/usr/bin/install -c -d /app/lib/pkgconfig
/usr/bin/install -c -m 644 neon.pc /app/lib/pkgconfig/neon.pc
rm -rf doc/man; mkdir -p doc/man
xmlto -o `pwd`/doc/man -x ./doc/man.xsl man ./doc/manual.xml
/bin/sh: xmlto: command not found
make: *** [Makefile:97: docs-man] Error 127
Error: module libneon: Child process exited with code 2

Is there an option to disable docs ?

@1480c1
Copy link
Contributor

1480c1 commented Sep 9, 2020

e16c926

you may need to do something like

curl -L https://github.com/notroj/neon/commit/e16c926419d05b80867a542d09e1ab4444bafd95.patch | patch -p1

@1480c1
Copy link
Contributor

1480c1 commented Sep 9, 2020

For the second one, you might need to check with your package manager for xmlto

@crvigh
Copy link
Author

crvigh commented Sep 9, 2020

I am using neon as a dependency in flatpak environment, and don't need any docs.

So, is there an option to disable docs totally during build ?

@1480c1
Copy link
Contributor

1480c1 commented Sep 9, 2020

The only way seems to be to sed it out and just remove the whole docs section from the makefile since there are no variable guarding that section of the makefile

@notroj
Copy link
Owner

notroj commented Sep 10, 2020

I'd just use "make install-lib install-headers install-config" or similar if you want to install everything apart from the docs?

@crvigh
Copy link
Author

crvigh commented Sep 10, 2020

@notroj ok, but a --disable-docs will be more useful.

@notroj
Copy link
Owner

notroj commented Sep 14, 2020

Fair enough - PR welcome for that @crvigh

@notroj
Copy link
Owner

notroj commented Oct 20, 2020

Feel free to reopen if you plan to submit a PR, I don't plan to work on this since it has a simple workaround.

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

3 participants