Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SX++ fails when installed in /usr/local/bin/ #399

Open
ebertin opened this issue Sep 22, 2021 · 5 comments
Open

SX++ fails when installed in /usr/local/bin/ #399

ebertin opened this issue Sep 22, 2021 · 5 comments
Assignees
Labels
Milestone

Comments

@ebertin
Copy link
Member

ebertin commented Sep 22, 2021

SX++ stops with the error message

2021-09-15T14:35:20HST SourceXtractor FATAL : No module named '_SourceXtractorPy' 

if it is installed with the traditional build procedure (executable installed in /usr/local/bin/):

$ mkdir build
$ cd build
$ cmake ..
$ make

I understand that this may not be the recommended way of building and installing, but this is what most users would do before reading the manual 😉 .

@marcschefer marcschefer added the bug label Dec 6, 2021
@marcschefer marcschefer added this to the 0.16 milestone Dec 6, 2021
@marcschefer
Copy link
Member

I can't build the project at all using this method. I don't think it's supported maybe @degauden can confirm?

@degauden
Copy link
Collaborator

degauden commented Dec 9, 2021 via email

@marcschefer
Copy link
Member

Nope, it doesn't work for me. When trying to build Elements

Make Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.

I'm not sure this is worth spending time on as we have a documented method of building that works...

@degauden
Copy link
Collaborator

This warning is unrelated to the problem.

And I disagree: this is quite serious.

@marcschefer
Copy link
Member

Unless somebody has a solution to contribute, I don't think we'll solve this by next week and I don't think it's worth cancelling the release for it so I'm moving it to the next milestone.

@marcschefer marcschefer modified the milestones: 0.16, 0.17 Dec 10, 2021
@marcschefer marcschefer modified the milestones: 0.17, 0.18 Apr 12, 2022
@marcschefer marcschefer self-assigned this Nov 18, 2022
@marcschefer marcschefer modified the milestones: 0.18, 0.20 Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants