Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12256 closed defect (fixed)

BUG: Error while installing wireshark

Reported by: Frank.Seebach@… Owned by: ghosthound
Priority: High Milestone:
Component: ports Version:
Keywords: Cc: ghosthound
Port:

Description

I get the followin error while installing wireshark:

################################################################################ IT0010239:~ FSeebach$ sudo port install wireshark ---> Fetching gtk2 ---> Attempting to fetch gtk+-2.10.13.tar.bz2 from http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gtk+/2.10 ---> Attempting to fetch gtk+-2.10.13.tar.bz2 from http://mirror.aarnet.edu.au/pub/GNOME/sources/gtk+/2.10 ---> Verifying checksum(s) for gtk2 ---> Extracting gtk2 ---> Configuring gtk2 ---> Building gtk2 with target all Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_x11_gtk2/work/gtk+-2.10.13" && make all CFLAGS+="-I/usr/X11R6/include" " returned error 2 Command output: gdkcursor-x11.c: In function 'gdk_cursor_new_from_pixbuf': gdkcursor-x11.c:810: warning: pointer targets in passing argument 2 of 'gdk_bitmap_create_from_data' differ in signedness gdkcursor-x11.c:813: warning: pointer targets in passing argument 2 of 'gdk_bitmap_create_from_data' differ in signedness if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DPNG_NO_MMX_CODE -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include -MT gdkdisplay-x11.lo -MD -MP -MF ".deps/gdkdisplay-x11.Tpo" \

-c -o gdkdisplay-x11.lo test -f 'gdkdisplay-x11.c' || echo './'gdkdisplay-x11.c; \

then mv -f ".deps/gdkdisplay-x11.Tpo" ".deps/gdkdisplay-x11.Plo"; \ else rm -f ".deps/gdkdisplay-x11.Tpo"; exit 1; \ fi

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DPNG_NO_MMX_CODE -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include -MT gdkdisplay-x11.lo -MD -MP -MF .deps/gdkdisplay-x11.Tpo -c gdkdisplay-x11.c -fno-common -DPIC -o .libs/gdkdisplay-x11.o

if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DPNG_NO_MMX_CODE -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include -MT gdkdnd-x11.lo -MD -MP -MF ".deps/gdkdnd-x11.Tpo" \

-c -o gdkdnd-x11.lo test -f 'gdkdnd-x11.c' || echo './'gdkdnd-x11.c; \

then mv -f ".deps/gdkdnd-x11.Tpo" ".deps/gdkdnd-x11.Plo"; \ else rm -f ".deps/gdkdnd-x11.Tpo"; exit 1; \ fi

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DPNG_NO_MMX_CODE -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include -MT gdkdnd-x11.lo -MD -MP -MF .deps/gdkdnd-x11.Tpo -c gdkdnd-x11.c -fno-common -DPIC -o .libs/gdkdnd-x11.o

if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DPNG_NO_MMX_CODE -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include -MT gdkdrawable-x11.lo -MD -MP -MF ".deps/gdkdrawable-x11.Tpo" \

-c -o gdkdrawable-x11.lo test -f 'gdkdrawable-x11.c' || echo './'gdkdrawable-x11.c; \

then mv -f ".deps/gdkdrawable-x11.Tpo" ".deps/gdkdrawable-x11.Plo"; \ else rm -f ".deps/gdkdrawable-x11.Tpo"; exit 1; \ fi

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -DPNG_NO_MMX_CODE -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include -no-cpp-precomp -DX_LOCALE -I/opt/local/include -I/usr/X11R6/include -I/usr/X11R6/include -MT gdkdrawable-x11.lo -MD -MP -MF .deps/gdkdrawable-x11.Tpo -c gdkdrawable-x11.c -fno-common -DPIC -o .libs/gdkdrawable-x11.o

gdkdrawable-x11.c:32:24: error: cairo-xlib.h: No such file or directory gdkdrawable-x11.c: In function 'gdk_x11_ref_cairo_surface': gdkdrawable-x11.c:1472: warning: assignment makes pointer from integer without a cast gdkdrawable-x11.c:1477: warning: assignment makes pointer from integer without a cast make[4]: * [gdkdrawable-x11.lo] Error 1 make[3]: * [all-recursive] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: The following dependencies failed to build: gtk2 libpcap openssl Error: Status 1 encountered during processing.

################################################################################

Here is an output of the already installed ports:

IT0010239:~ FSeebach$ sudo port installed Password: The following ports are currently installed:

atk @1.18.0_0 (active) cairo @1.4.10_0 (active) expat @2.0.1_0 (active) fontconfig @2.4.2_0+macosx (active) freetype @2.3.5_0 (active) gettext @0.16.1_0 (active) glib2 @2.12.12_0 (active) jpeg @6b_1 (active) libiconv @1.11_4+darwin_8 (active) libpng @1.2.18_0+darwin_8 (active) pango @1.16.4_0 (active) pkgconfig @0.21_0 (active) render @0.9_0 (active) tiff @3.8.2_0+darwin_8 (active) XFree86 @4.6.0_0+macosx (active) Xft2 @2.1.7_0 (active) xrender @0.9.0_0+darwin_8 (active) zlib @1.2.3_1 (active)

IT0010239:~ FSeebach$

I have already made a selfupdate and this is the version i am running on:

IT0010239:~ FSeebach$ port MacPorts 1.442 Entering interactive mode... ("help" for help, "quit" to quit) [Users/FSeebach] >

Mac OSX 10.4.10 German

Thanks for any help.

Frank

Change History (4)

comment:1 Changed 17 years ago by nox@…

Milestone: Port Bugs
Priority: ImportantHigh
Summary: Error while installing wiresharkBUG: Error while installing wireshark
Version: 1.4.40

comment:2 Changed 17 years ago by ghosthound

Cc: ricci@… added
Owner: changed from macports-dev@… to ricci@…
Status: newassigned

Please run 'sudo port selfupdate' and try again, several updates and fixes have been committed since this bug was opened.

comment:3 Changed 17 years ago by ghosthound

Resolution: fixed
Status: assignedclosed

closing as I believe this is fixed and no response for a month

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.