Bug 53493 - Compile errors on OmniOS
Summary: Compile errors on OmniOS
Status: RESOLVED FIXED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Solaris
: medium normal
Assignee: Dan Nicholson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-14 13:29 UTC by info
Modified: 2012-08-15 06:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
config.log (24.05 KB, application/octet-stream)
2012-08-14 13:29 UTC, info
Details

Description info 2012-08-14 13:29:15 UTC
Created attachment 65547 [details]
config.log

OS : SunOS testvm 5.11 omnios-eae537b i86pc i386 i86pc Solaris
GCC Version : 4.6.3
pkg-config Version : 0.27
Configure Options : --with-internal-glib --prefix=/usr --docdir=/usr/share/doc/pkg-config-0.27

Got an error when I compile with internal glib :
  CC     gdataset.lo
In file included from gdataset.c:47:0:
glib_trace.h:33:25: fatal error: glib_probes.h: No such file or directory
compilation terminated.
make[6]: *** [gdataset.lo] Error 1
make[6]: Leaving directory `/root/pkg-config-0.27/glib/glib'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/root/pkg-config-0.27/glib/glib'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/pkg-config-0.27/glib/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/pkg-config-0.27/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/pkg-config-0.27/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/pkg-config-0.27'
make: *** [all] Error 2

Many thanks for any hints!
Comment 1 Dan Nicholson 2012-08-14 20:05:26 UTC
Looks like glib_probes.h is needed when dtrace is enabled, but I tore out the part where it's generated without killing the dtrace enabling part. You should be able to work around this by passing --without-dtrace to configure, but I'll fix that soon.
Comment 2 Dan Nicholson 2012-08-14 22:18:36 UTC
Fixed in commit 7178b2e. Please reopen if this isn't the case.
Comment 3 info 2012-08-15 06:44:52 UTC
Dan,

Many thanks! I was able to compile pkg-config with --disable-dtrace argument in configure.

Best regards,
benjamin


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.