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

dtrace: failed to compile script Preprocessor not found #991

Closed
cneira opened this issue Sep 13, 2018 · 1 comment
Closed

dtrace: failed to compile script Preprocessor not found #991

cneira opened this issue Sep 13, 2018 · 1 comment

Comments

@cneira
Copy link

cneira commented Sep 13, 2018

Trying a Dtrace script this error was found, which is the same as TritonDataCenter/pkgsrc-legacy#22

rmustacc's answer to this issue.
TritonDataCenter/pkgsrc-legacy#22 (comment)

Installing gcc and then creating the symlink solves the issue

pfexec ln -sf /opt/local/gcc6/bin/cpp /usr/lib/cpp

I think we should add a c compiler in the base system as it's needed to use Dtrace.

@citrus-it
Copy link
Member

citrus-it commented Sep 13, 2018

We just need to make the dtrace package dependant on developer/macro/cpp since that provides /usr/lib/cpp

reaper# pkg search path:/usr/lib/cpp
INDEX      ACTION VALUE       PACKAGE
path       file   usr/lib/cpp pkg:/developer/macro/[email protected]
reaper# pkgtree -U depends dtrace

|------(    require)--pkg://omnios/developer/[email protected]:20180420T093101Z
| pkg://omnios/consolidation/osnet/osnet-incorporation
| pkg://omnios/system/library/[email protected]
| pkg://omnios/system/[email protected]
| pkg://omnios/[email protected]

That's something that we should get done in illumos-gate and then it will flow down to OmniOS

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