не собирется FF из исходников (версия ff 3.5.3 версия дистрибутива:5.0 r2)

Knoppix

Модераторы: Warderer, Модераторы разделов

polzovatellinux
Сообщения: 39
ОС: ALTLinux5(Lycorys Radiata)

не собирется FF из исходников

Сообщение polzovatellinux »

firefox не хочет собираться из исходников. версия 3.5.3
configure:

Код:

loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for gawk... no checking for mawk... mawk checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar checking for ld... ld checking for strip... strip checking for windres... no checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... c++ -E checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for perl5... no checking for perl... /usr/bin/perl checking for minimum required perl version >= 5.006... 5.010000 checking for full perl installation... yes checking for python... /usr/bin/python checking for nsinstall... no checking for doxygen... : checking for whoami... /usr/bin/whoami checking for autoconf... : checking for unzip... /usr/bin/unzip checking for zip... /usr/bin/zip checking for makedepend... no checking for xargs... /usr/bin/xargs checking for gmake... no checking for make... /usr/bin/make checking for X... no checking whether the compiler supports -Wno-invalid-offsetof... yes checking whether ld has archive extraction flags... yes checking that static assertion macros used in autoconf tests work... yes checking for 64-bit OS... no checking for ANSI C header files... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for st_blksize in struct stat... yes checking for siginfo_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int64... no checking for uint... yes checking for uint_t... no checking for uint16_t... no checking for uname.domainname... yes checking for uname.__domainname... no checking for usable wchar_t (2 bytes, unsigned)... no checking for compiler -fshort-wchar option... yes checking for visibility(hidden) attribute... yes checking for visibility(default) attribute... yes checking for visibility pragma support... yes checking For gcc visibility bug with class-level attributes (GCC bug 26905)... no checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/byteorder.h... no checking for compat.h... no checking for getopt.h... yes checking for sys/bitypes.h... yes checking for memory.h... yes checking for unistd.h... yes checking for gnu/libc-version.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for X11/XKBlib.h... no checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for mmintrin.h... no checking for new... yes checking for sys/cdefs.h... yes checking for gethostbyname_r in -lc_r... no checking for atan in -lm... yes checking for dlopen in -ldl... yes checking for dlfcn.h... yes checking for dladdr... yes checking for socket in -lsocket... no checking for ARM SIMD support... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether gcc accepts -pthread... yes checking whether mmap() sees write()s... yes checking whether gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking for random... yes checking for strerror... yes checking for lchown... yes checking for fchmod... yes checking for snprintf... yes checking for statvfs... yes checking for memmove... yes checking for rint... yes checking for stat64... yes checking for lstat64... yes checking for truncate64... yes checking for statvfs64... yes checking for flockfile... yes checking for getpagesize... yes checking for localtime_r... yes checking for strtok_r... yes checking for wcrtomb... yes checking for mbrtowc... yes checking for res_ninit()... yes checking for gnu_get_libc_version()... yes checking for iconv in -lc... yes checking for iconv()... yes checking for iconv() with const input... no checking for nl_langinfo and CODESET... yes checking for an implementation of va_copy()... yes checking for an implementation of __va_copy()... yes checking whether va_lists can be copied by value... yes checking for C++ exceptions flag... -fno-exceptions checking for gcc 3.0 ABI... yes checking for C++ "explicit" keyword... yes checking for C++ "typename" keyword... yes checking for modern C++ template specialization syntax support... yes checking whether partial template specialization works... yes checking whether operators must be re-defined for templates derived from templates... no checking whether we need to cast a derived template to pass as its base class... no checking whether the compiler can resolve const ambiguities for templates... yes checking whether the C++ "using" keyword can change access... yes checking whether the C++ "using" keyword resolves ambiguity... yes checking for "std::" namespace... yes checking whether standard template operator!=() is ambiguous... unambiguous checking for C++ reinterpret_cast... yes checking for C++ dynamic_cast to void*... yes checking whether C++ requires implementation of unused virtual methods... yes checking for trouble comparing to zero near std::operator!=()... no checking for LC_MESSAGES... yes configure: error: --enable-application=APP was not specified and is required.

./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-l10n-base=DIR path to l10n repositories --with-wince-sdk=WINCE_SDK_DIR The path to the Windows CE SDK --disable-windows-mobile-components Disable Windows Mobile specific components from CE build --with-windows-version=WINVER Minimum Windows version (WINVER) to support 400: Windows 95 500: Windows 2000 501: Windows XP --enable-macos-target=VER (default=10.4) Set the minimum MacOS version needed at runtime --with-macos-sdk=dir Location of platform SDK to use (Mac OS X only) --with-x use the X Window System --disable-os2-high-mem Disable high-memory support on OS/2 --enable-dtrace build with dtrace support if available (default=no) --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 --with-libxul-sdk=PFX Use the libXUL SDK at <PFX> --with-system-libxul Use system installed libxul SDK --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-bz2[=PFX] Use system libbz2 [installed at prefix PFX] --with-system-png[=PFX] Use system libpng [installed at prefix PFX] --enable-system-hunspell Use system hunspell (located with pkgconfig) --with-java-include-path=dir Location of Java SDK headers --with-java-bin-path=dir Location of Java binaries (java, javac, jar) --with-arm-kuser Use kuser helpers (Linux/ARM only -- requires kernel 2.6.13 or later) --enable-application=APP Options include: browser (Firefox) xulrunner content/xslt (Standalone Transformiix XSLT) netwerk (Standalone Necko) tools/update-packaging (AUS-related packaging tools) standalone (use this for standalone xpcom/xpconnect or to manually drive a build) --with-embedding-profile=default|basic|minimal see http://wiki.mozilla.org/Gecko:Small_Device_Support --with-xulrunner-stub-name=appname Create the xulrunner stub with the given name --enable-default-toolkit=TK Select default toolkit Platform specific defaults: BeOS - cairo-beos Mac OS X - cairo-cocoa Neutrino/QNX - photon OS/2 - cairo-os2 Win32 - cairo-windows WinCE - windows Gtk2 with DirectFB - cairo-gtk2-dfb * - cairo-gtk2 * - cairo-qt --enable-startup-notification Enable startup-notification support (default: disabled) --with-qtdir=$dir Specify Qt directory --enable-ui-locale=ab-CD Select the user interface locale (default: en-US) --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-pango Disable usage of Pango --disable-postscript Disable PostScript printing support --disable-gnomevfs Disable GnomeVFS support --disable-gnomeui Disable libgnomeui support (default: auto, optional at runtime) --disable-dbus Disable dbus support --disable-crypto Disable crypto support (Personal Security Manager) --disable-jsd Disable JavaScript debug library --disable-plugins Disable plugins support --disable-dbm Disable building dbm --disable-oji Disable Open JVM Integration support --disable-view-source Disable view source support --disable-accessibility Disable accessibility support (off by default on OS X) --disable-xpfe-components Disable xpfe components --disable-xpinstall Disable xpinstall 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-xpcom-obsolete Disable XPCOM Obsolete Library --disable-xpcom-fastload Disable XPCOM fastload support --disable-ogg Disable Ogg Codec support --disable-wave Disable Wave decoder support --disable-permissions Disable permissions (popup and cookie blocking) --disable-negotiateauth Disable GSS-API negotiation --disable-xtf Disable XTF (pluggable xml tags) support --disable-inspector-apis Disable the DOM inspection APIs --disable-pref-extensions Disable pref extensions such as autoconfig and system-pref --disable-universalchardet Disable universal encoding detection --enable-javaxpcom Enable Java-XPCOM bridge --disable-crashreporter Disable breakpad crash reporting --with-crashreporter-enable-percent=NN Enable sending crash reports by default on NN% of users. (default=100) --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 --disable-mathml Disable MathML support --disable-canvas Disable html:canvas feature --disable-svg Disable SVG support --enable-tree-freetype Enable Tree FreeType --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-xpconnect-idispatch Disable building of xpconnect support for IDispatch (win32 only) --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 --disable-parental-controls Do not build parental controls --disable-vista-sdk-requirements Do not build Vista SDK specific code --enable-xpcom-lea Use Lea malloc in xpcom --enable-places Enable 'places' bookmark/history implementation --disable-feeds Disable feed handling and processing components --enable-storage Enable mozStorage module and related components --enable-system-sqlite Use system sqlite (located with pkgconfig) --enable-help-viewer Enable help viewer --enable-safe-browsing Enable safe browsing (anti-phishing) implementation --enable-url-classifier Enable url classifier module --disable-zipwriter Disable zipwriter component --enable-js-ultrasparc Use UltraSPARC optimizations in JS --enable-debug[=DBG] Enable building with developer debug info (Using compiler flags DBG) --enable-mobile-optimize Enable mobile optimizations --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-logrefcnt Enable logging of refcounts (default=debug) --enable-trace-malloc Enable malloc tracing --enable-jemalloc Replace memory allocator with jemalloc --enable-wrap-malloc Wrap malloc calls (gnu linker only) --with-wrap-malloc=DIR Location of malloc wrapper library --enable-valgrind Enable Valgrind integration hooks (default=no) --enable-efence Link with Electric Fence --enable-jprof Enable jprof profiling tool (needs mozilla/tools/jprof) --enable-shark Enable shark remote profiling (needs CHUD framework) --enable-callgrind Enable callgrind profiling --enable-vtune Enable vtune profiling --with-static-checking=path/to/gcc_dehydra.so Enable static checking of code using GCC-dehydra --enable-strip Enable stripping of libs & executables --enable-install-strip Enable stripping of libs & executables when packaging --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-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-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-profile-guided-optimization Don't build with PGO even if called via make profiledbuild --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 --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 --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-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-profilelocking Disable profile locking --disable-rdf Disable RDF --enable-necko-protocols[={http,ftp,default,all,none}] Enable/disable specific protocol handlers --disable-necko-disk-cache Disable necko disk cache --disable-necko-wifi Disable necko wifi scanner --enable-necko-small-buffers Minimize size of necko's i/o buffers --disable-cookies Disable cookie support

