Opened 15 years ago

Closed 15 years ago

#19779 closed defect (fixed)

Error building webkit-gtk 1.1.7 on Leopard

Reported by: mf2k (Frank Schima) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: dershow
Port: webkit-gtk

Description

I'm seeing the following error trying to install webkit-gtk 1.1.7 on Mac OS X 10.5.7 Intel with Xcode 3.1.2.

$ sudo port upgrade webkit-gtk
--->  Computing dependencies for webkit-gtk
--->  Fetching webkit-gtk
--->  Attempting to fetch webkit-1.1.7.tar.gz from http://distfiles.macports.org/webkit-gtk
--->  Verifying checksum(s) for webkit-gtk
--->  Extracting webkit-gtk
--->  Applying patches to webkit-gtk
--->  Configuring webkit-gtk
--->  Building webkit-gtk
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_www_webkit-gtk/work/webkit-1.1.7" && make all " returned error 2
Command output: checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by /usr/bin/g++-4.0... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/g++-4.0 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/g++-4.0 static flag -static works... no
checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
checking if /usr/bin/g++-4.0 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin9.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
checking for flex... /opt/local/bin/flex
checking for gawk... (cached) gawk
checking for gperf... /opt/local/bin/gperf
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib... yes
checking for libpng12... yes
checking the target windowing system... x11
checking for Hildon UI extensions... no
./configure: line 18996: syntax error near unexpected token `HILDON,'
./configure: line 18996: `    PKG_CHECK_MODULES(HILDON, hildon-1)'
make: *** [config.status] Error 2

Error: Unable to upgrade port: 1

Attachments (2)

config.log (38.4 KB) - added by dershow 15 years ago.
Webkit config.log
patch-webkit-gtk.diff (441 bytes) - added by dbevans (David B. Evans) 15 years ago.
Patch for Portfile

Download all attachments as: .zip

Change History (10)

comment:1 Changed 15 years ago by dershow

Cc: dersh@… added

Cc Me!

comment:2 Changed 15 years ago by dbevans (David B. Evans)

Status: newassigned

what does config.log say?

Changed 15 years ago by dershow

Attachment: config.log added

Webkit config.log

comment:3 Changed 15 years ago by dershow

I am seeing the same error so attached my config.log.

--Adam

comment:4 Changed 15 years ago by dbevans (David B. Evans)

Ok, what do these say?

port installed autoconf
which autoconf

comment:5 Changed 15 years ago by dershow

$ port installed autoconf
The following ports are currently installed:
  autoconf @2.63_0 (active)
$ which autoconf
/opt/local/bin/autoconf

comment:6 Changed 15 years ago by dbevans (David B. Evans)

well, it looks like an autoconf foulup so see if the attached patch does any better. Be sure and clean the port after applying the patch before building again.

Changed 15 years ago by dbevans (David B. Evans)

Attachment: patch-webkit-gtk.diff added

Patch for Portfile

comment:7 Changed 15 years ago by dershow

That patch did the job for me.

comment:8 Changed 15 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Good and its simpler too.

Committed in r51558.

Note: See TracTickets for help on using tickets.