Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17644 closed defect (duplicate)

Revisited: wireshark^Wgtk2: unable to build under Mac OS X 10.5.5 Leopard

Reported by: p.de.haan2@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gtk2 wireshark Cc: opendarwin.org@…
Port: gtk2

Description

As with ticket 13012 For both wireshark 1.04 and 1.05, its true they won't run.
Port install fails at GTK.
Even starting from scratch, deleting the whole /opt, reinstalling macports 1.6.0 and rebuilding from scratch fails.
(btw: this takes ages... ;-))

Although the port registry in Porticus seems to be fully unaware of the status of things after a failed gtk2 build... on the cli it appears to be:

$ port list active
atk @1.24.0 devel/atk
cairo @1.8.4 graphics/cairo
expat @2.0.1 textproc/expat
fontconfig @2.6.0 graphics/fontconfig
freetype @2.3.7 print/freetype
gettext @0.17 devel/gettext
glib2 @2.18.3 devel/glib2
gnome-common @2.24.0 gnome/gnome-common
gperf @3.0.3 devel/gperf
intltool @0.40.5 textproc/intltool
jasper @1.900.1 graphics/jasper
jpeg @6b graphics/jpeg
libiconv @1.12 textproc/libiconv
libpixman @0.12.0 graphics/libpixman
libpng @1.2.33 graphics/libpng
libxml2 @2.7.2 textproc/libxml2
ncurses @5.7 devel/ncurses
ncursesw @5.7 devel/ncursesw
p5-xml-parser @2.36 perl/p5-xml-parser
pango @1.22.3 x11/pango
perl5 @5.8.8 lang/perl5
perl5.8 @5.8.8 lang/perl5.8
pkgconfig @0.23 devel/pkgconfig
shared-mime-info @0.51 devel/shared-mime-info
tiff @3.8.2 graphics/tiff
zlib @1.2.3 archivers/zlib


After removing pango, it rebuilds correctly. No extra options given and no errors.

Having fixed where gtk2 complained about pango, it's time to try gtk2 again.

$ sudo port install gtk2
---> Fetching gtk2
---> Verifying checksum(s) for gtk2
---> Extracting gtk2
---> Applying patches to gtk2
---> Configuring gtk2
---> Building gtk2 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.14.5" && make all " returned error 2

....
....

i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory
make[4]: * [libgdk-x11-2.0.la] Error 1
make[3]:
* [all-recursive] Error 1
make[2]: * [all] Error 2
make[1]:
* [all-recursive] Error 1
make: * [all] Error 2


Error: Status 1 encountered during processing.


<sigh>


