LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-04-2007, 01:30 PM   #1
ninjabob7
Member
 
Registered: Nov 2005
Distribution: Ubuntu 9.10 and Slackware 13.1
Posts: 78

Rep: Reputation: 15
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.
 
Old 04-04-2007, 01:49 PM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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
 
Old 04-04-2007, 02:30 PM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 04-04-2007, 03:18 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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).
 
Old 04-04-2007, 03:30 PM   #5
rickh
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: Reputation: 62
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)
 
Old 04-04-2007, 03:47 PM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 04-05-2007, 02:17 PM   #7
ninjabob7
Member
 
Registered: Nov 2005
Distribution: Ubuntu 9.10 and Slackware 13.1
Posts: 78

Original Poster
Rep: Reputation: 15
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.
 
Old 04-05-2007, 02:26 PM   #8
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
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.
 
Old 04-05-2007, 02:31 PM   #9
rickh
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: Reputation: 62
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
 
Old 04-07-2007, 11:53 AM   #10
ninjabob7
Member
 
Registered: Nov 2005
Distribution: Ubuntu 9.10 and Slackware 13.1
Posts: 78

Original Poster
Rep: Reputation: 15
I don't have an /etc/hosts file...
 
  


Reply


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
grub issues: dual boot Debian i386 & Debian amd64 ErrorBound Debian 1 03-09-2007 07:41 PM
Gentoo amd64 Kernel does not compile worldgnat Linux - Distributions 11 02-01-2006 10:18 PM
how to compile 32bit on amd64 anarhistu Linux - Newbie 1 01-30-2005 04:12 AM
compile 32-bit gdkglext on amd64 spuzzzzzzz Linux - Software 2 10-09-2004 02:29 AM
How can I compile 64bit with g++, Enterprise 3, AMD64 ?? philblou Programming 1 08-04-2004 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:10 AM.

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