[Top][All Lists]

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

Re: "files left in build directory after distclean" using subdir-objects

From: Braden McDaniel
Subject: Re: "files left in build directory after distclean" using subdir-objects
Date: Sun, 07 Oct 2007 16:41:48 -0400

On Sun, 2007-10-07 at 18:59 +0200, Benoit SIGOURE wrote:
> On Oct 7, 2007, at 7:36 AM, Braden McDaniel wrote:
> > On Sat, 2007-10-06 at 14:18 -0400, Braden McDaniel wrote:
> >
> > [snip]
> >
> >> Might I be tripping over some bug that occurs when the  
> >> subdirectory name
> >> is the same as the built executable?
> >
> > The addition of
> >
> >         CLEANFILES = openvrml-xembed/.libs/openvrml-xembed
> >
> > has worked around the problem. Suboptimal, I know, since .libs is an
> > implementation detail of libtool.
> >
> Hello Braden,
> I downloaded OpenVRML 0.16.6 from sourceforge but couldn't get past  
> configure (I'm on OSX and have Boost installed under /opt/local and  
> although your configure script doesn't provide any way to indicate  
> where Boost is, I passed it CPPFLAGS='-I/opt/local/include' and  
> LDFLAGS='-L/opt/local/lib', but it was looking for -lboost_thread,  
> except that it is common to not have libboost_thread.* while having  
> libboost_thread-mt.* -- for instance).

You won't see the problem in the 0.16.6 release, anyway. It is on the
CVS HEAD, though. You will need to comment out the aforementioned
CLEANFILES occurrence in src/ in order to observe the

The solution to the problem you encountered is to set
BOOST_LIB_SUFFIX=-mt at configure time. I have successfully configured
OpenVRML using the MacPorts toolchain (which it sounds like you might
also be using) with the following options:

        $ ../configure -C --prefix=$HOME --disable-static --enable-gtk-doc 
--with-apple-opengl-framework --with-libjs --disable-mozilla-plugin 
CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib BOOST_LIB_SUFFIX=-mt

You will need to get gtk-doc, libgnomeui, libglade2, and spidermonkey
from MacPorts if you don't already have them. Also libsdl; or pass
--disable-examples. The spidermonkey dependency can also be suppressed
by passing --disable-script-node-javascript instead of --with-libjs.

> Anyways, would it be possible for you to shrink down the problem to a  
> small configure script and so that others can try to  
> reproduce it easily?

I don't know. Given the fact that this problem has occurred for one
program and not the other, it's not obvious to me what could be
triggering this behavior. As I mentioned, the install location is the
only difference that jumps out at me.

Braden McDaniel                           e-mail: <address@hidden>
<>                    Jabber: <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]