Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
a86b5f24
Commit
a86b5f24
authored
Aug 31, 2013
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automatically run ldconfig after install if possible.
parent
2452ed95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Makefile.am
c++/Makefile.am
+5
-0
install.md
doc/install.md
+0
-3
No files found.
c++/Makefile.am
View file @
a86b5f24
...
@@ -227,8 +227,13 @@ capnpc_c___SOURCES = src/capnp/compiler/capnpc-c++.c++
...
@@ -227,8 +227,13 @@ capnpc_c___SOURCES = src/capnp/compiler/capnpc-c++.c++
# Symlink capnpc -> capnp. The capnp binary will behave like the old capnpc
# Symlink capnpc -> capnp. The capnp binary will behave like the old capnpc
# binary (i.e. like "capnp compile") when invoked via this symlink.
# binary (i.e. like "capnp compile") when invoked via this symlink.
#
# Also attempt to run ldconfig, because otherwise users get confused. If
# it fails (e.g. because the platform doesn't have it, or because the
# user doesn't have root privileges), don't worry about it.
install-exec-hook
:
install-exec-hook
:
ln
-sf
capnp
$(DESTDIR)$(bindir)
/capnpc
ln
-sf
capnp
$(DESTDIR)$(bindir)
/capnpc
ldconfig < /dev/null
>
/dev/null 2>&1
||
true
uninstall-hook
:
uninstall-hook
:
rm
-f
$(DESTDIR)$(bindir)
/capnpc
rm
-f
$(DESTDIR)$(bindir)
/capnpc
...
...
doc/install.md
View file @
a86b5f24
...
@@ -67,9 +67,6 @@ This will install `capnp`, the Cap'n Proto command-line tool. It will also inst
...
@@ -67,9 +67,6 @@ This will install `capnp`, the Cap'n Proto command-line tool. It will also inst
`libcapnpc`
, and
`libkj`
in
`/usr/local/lib`
and headers in
`/usr/local/include/capnp`
and
`libcapnpc`
, and
`libkj`
in
`/usr/local/lib`
and headers in
`/usr/local/include/capnp`
and
`/usr/local/include/kj`
.
`/usr/local/include/kj`
.
On Linux, if running
`capnp`
immediately after installation produces an error complaining about
missing libraries, run
`sudo ldconfig`
and try again.
### Building from Git with Autotools
### Building from Git with Autotools
If you download directly from Git, and you don't want to
If you download directly from Git, and you don't want to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment