Re: [Nautilus-list] Another compile problem on Solaris



Darin Adler wrote:

On Wednesday, July 11, 2001, at 08:31  AM, Peter O'Shea wrote:

/home/poshea/bin/gnome/bin/orbit-idl -I.. -I.. --define=NAUTILUS_VIEW_COMPONENT_COMPILATION ./nautilus-view-component.idl
./nautilus-view-component.idl:62: Error: `Bonobo' undeclared identifier


I've got ORBit-0.5.8 and bonobo-1.0.7 installed.  Why is the
orbit compilation of these idl files failing?  Is there an
environment variable I need to set, or am I missing a path?


Missing a path. This line should have included something like "-I /usr/share/idl". That's part of IDL_CFLAGS, which is set up by the gnome-config line. You can try "gnome-config ---cflags idl" to see the value, which comes from gnome-libs. If you look in config.status, the line that deals with IDL_CFLAGS should mention $prefix/share/idl.

    -- Darin


This fixed the compile problem, thanks.

Checking config.status, IDL_CFLAGS did not have $prefix/share/idl.  Going
back to configure, here's how IDL_CFLAGS is set up:


IDL_CFLAGS="${IDL_CFLAGS} -I\$(top_srcdir) -I\$(top_builddir)"

(line 5035)

..no mention of $prefix/share/idl.  So, a simple
'setenv IDL_CFLAGS /home/poshea/bin/gnome/share/idl'
and then re-run configure got it set correctly, but shouldn't
configure be smart enough to use 'gnome-config --cflags idl'
itself?

Peter





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]