Trying to install tiff, leads to reinstall jpeg, leads to reinstall zlib....
(freaking dependencies deja-vu all over again :-( )

Again back at $ sudo port install gtk2 +darwin_8 +darwin_7 +universal
comes back with.... another error![[BR]]

Attempt next...

$ sudo port install gtk2 +darwin_8 +darwin_7 +universal --without-libtiff
.....
configure: WARNING: * TIFF loader will not be built (TIFF library not found) *
configure: error:
* Checks for TIFF loader failed. You can build without it by passing
* --without-libtiff to configure but some programs using GTK+ may
* not work properly


Error: Status 1 encountered during processing.



configure: error:
* Checks for JPEG2000 loader failed. You can build without it by passing
* --without-libjasper to configure


So, try that part again...

$ sudo port install jasper +universal

Which then goes through without errors..

Back at...:

$ sudo port install gtk2 +darwin_8 +darwin_7 +universal


which end in the error:

configure: error:
* Can't link to Pango. Pango is required to build
* GTK+. For more information see http://www.pango.org[[BR]]


......!@#$%&*!*!$$%!%
BUT I ALREADY RE-INSTALLED PANGO![[BR]] AND IT'S ACTIVE IN THE LIST!![[BR]]
Tell me again how much I should love all dependencies...[[BR]]
Bottom-line; anyone who has the golden tip to get Wireshark install properly? Please, please, pretty please[[BR]] regards,
Paul

Change History (11)

comment:1 Changed 15 years ago by p.de.haan2@…

Cc: p.de.haan2@… added

Cc Me!

comment:2 Changed 15 years ago by tobypeterson

Check out the last issue listed @ http://trac.macports.org/wiki/LeopardProblems

comment:3 in reply to:  2 Changed 15 years ago by p.de.haan2@…

Replying to toby@…:

Check out the last issue listed @ http://trac.macports.org/wiki/LeopardProblems


I was already underway with a different approach. With a different conclusion[[BR]]
After using porticus to manually delete all ports, I tried to install GTK2 again - being an optimist... hoping that it would build without errors, followed by wireshark.
This gave the result so far:

Port command started with PID 23592
Fetching expat
Verifying checksums) for expat
Extracting expat
Configuring expat
Building expat with target all
Staging expat into destroot
Installing expat 2.0.1_0
Activating expat 2.0.1_0
Cleaning expat
Fetching gperf
Verifying checksum(s) for gperf
Extracting gperf
Configuring gperf
Building gperf with target all
Staging gperf into destroot
Installing gperf 3.0.3_0
Activating gperf 3.0.3_0
Cleaning gperf
Fetching libiconv
Verifying checksum(s) for libiconv
Extracting libiconv
Applying patches to libiconv
Configuring libiconv
Building libiconv with target all
Staging libiconv into destroot
Installing libiconv 1.12_0
Activating libiconv 1.12_0
Cleaning libiconv
Fetching ncursesw
Verifying checksum(s) for ncursesw
Extracting ncursesw
Configuring ncursesw
Building ncursesw with target all
Staging ncursesw into destroot
Installing ncursesw 5.7_0
Activating ncursesw 5.7_0
Cleaning ncursesw
Fetching ncurses
Verifying checksum(s) for ncurses
Extracting ncurses
Configuring ncurses
Building ncurses with target all
Staging ncurses into destroot
Installing ncurses 5.7_0
Activating ncurses 5.7_0
Cleaning ncurses
Fetching gettext
Verifying checksum(s) for gettext
Extracting gettext
Applying patches to gettext
Configuring gettext
Building gettext with target all
Staging gettext into destroot
Installing gettext 0.17_3
Activating gettext 0.17_3
Cleaning gettext
Error: Requested variants do not match original selection.
Please perform 'port clean pkgconfig' or specify the force option.
Error: The following dependencies failed to build: atk glib2 pkgconfig cairo fontconfig freetype zlib libpixman libpng jasper jpeg pango shared-mime-info intltool gnome-common p5-xml-parser perl5.8 perl5 libxml2 tiff
Error: Status 1 encountered during processing.
Executing: /opt/local/bin/port install gtk2

Failed again...
So I cleaned pkgconfig and reinstalled it again. Success[[BR]] Now 7 ports were installed...
Again attempt at GTK2[[BR]]
First clean the lot with a 'sudo port clean all'
Then restart the install for GTK2 from porticus again, no options selected.
(the lazy route...)


