1 TITLE: Compiling and Installing Gnome 1.4
3 AUTHOR: Mike Labriola <labriomd@clarkson.edu>
6 Compiling and installing Gnome 1.4, including nautilus w/ mozilla.
10 ===============================================================================
13 This hint should help you figure out what packages you need to download, and
14 what order to compile them in in order to install Gnome 1.4 with Nautilus
15 and Mozilla support. Your box might not already have some things installed
16 that mine does, such as python and guile. Actually they're might be a bunch
17 of things like that. If you get to a point where one of the configure
18 scripts yells at you, go get the required packag(s) and compile them.
21 ===============================================================================
24 Ok, there's quite a list of stuff for you to download...
25 First of all, I'll try and list some of the packages that you may or may not
26 have already installed. This is just coming off the top of my head, so I
27 doubt it's complete...
43 Now, for the stuff I'll help you install... Most of these should be
44 available from ftp.gnome.org (or a mirror) in
45 /pub/GNOME/stable/releases/gnome-1.4/ or /pub/GNOME/unstable/sources/
46 The version I installed is in parenthesis
54 control-center (1.4.0.1)
64 gnome-applets (1.4.0.1)
75 gnome-user-docs (1.4.1)
90 libunicode (0.4.gnome)
92 mozilla-source (0.8.1 get this from mozilla.org, needed by nautilus)
103 ===============================================================================
106 You might want to specify some compiler optimizations in CFLAGS before we
107 start. At the very least you should do this:
110 export CXXFLAGS=$CFLAGS
112 This pretty much sets CFLAGS and CXXFLAGS to what they would have been...
113 minus debugging. You probably don't really want debugging on all of Gnome
114 (it would make it HUGE!!!)
116 Ok, now let's get busy! Follow this list of installation instructions to
117 the bottom (i know, it's long) and you'll have a fully functional install of
118 Gnome 1.4 on you LFS system. :-)
121 ---------------------------------
123 ---------------------------------
124 ./configure --prefix=/usr --enable-shared
129 ---------------------------------
131 ---------------------------------
132 ./configure --prefix=/usr --enable-shared
136 now you might want to edit etc.conf (in esd's sysconfdir, /usr/etc in this
137 case). the soundcard i have in my box makes a loud *POP* every time i play
138 a sound, so i like to tell esd not to terminate after a few seconds...
141 ---------------------------------
143 ---------------------------------
144 ./configure --prefix=/usr --enable-shared
149 ---------------------------------
151 ---------------------------------
152 ./configure --prefix=/usr --enable-shared
157 ---------------------------------
159 ---------------------------------
160 ./configure --prefix=/usr --enable-shared
165 ---------------------------------
167 ---------------------------------
168 ./configure --prefix=/usr --enable-shared
173 ---------------------------------
175 ---------------------------------
176 ./configure --prefix=/usr --enable-shared
181 ---------------------------------
183 ---------------------------------
184 ./configure --prefix=/usr --enable-shared
189 ---------------------------------
191 ---------------------------------
192 ./configure --prefix=/usr --enable-shared
197 ---------------------------------
199 ---------------------------------
200 ./configure --prefix=/usr --enable-shared
205 ---------------------------------
207 ---------------------------------
208 ./configure --prefix=/usr --enable-shared --enable-prefer-db1
213 ---------------------------------
215 ---------------------------------
216 ./configure --prefix=/usr --localstatedir=/var --enable-shared
221 ---------------------------------
223 ---------------------------------
224 ./configure --prefix=/usr --enable-shared
229 ---------------------------------
231 ---------------------------------
232 ./configure --prefix=/usr --enable-shared
237 ---------------------------------
239 ---------------------------------
240 ./configure --prefix=/usr --enable-shared
245 ---------------------------------
247 ---------------------------------
248 ./configure --prefix=/usr --enable-shared
253 ---------------------------------
255 ---------------------------------
256 ./configure --prefix=/usr --enable-shared
261 ---------------------------------
263 ---------------------------------
264 ./configure --prefix=/usr --enable-shared
269 ---------------------------------
271 ---------------------------------
272 ./configure --prefix=/usr --enable-shared
277 ---------------------------------
279 ---------------------------------
280 ./configure --prefix=/usr --enable-shared
285 ---------------------------------
287 ---------------------------------
288 ./configure --prefix=/usr --enable-shared
293 ---------------------------------
295 ---------------------------------
296 ./configure --prefix=/usr --enable-shared
301 ---------------------------------
303 ---------------------------------
304 ./configure --prefix=/usr --enable-shared
309 ---------------------------------
311 ---------------------------------
312 ./configure --prefix=/usr --enable-shared
317 ---------------------------------
319 ---------------------------------
320 ./configure --prefix=/usr --enable-shared
325 ---------------------------------
327 ---------------------------------
328 ./configure --prefix=/usr --enable-shared
333 ---------------------------------
335 ---------------------------------
336 ./configure --prefix=/usr --enable-shared
341 ---------------------------------
343 ---------------------------------
344 ./configure --prefix=/usr --enable-shared
349 ---------------------------------
351 ---------------------------------
352 ./configure --prefix=/usr --enable-shared
357 ---------------------------------
359 ---------------------------------
360 ./configure --prefix=/usr --enable-shared
365 ---------------------------------
367 ---------------------------------
368 ./configure --prefix=/usr --enable-shared
373 ---------------------------------
375 ---------------------------------
376 ./configure --prefix=/usr --enable-shared
381 ---------------------------------
383 ---------------------------------
384 ./configure --prefix=/usr --enable-shared
389 ---------------------------------
391 ---------------------------------
392 ./configure --prefix=/usr --enable-shared
397 --------------------------------
399 --------------------------------
400 ./configure --prefix=/usr --enable-shared --with-bonobo
405 ---------------------------------
407 ---------------------------------
408 ./configure --prefix=/usr --enable-shared
413 ---------------------------------
415 ---------------------------------
416 ./configure --prefix=/usr --enable-shared
421 ---------------------------------
423 ---------------------------------
424 ./configure --prefix=/usr --enable-shared
429 ---------------------------------
431 ---------------------------------
432 ./configure --prefix=/usr --enable-shared
437 ---------------------------------
439 ---------------------------------
440 ran into some problems on this one...
441 although it's not listed in the dependencies, the compilation process tries
442 to use db2html. if you don't have that in your path, it bails.
443 unfortunately, i couldn't figure out where to get it, but, i found a
444 workaround. untar the nautilus sources. go into
445 foo/nautilus-1.0.1.1/components/help/converters/gnome-db2html2/ and read the
446 README. execute the gcc line displayed in there. it should make
447 gnome-db2html2 in that directory. copy that to /usr/local/bin and then link
448 it to /usr/local/bin/db2html.
449 now it should compile just fine. i'm not sure how "correct" this is... but
450 it did seem to work. however, since that's really not "db2html", keep track
451 of that binary... if you install db2html later on, go remove that symlink
452 (and the copied binary).
454 if anyone knows where i was supposed to get the "real" db2html, please let
457 ./configure --prefix=/usr --enable-shared --with-messages=/var/log/sys.log
462 ---------------------------------
464 ---------------------------------
465 ./configure --prefix=/usr --enable-shared
470 ---------------------------------
472 ---------------------------------
473 ./configure --prefix=/usr --enable-shared
478 ---------------------------------
480 ---------------------------------
481 this one doesn't have a configure script... take a look at the Makefile if
482 you don't trust it. it should be fine though, as it get all it's info from
489 ---------------------------------
491 ---------------------------------
492 ./configure --prefix=/usr --enable-shared
497 ---------------------------------
499 ---------------------------------
500 ./configure --prefix=/usr --enable-shared
505 ---------------------------------
507 ---------------------------------
508 ./configure --prefix=/usr --enable-shared
513 ---------------------------------
515 ---------------------------------
516 ./configure --prefix=/usr --enable-shared
521 ---------------------------------
523 ---------------------------------
524 ./configure --prefix=/usr --enable-shared
529 ---------------------------------
531 ---------------------------------
532 ./configure --prefix=/usr --enable-shared
537 ---------------------------------
539 ---------------------------------
540 ./configure --prefix=/usr --enable-shared
545 ---------------------------------
547 ---------------------------------
548 For source code and extra help, go to www.mozilla.org
549 Ok, here's the deal. In order to make Nautilus and Mozilla play nice, we
550 have to compile them a certain way. If you do something wrong, Nautilus
551 will not be able to use Mozilla at all. Compiling this takes a bit of time,
552 so I recommend starting the compilation right before bed and just letting it
553 compile all night. Here we go...
555 put this in foo/mozilla/.mozconfig
557 # ...mozilla/.mozconfig
559 # See www.mozilla.org/build/unix.html for build instructions
561 ac_add_options --disable-tests
562 ac_add_options --disable-debug
563 ac_add_options --enable-strip-libs
564 ac_add_options --enable-cpp-rtti
565 ac_add_options --enable-optimize
567 # done with .mozconfig
569 Now, build it like this:
571 make -f client.mk build BUILD_MODULES=psm
572 make -f client.mk build
575 ---------------------------------
577 ---------------------------------
578 this package is only required if you --enable-eazel-services on Nautilus.
579 it requires openSSL >= 0.9.5a
581 ./configure --prefix=/usr --enable-shared
586 ---------------------------------
588 ---------------------------------
589 make setup CFG="--prefix=/usr"
594 ---------------------------------
596 ---------------------------------
597 you have to fill in <mozilla_lib> and <mozilla_inc> with the full path to
598 wherever you installed mozilla. my sources are in /scrap/mozilla so
599 <mozilla_lib> on my box is /scrap/mozilla/dist/bin and <mozilla_inc> is
600 /scrap/mozilla/dist/include
602 ./configure --prefix=/usr --enable-eazel-services \
603 --with-mozilla-lib-place=<mozilla_lib> \
604 --with-mozilla-include-place=<mozilla_inc>
609 ===============================================================================
612 Now that everything is installed, you just have to edit your .xinitrc to
613 start gnome instead of whatever it's starting right now.
615 If ~/.xinitrc doesn't exist, there should be a default one where you
616 installed XFree86. On my box, the file is in /etc/X11/xinit/xinitrc. Copy
617 that default file to ~/.xinitrc. Comment out all the lines under the
618 "start some nice programs" comment, and add "exec gnome-session".
621 Ah, Gnome 1.4 goodness. :-)
622 Now you have a clean install of Gnome 1.4 on your system. Next on your list
623 of chores will be to install some of the Gnome Fifth Toe 1.4 apps. These
624 apps include things like gnumeric, gnucash, abiword, balsa, dia, galeon, gtm,
625 gimp, and glimmer among others. I would include instructions for building
626 all of Gnome Fifth Toe 1.4 in here as well, but I don't think it's needed.
627 If you can install Gnome, Mozilla, and Nautilus from scratch, compiling the
628 fifth toe apps should be a walk in the park!
629 Good luck and enjoy Gnome!