[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] Running uDig - what is up with linux advanced graphics?
|
Heh - okay if we are getting this detailed it would be time to create a
Linux FAQ page :-)
For now I attached your instructions to the bug report:
http://jira.codehaus.org/browse/UDIG-698
Cheers,
Jody
I wrote:
and I still can't get an info window--sure would be nice to click on
a feature and see its attributes.
All,
I write this so that the archive will contain this information.
I have successfully managed to get the info window working under Linux
(Slackware 11.0, xfce) using Firefox 2.0.0.3. Here's what I did:
1. Download the 2.0.0.3 mozilla source tree from
<ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.3/source/firefox-2.0.0.3-source.tar.bz2>
(that should be all one line between the <>'s)
Unpack in /usr/local/src (installs as /usr/local/src/mozilla)
2. cd /usr/local/src/mozilla
3. Following instructions at
http://developer.mozilla.org/en/docs/Configuring_Build_Options
Create .mozconfig as follows:
(.mozconfig begins)
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
. $topsrcdir/browser/config/mozconfig
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --disable-static --enable-shared
(.mozconfig ends)
4. make -f client.mk build
5. cd obj-i686-pc-linux-gnu; su; make install
This install creates /usr/local/include/firefox-2.0.0.3
/usr/local/lib/firefox-2.0.0.3
and puts a few files into
/usr/local/lib/pkgconfig/
/usr/local/bin
/usr/local/share/idl
6. I run udig from xfce using a launcher that points not to udig itself
but instead to a small shell script I named /usr/local/udig/udig-start:
(udig-start begins)
#!/bin/bash
export MOZILLA_FIVE_HOME=/usr/local/lib/firefox-2.0.0.3
export LD_LIBRARY_PATH=/usr/local/lib/firefox-2.0.0.3
/usr/local/udig/udig -vmargs -Xmx1536m
(udig-start ends)
And the info window now appears when I click on a feature. Whew!
The reason why I used this launcher script is that for normal web
browsing I use the Firefox package the Slackware provides, which
is installed in /usr/lib/firefox-2.0.0.3 (with a symlink called
/usr/lib/firefox).
Peter