P.S.Всё делаю из под рута.
P.P.S. иксы поставлены
P.P.P.S. в других дистрибутивах (не debian ) проблем не возникало.
Что делать? :(
пошарил rus-linux.net, alv.me, citkit.ru, google, google linux, linuxforum wiki. Ничего не нашёл
процессор: AMD Athlon XP 1500, видиокарта NVIDIA GEForce FX 5200.
Спасибо сказали:
neol
Сообщения: 600
ОС: Debian Stable

Re: не собирется FF из исходников

Сообщение neol »

configure: error: --enable-application=APP was not specified and is required.

Перевести не пробовали? (:
Спасибо сказали:
polzovatellinux
Сообщения: 39
ОС: ALTLinux5(Lycorys Radiata)

Re: не собирется FF из исходников

Сообщение polzovatellinux »

Пробовал.
configure: ошибка: --enable-application=APP не было указано, но оно требовалось
процессор: AMD Athlon XP 1500, видиокарта NVIDIA GEForce FX 5200.
Спасибо сказали:
Аватара пользователя
sash-kan
Администратор
Сообщения: 13939
Статус: oel ngati kameie
ОС: GNU

Re: не собирется FF из исходников

Сообщение sash-kan »

polzovatellinux писал(а):
25.10.2009 07:32
--enable-application=APP
Options include:
browser (Firefox)
xulrunner
content/xslt (Standalone Transformiix XSLT)
netwerk (Standalone Necko)
tools/update-packaging (AUS-related packaging tools)
standalone (use this for standalone
xpcom/xpconnect or to manually drive a build)
--enable-application=browser
?
Писать безграмотно - значит посягать на время людей, к которым мы адресуемся, а потому совершенно недопустимо в правильно организованном обществе. © Щерба Л. В., 1957
при сбоях форума см.блог
Спасибо сказали:
neol
Сообщения: 600
ОС: Debian Stable

Re: не собирется FF из исходников

Сообщение neol »

polzovatellinux писал(а):
27.10.2009 03:03
робовал.
configure: ошибка: --enable-application=APP не было указано, но оно требовалось

Ну так наверное указать надо? ) Параметр описан в help
--enable-application=APP
Options include:
browser (Firefox)
xulrunner
content/xslt (Standalone Transformiix XSLT)
netwerk (Standalone Necko)
tools/update-packaging (AUS-related packaging tools)
standalone (use this for standalone
xpcom/xpconnect or to manually drive a build)

Получается
./configure --enable-application=browser
Спасибо сказали:
polzovatellinux
Сообщения: 39
ОС: ALTLinux5(Lycorys Radiata)

Re: не собирется FF из исходников

Сообщение polzovatellinux »

дальше:

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

checking for curl/curl.h... no
configure: error: Couldn't find curl/curl.h which is required for the crash reporter.  Use --disable-crashreporter to disable the crash reporter.

curl установлен.
crash reporter выключать не хочу.
процессор: AMD Athlon XP 1500, видиокарта NVIDIA GEForce FX 5200.
Спасибо сказали:
Аватара пользователя
Encore
Сообщения: 656
Статус: loading..............
ОС: Debian

Re: не собирется FF из исходников

Сообщение Encore »

Спасибо сказали:
polzovatellinux
Сообщения: 39
ОС: ALTLinux5(Lycorys Radiata)

Re: не собирется FF из исходников

Сообщение polzovatellinux »

Encore писал(а):
28.10.2009 15:49
curl.h
libcurl4-gnutls-dev

Спасибо. Я не понял, что значит искать по содержанию пакетов, а теперь разобрался
процессор: AMD Athlon XP 1500, видиокарта NVIDIA GEForce FX 5200.
Спасибо сказали:
polzovatellinux
Сообщения: 39
ОС: ALTLinux5(Lycorys Radiata)

Re: не собирется FF из исходников

Сообщение polzovatellinux »

дальше:

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

checking for inttypes.h... yes
checking for sys/int_types.h... no
checking for iwlib.h... yes
configure: error: Could not compile basic X program.

что ставить?
процессор: AMD Athlon XP 1500, видиокарта NVIDIA GEForce FX 5200.
Спасибо сказали:
Аватара пользователя
shevan
Сообщения: 992
ОС: Debian, Puppy

Re: не собирется FF из исходников

Сообщение shevan »

Собирают пакет из исходников, если надо получить какой-нибудь твик.
Зачем такая головная боль? Незная описание и действие сборочных опций, вы получите более уязвимое и баговое программное обеспечение.

Скорее всего библиотека отсутствует. Внимательно:
https://developer.mozilla.org/en/Linux_Build_Prerequisites
Кстати, если бы читали раньше, то заметили бы
libcurl is required to build the crash reporter. If apt-get fails to install libcurl4-openssl-dev, try libcurl-dev, libcurl4-gnutls-dev, or libcurl3-gnutls-dev. Alternatively you can disable the crash reporter (using the config option --disable-crashreporter).

Конечно, всегда проще спросить на линуксфоруме. -1

https://developer.mozilla.org/en/Build_Documentation
Читайте, пока не отпала охота собирать его вручную.
Спасибо сказали:
Аватара пользователя
noize
Сообщения: 164
ОС: Debian

Re: не собирется FF из исходников

Сообщение noize »

Собирать таким вот образом пакеты в дебиане - это почти преступление:) Есть средства, которые из исходников скомпилят deb-пакет, который потом можно будет просто установить командой dpkg -i
Спасибо сказали:
Аватара пользователя
Aectann
Бывший модератор
Сообщения: 3491
Статус: ...
ОС: OS X, GNU_и_не_только/Linux

Re: не собирется FF из исходников

Сообщение Aectann »

polzovatellinux писал(а):
28.10.2009 16:09
что ставить?

Гугль говорит, что libxt-dev .

P.S. Скажите, а зачем собирать FF из исходников в Debian? Он ведь есть в официальных репозиториях, только называется iceweasel .
My god... it's full of stars!...
Спасибо сказали: