1 |
Mark Haney posted <434EB5C4.9010100@××××××××××××.org>, excerpted below, |
2 |
on Thu, 13 Oct 2005 15:30:12 -0400: |
3 |
|
4 |
> For Ethereal, I can't get the GUI to even open up. I can use tethereal, |
5 |
> but I'd prefer the GUI since I'm analyzing packets from another system and |
6 |
> don't want to have to boot into Fedora or (gasp!) XP just to view the |
7 |
> capture file. |
8 |
|
9 |
I don't have ethereal merged here, nor do I run a laptop, but with the |
10 |
other post saying the GUI works up until packet capture time, it obviously |
11 |
should be doing at least that good for you, as well. |
12 |
|
13 |
What I'd suggest is minimizing your CFLAGS to -march=k8 -O2 -pipe. If |
14 |
that fixes it, consider filing a bug with what worked and what didn't, so |
15 |
the ebuild maintainer can consider using filter-flags or the like to kill |
16 |
the bad CFLAGS. |
17 |
|
18 |
If it's not CFLAGS, check the libraries and/or USE flags. You |
19 |
mentioned you are new to Gentoo, so tracking this stuff may be new to |
20 |
you. Run ldd against the binary and see if it lists anything as not |
21 |
found. Then you only have to figure out what provides that. In |
22 |
particular, note that if you've recently changed USE flags that the |
23 |
problem package uses, remerging it will often solve the problem, |
24 |
particularly if you attempted to clean up after changing the use flags and |
25 |
unmerged some things. Many packages will compile in support for a library |
26 |
at build-time, then require that library to launch, even if you aren't |
27 |
using that functionality. |
28 |
|
29 |
(I got burned by this early in my Gentoo experience after compiling links |
30 |
with USE=X, then unmerging X because it wasn't yet working due to another |
31 |
issue. Links then quit working as well, because it had been compiled |
32 |
against the X libraries, and needed them to run, even in text-only mode. |
33 |
I now have links listed in my /etc/package.use as -X, so I can compile it |
34 |
without X support and it'll still work if X is off the system temporarily, |
35 |
even tho I have USE=X set in make.conf.) |
36 |
|
37 |
If ldd says the libraries are there, that still doesn't mean they are |
38 |
working correctly. You may wish to turn off all the USE flags you can for |
39 |
the package and remerge, just to ensure support for them isn't somehow |
40 |
fscked. |
41 |
|
42 |
Gentoo does have a couple additional tools to help with tracking this sort |
43 |
of thing. emerge's -N (--newuse in long form) flag can be helpful in |
44 |
finding packages that were merged with USE flags other than your current |
45 |
flags. Try emerge -pvN world, then remove the -p once you are ready to |
46 |
go. Sometimes just changing a single flag will put a bunch of stuff on |
47 |
the list to be remerged, so definitely use the -p to see how many packages |
48 |
it'll be merging and consider the time involved to do so, before blindly |
49 |
telling emerge to go ahead, without the -p. |
50 |
|
51 |
Likewise, the revdep-rebuild command is quite useful to get a scan of |
52 |
broken dependencies and see what portage says needs to be remerged on your |
53 |
system to try to fix them. revdep-rebuild is it's own command, but makes |
54 |
use of portage, so again, use the -p here as well, to get a list of what |
55 |
it wants to merge, before letting it go ahead. It's always good to know |
56 |
what you are getting yourself into! <g> |
57 |
|
58 |
If you haven't read it yet, the post-install parts of the Gentoo Handbook |
59 |
(Working with Gentoo, Working with Portage, etc) are loaded with Gentoo |
60 |
survival tips and tricks such as this. They are well worth the read, and |
61 |
will leave you far better equipped to tackle the challenges of keeping a |
62 |
Gentoo system running smoothly. I actually read the entire handbook the |
63 |
first time while I was still on Mandrake, as I wanted to know just what |
64 |
made Gentoo different, then read the post-installation stuff again later, |
65 |
when I could actually try some of the stuff it mentioned on my new Gentoo |
66 |
system. However, it's amazing how many folks I run into on the lists that |
67 |
apparently haven't read the material and therefore haven't a clue that |
68 |
tools such as revdep-rebuild even exist. |
69 |
|
70 |
-- |
71 |
Duncan - List replies preferred. No HTML msgs. |
72 |
"Every nonfree program has a lord, a master -- |
73 |
and if you use the program, he is your master." Richard Stallman in |
74 |
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html |
75 |
|
76 |
|
77 |
-- |
78 |
gentoo-amd64@g.o mailing list |