I'm pretty stuck on installing Fomus (1.18) with Grace (3.7.3) on os x 10.6.8. using the instructions that Bill gave below
- get boost 1.45, untar into /usr/local/src and run ./bootstrap > - ./bjam install --prefix=/usr/local > - (though this puts things in very strange places - the whole boost > build & install process is very opaque to me) > - mv /usr/local/libboost_* lib/ (see above) > - mkdir /usr/local/include/boost > - mv /usr/local/boost/* /usr/local/include/boost > > - then untar fomus 0.1.15 into /usr/local/src > - ./configure --with-boost=/usr/local > - make install > > - make a file called 'local.conf' in /etc/ld.so.conf.d/ containing the > line '/usr/local/lib' > - run ldconfig > > - start Grace and see the new Fomus in its terminal window > - run a fomus example from Help>Examples>Scheme>Fomus and do a > hokeypokey when it works! I've got as far as - run ldconfig but maybe because I'm not using Fedora/Ubuntu I can't find ldconfig or an equivalent? I know that Fomus is installed properly (did fomus -O and the list of info came up) but I'm still getting the same error message >>>> Error: Fomus: can't find FOMUS library >>>> Error: don't know how to open "fomus1.ly" > I'm not sure how I can get round this, frankly I'm pretty much a novice for all things regarding terminal. I'd really appreciate some help, Fomus is exactly what I need to use for my work and I feel like it's really close! Cheers, Jallan Bill Sack-2 wrote: > > o.k. - i got it sorted here using a local boost and fomus and i'll > outline the steps here in case it helps anyone else who doesn't want > to wait for fedora to update boost to 1.45. > > - get boost 1.45, untar into /usr/local/src and run ./bootstrap > - ./bjam install --prefix=/usr/local > - (though this puts things in very strange places - the whole boost > build & install process is very opaque to me) > - mv /usr/local/libboost_* lib/ (see above) > - mkdir /usr/local/include/boost > - mv /usr/local/boost/* /usr/local/include/boost > > - then untar fomus 0.1.15 into /usr/local/src > - ./configure --with-boost=/usr/local > - make install > > - make a file called 'local.conf' in /etc/ld.so.conf.d/ containing the > line '/usr/local/lib' > - run ldconfig > > - start Grace and see the new Fomus in its terminal window > - run a fomus example from Help>Examples>Scheme>Fomus and do a > hokeypokey when it works! > - write some music. > > b > > On Fri, Mar 18, 2011 at 9:07 PM, David Psenicka <[email protected]> > wrote: >> I just compiled fomus 0.1.15 with boost 1.44 on Ubuntu and had no >> issues... >> I'll have to install fc14 somewhere and try to compile it in that >> environment to figure out what's going wrong. I'm almost sure that >> undefined symbol has to do with the API change in boost 1.44. I'll post >> a >> solution as soon as I figure this out. >> >> BTW the option "--with-boost=/usr/local" on the ./configure command line >> causes it to link with a local install of boost instead of the distro >> version (the boost libs are in /usr/local/lib)--on my machine it compiled >> against the local boost and worked properly (output a lilypond file and >> displayed it). To run it I also had to export >> "LD_LIBRARY_PATH=/usr/local/lib". >> >> On Fri, 2011-03-18 at 14:46 -0700, Fernando Lopez-Lezcano wrote: >> >> AFAICT Grace does not link with fomus, I imagine it just calls the fomus >> executable? >> >> Grace loads libfomus.so dynamically at run time (the Grace build doesn't >> link with it at compile time)... So recompiling Grace shouldn't be >> necessary, it should load and use whatever version of fomus is installed >> (and run without it if it can't find it) >> >> -David >> >> >> >> I just built a fomus 0.1.5 package for fc14 and there is an error when >> trying to run a simple example. With this freshly compiled and installed >> fomus I get an error just running /usr/bin/fomus with a single note .fms >> file. The error appears just after it prints "running LilyPond" (it is >> an underfined symbol in /usr/lib/fomus/lilyout.so). >> >> -- Fernando >> >> >>> On Mar 18, 2011, at 2:42 PM, David Psenicka wrote: >>> >>>> 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 >>>>> <[email protected]> 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<[email protected]> >>>>>>> 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 >>>>>>>>>>> [email protected] >>>>>>>>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Cmdist mailing list >>>>>>> [email protected] >>>>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >>>>>> >>>>>> _______________________________________________ >>>>>> Cmdist mailing list >>>>>> [email protected] >>>>>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >>>>>> >>>>>> >>>> >>> >>> _______________________________________________ >>> Cmdist mailing list >>> [email protected] >>> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist >> >> > > _______________________________________________ > Cmdist mailing list > [email protected] > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist > > -- View this message in context: http://old.nabble.com/Grace-and-Fomus-on-F-14-tp31172796p32880818.html Sent from the CCRMA - CMdist mailing list archive at Nabble.com. _______________________________________________ Cmdist mailing list [email protected] http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
