Project

General

Profile

Bug #19294

Not able to build source code from Steps mentioned in README

Added by Amit Kumar about 7 years ago. Updated about 2 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
Category:
build
Target version:
-
% Done:

0%

Spent time:
Source:
Community (dev)
Tags:
build README
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Steps Followed: # git clone https://github.com/amitkumar50/ceph.git # cd ceph/ # ./install-deps.sh # ./do_cmake.sh # cd build # make
make: *** No targets specified and no makefile found. Stop. #

History

#1 Updated by Jos Collin about 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Jos Collin

Amit Kumar wrote:

Steps Followed:
  1. git clone https://github.com/amitkumar50/ceph.git
  2. cd ceph/
  3. ./install-deps.sh
  4. ./do_cmake.sh
  5. cd build
  6. make
    make: *** No targets specified and no makefile found. Stop. #

The reason is already specified. There is no Makefile. You wouldn't have completed do_cmake.sh successfully. Please check again and let us know if the problem persist.

#2 Updated by Jos Collin about 7 years ago

  • Category set to build
  • Source set to Community (dev)
  • Tags set to build README

#3 Updated by Amit Kumar about 7 years ago

  1. ./do_cmake.sh
    ......
    CMake Error at CMakeLists.txt:60 (message):
    Can't find sphinx-build.
-- Configuring incomplete, errors occurred!
See also "/root/ceph/build/CMakeFiles/CMakeOutput.log".
See also "/root/ceph/build/CMakeFiles/CMakeError.log".
+ cat
+ echo 40607
+ echo done.
done.
  1. yum install python-sphinx
    Redirecting to '/usr/bin/dnf install python-sphinx' (see 'man yum2dnf')

Last metadata expiration check: 1:52:10 ago on Fri Mar 17 16:58:32 2017.
Package python2-sphinx-1.4.8-2.fc24.noarch is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete! #

#4 Updated by Jos Collin about 7 years ago

Can you re-run the steps from the install-deps.sh onwards ?

#5 Updated by Jos Collin almost 7 years ago

  • Status changed from In Progress to Can't reproduce

No errors were found while running do_cmake.sh on the same machine. So changed the Status to Can't Reproduce.

#6 Updated by Mohammad Fatemipour about 2 years ago

Same problem here, I clone master branch of ceph and doing exactly the same steps as amit said and no makefile found.
I tested with v15.2.12 and do_cmake.sh works properly in taht version.

My os is ubuntu focal.

#7 Updated by Mohammad Fatemipour about 2 years ago

OK, make is replaced with ninja !
solved :)

Also available in: Atom PDF