<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Cool, everything is perfect now :)<br><br>About the libqtcore4 version problem while installing QGIS, you're right, the "default" for Jaunty is the 4.5.0 version, the programs that were depending on the 4.5.1 version (which I got from another ppa) apparently can still work perfectly after the downgrade, VirtualBox included.<br><br>Thank you Hamish! <br><br>--- On <b>Sat, 12/19/09, Hamish <i><hamish_b@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Hamish <hamish_b@yahoo.com><br>Subject: Re: [Live-demo] Following the install_grass.sh script in ubuntu<br>To: live-demo@lists.osgeo.org, vega_l@yahoo.com<br>Date: Saturday, December 19, 2009, 7:58 PM<br><br><div class="plainMail">vega_l wrote:<br>> I hope someone could give me a hand, I've been trying<br>> to
follow the install_grass.sh script to install the last<br>> version of GRASS in Ubuntu Jaunty (amd64) - GNOME.<br>> <br>> I'm not familiar with this kind of sintaxis but I think<br>> I got everything right, except for this last part of the<br>> script:<br>> <br>> if [ `grep -c 'GRASS_PAGER=' "$USER_HOME/.bashrc"` -eq 0 ] ; then<br>> cat << EOF >> "$USER_HOME/.bashrc"<br>><br>> GRASS_PAGER=more<br>> GRASS_ADDON_PATH=~/grassdata/addons<br>> export GRASS_PAGER GRASS_ADDON_PATH<br>> <br>> EOF<br>> fi<br><br>so that tests if GRASS_PAGER is already there in the .bashrc file.<br>If it isn't, it writes the lines between the "EOF"s to the end of the<br>.bashrc file.<br><br>for meaning of the environment variables see this help page:<br> <a href="http://grass.osgeo.org/grass64/manuals/html64_user/variables.html"
target="_blank">http://grass.osgeo.org/grass64/manuals/html64_user/variables.html</a><br><br> <br>> How can I add manually the changes required into my .bashrc file,<br><br>just add <br> GRASS_PAGER=more<br> GRASS_ADDON_PATH=~/grassdata/addons<br> export GRASS_PAGER GRASS_ADDON_PATH<br><br>to the end of .bashrc, and 'mkdir -p ~/grassdata/addons'<br>"export" makes them propagate to any children processes launched from<br>that bash. see the grass wiki for a listing of the 100+ available<br>addon modules.<br><br><br>(Personally I put GRASS_PAGER in ~/.grass.bashrc to keep my .bashrc less<br>cluttered, but whatever. The Addon path needs to be available to the GUI<br>so it needs to be set before launching it, ie really in ~/.bashrc)<br><br><br>> and what does the grasspager=more do?<br><br>tells it to use `more` instead of `1ess` or `cat` when a shell listing<br>will scroll off the screen. Debian's policy is to default to `less`,<br>which is a little
inappropriate in this context, so I reset it back<br>to the upstream default.<br><br><br>> PD: about the install_qgis.sh script<br>> <br>> QGIS worked great in the virtual machine, so I followed<br>> that script too to install QGIS into my main<br>> system. <br>> Ultimately, I could do it, but I got problems with the<br>> libqt4-sql-psql package. It depends on libqtcore4 version<br>> 4.5.0 and I had installed the 4.5.1 , so I had to uninstall<br>> every other program that was depending on the new version in<br>> order to downgrade it, and one of them was precisely<br>> VirtualBox.<br><br>I'm not sure how well we can support systems with custom changes away<br>from the stock distribution.<br>You may have to ask the UbuntuGIS team about this one.<br>It is not too hard to rebuild packages from deb-src yourself with<br>"debuild"; there are plenty of tutorials for that available on th
web.<br><br><br>Hamish<br><br><br><br> <br></div></blockquote></td></tr></table><br>