Re: [Rosegarden-user] Compiling V11.06 with Qt 4.5.3 Fails
> On Mon, 19 Sep 2011 14:02:45 -0400 "D. Michael McIntyre" > wrote: > > > > LD_LIBRARY_PATH=/home/userid/compile/qt-4.7.1/lib:$LD_LIBRARY_PATH > > I think that's the magic bit that I kept missing, > Jimmy. Putting this in a > script is an idea I probably should have thought of myself, > and am embarrassed > I didn't. > -- > D. Michael McIntyre > Yeah, there are too much to remember, especially some spellings including capitalization, underscore, dash, plurals... I resort to creating scripts if I need to try things 4-5 times or more , or if I think I may want to try it later, after a reboot -- especially much, much later, when I often can't remember the exact command. I learned to make my own /home/userid/bin/ directory and put all my custom scripts there. I can "tar -jcvf" to save the whole directory to a a tar.bz2 archive-file. That way, I can move all my scripts to a different Linux installation much more efficiently. Jimmy -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Compiling V11.06 with Qt 4.5.3 Fails
On Monday, September 19, 2011, jimmy wrote: > LD_LIBRARY_PATH=/home/userid/compile/qt-4.7.1/lib:$LD_LIBRARY_PATH I think that's the magic bit that I kept missing, Jimmy. Putting this in a script is an idea I probably should have thought of myself, and am embarrassed I didn't. -- D. Michael McIntyre -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Compiling V11.06 with Qt 4.5.3 Fails
--- On Fri, 9 Sep 2011 21:24:03 "D. Michael McIntyre" wrote: > > I had this working perfectly there for awhile, but at some > point I screwed > something up, and now Rosegarden will compile against 4.7, > but fails to link. > I never did sort that out, I'm afraid to say. Still, > I had it all working > once, and I'm sure the problem can be solved for less > effort than upgrading > your entire system. > A while back, I did have multiple versions of QT's on a machine. The only thing it would work for me (either runtime, or development) is I have to run my own shell command to setup the proper PATH, and LD_LIBRARY_PATH: . /home/userid/bin/setEnvQT451.bash or, . /home/userid/bin/setEnvQT471.bash Note the "." at the start of the command, which will take effect in the current command-shell (at least with Bash shell). I don't remember if QT_DIR, or QTDIR was needed, so I set both. The following example of /home/userid/bin/setEnvQT471.bash , I also have my own, separate copy of QtCreator 2.0.1, : #!/bin/bash -x export QT_DIR=/home/userid/compile/qt-4.7.1 export QTDIR=/home/userid/compile/qt-4.7.1 export QMAKESPEC=${QTDIR}/mkspecs/linux-g++ PATH=/home/userid/compile/qt-4.7.1/bin:$PATH LD_LIBRARY_PATH=/home/userid/compile/qt-4.7.1/lib:$LD_LIBRARY_PATH PATH=/home/userid/compile/qt-creator-2.0.1/bin:$PATH LD_LIBRARY_PATH=/home/userid/compile/qt-creator-2.0.1/lib:$LD_LIBRARY_PATH export PATH=$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH ## So after running . /home/userid/bin/setEnvQT471.bash from the command line, I keep that command line to launch qtcreator & or my QT-runtime app, which works with the specific PATH, LD_LIBRARY_PATH I need for that version of QT. Similar usage could be done for multiple runtime environments (if I want to run multiple versions of my own app separately). > Or you could just upgrade. Karmic is obsolete, and no > longer supported by > Ubuntu. You could probably upgrade it to LTS > relatively easily, being the > next step in line, and then you could build Rosegarden from > there without any > further ado. > -- > D. Michael McIntyre > Most folks keep only one copy of Linux installed on their system. Upgrading would be a huge pain, and potentially be crippling for a few days (even 1-2 weeks) while configuring the new installation. The more important apps get used first, and less important apps may not get used until a week or two later and need time to tweak... My way around that is to have a separate partition of about 20-30 GB of space for each Linux installation (full install, not using separate /home mount point). So each copy of some some Linux variation, or version could function independently. This way, I can switch to my old installation when I needed something done right away. In the mean time, I can take my time to tweak some newly installed Linux distro, or version at my own pace, I can mount the other installed Linux partitions as read-only so I can even compare configuration files, like /etc/security/limits.d/audio.conf Of course, I keep data files in its own partition(s), and mount those partitions from each Linux install (at boot time, or as needed). I have used such setup when I need to try "distro hopping", or when I want to try a new version of my preferred distro. It helps me quite abit. Of course, I have to be mindful of which partion has which Linux flavor and version. Perhaps this kind of setup would help some folks out there. It doubles as my "instant backup" if I messed up in one Linux partition, I can boot up to the other Linux partition, which has all my apps already installed and configured. May not be too practical for older laptops because of limited diskpace, but works well if you can spare the disk space. Enjoy. Jimmy -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Compiling V11.06 with Qt 4.5.3 Fails
On Saturday, September 10, 2011, Christian Eitner wrote: > Ok, perhaps the wiki page could be updated in that respect. There are tons of pages on the wiki that date back to a time when we had a lot of people working here, and a lot of momentum. We had huge dreams for what we were just about to accomplish in the near future, but then... Well, things just changed gradually over time. It's a long and complex story, but it ends with Rosegarden as an old project that's hobbling along on a walker. We're still hobbling along for now, and might go on a long time, but it seems less and less likely that we'll ever be a youthful, vital project again. -- D. Michael McIntyre -- Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Compiling V11.06 with Qt 4.5.3 Fails
> From: D. Michael McIntyre - 2011-09-10 01:24 > >> On Friday, September 09, 2011, Christian Eitner wrote: >> >> The wiki page states that Qt 4.4.3 is needed (version 4.5 is suggested). >> >> Is that no longer true? > > I'm afraid not. I've been using Ubuntu 10.04 LTS as a benchmark for ensuring > that Rosegarden doesn't require anything too new or bleeding edge. I actually > have to keep a separate copy of Qt 4.7 around to manage our translations, due > to bugs in Qt. As such, I'm pretty much satisfied if Rosegarden builds > against Qt 4.6, and I'm not at all interested in supporting anything older > than that at this point. Ok, perhaps the wiki page could be updated in that respect. > The good news is that while it's mildly inconvenient, you should be able to do > the same thing I do to get a copy of Qt 4.7 up and going. Unless things have > changed since the last time I set this up, you can download a pre-compiled > binary version of Qt from Nokia, drop it in userland, and compile Rosegarden > against that. That saves hours and hours of compiling Qt from source, and > keeps the newer version separate from the rest of the stuff installed on your > system. It's a bit of a pain, but it's less painful than the alternatives. I will try that. > I had this working perfectly there for awhile, but at some point I screwed > something up, and now Rosegarden will compile against 4.7, but fails to link. > I never did sort that out, I'm afraid to say. Still, I had it all working > once, and I'm sure the problem can be solved for less effort than upgrading > your entire system. > > Or you could just upgrade. Karmic is obsolete, and no longer supported by > Ubuntu. You could probably upgrade it to LTS relatively easily, being the > next step in line, and then you could build Rosegarden from there without any > further ado. I surely won't upgrade my perfectly running system :-) I have been bitten by that too often, and will rather migrate to a newly installed newer version in time. Cheers, Christian -- Malware Security Report: Protecting Your Business, Customers, and the Bottom Line. Protect your business and customers by understanding the threat from malware and how it can impact your online business. http://www.accelacomm.com/jaw/sfnl/114/51427462/ ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Compiling V11.06 with Qt 4.5.3 Fails
On Friday, September 09, 2011, Christian Eitner wrote: > The wiki page states that Qt 4.4.3 is needed (version 4.5 is suggested). > > Is that no longer true? I'm afraid not. I've been using Ubuntu 10.04 LTS as a benchmark for ensuring that Rosegarden doesn't require anything too new or bleeding edge. I actually have to keep a separate copy of Qt 4.7 around to manage our translations, due to bugs in Qt. As such, I'm pretty much satisfied if Rosegarden builds against Qt 4.6, and I'm not at all interested in supporting anything older than that at this point. The good news is that while it's mildly inconvenient, you should be able to do the same thing I do to get a copy of Qt 4.7 up and going. Unless things have changed since the last time I set this up, you can download a pre-compiled binary version of Qt from Nokia, drop it in userland, and compile Rosegarden against that. That saves hours and hours of compiling Qt from source, and keeps the newer version separate from the rest of the stuff installed on your system. It's a bit of a pain, but it's less painful than the alternatives. I had this working perfectly there for awhile, but at some point I screwed something up, and now Rosegarden will compile against 4.7, but fails to link. I never did sort that out, I'm afraid to say. Still, I had it all working once, and I'm sure the problem can be solved for less effort than upgrading your entire system. Or you could just upgrade. Karmic is obsolete, and no longer supported by Ubuntu. You could probably upgrade it to LTS relatively easily, being the next step in line, and then you could build Rosegarden from there without any further ado. -- D. Michael McIntyre -- Malware Security Report: Protecting Your Business, Customers, and the Bottom Line. Protect your business and customers by understanding the threat from malware and how it can impact your online business. http://www.accelacomm.com/jaw/sfnl/114/51427462/ ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
[Rosegarden-user] Compiling V11.06 with Qt 4.5.3 Fails
Hello, I'm trying to compile version 11.06 on my Ubuntu Karmic (9.10) machine, which has Qt 4.5.3 installed. I experience the following build errors: src/sound/Tuning.cpp:89: error: ‘class QXmlStreamReader’ has no member named ‘readNextStartElement’ src/sound/Tuning.cpp:168: error: ‘class QXmlStreamReader’ has no member named ‘skipCurrentElement’ src/sound/Tuning.cpp:179: error: ‘class QXmlStreamReader’ has no member named ‘skipCurrentElement’ src/sound/Tuning.cpp:194: error: ‘class QXmlStreamReader’ has no member named ‘skipCurrentElement’ src/sound/Tuning.cpp:214: error: ‘class QXmlStreamReader’ has no member named ‘skipCurrentElement’ src/sound/Tuning.cpp:226: error: ‘class QXmlStreamReader’ has no member named ‘skipCurrentElement’ Reading the documentation on both members, it seems that they have been introduced in Qt 4.6. The wiki page states that Qt 4.4.3 is needed (version 4.5 is suggested). Is that no longer true? Thanks for your consideration, Christian -- Malware Security Report: Protecting Your Business, Customers, and the Bottom Line. Protect your business and customers by understanding the threat from malware and how it can impact your online business. http://www.accelacomm.com/jaw/sfnl/114/51427462/ ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user