Project

General

Profile

Actions

Bug #1042

closed

Error during make on a clean system

Added by Ricardo Nabinger Sanchez over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
07/08/2016
Due date:
% Done:

100%

Estimated time:

Description

After successfully installing lttng-modules and userspace-rcu, I followed the instructions for installing lttng-ust. Both ./bootstrap and ./configure ran OK, but this error happened during make:

-- Could NOT find LTTngUST (missing:  LTTNGUST_LIBRARIES LTTNGUST_INCLUDE_DIRS)
-- Configuring done
(...)
-- Generating done
-- Build files have been written to: /home/rnsanchez/lttng/lttng-ust/doc/examples/cmake-multiple-shared-libraries/build
make[4]: Entering directory '/home/rnsanchez/lttng/lttng-ust/doc/examples/cmake-multiple-shared-libraries/build'
make[5]: Entering directory '/home/rnsanchez/lttng/lttng-ust/doc/examples/cmake-multiple-shared-libraries/build'
make[6]: Entering directory '/home/rnsanchez/lttng/lttng-ust/doc/examples/cmake-multiple-shared-libraries/build'
make[6]: Leaving directory '/home/rnsanchez/lttng/lttng-ust/doc/examples/cmake-multiple-shared-libraries/build'
make[6]: Entering directory '/home/rnsanchez/lttng/lttng-ust/doc/examples/cmake-multiple-shared-libraries/build'
[ 10%] Building CXX object CMakeFiles/tracepoint-provider.dir/tracepoint-provider.cpp.o
In file included from /home/rnsanchez/lttng/lttng-ust/doc/examples/cmake-multiple-shared-libraries/tracepoint-provider.cpp:26:0:
/home/rnsanchez/lttng/lttng-ust/doc/examples/cmake-multiple-shared-libraries/tracepoint-provider.h:32:30: fatal error: lttng/tracepoint.h: No such file or directory
compilation terminated.
CMakeFiles/tracepoint-provider.dir/build.make:62: recipe for target 'CMakeFiles/tracepoint-provider.dir/tracepoint-provider.cpp.o' failed

I should mention that this is a clean-system install, i.e., it is a brand-new LTTng installation on a recently installed machine. Linux distribution is Slackware64-14.2, no extraneous software. Hardware is Dell R720, 2x Intel E5-2620 v3, 320 GB RAM. Linux kernel 4.6.3, config is based on Slackware's default plus many tweaks to enable all sorts of tracing stuff.

Git suggests this is a 2.9.0-pre version. Hash is 723f78e383087aebe4975305d8fd3ca5a0c9097b.

To confirm that the failed example expects the (self-)dependencies to be already installed, I ran make install as root. The pre-requisites got installed while make install started, and eventually the compilation of the examples succeeded. By doing this, the package was successfully installed.

Actions

Also available in: Atom PDF