[CM] Grace and Fomus on F 14

David Psenicka dpsenick at gmail.com
Fri Mar 18 12:42:02 PDT 2011


I just noticed you're compiling fomus 0.1.12, which is old and doesn't
have the iostreams fix...  Have you tried compiling fomus 0.1.15 with
the distro's boost libraries and headers?  0.1.15 has bug fixes and
should work fine with recent versions of Grace (you shouldn't have to
recompile Grace).  If you stick with 0.1.12 then you'll have to have two
versions of Boost on your system to run an old version of the software.

If you are compiling against a local Boost install, make sure bjam
installed the header files in the right place (it likes to place them in
a directory that looks something
like /usr/local/include/boost/boost_1_39 and they actually need to be
in /usr/local/include/boost).  The configure script might also be
confused if you have two versions of boost on your system, I have to try
and compile against a local boost install to see what it's trying to do
and how to make it find the right libraries.

-David

On Fri, 2011-03-18 at 14:29 -0400, Bill Sack wrote:

> i'm trying a local install of boost 1.39
> did ./bootstrap and ./bjam install
> this is the output of ./configure in fomus
> 
> checking for boostlib >= 1.35... yes
> checking whether the Boost::System library is available... yes
> checking for -l... no
> checking whether the Boost::Filesystem library is available... yes
> configure: error: Could not link against  !
> 
> am i missing some part of installing boost? or missing a configure flag?
> 
> On Fri, Mar 18, 2011 at 1:25 PM, David Psenicka <dpsenick at gmail.com> wrote:
> > The error message has to do with Boost's iostream library which changed
> > quite a bit with version 1.44 (including the API, which would cause an
> > undefined symbol error if fomus is linking with the wrong library
> > version)...  I think recompiling with the correct Boost library headers
> > should fix the problem.  The recent fomus release should compile with Boost
> > versions before or after 1.44 (though I haven't tested 1.46 yet).  I'll try
> > compiling with boost 1.44 on my machine and see if I run into any problems.
> >
> > -David
> >
> > On Fri, 2011-03-18 at 10:18 -0500, Heinrich Taube wrote:
> >
> > sorry its not working for you. i forwarded your message to david
> > psenicka, perhaps he has some idea.
> > fwiw  im using boost_1_45_0/  . i know that boost_1_39_0/ also worked
> > for me. its probably not that hard to uninstall/reinstall boost it
> > that is actually the issue.
> >
> >
> > On Mar 18, 2011, at 10:04 AM, Bill Sack wrote:
> >
> >> i did try the new beta - everything seems to work great except fomus.
> >> i've done a bit more googling and discovered that this is a
> >> longstanding (since 12/10) unresolved problem with fomus and f14 -
> >> there's a message on the planetccrma list about it that i somehow
> >> overlooked when it was current.
> >>
> >> the issue has nothing to do with Grace or cm at all - i get the same
> >> error message trying to run one of the fomus examples in the
> >> documentation (i.e.: outside of cm).
> >>
> >> i still suspect that it has something to do with the version of boost
> >> but i don't have the patience to downgrade and recompile right now.
> >>
> >> b
> >>
> >> On Thu, Mar 17, 2011 at 4:36 PM, Heinrich Taube <taube at uiuc.edu>
> >> wrote:
> >>> i just tested fomus 0.1.15 in all the betas I can (osx win32 and
> >>> ubuntu)
> >>> using the complex "prime harmonics" example at the end of the
> >>> example file
> >>> you get by selecting:
> >>>         Help>Examples>Scheme>Fomus
> >>>
> >>> the example ran eveywhere (really fast on osx and ubuntu!),
> >>> although on
> >>> ubuntu i did not get the pdf viewer opening automatically with the
> >>> computed
> >>> score.
> >>>
> >>> so im not sure what the issue on your fedora, are you using the
> >>> fedora beta1
> >>> i made today?
> >>>
> >>>
> >>> On Mar 17, 2011, at 1:08 PM, Bill Sack wrote:
> >>>
> >>>> i built fomus 1.15 here too and got the same crash when trying the
> >>>> example. i wonder if this has something to do with the version of
> >>>> boost that's packaged for f14?
> >>>> looks like 1.39 on f 12
> >>>> and 1.44 on f14
> >>>>
> >>>> maybe i'll try a locally downgraded version of boost and see what
> >>>> happens.
> >>>>
> >>>>> do i need to do something about the lock file or not? maybe i could
> >>>>> disable
> >>>>> this on linux , but running two version of grace probably isnt a
> >>>>> good
> >>>>> idea
> >>>>> as they will both write to the preference file...
> >>>>
> >>>> would it be hard to have a message echoed to the shell if there's a
> >>>> permission issue or some other conflict with the lockfile?
> >>>>
> >>>>>
> >>>>>
> >>>>> On Mar 17, 2011, at 8:56 AM, Bill Sack wrote:
> >>>>>
> >>>>>> hello again,
> >>>>>> i'm trying to get Fomus going with Grace on fedora 14. i've
> >>>>>> tried the
> >>>>>> planetccrma packages (cm-grace and fomus), and i've tried a
> >>>>>> locally
> >>>>>> compiled version of fomus-1.12. In both cases the programs show
> >>>>>> up in
> >>>>>> the Grace splash screen, but evaluating any of the examples
> >>>>>> crashes
> >>>>>> Grace with this error echoed:
> >>>>>> /usr/bin/Grace: symbol lookup error: /usr/lib/fomus/lilyout.so:
> >>>>>> undefined symbol: _ZN5boost9iostreams22file_descriptor_sourceC1Eib
> >>>>>>
> >>>>>> i found an earlier message on this list from D. Phillips with
> >>>>>> the same
> >>>>>> error report, though in his case the problem was apparently
> >>>>>> resolved
> >>>>>> with a reinstall - no such luck in my case.
> >>>>>>
> >>>>>> thanking you in advance,
> >>>>>> b
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Cmdist mailing list
> >>>>>> Cmdist at ccrma.stanford.edu
> >>>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
> >>>>>
> >>>>>
> >>>
> >>>
> >>
> >> _______________________________________________
> >> Cmdist mailing list
> >> Cmdist at ccrma.stanford.edu
> >> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
> >
> > _______________________________________________
> > Cmdist mailing list
> > Cmdist at ccrma.stanford.edu
> > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
> >
> >


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/cmdist/attachments/20110318/773196ae/attachment.html 


More information about the Cmdist mailing list