установить firefox (ну и вообще из исходников)

PCLinuxOS

Модератор: Bizdelnick

Grig
Сообщения: 81
ОС: Ubuntu 9.10

установить firefox

Сообщение Grig »

Здравствуйте!
Я новичок в linux,
пытаюсь установить firefox
качнул firefox-2.0.0.4.tar.gz распаковал в \home\grig\firefox
а дальше с ним чего делать?
Как make использовать?
Спасибо сказали:
Аватара пользователя
Uncle_Theodore
Сообщения: 3339
ОС: Slackware 12.2, ArchLinux 64

Re: установить firefox

Сообщение Uncle_Theodore »

Grig писал(а):
13.07.2007 12:41
Здравствуйте!
Я новичок в linux,
пытаюсь установить firefox
качнул firefox-2.0.0.4.tar.gz распаковал в \home\grig\firefox
а дальше с ним чего делать?
Как make использовать?

firefox-2.0.0.4.tar.gz -- это не исходники, и make использовать не надо.
Это как раз-таки бинарники программы firefox, просто запусти программу из распакованного архива.
Спасибо сказали:
Grig
Сообщения: 81
ОС: Ubuntu 9.10

Re: установить firefox

Сообщение Grig »

Ух ты!
Спасибо!
А как мне добавить иконку в Интернет->Веб-браузеры или на рабочий стол?

***************
Помогла ссылка на приложение. Все работает нормально
Спасибо сказали:
Grig
Сообщения: 81
ОС: Ubuntu 9.10

Re: установить firefox

Сообщение Grig »

Товарищи, беда.
Я тут с загрузчиком чего-то наделал, вообщем Linux пришлось переустановить.
Попытался по новой запустить firefox тем же макаром, не получается.
Ладно.
Качаю исходники, в надежде установить из них.
Конфигурирую их.
make-файл не создает, а пишет:

Код: Выделить всё

configure: error: --enable-application=APP is required

Что это и как победить?
Спасибо сказали:
Аватара пользователя
Juliette
Сообщения: 5058
Статус: ROSA Lab
ОС: Ubuntu LTS, Mandriva 2011

Re: установить firefox

Сообщение Juliette »

Сделайте:

Код: Выделить всё

./configure --enable-application=APP

А вааще ./configure --help рулит! :girl_wink:
Спасибо сказали:
Grig
Сообщения: 81
ОС: Ubuntu 9.10

Re: установить firefox

Сообщение Grig »

Увы, выдает ту же ошибку.
Пытался сделать так:
./configure --enable-application=APP browser

не помогает
Спасибо сказали:
Аватара пользователя
Juliette
Сообщения: 5058
Статус: ROSA Lab
ОС: Ubuntu LTS, Mandriva 2011

Re: установить firefox

Сообщение Juliette »

выдайте, что говорит ./configure --help (в тегах codebox, плз)
Спасибо сказали:
Grig
Сообщения: 81
ОС: Ubuntu 9.10

Re: установить firefox

Сообщение Grig »

Вот:

Код:

