Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-04-2007, 01:30 PM
|
#1
|
Member
Registered: Nov 2005
Distribution: Ubuntu 9.10 and Slackware 13.1
Posts: 78
Rep:
|
Can't compile Firefox 2 on Debian amd64
I just installed the unofficial amd64 port of Debian sarge. So far, everything works except Firefox. The latest package is 1.0.4, the binary from mozilla.com is for i686, and the source won't compile. Here's the last two lines of output after running ./configure --enable-application=browser
Code:
checking for sys/int_types.h... no
configure: error: Could not find the following X libraries: -lXt
What am I missing? There are no packages with "lxt" in the name, and I have the development versions of all the X libraries I can find.
|
|
|
04-04-2007, 01:49 PM
|
#2
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
All Debian amd64 distributions are pure 64bit, "no 32bit applications", you may have noticed there is no open office which has not been ported to 64bit yet, firefox2 from source is 32bit. You can however set up a chroot to use 32bit applications in. Section 8.6.35:
http://www.debian.org/doc/manuals/re....html#s-chroot
|
|
|
04-04-2007, 02:30 PM
|
#3
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
You're missing libxt or more correctly libxt-dev.
You can build a 64-bit version of Firefox2 (or OpenOffice) on a "pure 64bit" AMD64 system. Of course, there aren't 64-bit versions of many plugins so keep that in mind too. Here are some build instructions for Firefox2 to get you started -> http://cblfs.cross-lfs.org/index.php/Firefox.
BTW, AMD64 is x86_64 and x86_64 is considered a multilib architecture. If your OS is standards compliant it should have */lib (for 32-bit libraries) and */lib64 (for 64-bit libraries). There doesn't have to be any files in */lib (pure 64bit?) however. If you want to use a 32-bit application, then you need any dependent 32-bit libraries in */lib, not a chroot. Of course, if you're not interested in standards compliance, then you can do whatever you want .
BTW2, typically Firefox is built using a .mozconfig file, not ./configure.
Last edited by weibullguy; 04-04-2007 at 02:36 PM.
|
|
|
04-04-2007, 03:18 PM
|
#4
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
It appears I did not interpret correctly what I read in this article, it confirms what you say:
http://www.debian.org/ports/amd64/
I have Etch, it comes with Iceweasel which is firefox, the version I have is 2.0.0.3, but you're probably after flash which is only supported in 32bit (for some distributions).
|
|
|
04-04-2007, 03:30 PM
|
#5
|
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250
Rep:
|
I have been using 64-bit Etch for over a year. It has OpenOffice and IceWeasel 2.0, pure 64 bit, and they work fine. The issues are Flash, Java applets, and w32codecs ... Everything else is there. There is no Flash, Java plugin, or w32codecs for any 64-bit system, not even Windows as far as I know.
I use Gnash for Flash, some of the new gstreamer codecs are getting better at reading .wmv files, and Konqueror doesn't need a plugin to handle Java applets. (I use Gnome, but have Konqueror installed specifically for that reason)
|
|
|
04-04-2007, 03:47 PM
|
#6
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
I'm now confused, the original article I read is below, I guess it matters which distribution you have, as it appears you need the chroot for Etch. The article I posted earlier is from 2005.
https://alioth.debian.org/docman/vie...d64-howto.html
EDIT: I did notice open office in synaptic.
EDIT 2: Because I had Sarge in 32bit, I would not even consider installing that old thing after having Etch.
Last edited by Junior Hacker; 04-04-2007 at 03:53 PM.
|
|
|
04-05-2007, 02:17 PM
|
#7
|
Member
Registered: Nov 2005
Distribution: Ubuntu 9.10 and Slackware 13.1
Posts: 78
Original Poster
Rep:
|
Problem solved... Sort of
I upgraded my system to official amd64-etch and got iceweasel out of the deal. I also found a tutorial on how to set up 32-bit firefox with plugins on Ubuntu. Now I have two browsers: Iceweasel 2.0.0.3 and Firefox32 1.5.7. It's not great, but I can use Iceweasel for normal browsing and Firefox32 for Flash/Java.
|
|
|
04-05-2007, 02:26 PM
|
#8
|
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687
Rep:
|
Etch is a little more modern heh!
It is now my official best distribution, I only do updates now in the others. I'm on dial-up, so flash is not a great deal, I like it when my browser opens pages faster not having to take the extra little time to download the flashy advertisements also. Some day maybe, an ISP will give me a chance to get on the broadband wagon, not today though.
|
|
|
04-05-2007, 02:31 PM
|
#9
|
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250
Rep:
|
Quote:
I'm on dial-up, so flash is not a great deal, I like it when my browser opens pages faster not having to take the extra little time to download the flashy advertisements also.
|
A little off topic, but you might try adding these lines to your /etc/hosts file to speed things up even more:
127.0.0.1 doubleclick.net
127.0.0.1 ad.doubleclick.net
127.0.0.1 ad.ca.doubleclick.net
127.0.0.1 adremote.timeinc.net
127.0.0.1 adsremote.scripps.net
127.0.0.1 a.as-us.falkag.net
127.0.0.1 interclick.com
127.0.0.1 a1.interclick.com
127.0.0.1 media.fastclick.net
127.0.0.1 network.realmedia.com
|
|
|
04-07-2007, 11:53 AM
|
#10
|
Member
Registered: Nov 2005
Distribution: Ubuntu 9.10 and Slackware 13.1
Posts: 78
Original Poster
Rep:
|
I don't have an /etc/hosts file...
|
|
|
All times are GMT -5. The time now is 09:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|