New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19779 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Error building webkit-gtk 1.1.7 on Leopard

Reported by: macsforever2000@… Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: dersh@…
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

config.log Download (38.4 KB) - added by dersh@… 3 years ago.
Webkit config.log
patch-webkit-gtk.diff Download (441 bytes) - added by devans@… 3 years ago.
Patch for Portfile

Change History

Changed 3 years ago by dersh@…

  • cc dersh@… added

Cc Me!

Changed 3 years ago by devans@…

  • status changed from new to assigned

what does config.log say?

Changed 3 years ago by dersh@…

Webkit config.log

Changed 3 years ago by dersh@…

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

--Adam

Changed 3 years ago by devans@…

Ok, what do these say?

port installed autoconf
which autoconf

Changed 3 years ago by dersh@…

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

Changed 3 years ago by devans@…

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 3 years ago by devans@…

Patch for Portfile

Changed 3 years ago by dersh@…

That patch did the job for me.

Changed 3 years ago by devans@…

  • status changed from assigned to closed
  • resolution set to fixed

Good and its simpler too.

Committed in r51558.

Note: See TracTickets for help on using tickets.