[grig@linux mozilla]$ ./configure --help Usage: configure [options] [host] Options: [defaults in brackets after descriptions] Configuration: --cache-file=FILE cache test results in FILE --help print this message --no-create do not create output files --quiet, --silent do not print `checking...' messages --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [same as prefix] --bindir=DIR user executables in DIR [EPREFIX/bin] --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] --libexecdir=DIR program executables in DIR [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data in DIR [PREFIX/share] --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data in DIR [PREFIX/com] --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] --libdir=DIR object code libraries in DIR [EPREFIX/lib] --includedir=DIR C header files in DIR [PREFIX/include] --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] --infodir=DIR info documentation in DIR [PREFIX/info] --mandir=DIR man documentation in DIR [PREFIX/man] --srcdir=DIR find the sources in DIR [configure dir or ..] --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names Host type: --build=BUILD configure for building on BUILD [BUILD=HOST] --host=HOST configure for HOST [guessed] --target=TARGET configure for TARGET [TARGET=HOST] Features and packages: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR --enable and --with options recognized: --disable-compile-environment Disable compiler/library checks. --with-macos-sdk=dir Location of platform SDK to use (Mac OS X only) --with-x use the X Window System --with-ft-prefix=PFX Prefix where FreeType is installed (optional) --with-ft-exec-prefix=PFX Exec prefix where FreeType is installed (optional) --disable-freetypetest Do not try to compile and run a test FreeType program --with-pthreads Force use of system pthread library with NSPR --enable-macos-target=VER (default=10.2/ppc, 10.4/x86) Set the minimum MacOS version needed at runtime --with-system-nspr Use system installed NSPR --with-nspr-prefix=PFX Prefix where NSPR is installed --with-nspr-exec-prefix=PFX Exec prefix where NSPR is installed --with-system-nss Use system installed NSS --with-nss-prefix=PFX Prefix where NSS is installed --with-nss-exec-prefix=PFX Exec prefix where NSS is installed --with-system-jpeg[=PFX] Use system libjpeg [installed at prefix PFX] --with-system-zlib[=PFX] Use system libz [installed at prefix PFX] --with-system-png[=PFX] Use system libpng [installed at prefix PFX] --with-java-include-path=dir Location of Java SDK headers --with-java-bin-path=dir Location of Java binaries (java, javac, jar) --enable-default-toolkit=TK Select default toolkit Platform specific defaults: BeOS - beos Mac OS X - mac (carbon) Neutrino/QNX - photon OS/2 - os2 Win32 - windows * - gtk --with-gtk-prefix=PFX Prefix where GTK is installed (optional) --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) --disable-gtktest Do not try to compile and run a test GTK program --with-qtdir=$dir Specify Qt directory --enable-application=APP Options include: suite browser (Firefox) mail (Thunderbird) minimo composer calendar (Sunbird) xulrunner macbrowser (Camino) standalone (use this for standalone xpcom/xpconnect or to manually drive a build) --enable-canvas Enable html:canvas feature --enable-ui-locale=ab-CD Select the user interface locale (default: en-US) --disable-mailnews Disable building of mail & news components --enable-static-mail Enable static mail build support --disable-ldap Disable LDAP support --enable-official-branding Enable Official mozilla.org Branding Do not distribute builds with --enable-official-branding unless you have permission to use trademarks per http://www.mozilla.org/foundation/trademarks/ . --with-branding=dir Use branding from the specified directory. --with-distribution-id=ID Set distribution-specific id (default=org.mozilla) --disable-freetype2 Disable FreeType2 support --disable-xft Disable Xft support --enable-pango Enable Pango font rendering support --disable-postscript Disable PostScript printing support --disable-xprint Disable Xprint printing support --disable-gnomevfs Disable GnomeVFS support --disable-gnomeui Disable libgnomeui support (default: auto, optional at runtime) --disable-crypto Disable crypto support (Personal Security Manager) --disable-jsd Disable JavaScript debug library --disable-plugins Disable plugins support --disable-oji Disable Open JVM Integration support --enable-xinerama Enable Xinerama support ( not safe for Red Hat 7.0 ) --enable-ctl Enable Thai Complex Script support --disable-view-source Disable view source support --disable-accessibility Disable accessibility support --disable-xpfe-components Disable xpfe components --disable-xpinstall Disable xpinstall support --enable-single-profile Enable single profile support --disable-jsloader Disable xpcom js loader support --disable-printing Disable printing support --enable-native-uconv Enable iconv support --enable-plaintext-editor-only Allow only plaintext editing --disable-composer Disable building of Composer --disable-xpcom-fastload Disable XPCOM fastload support --disable-xpcom-obsolete Disable XPCOM Obsolete Library --disable-xtf Disable XTF (pluggable xml tags) support --diable-inspector-apis Disable the DOM inspection APIS --enable-javaxpcom Enable Java-XPCOM bridge --enable-extensions Enable extensions --enable-image-decoders[={mod1,mod2,default,all,none}] Enable specific image decoders --enable-image-encoders[={mod1,mod2,default,all,none}] Enable specific image encoders --enable-ldap-experimental Enable LDAP experimental features --disable-mathml Disable MathML support --enable-svg Enable SVG support --enable-svg-renderer={gdiplus,libart,cairo} --disable-installer Disable building of installer --disable-updater Disable building of updater --enable-update-channel=CHANNEL Select application update channel (default=default) --enable-update-packaging Enable tools/update-packaging --disable-activex Disable building of ActiveX control (win32 only) --disable-activex-scripting Disable building of ActiveX scripting support (win32) --enable-leaky Build leaky memory tool --enable-xpctools Build JS profiling tool --disable-tests Do not build test libraries & programs --enable-xpcom-lea Use Lea malloc in xpcom --enable-places Enable 'places' bookmark/history implementation --disable-feeds Disable in-page feed handling and processing --enable-storage Enable mozStorage module and related components --enable-safe-browsing Enable safe browsing (anti-phishing) implementation --enable-url-classifier Enable url classifier module --enable-js-ultrasparc Use UltraSPARC optimizations in JS --enable-debug[=DBG] Enable building with developer debug info (Using compiler flags DBG) --disable-optimize Disable compiler optimization --enable-optimize=[OPT] Specify compiler optimization flags [OPT=-O] --enable-debug-modules Enable/disable debug info for specific modules --enable-debugger-info-modules Enable/disable debugger info for specific modules --enable-boehm Enable the Boehm Garbage Collector --disable-logging Disable logging facilities --enable-crash-on-assert Make NS_ASSERTION crash on Unix --enable-reorder Enable function reordering (requires GNU ld) --enable-logrefcnt Enable logging of refcounts (default=debug) --enable-detect-webshell-leaks Enable detection of webshell leaks (default=debug) --enable-wrap-malloc Wrap malloc calls (gnu linker only) --with-wrap-malloc=DIR Location of malloc wrapper library --enable-efence Link with Electric Fence --enable-jprof Enable jprof profiling tool (needs mozilla/tools/jprof) --enable-strip Enable stripping of libs & executables --enable-elf-dynstr-gc Enable elf dynstr garbage collector (opt builds only) --enable-old-abi-compat-wrappers Support old GCC ABI symbols to ease the pain of the linux compiler change --enable-prebinding Enable prebinding (Mac OS X only) --enable-timeline Enable timeline services --enable-reflow-perf Enable reflow performance tracing --enable-perf-metrics Enable performance metrics --enable-codesighs Enable code size analysis tools --enable-trace-malloc Enable malloc tracing --enable-eazel-profiler-support Enable Corel/Eazel profiler support --enable-profile-modules Enable/disable profiling for specific modules --enable-insure Enable insure++ instrumentation (linux only) --with-insure-dirs=DIRS Dirs to instrument with insure --with-insure-exclude-dirs=DIRS Dirs to not instrument with insure --enable-quantify Enable Quantify support (Windows only) --enable-xterm-updates Update XTERM titles with current command. --enable-chrome-format=jar|flat|both|symlink Select FORMAT of chrome files (default=jar) --with-default-mozilla-five-home Set the default value for MOZILLA_FIVE_HOME --with-user-appdir=DIR Set user-specific appdir (default=.mozilla) --with-doc-input-dirs=DIRS Header/idl dirs to create docs from --with-doc-include-dirs=DIRS Include dirs to preprocess doc headers --with-doc-output-dir=DIR Dir to generate docs into --enable-long-long-warning Warn about use of non-ANSI long long type --disable-pedantic Issue all warnings demanded by strict ANSI C --enable-cpp-rtti Enable C++ RTTI --enable-cpp-exceptions Enable C++ exceptions --disable-auto-deps Do not automatically generate dependency info --disable-md Do not use compiler-based dependencies --disable-shared Disable building of internal shared libs --enable-static Enable building of internal static libs --enable-libxul Enable building of libxul --enable-js-static-build Force js to be a static lib --enable-standalone-modules=mod1[,mod2] Enable standalone build of specific modules --without-libIDL Skip check for libIDL (standalone modules only) --with-libIDL-prefix=PFX Prefix where libIDL is installed (optional) --with-libIDL-exec-prefix=PFX Exec prefix where libIDL is installed (optional) --disable-libIDLtest Do not try to compile and run a test libIDL program --with-glib-prefix=PFX Prefix where GLIB is installed (optional) --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) --disable-glibtest Do not try to compile and run a test GLIB program --with-libIDL-prefix=PFX Prefix where libIDL is installed (optional) --with-libIDL-exec-prefix=PFX Exec prefix where libIDL is installed (optional) --disable-libIDLtest Do not try to compile and run a test libIDL program --with-glib-prefix=PFX Prefix where GLIB is installed (optional) --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) --disable-glibtest Do not try to compile and run a test GLIB program --with-glib-prefix=PFX Prefix where GLIB is installed (optional) --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) --disable-glibtest Do not try to compile and run a test GLIB program --enable-system-cairo Use system cairo (located with pkgconfig) --disable-xul Disable XUL --disable-profilesharing Disable profile sharing --disable-profilelocking Disable profile locking --enable-necko-protocols[={http,ftp,default,all,none}] Enable/disable specific protocol handlers --disable-necko-disk-cache Disable necko disk cache --enable-necko-small-buffers Minimize size of necko's i/o buffers --disable-cookies Disable cookie support --disable-v1-string-abi Disable binary compatibility layer for strings
Спасибо сказали:
Аватара пользователя
Juliette
Сообщения: 5058
Статус: ROSA Lab
ОС: Ubuntu LTS, Mandriva 2011

Re: установить firefox

Сообщение Juliette »

--enable-application=browser
Спасибо сказали:
Grig
Сообщения: 81
ОС: Ubuntu 9.10

Re: установить firefox

Сообщение Grig »

собирается он уже полчаса... ждемс.
************
Собрал.
Ввожу команду make install
Он выводит такую ругань:

Код: Выделить всё

[grig@linux mozilla]$ make install
/usr/bin/gmake -C nsprpub real_install DESTDIR= libdir=/usr/local/lib/firefox-2.0.0.1 includedir=/usr/local/include/firefox-2.0.0.1/nspr
gmake[1]: Entering directory `/home/grig/download/firefox/mozilla/nsprpub'
cd config; /usr/bin/gmake -j1 real_install
gmake[2]: Entering directory `/home/grig/download/firefox/mozilla/nsprpub/config'
../config/./nsinstall -t -m 0755 nspr-config /usr/local/bin
../config/./nsinstall: cannot create /usr/local/bin/nspr-config: Permission denied
gmake[2]: *** [real_install] Ошибка 1
gmake[2]: Leaving directory `/home/grig/download/firefox/mozilla/nsprpub/config'
gmake[1]: *** [real_install] Ошибка 2
gmake[1]: Leaving directory `/home/grig/download/firefox/mozilla/nsprpub'
make: *** [install] Ошибка 2


Каталоги эти есть.
Что нужно сделать с ними?
Спасибо сказали:
Аватара пользователя
Oleg_G
Сообщения: 179
ОС: Mandriva 2009.0

Re: установить firefox

Сообщение Oleg_G »

Grig, Зачем весь этот геморрой? Неужели в репозитариях к вашему дистрибутиву нет файрфокса?
Винды ёкхэрэ! Чохча кульгэ тыр Линух!
Спасибо сказали:
Аватара пользователя
Uncle_Theodore
Сообщения: 3339
ОС: Slackware 12.2, ArchLinux 64

Re: установить firefox

Сообщение Uncle_Theodore »

Grig писал(а):
20.07.2007 12:30
../config/./nsinstall: cannot create /usr/local/bin/nspr-config: Permission denied
gmake[2]: *** [real_install] Ошибка 1

Каталоги эти есть.
Что нужно сделать с ними?

Нужно make install от рута запускать.
Спасибо сказали:
Grig
Сообщения: 81
ОС: Ubuntu 9.10

Re: установить firefox

Сообщение Grig »

ну да же, конечно да!
Спасибо товарищи!
Спасибо сказали: