1
|
mitydsp@mitydsp-dev:/media/MityDSP/Modbus library/libmodbus-3.1.4$ make install
|
2
|
Making install in src
|
3
|
/bin/mkdir -p '/usr/local/lib'
|
4
|
/bin/sh ../libtool --mode=install /usr/bin/install -c libmodbus.la '/usr/local/lib'
|
5
|
libtool: install: /usr/bin/install -c .libs/libmodbus.so.5.1.0 /usr/local/lib/libmodbus.so.5.1.0
|
6
|
/usr/bin/install: cannot create regular file `/usr/local/lib/libmodbus.so.5.1.0': Permission denied
|
7
|
make[2]: *** [install-libLTLIBRARIES] Error 1
|
8
|
make[1]: *** [install-am] Error 2
|
9
|
make: *** [install-recursive] Error 1
|
10
|
mitydsp@mitydsp-dev:/media/MityDSP/Modbus library/libmodbus-3.1.4$ sudo make install
|
11
|
[sudo] password for mitydsp:
|
12
|
Making install in src
|
13
|
/bin/mkdir -p '/usr/local/lib'
|
14
|
/bin/sh ../libtool --mode=install /usr/bin/install -c libmodbus.la '/usr/local/lib'
|
15
|
libtool: install: /usr/bin/install -c .libs/libmodbus.so.5.1.0 /usr/local/lib/libmodbus.so.5.1.0
|
16
|
libtool: install: (cd /usr/local/lib && { cp -pR -f libmodbus.so.5.1.0 libmodbus.so.5 || { rm -f libmodbus.so.5 && cp -pR libmodbus.so.5.1.0 libmodbus.so.5; }; })
|
17
|
libtool: install: (cd /usr/local/lib && { cp -pR -f libmodbus.so.5.1.0 libmodbus.so || { rm -f libmodbus.so && cp -pR libmodbus.so.5.1.0 libmodbus.so; }; })
|
18
|
libtool: install: /usr/bin/install -c .libs/libmodbus.lai /usr/local/lib/libmodbus.la
|
19
|
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
|
20
|
/sbin/ldconfig.real: /usr/local/lib/libmodbus.so.5 is not a symbolic link
|
21
|
|
22
|
----------------------------------------------------------------------
|
23
|
Libraries have been installed in:
|
24
|
/usr/local/lib
|
25
|
|
26
|
If you ever happen to want to link against installed libraries
|
27
|
in a given directory, LIBDIR, you must either use libtool, and
|
28
|
specify the full pathname of the library, or use the '-LLIBDIR'
|
29
|
flag during linking and do at least one of the following:
|
30
|
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
|
31
|
during execution
|
32
|
- add LIBDIR to the 'LD_RUN_PATH' environment variable
|
33
|
during linking
|
34
|
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
|
35
|
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
|
36
|
|
37
|
See any operating system documentation about shared libraries for
|
38
|
more information, such as the ld(1) and ld.so(8) manual pages.
|
39
|
----------------------------------------------------------------------
|
40
|
/bin/mkdir -p '/usr/local/include/modbus'
|
41
|
/usr/bin/install -c -m 644 modbus.h modbus-version.h modbus-rtu.h modbus-tcp.h '/usr/local/include/modbus'
|
42
|
Making install in doc
|
43
|
make[2]: Nothing to be done for `install-exec-am'.
|
44
|
Making install in tests
|
45
|
make[2]: Nothing to be done for `install-exec-am'.
|
46
|
make[2]: Nothing to be done for `install-data-am'.
|
47
|
make[2]: Nothing to be done for `install-exec-am'.
|
48
|
/bin/mkdir -p '/usr/local/share/doc/libmodbus'
|
49
|
/usr/bin/install -c -m 644 MIGRATION README.md '/usr/local/share/doc/libmodbus'
|
50
|
/bin/mkdir -p '/usr/local/lib/pkgconfig'
|
51
|
/usr/bin/install -c -m 644 libmodbus.pc '/usr/local/lib/pkgconfig'
|