Bug 272216 - Compile error: No rule to make target /usr/lib/libm.so, required for RawEngine
Summary: Compile error: No rule to make target /usr/lib/libm.so, required for RawEngine
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: 2.0.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 10:07 UTC by Guillaume Paumier
Modified: 2018-04-01 09:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Paumier 2011-05-02 10:07:01 UTC
Version:           2.0.0 (using KDE 4.6.2) 
OS:                Linux

When trying to build the latest digikam-sc from git:

[  7%] Built target libraw
[  7%] Built target kdcraw_automoc
make[2]: *** No rule to make target « /usr/lib/libm.so », required for « lib/libkdcraw.so.20.0.0 ». Stopping.
make[1]: *** [extra/libkdcraw/libkdcraw/CMakeFiles/kdcraw.dir/all] Error 2
make: *** [all] Error 2

Reproducible: Always
Comment 1 caulier.gilles 2011-05-02 10:10:39 UTC
You don't have standard C++ math library on your system ??? Very strange...

Gilles Caulier
Comment 2 Guillaume Paumier 2011-05-02 10:28:21 UTC
I don't know. This happened after a distribution upgrade, maybe there was some wonkiness there?

Do you know what ubuntu package this library belongs to, so I can check?
Comment 3 caulier.gilles 2011-05-02 10:30:46 UTC
I don't know, i don't use Ubuntu. 

Gilles Caulier
Comment 4 Guillaume Paumier 2011-05-02 10:59:24 UTC
Libm was installed:
http://packages.ubuntu.com/search?suite=natty&&arch=amd64&mode=filename&searchon=contents&keywords=libm.so

It was a cmake cache issue. After clearing the build directory and redoing a cmake, everything works fine.