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

src/libpsl-native/test/googletest/ does not contain a CMakeLists.txt file #1971

Closed
ajensenwaud opened this issue Aug 19, 2016 · 3 comments
Closed
Labels
Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a Resolution-Answered The question is answered.

Comments

@ajensenwaud
Copy link
Contributor

aj:PowerShell/ (master✗) $ pushd src/libpsl-native [7:25:19]

~/PowerShell/src/libpsl-native ~/PowerShell ~/PowerShell/src ~
aj:libpsl-native/ (master✗) $ cmake -DCMAKE_BUILD_TYPE=Debug . [7:25:20]

-- The C compiler identification is Clang 3.4.1
-- The CXX compiler identification is Clang 3.4.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/CC
-- Check for working CXX compiler: /usr/bin/CC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at test/CMakeLists.txt:1 (add_subdirectory):
The source directory

/home/aj/PowerShell/src/libpsl-native/test/googletest

does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!
See also "/home/aj/PowerShell/src/libpsl-native/CMakeFiles/CMakeOutput.log".

Are some files missing / not committed yet?

@qrwteyrutiyoup
Copy link

Take a look at https://github.com/PowerShell/PowerShell#downloading-the-source-code

You probably didn't use --recursive when cloning, so you don't have the submodules (googletest is one of them). Try to update the submodules with

git submodule update --init

@lzybkr lzybkr added the Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a label Aug 21, 2016
@josteink
Copy link

I can second that. I had issues building libpsl-native until I did a recursive clone. Looking over the documentation, it's all there really, but it's still a simple mistake to miss.

I suggest closing this issue.

@lzybkr
Copy link
Member

lzybkr commented Sep 12, 2016

Closing as it sounds like the question has been addressed - reopen if the solution doesn't help.

@lzybkr lzybkr closed this as completed Sep 12, 2016
@lzybkr lzybkr added the Resolution-Answered The question is answered. label Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a Resolution-Answered The question is answered.
Projects
None yet
Development

No branches or pull requests

4 participants