LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-19-2006, 06:40 AM   #1
uid501
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Rep: Reputation: 0
install firefox from soures problem


hi everyone
I have some problem when compile firefox
make -f client.mk build
Then it have these error
I find this problem from google!but I can not resolve!

thanks in advace!
for i in /home/luchi/firefox-1.5.0.7-source/mozilla/toolkit/components/nsDefaultCLH.js; \
do /usr/bin/perl /home/luchi/firefox-1.5.0.7-source/mozilla/config/preprocessor.pl -DOSTYPE=\"Linux2.6.11-co-0.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -DX_DISPLAY_MISSING=1 -DMOZILLA_VERSION=\"1.8.0.7\" -DMOZILLA_VERSION_U=1.8.0.7 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DNO_X11=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_STAT64=1 -DHAVE_LSTAT64=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk2\" -DMOZ_WIDGET_GTK2=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_PHOENIX=1 -DMOZ_BUILD_APP=browser -DMOZ_XUL_APP=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DMOZ_ENABLE_XFT=1 -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1 -DMOZ_JSLOADER=1 -DMOZ_XTF=1 -DMOZ_MATHML=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_LOGGING=1 -DMOZ_ENABLE_OLD_ABI_COMPAT_WRAPPERS=1 -DHAVE___CXA_DEMANGLE=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZ_ACCESSIBILITY_ATK=1 -DMOZILLA_LOCALE_VERSION=\"1.8\" -DMOZILLA_REGION_VERSION=\"1.8\" -DMOZILLA_SKIN_VERSION=\"1.8\" $i > ../../dist/bin/components/`basename $i`; \
done
make[3]: Leaving directory `/home/luchi/firefox-1.5.0.7-source/mozilla/fb-opt-static/toolkit/components'
make[3]: Entering directory `/home/luchi/firefox-1.5.0.7-source/mozilla/fb-opt-static/widget/src/xremoteclient'
c++ -o mozilla-xremote-client -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O mozilla-xremote-client.o XRemoteClient_standalone.o -L../../../dist/bin -L../../../dist/lib -L../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm
XRemoteClient_standalone.o: In function `XRemoteClient::Init()':
XRemoteClient.cpp.text+0x13a): undefined reference to `XOpenDisplay'
XRemoteClient.cpp.text+0x173): undefined reference to `XInternAtoms'
XRemoteClient_standalone.o: In function `XRemoteClient::Shutdown()':
XRemoteClient.cpp.text+0x1eb): undefined reference to `XCloseDisplay'
XRemoteClient_standalone.o: In function `XRemoteClient::SendCommand(char const*, char const*, char const*, char const*, char**, int*)':
XRemoteClient.cpp.text+0x289): undefined reference to ':
 
Old 11-19-2006, 12:04 PM   #2
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
This will offer you absolutly no help, but firefox is one of the few programs I have never managed to installed.
 
Old 11-20-2006, 01:10 AM   #3
uid501
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your post reply!I take it whole a week!
 
Old 11-20-2006, 01:21 AM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
why would you try to compile it from source, when there is a Mozilla linux package that works on pretty much any distro?

And Debian has Firefox in the repos.
 
Old 11-20-2006, 08:11 AM   #5
uid501
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I want to study it ,study c!
 
Old 11-20-2006, 09:44 AM   #6
kel_en
Member
 
Registered: Jun 2005
Location: Virginia, USA
Distribution: Slackware, Debian, MX
Posts: 125

Rep: Reputation: 17
I built Firefox from source a few months ago following the instructions on the Mozilla web site. I don't recall anything like you posted in your first post. I remember that the build failed at least twice because of missing packages. I was using Etch which I update daily. I suggest you review the instructions on the Mozilla site and make sure you have the correct versions of the needed libraries installed.
 
Old 11-20-2006, 09:36 PM   #7
uid501
LQ Newbie
 
Registered: Nov 2006
Posts: 6

Original Poster
Rep: Reputation: 0
thank you!I redo it now!
 
  


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
Firefox install problem on Kubuntu, possibly libgtk related andy-k Linux - Newbie 12 08-31-2006 09:41 AM
Install regular firefox instead of ubuntu firefox? sureshot324 Linux - Software 10 05-03-2006 02:45 AM
problem with Firefox 1.5 install igimaster Fedora 9 01-17-2006 07:42 PM
Firefox 1.0.6 Install Problem sohare Linux - Software 2 08-24-2005 03:10 AM
problem running Firefox after install Toonses82 Linux - Software 18 01-16-2005 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:21 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