And... as feared... it failed again...
Port command started with PID 79986
Fetching glib2
Verifying checksum(s) for glib2
Extracting glib2
Applying patches to glib2
Configuring glib2
Building glib2 with target all
Staging glib2 into destroot
Installing glib2 2.18.3_0+darwin_9
Activating glib2 2.18.3_0+darwin_9
Cleaning glib2
Fetching atk
Verifying checksum(s) for atk
Extracting atk
Configuring atk
Building atk with target all
Staging atk into destroot
Installing atk 1.24.0_0
Activating atk 1.24.0_0
Cleaning atk
Fetching zlib
Verifying checksum(s) for zlib
Extracting zlib
Applying patches to zlib
Configuring zlib
Building zlib with target all
Staging zlib into destroot
Installing zlib 1.2.3_2
Activating zlib 1.2.3_2
Cleaning zlib
Fetching freetype
Verifying checksum(s) for freetype
Extracting freetype
Applying patches to freetype
Configuring freetype
Building freetype with target all
Staging freetype into destroot
Installing freetype 2.3.7_3+macosx
Activating freetype 2.3.7_3+macosx
Cleaning freetype
Fetching fontconfig
Verifying checksum(s) for fontconfig
Extracting fontconfig
Configuring fontconfig
Building fontconfig with target all
Staging fontconfig into destroot
Installing fontconfig 2.6.0_0+macosx
Activating fontconfig 2.6.0_0+macosx
Cleaning fontconfig
Fetching libpixman
Verifying checksum(s) for libpixman
Extracting libpixman
Configuring libpixman
Building libpixman with target all
Staging libpixman into destroot
Installing libpixman 0.12.0_1
Activating libpixman 0.12.0_1
Cleaning libpixman
Fetching libpng
Verifying checksum(s) for libpng
Extracting libpng
Configuring libpng
Building libpng with target all
Staging libpng into destroot
Installing libpng 1.2.33_0
Activating libpng 1.2.33_0
Cleaning libpng
Fetching cairo
Verifying checksum(s) for cairo
Extracting cairo
Configuring cairo
Building cairo with target all
Staging cairo into destroot
Installing cairo 1.8.4_1+macosx
Activating cairo 1.8.4_1+macosx
Cleaning cairo
Fetching jpeg
Verifying checksum(s) for jpeg
Extracting jpeg
Applying patches to jpeg
Configuring jpeg
Building jpeg with target all
Staging jpeg into destroot
Installing jpeg 6b_3
Activating jpeg 6b_3
Cleaning jpeg
Fetching jasper
Verifying checksum(s) for jasper
Extracting jasper
Applying patches to jasper
Configuring jasper
Building jasper with target all
Staging jasper into destroot
Installing jasper 1.900.1_2+darwin_9
Activating jasper 1.900.1_2+darwin_9
Cleaning jasper
Fetching pango
Verifying checksum(s) for pango
Extracting pango
Applying patches to pango
Configuring pango
Building pango with target all
Staging pango into destroot
Installing pango 1.22.3_1
Activating pango 1.22.3_1
Cleaning pango
Fetching gnome-common
Verifying checksum(s) for gnome-common
Extracting gnome-common
Applying patches to gnome-common
Configuring gnome-common
Building gnome-common with target all
Staging gnome-common into destroot
Installing gnome-common 2.24.0_1
Activating gnome-common 2.24.0_1
Cleaning gnome-common
Fetching perl5.8
Verifying checksum(s) for perl5.8
Extracting perl5.8
Applying patches to perl5.8
Configuring perl5.8
Building perl5.8 with target all
Staging perl5.8 into destroot
Installing perl5.8 5.8.8_3+darwin_9
Activating perl5.8 5.8.8_3+darwin_9
Cleaning perl5.8
Fetching p5-xml-parser
Verifying checksum(s) for p5-xml-parser
Extracting p5-xml-parser
Configuring p5-xml-parser
Building p5-xml-parser with target all
Staging p5-xml-parser into destroot
Installing p5-xml-parser 2.36_0
Activating p5-xml-parser 2.36_0
Cleaning p5-xml-parser
Fetching perl5
Verifying checksum(s) for perl5
Extracting perl5
Configuring perl5
Building perl5 with target all
Staging perl5 into destroot
Installing perl5 5.8.8_1
Activating perl5 5.8.8_1
Cleaning perl5
Fetching intltool
Verifying checksum(s) for intltool
Extracting intltool
Configuring intltool
Building intltool with target all
Staging intltool into destroot
Installing intltool 0.40.5_0
Activating intltool 0.40.5_0
Cleaning intltool
Fetching libxml2
Verifying checksum(s) for libxml2
Extracting libxml2
Configuring libxml2
Building libxml2 with target all
Staging libxml2 into destroot
Installing libxml2 2.7.2_1+darwin_9
Activating libxml2 2.7.2_1+darwin_9
Cleaning libxml2
Fetching shared-mime-info
Verifying checksum(s) for shared-mime-info
Extracting shared-mime-info
Configuring shared-mime-info
Building shared-mime-info with target all
Staging shared-mime-info into destroot
Installing shared-mime-info 0.51_0
Activating shared-mime-info 0.51_0
Cleaning shared-mime-info
Fetching tiff
Verifying checksum(s) for tiff
Extracting tiff
Configuring tiff
Building tiff with target all
Staging tiff into destroot
Installing tiff 3.8.2_2+darwin_9+macosx
Activating tiff 3.8.2_2+darwin_9+macosx
Cleaning tiff
Fetching gtk2
Verifying checksum(s) for gtk2
Extracting gtk2
Applying patches to gtk2
Configuring gtk2
Building gtk2 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.14.5" && make all " returned error 2 Command output: -c -o gdkwindow.lo test -f 'gdkwindow.c' || echo './'gdkwindow.c; \

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

libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COM
PILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -D_REENTRANT -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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -no-cpp-precomp -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X

11/include -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall -MT gdkwindow.lo -MD -MP -MF .deps/gdkwindow.Tpo -c gdkwindow.c -fno-common -DPIC -o .libs/gdkwindow.o if /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -D_REENTRANT -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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -no-cpp-precomp -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall -MT gdkwindowimpl.lo -MD -MP -MF ".deps/gdkwindowimpl.Tpo" \

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

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

libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -D_REENTRANT -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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -no-cpp-precomp -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall -MT gdkwindowimpl.lo -MD -MP -MF .deps/gdkwindowimpl.Tpo -c gdkwindowimpl.c -fno-common -DPIC -o .libs/gdkwindowimpl.o if /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -D_REENTRANT -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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -no-cpp-precomp -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall -MT gdkenumtypes.lo -MD -MP -MF ".deps/gdkenumtypes.Tpo" \

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

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

libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -D_REENTRANT -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/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -no-cpp-precomp -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall -MT gdkenumtypes.lo -MD -MP -MF .deps/gdkenumtypes.Tpo -c gdkenumtypes.c -fno-common -DPIC -o .libs/gdkenumtypes.o /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0 -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -fstrict-aliasing -Wall -L/opt/local/lib -o libgdk-x11-2.0.la -version-info 1400:5:1400 -export-dynamic -rpath /opt/local/lib -export-symbols-regex "[_].*" gdk.lo gdkapplaunchcontext.lo gdkcairo.lo gdkcolor.lo gdkcursor.lo gdkdisplay.lo gdkdisplaymanager.lo gdkdnd.lo gdkdraw.lo gdkevents.lo gdkfont.lo gdkgc.lo gdkglobals.lo gdkimage.lo gdkkeys.lo gdkkeyuni.lo gdkpango.lo gdkpixbuf-drawable.lo gdkpixbuf-render.lo gdkpixmap.lo gdkpolyreg-generic.lo gdkrectangle.lo gdkregion-generic.lo gdkrgb.lo gdkscreen.lo gdkselection.lo gdkvisual.lo gdkwindow.lo gdkwindowimpl.lo gdkenumtypes.lo x11/libgdk-x11.la -L/opt/local/lib -L/usr/X11/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpixman-1 -lpng12 -lpango-1.0 -lm -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lfontconfig -lexpat -lfreetype -lz -lXinerama -lXi -lXrandr -lXcursor -lXrender -lXcomposite -lXext -lXdamage -lXfixes -lX11 -lXau -lXdmcp -ltiff -ljpeg -L/opt/local/lib -lpng12 -lz -ljasper -lm ../gdk-pixbuf/libgdk_pixbuf-2.0.la
libtool: link: /usr/bin/nm -p .libs/gdk.o .libs/gdkapplaunchcontext.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdisplaymanager.o .libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkimage.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkrgb.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkwindowimpl.o .libs/gdkenumtypes.o x11/.libs/libgdk-x11.a | sed -n -e 's/.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* ' | sort | uniq > .libs/libgdk-x11-2.0.exp
libtool: link: /usr/bin/grep -E -e "
[_].*" ".libs/libgdk-x11-2.0.exp" > ".libs/libgdk-x11-2.0.expT"
libtool: link: mv -f ".libs/libgdk-x11-2.0.expT" ".libs/libgdk-x11-2.0.exp"
libtool: link: (cd .libs/libgdk-x11-2.0.lax/libgdk-x11.a && ar x "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.14.5/gdk/x11/.libs/libgdk-x11.a")
libtool: link: sed 's,
,_,' < .libs/libgdk-x11-2.0.exp > .libs/libgdk-x11-2.0-symbols.expsym
libtool: link: /usr/bin/gcc-4.0 -dynamiclib -o .libs/libgdk-x11-2.0.0.dylib .libs/gdk.o .libs/gdkapplaunchcontext.o .libs/gdkcairo.o .libs/gdkcolor.o .libs/gdkcursor.o .libs/gdkdisplay.o .libs/gdkdisplaymanager.o.libs/gdkdnd.o .libs/gdkdraw.o .libs/gdkevents.o .libs/gdkfont.o .libs/gdkgc.o .libs/gdkglobals.o .libs/gdkimage.o .libs/gdkkeys.o .libs/gdkkeyuni.o .libs/gdkpango.o .libs/gdkpixbuf-drawable.o .libs/gdkpixbuf-render.o .libs/gdkpixmap.o .libs/gdkpolyreg-generic.o .libs/gdkrectangle.o .libs/gdkregion-generic.o .libs/gdkrgb.o .libs/gdkscreen.o .libs/gdkselection.o .libs/gdkvisual.o .libs/gdkwindow.o .libs/gdkwindowimpl.o .libs/gdkenumtypes.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkapplaunchcontext-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkasync.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkcolor-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkcursor-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdisplay-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdnd-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkdrawable-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkevents-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkfont-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkgc-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkgeometry-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkglobals-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkim-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkimage-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput-xfree.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkinput.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkkeys-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkmain-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkpixmap-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkproperty-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkscreen-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkselection-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkspawn-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdktestutils-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkvisual-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkwindow-x11.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkxftdefaults.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/gdkxid.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/xsettings-client.o .libs/libgdk-x11-2.0.lax/libgdk-x11.a/xsettings-common.o -L/opt/local/lib -L/usr/X11/lib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib /usr/X11/lib/libXinerama.1.0.0.dylib /usr/X11/lib/libXi.6.0.0.dylib /usr/X11/lib/libXrandr.2.0.0.dylib /usr/X11/lib/libXcursor.1.0.2.dylib /usr/X11/lib/libXrender.1.3.0.dylib /usr/X11/lib/libXcomposite.1.0.0.dylib /usr/X11/lib/libXext.6.4.0.dylib /usr/X11/lib/libXdamage.1.0.0.dylib /usr/X11/lib/libXfixes.3.1.0.dylib /usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libtiff.dylib -lc /opt/local/lib/libpng12.dylib -lz /opt/local/lib/libjasper.dylib /opt/local/lib/libjpeg.dylib -lm -framework Carbon -install_name /opt/local/lib/libgdk-x11-2.0.0.dylib -compatibility_version 1401 -current_version 1401.5 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libgdk-x11-2.0-symbols.expsym
i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory
make[4]: * [libgdk-x11-2.0.la] Error 1
make[3]:
* [all-recursive] Error 1
make[2]: * [all] Error 2
make[1]:
* [all-recursive] Error 1
make: * [all] Error 2
Error: Status 1 encountered during processing.
Executing: /opt/local/bin/port install gtk2


26 ports installed... two highlighted in red.
fontconfig and perl 5.8

Missing libXrandr... referring to Apple's version. Hmmm... well, install it seperatly then[[BR]]
Keeping fingers crossed...
Some pages with all that gets installed follows...
(maybe idle hope for light at the end of the tunnel??)
but...
Success! The X11 stuff installed without errors[[BR]] 43 ports installed.

Force update fontconfig...
Again a long list passes by... repeating a lot of installs
And ends with an apparent succesfull install

Back at GTK again

A number of messages like
######################################################################
# As MacPorts does not currently have a post-deactivate hook,
# you will need to ensure that you manually remove the catalog
# entry for this port when you uninstall it. To do so, run
# "xmlcatmgr remove nextCatalog /opt/local/share/xml/docbook/4.3/catalog.xml".
######################################################################
come by

But... GTK2 builds[[BR]] 64 ports installed.


So.. being adventurous... install Wireshark with protocol-options only.
(rtp, net_snmp, libgcrypt, ipv6,gnutls, pcre)

A long list of stuff gets installed...
ending in...
a successful install of wireshark[[BR]] Opening X11 and strating wireshark appears to work.
(without the suggested xquartz)

Bottom-line, there appears to be something different with the basic process to get it installed versus the process needed to get it running.
I don't have a stand-alone package of wireshark this way, at least it can be started from the X11 command-line with:
sudo /opt/local/bin/wireshark

comment:4 in reply to:  description ; Changed 15 years ago by jmroot (Joshua Root)

Cc: opendarwin.org@… added; p.de.haan2@… removed
Keywords: wireshark removed
Port: wireshark added

Replying to p.de.haan2@…:

As with ticket 13012

This doesn't look the same as #13012 at all.

i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory

Toby is right, this is #14592. It looks like this is your main problem. Use the fix in LeopardProblems.

Again back at $ sudo port install gtk2 +darwin_8 +darwin_7 +universal

Don't specify platform variants, the right one is selected for you automatically. Especially don't select multiple ones, you're only building on one platform. That's liable to cause just about anything to happen.

comment:5 in reply to:  4 ; Changed 15 years ago by p.de.haan2@…

i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory

Toby is right, this is #14592. It looks like this is your main problem. Use the fix in LeopardProblems.

After using porticus to install libXrandr, it seems to work out after all...

Again back at $ sudo port install gtk2 +darwin_8 +darwin_7 +universal

Don't specify platform variants, the right one is selected for you automatically. Especially don't select multiple ones, you're only building on one platform. That's liable to cause just about anything to happen.

Thanks for this suggestion! (guess I should get a remark coming along the lines as: RTFM!) I didn't specify any special options for the modules I installed using porticus other than was suggested by porticus itself. Bottom-line is that worked in the end; it seems that wiresharks works now. And that was what I wanted to achieve.

The odd thing was when I tried to install things in one of the attempts without specifying anything, it failed as well. From that i expected that there might be something wrong with the installer/dependencies. Thanks, Paul

comment:6 in reply to:  5 ; Changed 15 years ago by p.de.haan2@…

On a sidenote... I did just install Xquartz. Wireshark 1.0.5 runs now. Wish I had known this days ago...!!!

comment:7 in reply to:  6 Changed 15 years ago by christoph_murauer@…

Replying to p.de.haan2@…:

On a sidenote... I did just install Xquartz. Wireshark 1.0.5 runs now. Wish I had known this days ago...!!!

Hello !

I have the same problem as above. "sudo port install" wireshark runs fine till

---> Building gtk2 and reports i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory

I run Leopard 10.5.6, Xcode 3.1.2 incl. IPhone SDK and Apples X11 Xquartz 2.1.5 - (xorg-server 1.3.0-apple22) (2.1.5). So I should have the newest software versions.

What happened with the original Apple X11 if I install XQuarts using MacPorts (and what happened with the MacPorts XQuartz if Apple had a new X11 update). I ask because I use appllications like Gimp, Scribus ... but installed them with the grapgical installer and not over MacPorts.

Thanks for your answer.

comment:8 Changed 15 years ago by ghosthound

Keywords: wireshark added
Owner: changed from macports-tickets@… to nox@…
Port: gtk2 added; wireshark removed

This does not appear to be a wireshark problem, but rather a gtk2 problem, reassigning....

comment:9 Changed 15 years ago by ghosthound

Summary: Revisited: wireshark: unable to build under Mac OS X 10.5.5 LeopardRevisited: wireshark^Wgtk2: unable to build under Mac OS X 10.5.5 Leopard

comment:10 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #14592.

comment:11 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.