[OpenIndiana-discuss] Building Firefox 35.0b6

ken mays maybird1776 at yahoo.com
Wed Dec 24 14:51:01 UTC 2014


pkg install library/audio/pulseaudio { pkg://solaris/library/audio/pulseaudio@1.1,5.11-0.175.2.0.0.41.0:20140609T232012Z}(you can get it from Solaris 11 IPS).
There is more to this.... 

     On Wednesday, December 24, 2014 6:35 AM, russell <stream at willows7.myzen.co.uk> wrote:
   

 Hi,

I downloaded the Source for Firefox 35.0b6 and attempted to build the same.

I found that I need to complete the following, yasm is required for the 
webm build:-

pkg install pkg://openindiana.org/developer/assembler/yasm

export CC=gcc
export CXX=g++

gmake -f client.mk build

Results of gmake

$ gmake -f client.mk build
gmake -f /tmp/firefox/mozilla-beta/client.mk realbuild 
CREATE_MOZCONFIG_JSON=
Adding client.mk options from :
    MOZ_OBJDIR=/tmp/firefox/mozilla-beta/obj-i386-pc-solaris2.11
    OBJDIR=/tmp/firefox/mozilla-beta/obj-i386-pc-solaris2.11
gmake[1]: Entering directory `/tmp/firefox/mozilla-beta'
gmake[2]: Entering directory `/tmp/firefox/mozilla-beta'
cp  /tmp/firefox/mozilla-beta/obj-i386-pc-solaris2.11/.mozconfig
cp: Insufficient arguments (1)
Usage: cp [-a] [-f] [-i] [-p] [-@] [-/] f1 f2
        cp [-a] [-f] [-i] [-p] [-@] [-/] f1 ... fn d1
        cp [-r|-R [-H|-L|-P]] [-a] [-f] [-i] [-p] [-@] [-/] d1 ... dn-1 dn
gmake[2]: [save-mozconfig] Error 2 (ignored)
cd /tmp/firefox/mozilla-beta/obj-i386-pc-solaris2.11
/tmp/firefox/mozilla-beta/configure
loading cache ./config.cache
checking host system type... i386-pc-solaris2.11
checking target system type... i386-pc-solaris2.11
checking build system type... i386-pc-solaris2.11
checking for gawk... gawk
checking for python2.7... /usr/bin/python2.7
Creating Python environment
checking Python environment is Mozilla virtualenv... yes
checking for perl5... no
checking for perl... /usr/bin/perl
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++... g++
checking whether the C++ compiler (g++  ) works... yes
checking whether the C++ compiler (g++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ 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 how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether ln -s works... yes
checking for minimum required perl version >= 5.006... 5.016003
checking for full perl installation... yes
checking for doxygen... /usr/bin/doxygen
checking for autoconf... /usr/bin/autoconf
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for xargs... /usr/bin/xargs
checking for rpmbuild... :
checking for gmake... /usr/bin/gmake
checking for X... libraries , headers
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... no
checking for shmat... no
checking for IceConnectionNumber in -lICE... yes
checking that static assertion macros used in autoconf tests work... yes
checking for --noexecstack option to as... yes
checking for -z noexecstack option to ld... no
checking for -z text option to ld... yes
checking for --build-id option to ld... no
checking for --ignore-unresolved-symbol option to ld... no
checking if toolchain supports -mssse3 option... yes
checking if toolchain supports -msse4.1 option... yes
checking for x86 AVX2 asm support in compiler... yes
checking whether the C++ compiler supports -Wno-inline-new-delete... no
checking whether ld has archive extraction flags... yes
checking for 64-bit OS... no
checking for custom <inttypes.h> implementation... none specified
checking whether the C++ compiler (g++  -fno-exceptions 
-fno-strict-aliasing -fno-rtti  -Wl,-z,text -Wl,-z,ignore 
-Wl,-R,'$$ORIGIN:$$ORIGIN/..' -Wl,-z,lazyload -Wl,-z,combreloc 
-Wl,-z,muldefs) actually is a C++ compiler... yes
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 gcc c++0x headers bug without rtti... no
checking for gcc PR49911... no
checking for gcc pr39608... no
checking for llvm pr8927... no
checking for __force_align_arg_pointer__ attribute... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/byteorder.h... yes
checking for compat.h... no
checking for getopt.h... yes
checking for sys/bitypes.h... no
checking for memory.h... yes
checking for unistd.h... yes
checking for gnu/libc-version.h... no
checking for nl_types.h... yes
checking for malloc.h... yes
checking for X11/XKBlib.h... yes
checking for io.h... no
checking for cpuid.h... yes
checking for sys/statvfs.h... yes
checking for sys/statfs.h... no
checking for sys/vfs.h... yes
checking for sys/mount.h... yes
checking for sys/quota.h... no
checking for sys/sysmacros.h... yes
checking for linux/quota.h... no
checking for linux/if_addr.h... no
checking for linux/rtnetlink.h... no
checking for sys/types.h... yes
checking for netinet/in.h... yes
checking for byteswap.h... no
checking for sockaddr_in.sin_len... false
checking for sockaddr_in6.sin6_len... false
checking for sockaddr.sa_len... false
checking for sys/cdefs.h... no
checking for linux/perf_event.h... no
checking for gethostbyname_r in -lc_r... no
checking for library containing dlopen... none required
checking for dlfcn.h... yes
checking for dladdr... yes
checking for memmem... yes
checking for socket in -lsocket... yes
checking for XDrawLines in -lX11... yes
checking for XextAddDisplay in -lXext... yes
checking for XtFree in -lXt... yes
checking for XShmCreateImage in -lXext... yes
checking for X11/extensions/scrnsaver.h... yes
checking for XScreenSaverQueryInfo in -lXss... yes
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lpthread... yes
checking whether gcc accepts -pthread... yes
checking whether gcc needs -traditional... no
checking for 8-bit clean memcmp... yes
checking for stat64... yes
checking for lstat64... yes
checking for truncate64... yes
checking for statvfs64... yes
checking for statvfs... yes
checking for statfs64... no
checking for statfs... yes
checking for getpagesize... yes
checking for localtime_r... yes
checking for arc4random... no
checking for arc4random_buf... no
checking for clock_gettime(CLOCK_MONOTONIC)...
checking for wcrtomb... yes
checking for mbrtowc... yes
checking for res_ninit()... no
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 whether va_list can be copied by value... yes
checking whether the C++ "using" keyword resolves ambiguity... 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 __thread keyword for TLS variables... yes
checking for malloc.h... (cached) yes
checking for strndup... yes
checking for posix_memalign... yes
checking for memalign... yes
checking for valloc... yes
checking for malloc_usable_size... no
checking for __attribute__((always_inline))... yes
checking for __attribute__((malloc))... yes
checking for __attribute__((warn_unused_result))... yes
checking for LC_MESSAGES... yes
checking for localeconv... yes
checking NSPR selection... source-tree
checking for YASM assembler... checking for yasm... yasm
checking for application to build... browser
checking if app-specific confvars.sh exists... 
/tmp/firefox/mozilla-beta/browser/confvars.sh
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 gobject-2.0 
gdk-x11-2.0... yes
checking MOZ_GTK2_CFLAGS... -D_REENTRANT -D_PTHREADS -D_REENTRANT 
-D_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 
-I/usr/include/gtk-2.0 -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng14 
-I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ 
-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14
checking MOZ_GTK2_LIBS... -lgtk-x11-2.0 -lsecdb -ltsol -lgtk-x11-2.0 
-lsecdb -ltsol -latk-1.0 -lpangoft2-1.0 -R/usr/lib -lfreetype 
-lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lgio-2.0 
-lgobject-2.0 -lgthread-2.0 -lpthread -lgmodule-2.0 -lpthread -lglib-2.0 
-lfontconfig -R/usr/lib -lXext -R/usr/lib -lXrender -R/usr/lib 
-lXinerama -R/usr/lib -lXrandr -R/usr/lib -lXcursor -R/usr/lib 
-lXcomposite -R/usr/lib -lXdamage -R/usr/lib -lXfixes -lcairo -R/usr/lib 
-lX11
checking for pango >= 1.22.0... yes
checking _PANGOCHK_CFLAGS... -D_REENTRANT -D_PTHREADS -D_REENTRANT 
-D_PTHREADS -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include
checking _PANGOCHK_LIBS... -lpango-1.0 -lgobject-2.0 -lgthread-2.0 
-lpthread -lgmodule-2.0 -lpthread -lglib-2.0
checking for pango >= 1.22.0 pangoft2 >= 1.22.0 pangocairo >= 1.22.0... yes
checking MOZ_PANGO_CFLAGS... -D_REENTRANT -D_PTHREADS -D_REENTRANT 
-D_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng14
checking MOZ_PANGO_LIBS... -lpangoft2-1.0 -R/usr/lib -lfreetype 
-lfontconfig -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lgthread-2.0 
-lpthread -lgmodule-2.0 -lpthread -lglib-2.0 -lcairo
checking for gtk+-2.0 >= 2.14... yes
checking _GTKCHECK_CFLAGS... -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-D_REENTRANT -D_PTHREADS -D_REENTRANT -D_PTHREADS -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/libpng14 -I/usr/include/pango-1.0 
-I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng14 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
checking _GTKCHECK_LIBS... -lgtk-x11-2.0 -lsecdb -ltsol -lgdk-x11-2.0 
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -R/usr/lib -lXext -R/usr/lib 
-lXrender -R/usr/lib -lXinerama -R/usr/lib -lXrandr -R/usr/lib -lXcursor 
-R/usr/lib -lXcomposite -R/usr/lib -lXdamage -R/usr/lib -lXfixes 
-R/usr/lib -lX11 -latk-1.0 -lcairo -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 
-lgobject-2.0 -lgthread-2.0 -lpthread -lgmodule-2.0 -lpthread -lglib-2.0 
-R/usr/lib -lfreetype -lfontconfig
checking for gio-2.0 >= 2.20... yes
checking MOZ_GIO_CFLAGS... -D_REENTRANT -D_PTHREADS -D_REENTRANT 
-D_PTHREADS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking MOZ_GIO_LIBS... -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lpthread 
-lgmodule-2.0 -lpthread -lglib-2.0
checking for gconf-2.0 >= 1.2.1 gobject-2.0 ... yes
checking MOZ_GCONF_CFLAGS... -DORBIT2=1 -D_REENTRANT -D_PTHREADS 
-D_REENTRANT -D_PTHREADS -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking MOZ_GCONF_LIBS... -lgconf-2 -lgobject-2.0 -lgthread-2.0 
-lpthread -lglib-2.0
checking for dbus-1 >= 0.60... yes
checking MOZ_DBUS_CFLAGS... -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include
checking MOZ_DBUS_LIBS... -ldbus-1 -lpthread -lrt
checking for dbus-glib-1 >= 0.60... yes
checking MOZ_DBUS_GLIB_CFLAGS... -D_REENTRANT -D_PTHREADS 
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking MOZ_DBUS_GLIB_LIBS... -ldbus-glib-1 -ldbus-1 -lpthread -lrt 
-lgobject-2.0 -lgthread-2.0 -lpthread -lglib-2.0
checking __attribute__ ((aligned ())) support... trying 64
64
checking for libpulse... Package libpulse was not found in the 
pkg-config search path.
Perhaps you should add the directory containing `libpulse.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpulse' found
configure: error: pulseaudio audio backend requires libpulse development 
package
------ config.log ------
configure:19005: checking MOZ_GIO_CFLAGS
configure:19010: checking MOZ_GIO_LIBS
configure:19124: checking for gconf-2.0 >= 1.2.1 gobject-2.0
configure:19131: checking MOZ_GCONF_CFLAGS
configure:19136: checking MOZ_GCONF_LIBS
configure:19520: checking for dbus-1 >= 0.60
configure:19527: checking MOZ_DBUS_CFLAGS
configure:19532: checking MOZ_DBUS_LIBS
configure:19611: checking for dbus-glib-1 >= 0.60
configure:19618: checking MOZ_DBUS_GLIB_CFLAGS
configure:19623: checking MOZ_DBUS_GLIB_LIBS
configure:19886: gcc -c  -std=gnu99 -fgnu89-inline -fno-strict-aliasing 
-fno-math-errno -pthread  conftest.c 1>&5
configure:19880:27: fatal error: linux/ethtool.h: No such file or directory
compilation terminated.
configure: failed program was:
#line 19879 "configure"
#include "confdefs.h"
#include <linux/ethtool.h>
int main() {
  struct ethtool_cmd cmd; cmd.speed_hi = 0;
; return 0; }
configure:20086: checking __attribute__ ((aligned ())) support
configure:20103: gcc -c  -std=gnu99 -fgnu89-inline -fno-strict-aliasing 
-fno-math-errno -pthread -Werror  conftest.c 1>&5
configure:21121: checking for libpulse
configure: error: pulseaudio audio backend requires libpulse development 
package
*** Fix above errors and then restart with\
                "gmake -f client.mk build"
gmake[2]: *** [configure] Error 1
gmake[2]: Leaving directory `/tmp/firefox/mozilla-beta'
gmake[1]: *** 
[/tmp/firefox/mozilla-beta/obj-i386-pc-solaris2.11/Makefile] Error 2
gmake[1]: Leaving directory `/tmp/firefox/mozilla-beta'
gmake: *** [build] Error 2


Any suggestions on how to proceed would be gratefully accepted.

TIA

Russell


_______________________________________________
openindiana-discuss mailing list
openindiana-discuss at openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


   


More information about the openindiana-discuss mailing list