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

Autoconf installation --with-stk and --with-sndobj buggy #21

Open
philtgun opened this issue Aug 16, 2016 · 1 comment
Open

Autoconf installation --with-stk and --with-sndobj buggy #21

philtgun opened this issue Aug 16, 2016 · 1 comment

Comments

@philtgun
Copy link

philtgun commented Aug 16, 2016

Misleading output of --help regarding --with options
When .configure the package, in the help it is written that options to provide STK and SndObj headers are --with-stk and --witch-sndobj, however configure script doesn't recognize them.
I figured out that correct options are similar to --with-sdkdir and need to include dir in the end: --with-stkdir and --with-sndobjdir
Final command that worked for me:

./configure --with-stkdir=/usr/include/stk --with-sndobjdir=/usr/include/SndObj --with-sdkdir=/usr/include/pd

Include dirs messed up
After ./configure script succeeded and both SndObj and STK were enabled (I inspected configure.status and Makefile) actual compilation fails with error

flbase.cpp:31:22: fatal error: g_canvas.h: No such file or directory

that apparently means that somehow even if configure script confirmed the file exists (it actually exists, I checked), include dirs are not properly passed to the compiler.

Further investigation confirms that SndObj and STK include paths somehow overwrite instead of appending to include path given to compiler, because building flext without them succeeds.

Building via build.sh works without problem

@philtgun philtgun changed the title Configure "--with" options slightly incorrect Autoconf installation --with-stk and --with-sndobj buggy Aug 16, 2016
@grrrr
Copy link
Owner

grrrr commented Aug 18, 2016

Hi, the first part (help strings) should now be fixed with the git HEAD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants