Re: [gtk-osx-users] [Gtk-osx-users] Getting Started with WebKitGTK+







----- Original Message -----
From: John Ralls <jralls ceridwen us>
To: Chris Share <cpsmusic yahoo com>
Cc: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
Sent: Saturday, 2 August 2014 12:43 PM
Subject: Re: [gtk-osx-users] [Gtk-osx-users] Getting Started with WebKitGTK+


On Aug 1, 2014, at 7:21 PM, Chris Share <cpsmusic yahoo com> wrote:

----- Original Message -----

From: John Ralls <jralls ceridwen us>
To: Chris Share <cpsmusic yahoo com>
Cc: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
Sent: Saturday, 2 August 2014 10:04 AM
Subject: Re: [gtk-osx-users] [Gtk-osx-users] Getting Started with WebKitGTK+


On Aug 1, 2014, at 4:33 PM, Chris Share <cpsmusic yahoo com> wrote:

Hi,

When I try to build WebKit I'm getting the following error:

chris New-MacBook~/Desktop/Programming/gtk/gtk+_test_4$ jhbuild build WebKit
Warning: jhbuild is started from within a jhbuild session.
*** Checking out libffi *** [1/18]
*** Configuring libffi *** [1/18]
./configure --prefix /Users/chris/gtk/inst --libdir '/Users/chris/gtk/inst/lib' --disable-builddir  
checking build system type... i386-apple-darwin13.3.0
checking host system type... i386-apple-darwin13.3.0
checking target system type... i386-apple-darwin13.3.0
configure: toplevel srcdir already configured... skipping subdir build
checking for gsed... sed
checking for a BSD-compatible install... /Users/chris/.local/bin/install-check
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2
checking whether the C compiler works... no
configure: error: in `/Users/chris/gtk/source/atgreen-libffi-873d687':
configure: error: C compiler cannot create executables
See `config.log' for more details
*** Error during phase configure of libffi: ########## Error running ./configure --prefix 
/Users/chris/gtk/inst --libdir '/Users/chris/gtk/inst/lib' --disable-builddir   *** [1/18]

    [1] Rerun phase configure
    [2] Ignore error and continue to build
    [3] Give up on module
    [4] Start shell
    [5] Reload configuration
    [6] Go to phase "wipe directory and start over"
    [7] Go to phase "clean"
    [8] Go to phase "distclean"
choice: 

Any idea what's going on. I'm running OSX 10.9.4.

The first line probably explains the problem, you tried to start jhbuild from inside a jhbuild shell. That 
seldom works out well.

That aside, no, there's not enough information there; that's why configure told you to "See `config.log' 
for more details". Once you get the pretty GUI out of the way, OS X is just BSD Unix, so pretty much 
everything you know about Linux applies.

//=====================================================




Here is the output from the config.log file in /Users/chris/gtk/source/atgreen-libffi-873d687:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by libffi configure 3.0.11, which was
generated by GNU Autoconf 2.68.  Invocation command line was

   $ ./configure --prefix /Users/chris/gtk/inst --libdir /Users/chris/gtk/inst/lib --disable-builddir

## --------- ##
## Platform. ##
## --------- ##

hostname = New-MacBook.local
uname -m = x86_64
uname -r = 13.3.0
uname -s = Darwin
uname -v = Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
      Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 8.00 gigabytes
Default processor set: 237 tasks, 827 threads, 2 processors
Load average: 2.61, Mach factor: 0.40
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/chris/gtk/inst/bin
PATH: /Users/chris/.rvm/gems/ruby-2.0.0-p247/bin
PATH: /Users/chris/.rvm/gems/ruby-2 0 0-p247 global/bin
PATH: /Users/chris/.rvm/rubies/ruby-2.0.0-p247/bin
PATH: /Users/chris/.rvm/bin
PATH: /Library/Frameworks/Python.framework/Versions/3.1/bin
PATH: /Library/Frameworks/Python.framework/Versions/2.6/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /Applications/MyApplications/Doxygen/Doxygen.app/Contents/Resources
PATH: /Applications/MyApplications/sox-14.3.1
PATH: /Users/cpsmusic/Programming/boost_1_46_1
PATH: /usr/local/cuda/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /opt/X11/bin
PATH: /usr/local/git/bin
PATH: /usr/local/MacGPG2/bin
PATH: /Users/chris/Programming/pkg-config/pkg-config-0.25/build/bin
PATH: /System/Library/Frameworks/Python.framework/Versions/2.6/bin
PATH: /usr/local/mysql/bin
PATH: /Users/chris/.local/bin
PATH: /Users/chris/Qt5.0.2/5.0.2/clang_64/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2550: checking build system type
configure:2564: result: i386-apple-darwin13.3.0
configure:2584: checking host system type
configure:2597: result: i386-apple-darwin13.3.0
configure:2617: checking target system type
configure:2630: result: i386-apple-darwin13.3.0
configure:2685: toplevel srcdir already configured... skipping subdir build
configure:2722: checking for gsed
configure:2753: result: sed
configure:2781: checking for a BSD-compatible install
configure:2849: result: /Users/chris/.local/bin/install-check
configure:2860: checking whether build environment is sane
configure:2910: result: yes
configure:3048: checking for a thread-safe mkdir -p
configure:3087: result: ./install-sh -c -d
configure:3100: checking for gawk
configure:3130: result: no
configure:3100: checking for mawk
configure:3130: result: no
configure:3100: checking for nawk
configure:3130: result: no
configure:3100: checking for awk
configure:3116: found /usr/bin/awk
configure:3127: result: awk
configure:3138: checking whether make sets $(MAKE)
configure:3160: result: yes
configure:3299: checking for gcc
configure:3326: result: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2
configure:3555: checking for C compiler version
configure:3564: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 --version >&5
./configure: line 3566: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2: No such file or 
directory
configure:3575: $? = 127
configure:3564: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -v >&5
./configure: line 3566: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2: No such file or 
directory
configure:3575: $? = 127
configure:3564: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -V >&5
./configure: line 3566: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2: No such file or 
directory
configure:3575: $? = 127
configure:3564: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -qversion >&5
./configure: line 3566: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2: No such file or 
directory
configure:3575: $? = 127
configure:3595: checking whether the C compiler works
configure:3617: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -arch x86_64 
-mmacosx-version-min=10.7 -I/Users/chris/gtk/inst/include -L/Users/chris/gtk/inst/lib 
-L/Users/chris/gtk/inst/lib -arch x86_64 -mmacosx-version-min=10.7 -Wl,-headerpad_max_install_names 
conftest.c  >&5
./configure: line 3619: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2: No such file or 
directory
configure:3621: $? = 127
configure:3659: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libffi"
| #define PACKAGE_TARNAME "libffi"
| #define PACKAGE_VERSION "3.0.11"
| #define PACKAGE_STRING "libffi 3.0.11"
| #define PACKAGE_BUGREPORT "http://github.com/atgreen/libffi/issues";
| #define PACKAGE_URL ""
| #define PACKAGE "libffi"
| #define VERSION "3.0.11"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3664: error: in `/Users/chris/gtk/source/atgreen-libffi-873d687':
configure:3666: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-apple-darwin13.3.0
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/Users/chris/gtk/inst/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i386-apple-darwin13.3.0
ac_cv_path_ax_enable_builddir_sed=sed
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2
ac_cv_prog_make_make_set=yes
ac_cv_target=i386-apple-darwin13.3.0

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /Users/chris/gtk/source/atgreen-libffi-873d687/missing --run aclocal-1.11'
ALLOCA=''
ALPHA_FALSE=''
ALPHA_TRUE=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /Users/chris/gtk/source/atgreen-libffi-873d687/missing --run tar'
AM_LTLDFLAGS=''
AM_RUNTESTFLAGS=''
AR=''
ARM_FALSE=''
ARM_TRUE=''
AUTOCONF='${SHELL} /Users/chris/gtk/source/atgreen-libffi-873d687/missing --run autoconf'
AUTOHEADER='${SHELL} /Users/chris/gtk/source/atgreen-libffi-873d687/missing --run autoheader'
AUTOMAKE='${SHELL} /Users/chris/gtk/source/atgreen-libffi-873d687/missing --run automake-1.11'
AVR32_FALSE=''
AVR32_TRUE=''
AWK='awk'
CC='/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS='-arch x86_64 -mmacosx-version-min=10.7'
CPP=''
CPPFLAGS='-I/Users/chris/gtk/inst/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
EXEEXT=''
FFI_DEBUG_FALSE=''
FFI_DEBUG_TRUE=''
FFI_EXEC_TRAMPOLINE_TABLE=''
FFI_EXEC_TRAMPOLINE_TABLE_FALSE=''
FFI_EXEC_TRAMPOLINE_TABLE_TRUE=''
FGREP=''
FRV_FALSE=''
FRV_TRUE=''
GREP=''
HAVE_LONG_DOUBLE=''
IA64_FALSE=''
IA64_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='-L/Users/chris/gtk/inst/lib -L/Users/chris/gtk/inst/lib -arch x86_64 -mmacosx-version-min=10.7 
-Wl,-headerpad_max_install_names'
LIBFFI_CRIS_FALSE=''
LIBFFI_CRIS_TRUE=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
M32R_FALSE=''
M32R_TRUE=''
M68K_FALSE=''
M68K_TRUE=''
MAINT=''
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /Users/chris/gtk/source/atgreen-libffi-873d687/missing --run makeinfo'
MANIFEST_TOOL=''
MIPS_FALSE=''
MIPS_TRUE=''
MKDIR_P='./install-sh -c -d'
MOXIE_FALSE=''
MOXIE_TRUE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PA64_HPUX_FALSE=''
PA64_HPUX_TRUE=''
PACKAGE='libffi'
PACKAGE_BUGREPORT='http://github.com/atgreen/libffi/issues'
PACKAGE_NAME='libffi'
PACKAGE_STRING='libffi 3.0.11'
PACKAGE_TARNAME='libffi'
PACKAGE_URL=''
PACKAGE_VERSION='3.0.11'
PATH_SEPARATOR=':'
PA_HPUX_FALSE=''
PA_HPUX_TRUE=''
PA_LINUX_FALSE=''
PA_LINUX_TRUE=''
POWERPC_AIX_FALSE=''
POWERPC_AIX_TRUE=''
POWERPC_DARWIN_FALSE=''
POWERPC_DARWIN_TRUE=''
POWERPC_FALSE=''
POWERPC_FREEBSD_FALSE=''
POWERPC_FREEBSD_TRUE=''
POWERPC_TRUE=''
PRTDIAG=''
RANLIB=''
S390_FALSE=''
S390_TRUE=''
SED=''
SET_MAKE=''
SH64_FALSE=''
SH64_TRUE=''
SHELL='/bin/sh'
SH_FALSE=''
SH_TRUE=''
SPARC_FALSE=''
SPARC_TRUE=''
STRIP=''
TARGET=''
TARGETDIR=''
TESTSUBDIR_FALSE=''
TESTSUBDIR_TRUE=''
VERSION='3.0.11'
X86_64_FALSE=''
X86_64_TRUE=''
X86_DARWIN_FALSE=''
X86_DARWIN_TRUE=''
X86_FALSE=''
X86_FREEBSD_FALSE=''
X86_FREEBSD_TRUE=''
X86_TRUE=''
X86_WIN32_FALSE=''
X86_WIN32_TRUE=''
X86_WIN64_FALSE=''
X86_WIN64_TRUE=''
ac_ct_AR=''
ac_ct_CC='/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
ax_enable_builddir_sed='sed'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin13.3.0'
build_alias=''
build_cpu='i386'
build_os='darwin13.3.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i386-apple-darwin13.3.0'
host_alias=''
host_cpu='i386'
host_os='darwin13.3.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Users/chris/gtk/source/atgreen-libffi-873d687/install-sh'
libdir='/Users/chris/gtk/inst/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/Users/chris/gtk/inst'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sys_symbol_underscore=''
sysconfdir='${prefix}/etc'
target='i386-apple-darwin13.3.0'
target_alias=''
target_cpu='i386'
target_os='darwin13.3.0'
target_vendor='apple'
toolexecdir=''
toolexeclibdir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "libffi"
#define PACKAGE_TARNAME "libffi"
#define PACKAGE_VERSION "3.0.11"
#define PACKAGE_STRING "libffi 3.0.11"
#define PACKAGE_BUGREPORT "http://github.com/atgreen/libffi/issues";
#define PACKAGE_URL ""
#define PACKAGE "libffi"
#define VERSION "3.0.11"

configure: exit 77

I'm a bit suspicious of the following:

./configure: line 3619: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2: No such file or 
directory

Is this the cause of the problem?

If so, how do I fix it?

Cheers!

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-osx-users


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]