Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Finally, after 2 days of going through library and linking hell, I finally got Firefox 1.0.7 compiled from the sources on my Debian box. I came across some problems which required patches, such as a patch to the most recent FreeType-2.1.9 and another random patch to fix some type issues (like 'PRUint32' not existing).
I finally got to linking, and hit a brick wall. It kept coming up with multiply defined symbols during final linking:
../../dist/lib/components/libtypeaheadfind.a(nsTypeAheadFind.o): In function `nsTypeAheadFind::QueryInterface(nsID const&, void**)':
nsTypeAheadFind.o(.text+0x750): multiple definition of `nsTypeAheadFind::QueryInterface(nsID const&, void**)'
../../dist/lib/components/libtoolkitcomps.a(nsTypeAheadFind.o)(.text+0x6d0): first defined here
/usr/bin/ld: Warning: size of symbol `nsTypeAheadFind::QueryInterface(nsID const&, void**)' changed from 205 to 730 in ../../dist/lib/components/
../../dist/lib/components/libtypeaheadfind.a(nsTypeAheadFind.o): In function `nsTypeAheadFind::AddRef()':
nsTypeAheadFind.o(.text+0x1d0): multiple definition of `nsTypeAheadFind::AddRef()'
../../dist/lib/components/libtoolkitcomps.a(nsTypeAheadFind.o)(.text+0x50): first defined here
../../dist/lib/components/libtypeaheadfind.a(nsTypeAheadFind.o): In function `nsTypeAheadFind::Release()':
nsTypeAheadFind.o(.text+0x1e0): multiple definition of `nsTypeAheadFind::Release()'
../../dist/lib/components/libtoolkitcomps.a(nsTypeAheadFind.o)(.text+0x60): first defined here
../../dist/lib/components/libtypeaheadfind.a(nsTypeAheadFind.o): In function `nsTypeAheadFind::~nsTypeAheadFind()':
nsTypeAheadFind.o(.text+0x3250): multiple definition of `nsTypeAheadFind::~nsTypeAheadFind()'
../../dist/lib/components/libtoolkitcomps.a(nsTypeAheadFind.o)(.text+0x3220): first defined here
/usr/bin/ld: Warning: size of symbol `nsTypeAheadFind::~nsTypeAheadFind()' changed from 369 to 564 in ../../dist/lib/components/libtypeaheadfind.
../../dist/lib/components/libtypeaheadfind.a(nsTypeAheadFind.o): In function `nsTypeAheadFind::~nsTypeAheadFind()':
the only way to fix it was to disable extensions, which leaves me with a crippled firefox.
Anyone seen this before? I saw a few references to it other places on the web, but no answers.
I don't know if this helps but,
I have never compiled Firefox on linux.
I always grab a tarball from mozilla's ftp,
extract it to /usr/local, then link /usr/local/firefox/firefox
to /usr/local/bin/firefox.
Firefox can then be started with the command
Code:
firefox
or added to whatever menu you use.
Plugins can be installed to /usr/local/firefox/plugins .
I'm not talking about a source tarball of course, they
offer prebuilts as well.
I've always done it this way since 0.8, and I'm running 1.5
now with no probs.
This is on Slackware 10.2
I usually build everything that I can to make sure that I have bug free copies. In my experience, it's less of a headache to build something from source than it is to install the packages. That's assuming you've got all the libraries installed, that is. In this case the firefox installer wouldn't work on my debian machine, so I figured building it would be just as easy.
It turns out that I wasn't building the most recent version. It built cleanly eventually, but the extensions still don't work. I tried installing some extensions but it refuses to show up in the extensions list.
what options are you using? I've just successfully built 1.0.7 for my redhat 7.3 box, but I had to compile a static only build. Also, from the build instructions, if you don't specify extensions, the build process will pick the best extension option for you.
So if you're specifying the extensions in the configure stage, try to leave out that option and let the build system choose the 'proper' extension set.
Like you, I myself, most of the time would rather build from source, but, I have to honestly say, imo, building mozilla products is one of the most unenjoyable things to do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.