bde-tools icon indicating copy to clipboard operation
bde-tools copied to clipboard

BDE tools does not install a build into the configured installation prefix

Open mattrm456 opened this issue 3 years ago • 1 comments

I'm trying to use the BDE build system similarly to the interfaces of the build systems of most other open source software I've built. Which is the standard dance:

./configure --prefix=/home/my/bde
make
make install

I've translated that into:

eval $(bde_build_env)
bbs_build configure --prefix /home/my/bde
bbs_build build
bbs_build install

However, this results in files installed into /home/my/bde/opt/bb (notice the opt/bb). How do I prevent the BDE build system from decorating my prefix with opt/bb?

In general, this tool should have usage that aligns well with open-source expectations. I'm aware of the relocatable installation requirement (i.e. support for distribution "refroots") but this behavior is confusing. The prefix I specify should be the prefix into which the artifacts are installed.

Environment:

  • Darwin G7WH7WFVKV 21.6.0 Darwin Kernel Version 21.6.0

mattrm456 avatar Dec 16 '22 18:12 mattrm456

The unexpected behavior persists even when I say bbs_build install --install_dir /home/my/bde: The artifacts are installed into /home/my/bde/opt/bb.

mattrm456 avatar Dec 16 '22 18:12 mattrm456