Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311729 - net-analyzer/wireshark-1.2.6-r1: Could not run GTK+ test program
Summary: net-analyzer/wireshark-1.2.6-r1: Could not run GTK+ test program
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-28 10:51 UTC by Piotr
Modified: 2010-03-28 11:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,10.80 KB, text/plain)
2010-03-28 10:53 UTC, Piotr
Details
config.log (config.log,101.20 KB, text/plain)
2010-03-28 10:58 UTC, Piotr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr 2010-03-28 10:51:45 UTC
When I try to update to wireshark-1.2.6-r1 I get the following error:
checking for GTK+ - version >= 2.4.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: GTK+ 2.4 or later isn't available, so Wireshark can't be compiled


but I have GTK+ installed:

moonlight ~ # emerge -p gtk+

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/gtk+-2.18.9  USE="cups jpeg jpeg2k tiff xinerama (-aqua) -debug -doc -test -vim-syntax"

Reproducible: Always

Steps to Reproduce:
1. emerge -1 wireshark
OR
1. emerge -uD world
Comment 1 Piotr 2010-03-28 10:53:28 UTC
Created attachment 225545 [details]
emerge --info

here is my emerge --info
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-28 10:54:47 UTC
Post the config.log file that ./configure generates from the portage's temp/work directory.
Comment 3 Piotr 2010-03-28 10:58:43 UTC
Created attachment 225547 [details]
config.log

config.log as requested
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-03-28 11:34:13 UTC
> configure:13977: checking for GTK+ - version >= 2.4.0
> configure:14087: x86_64-pc-linux-gnu-gcc -o conftest  -pg > -D_U_="__attribute__((unused))" -march=native -pipe -O2 -s -fomit-frame-pointer 
[ .. snip .. ]
> x86_64-pc-linux-gnu-gcc: unrecognized option '-nopie'
> x86_64-pc-linux-gnu-gcc: -pg and -fomit-frame-pointer are incompatible

You can't mix -fomit-frame-pointer with -pg (that's USE profile). In fact, you shouldn't be enabling USE profile if you don't know what you are doing.
Comment 5 Piotr 2010-03-28 11:47:42 UTC
Thanks and sorry for trouble.
Although error could be more precise.