Skip to content

When "sudo make install", No rule to make target bin/potion-s', needed by pkg/potion-0.1.1106-x86_64-apple-darwin13.0.0-devel.tar.gz'.  #67

@lanjiann

Description

@lanjiann

make [DEBUG=1] with no error.
make test with no error.

When "sudo make install", I get this:

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f dist.mak install PREFIX="/usr/local"
rm -rf dist
mkdir -p dist dist/bin dist/include/potion dist/lib/potion \
                 dist/share/potion/doc dist/share/potion/example
cp bin/potion            dist/bin/
cp lib/libpotion.dylib         dist/lib/
cp -r lib/potion               dist/lib/
if [ 0 = 1 ]; then mv dist/lib/*.dll dist/bin/; fi
if [ 1 = 1 ]; then rsync -a lib/libuv*.dylib dist/lib/; fi
cp core/potion.h               dist/include/potion/
cp core/config.h               dist/include/potion/
cp doc/*.html doc/*.png       dist/share/potion/doc/
cp: doc/*.html: No such file or directory
make[1]: [pkg/potion-0.1.1106-x86_64-apple-darwin13.0.0.tar.gz] Error 1 (ignored)
cp doc/core-files.txt         dist/share/potion/doc/
cp README COPYING LICENSE ChangeLog  dist/share/potion/doc/
cp example/*                   dist/share/potion/example/
mkdir -p pkg
(cd dist && tar czf ../pkg/potion-0.1.1106-x86_64-apple-darwin13.0.0.tar.gz * && cd ..)
rm -rf dist
make[1]: *** No rule to make target `bin/potion-s', needed by `pkg/potion-0.1.1106-x86_64-apple-darwin13.0.0-devel.tar.gz'.  Stop.
make: *** [install] Error 2

Then, i tired "make SANDBOX=1", I get this:

LINK bin/potion-s
Undefined symbols for architecture x86_64:
  "_Potion_Init_buffile", referenced from:
      _main in potion.os
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bin/potion-s] Error 1 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions