Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

make install does not work #1264

Closed
katarzyna-z opened this issue Oct 7, 2016 · 0 comments
Closed

make install does not work #1264

katarzyna-z opened this issue Oct 7, 2016 · 0 comments

Comments

@katarzyna-z
Copy link
Contributor

katarzyna-z commented Oct 7, 2016

make install does not work because of change of directories structure (in build directory). I received following error using make install:

cp build/bin/snapd /usr/local/bin/
cp: cannot stat 'build/bin/snapd': No such file or directory
Makefile:38: recipe for target 'install' failed
make: *** [install] Error 1

Current tree of build directory:

build
│   ├── darwin
│   │   └── x86_64
│   │       ├── snapctl
│   │       ├── snapd
│   │       ├── snap-plugin-collector-anothermock1
│   │       ├── snap-plugin-collector-mock1
│   │       ├── snap-plugin-collector-mock2
│   │       ├── snap-plugin-collector-mock2-grpc
│   │       ├── snap-plugin-processor-passthru
│   │       ├── snap-plugin-processor-passthru-grpc
│   │       ├── snap-plugin-publisher-mock-file
│   │       └── snap-plugin-publisher-mock-file-grpc
│   └── linux
│       └── x86_64
│           ├── snapctl
│           ├── snapd
│           ├── snap-plugin-collector-anothermock1
│           ├── snap-plugin-collector-mock1
│           ├── snap-plugin-collector-mock2
│           ├── snap-plugin-collector-mock2-grpc
│           ├── snap-plugin-processor-passthru
│           ├── snap-plugin-processor-passthru-grpc
│           ├── snap-plugin-publisher-mock-file
│           └── snap-plugin-publisher-mock-file-grpc

Earlier tree of build directory:

 build
│   ├── bin
│   │   ├── snapctl
│   │   └── snapd
│   └── plugin
│       ├── snap-plugin-collector-anothermock1
│       ├── snap-plugin-collector-mock1
│       ├── snap-plugin-collector-mock2
│       ├── snap-plugin-collector-mock2-grpc
│       ├── snap-plugin-processor-passthru
│       ├── snap-plugin-processor-passthru-grpc
│       ├── snap-plugin-publisher-mock-file
│       └── snap-plugin-publisher-mock-file-grpc
@nanliu nanliu closed this as completed in ca8d0fc Oct 7, 2016
nanliu added a commit that referenced this issue Oct 7, 2016
Fix #1264 make install works with new build path
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant