Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 07-24-2004, 11:14 PM   #1
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
Fun stuff we've installed

Just wanted to start to list some things that I have installed on LFS5.1.1 that I enjoy.

mplayer plugin for mozilla


2 download the package gecko-sdk (needed to compile the plugin)

3 untar gecko anywhere

4 untar the mplayer plugin and enter the directory

5 ./configure --with-gecko-sdk=/gecko/stuff --enable-gtk2

Note: you might want to check to see what default toolkit you are using by
entering about:buildconfig in the url section of your mozilla/firefox
browser. Look for default toolkit. Then choose enable-gtk2, gtk1, or x.

6 make

7 follow the instructions for installation at the plugin website above

Thats it for now.

Last edited by Kroenecker; 08-19-2004 at 01:35 PM.
Old 07-25-2004, 09:01 PM   #2
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Original Poster
Rep: Reputation: 30
(Look at next entry for details about more recent installs in LFS)

Mini-how to for Thunderbird 0.7/Firefox 0.9.2

1 Do the configure and make as is in the BLFS book

I couldnt get Thunderbird or Firefox to "make install." I kept getting
multiple definition errors. If anyone else has this problem a solution
would be nice

2 Then go to xpinstall/packager and type
MOZ_PKG_APPNAME=thunderbird make (or use firefox)

3 This makes a tarball that you can then install.

Last edited by Kroenecker; 10-08-2004 at 05:09 AM.
Old 10-08-2004, 05:03 AM   #3
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Original Poster
Rep: Reputation: 30
Ok this is definitely worth a post:

1) Enigmail for Thunderbird. I compiled and installed from source using the following setup. Go down to Thunderbird.... (settings listed in LFS 5.1 do not work for me...why? No idea.)

Prerequisites: gnupg

Let me quote the process. For some reason that makes it more legible in my mind

For Firefox (updated version of Firefox build for LFS)

This build for Firefox finally fixes problems I was having with my find bar. I would type something, but the find bar would not jump to any instance of the word I was searching for. Basically, the find bar didn't work. Buttons didn't work. Nothing worked. The build below works because (I think) find as you type is a deprecated extension and no longer needs to be built. I can use the / and the ' keys to open the find bar, but ctrl+F still causes my browser to freak out, but at least I have some functionality. So I avoid using ctrl+F (all the graphics in my browser vanish...weird).

UPDATE: good info about how to build firefox here-->
The link talks about how to get the proper CVS files for firefox. Apparently firefox has forked from the original codebase. No news of that at the mozilla website....

The build itself:

NEW WAY: Using a .mozconfig file in the mozilla directory-->
Please note that the information below requires a directory called mybuild to exist under the mozilla source directory (the directory created when you open the source tarball). Read up about the .mozconfig file at the mozilla website and at the above link.

export MOZ_PHOENIX=1
mk_add_options MOZ_PHOENIX=1
mk_add_options MOZ_CALENDAR=0
ac_add_options --disable-calendar
ac_add_options --disable-calender

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/mybuild
ac_add_options --prefix=/opt/firefox-TRIAL
ac_add_options --enable-xft
ac_add_options --disable-freetype2
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options --enable-crypto
ac_add_options --enable-xinerama
ac_add_options --disable-tests
ac_add_options --disable-logging
ac_add_options --enable-reorder
ac_add_options --enable-strip
ac_add_options --disable-pedantic
ac_add_options --enable-cpp-rtti
ac_add_options --disable-composer
ac_add_options --enable-single-profile
ac_add_options --enable-extensions=cookie,inspector,negotiateauth,pref,transformiix,universalchardet,webservices,xmlextras,x ml-rpc,gnomevfs
ac_add_options --disable-profilesharing

Old method:

Optimizations (for Athlon XP...others available at Gentoo website):

CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"

./configure --prefix=/opt/firefox-NEWEST \
--enable-xft \
--disable-freetype2 \
--with-system-jpeg \
--with-system-zlib \
--enable-default-toolkit=gtk2 \
--disable-debug \
--disable-ldap \
--disable-mailnews \
--enable-crypto \
--enable-xinerama \
--disable-tests \
--disable-logging \
--enable-reorder \
--enable-strip \
--disable-pedantic \
--enable-cpp-rtti \
--disable-composer \
--enable-single-profile \
pref,transformiix,universalchardet,webservices,xmlextras,xml-rpc,gnomevfs \

then do
make install

Now before you run Firefox, make sure to disable your extensions! Go to the menu bar's tools, choose extensions, right click on the extensions, and then pick disable. I also deleted root's .mozilla directory, and I deleted compreg.dat and the chrome directory in my user's .mozilla directory. Then run Firefox for the first time as the root user. Finally run it as a regular user.
I did have to reinstall all of my themes and extensions before they would work. I don't know why.... That was a bit annoying.

For Thunderbird

./configure --prefix=/opt/thunderbird-0.8 \
underbird \
--enable-xft \
--disable-freetype2 \
--enable-default-toolkit=gtk2 \
--disable-debug \
--enable-crypto \
--disable-mathml \
--disable-activex \
--disable-activex-scripting \
--disable-tests \
--disable-oji \
--disable-necko-disk-cache \
--enable-single-profile \

--enable-necko-protocols=http,file,jar,viewsource,res,data \
--enable-image-decoders=default,-xbm \
--enable-extensions=all \

then do
make install
Now run Thunderbird as Root. If no icons show up in Thunderbird (or menus), don't worry that happened to me too! This will create some files under the chrome directory. Exit Thunderbird. Now follow the books instructions:

If you're building the Enigmail extension, execute the following steps:

tar zxf ../enigmail-0.86.0.tar.gz -C extensions &&
tar zxf ../ipc-1.0.8.tar.gz -C extensions &&
build/autoconf/make-makefile extensions/ipc extensions/enigmail &&
make -C extensions/ipc &&
make -C extensions/enigmail &&
make -C extensions/enigmail/build xpi &&
make -C extensions/enigmail/package xpi

[For] Thunderbird run the following commands:

install -d /opt/thunderbird-0.8/include/thunderbird-0.8/nss &&
cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
/opt/thunderbird-0.8/include/thunderbird-0.8/nss &&
chown -R root:root /opt/thunderbird-0.8/include/thunderbird-0.8/nss &&
export CHROME_PATH="/opt/thunderbird-0.8/lib/thunderbird-0.8/chrome" &&
sed -i.orig -e "/cookieContextOverlay/d" \
$CHROME_PATH/overlayinfo/messenger/content/overlays.rdf &&
sed -i.orig -e "/cookieContextOverlay/d" -e "/helpMenuOverlay/d" \
$CHROME_PATH/overlayinfo/communicator/content/overlays.rdf &&
unset CHROME_PATH &&
ln -sf /opt/thunderbird-0.8/bin/thunderbird \

Install the Enigmail extension by running the following commands:

make -C extensions/ipc install &&
make -C extensions/enigmail install
Now enigmail works. Or it should. Try out the following tutorial:

2) GPA -- The gui frontend for all your gnupg needs!!!! It rocks.

I will admit that I had some troubles getting everything working.

You will need:

NOTE: These are links to gnu's ftp site so you might want to be kind and look to a mirror:




If I forgot anything, I think you can figure it out.

I will give some pointers to compiling.

1) Problem: I do not have gpgsm installed on my system.

Solution: I had to compile gpgme using --without-gpgsm

2) Problem: I (think I) received errors about undefined references that contained the word assuan...hmmm. What should be done about that?

Investigate: Use nm /usr/lib/libassuan | grep name-of-undefined-reference to see if libassuan contains a definition for the undefined references. In fact libassuan does.

Solution: Look carefully at the error message. Find the directory where the error is taking place. Edit the Makefile in that directory to include (under LIBS=) -lassuan that is a dash an ell (as in the letter) and then assuan. Now it will compile.

Problem: Same as number two above. Edit the Makefile to include -lassuan

Run gpa. I dig it.

Last edited by Kroenecker; 10-27-2004 at 02:21 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fun dual network stuff FliesLikeABrick Linux - Networking 26 09-13-2005 10:53 PM
fun stuff - most helpful user recently titanium_geek LQ Suggestions & Feedback 8 06-22-2005 10:58 AM
add your fun quotes and stuff Mattentaart General 16 05-05-2004 04:24 PM
fonts, desktop customization, fun stuff = newb here. spiffdoodle Linux - Newbie 6 02-25-2004 10:05 PM
linux fun stuff punt Linux - General 14 08-30-2001 07:57 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration