* Re: [gentoo-user] Ethereal compile error
2005-10-18 14:20 ` [gentoo-user] Ethereal compile error Dan
@ 2005-10-18 14:18 ` John Jolet
2005-10-18 14:34 ` Christoph Gysin
2005-10-18 15:06 ` Richard Fish
` (5 subsequent siblings)
6 siblings, 1 reply; 20+ messages in thread
From: John Jolet @ 2005-10-18 14:18 UTC (permalink / raw
To: gentoo-user
On Tuesday 18 October 2005 09:20, Dan wrote:
> Please help -- I can't emerge ethereal and I would really like to use it.
>
> I get a mess:
>
>
> i686 -march=athlon -fomit-frame-pointer -pipe -I/usr/local/include
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -o .libs/dftest dftest.o util.o .libs/dftestS.o
> -Wl,--export-dynamic -Wl,--export-dynamic -pthread -L/usr/local/lib
> wiretap/.libs/libwiretap.so epan/.libs/libethereal.so -lcrypto
> /usr/lib/libpcre.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
> -lm -lpcap -lz creating dftest
> /usr/bin/perl ./perlnoutf.pl ./make-authors-format.pl < AUTHORS-SHORT >
> AUTHORS-SHORT-FORMAT (cd doc ; \
> make ../ethereal-filter.4 )
> make[3]: Entering directory
> `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12/doc' ../tethereal
> -G fields | /usr/bin/perl ./dfilter2pod.pl ./ethereal-filter.pod.template >
> ethereal-filter.pod
>
> ** (process:20746): WARNING **: radius: Could not find the radius directory
> /usr/bin/pod2man \
> --section=4 \
> --center="The Ethereal Network Analyzer" \
> --release=0.10.12 \
> ethereal-filter.pod > ../ethereal-filter.4
> i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -O
> -mcpu=i686 -march=athlon -fomit-frame-pointer -pipe -I/usr/local/include
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -o text2pcap text2pcap.o text2pcap-scanner.o
> -Wl,--export-dynamic -pthread -L/usr/local/lib /usr/lib/libgmodule-2.0.so
> -ldl /usr/lib/libglib-2.0.so -lm -lz collect2: ld returned 1 exit status
> make[2]: *** [text2pcap] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory
> `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12/doc' make[2]:
> Leaving directory `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12' make: *** [all]
> Error 2
>
> !!! ERROR: net-analyzer/ethereal-0.10.12 failed.
> !!! Function src_compile, Line 83, Exitcode 2
> !!! compile problem
>
>
>
>
>
>
>
>
>
>
> Why does it want a radius directory anyway? How do I fix this?
add -radius to your USE flags?
--
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
john@jolet.net
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Ethereal compile error
2005-10-18 14:20 ` [gentoo-user] Ethereal compile error Dan
2005-10-18 14:18 ` John Jolet
@ 2005-10-18 15:06 ` Richard Fish
2005-10-18 15:41 ` Dave Nebinger
2005-10-18 15:10 ` Dave Nebinger
` (4 subsequent siblings)
6 siblings, 1 reply; 20+ messages in thread
From: Richard Fish @ 2005-10-18 15:06 UTC (permalink / raw
To: gentoo-user
Dan wrote:
> Please help -- I can't emerge ethereal and I would really like to use it.
>
> i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W
> -O -mcpu=i686 -march=athlon -fomit-frame-pointer -pipe
> -I/usr/local/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o text2pcap
> text2pcap.o text2pcap-scanner.o -Wl,--export-dynamic -pthread
> -L/usr/local/lib /usr/lib/libgmodule-2.0.so -ldl
> /usr/lib/libglib-2.0.so -lm -lz
> collect2: ld returned 1 exit status
> make[2]: *** [text2pcap] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory
> `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12/doc'
> make[2]: Leaving directory
> `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12'
> make: *** [all] Error 2
When using MAKEOPTS=-j2 or higher, you can expect some builds to simply
fail, usually with an error from the linker. This is because the
another make process may see an object file that gcc hasn't finished
writing yet, and spawn a gcc process to link with that incomplete object
file.
So you have that error, but it also appears that the dependancy rules
inside the ethereal makefiles do not account for the radius directory,
so one process ends up trying to use it when it hasn't been created yet.
In either case, the solution is the same: MAKEOPTS=j1 emerge ethereal.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Ethereal compile error
2005-10-18 14:20 ` [gentoo-user] Ethereal compile error Dan
2005-10-18 14:18 ` John Jolet
2005-10-18 15:06 ` Richard Fish
@ 2005-10-18 15:10 ` Dave Nebinger
2005-10-18 15:56 ` Scott Tiret
` (3 subsequent siblings)
6 siblings, 0 replies; 20+ messages in thread
From: Dave Nebinger @ 2005-10-18 15:10 UTC (permalink / raw
To: gentoo-user
> i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -O
> -mcpu=i686 -march=athlon -fomit-frame-pointer -pipe -I/usr/local/include
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -o text2pcap text2pcap.o text2pcap-scanner.o
> -Wl,--export-dynamic -pthread -L/usr/local/lib /usr/lib/libgmodule-2.0.so
> -ldl /usr/lib/libglib-2.0.so -lm -lz collect2: ld returned 1 exit status
Well the good news is that since you're getting this far, you're almost out of
the woods...
As far as the radius warnings go, I got those also but it installed w/o them.
There are only minor differences between your command and the one my system
issued:
i686-pc-linux-gnu-gcc "-D_U_=__attribute__((unused))" -Wall -W -O
-march=athlon -pipe -fomit-frame-pointer -I/u
sr/local/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I
/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/i
nclude/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -o text2pcap
text2pcap.o text2pcap-scanner.o -Wl,--e
xport-dynamic -pthread -L/usr/local/lib /usr/lib/libgmodule-2.0.so
-ldl /usr/lib/libglib-2.0.so -lm -lz
The first is the INET6, I don't have ipv6 support enabled on my box (the -ipv6
use flag). The added defines for threads I'm not sure about, but I've got
both nptl and the older thread support enabled (the nptl use flag).
Also mine didn't emit the -mcpu=686 argument for gcc; is this something you
defined in your CFLAGS in /etc/make.conf?
Basically I would try the following:
1. Disable ipv6 if you are not using it.
2. Check your nptl/nptlonly use flags; if you have nptlonly set, it might be a
threads issue.
3. Check your CFLAGS and possibly remove the -mcpu definition (as I remember
that is supposed to be deprecated anyway).
Dave
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Ethereal compile error
2005-10-18 14:20 ` [gentoo-user] Ethereal compile error Dan
` (2 preceding siblings ...)
2005-10-18 15:10 ` Dave Nebinger
@ 2005-10-18 15:56 ` Scott Tiret
2005-10-18 16:05 ` Dave Nebinger
2005-10-18 17:53 ` Douglas James Dunn
` (2 subsequent siblings)
6 siblings, 1 reply; 20+ messages in thread
From: Scott Tiret @ 2005-10-18 15:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
On Wed, 2005-10-19 at 00:20 +1000, Dan wrote:
> Please help -- I can't emerge ethereal and I would really like to use it.
Try revdep-rebuild. If it is not available emerge gentoolkit and try
again. You may have some missing links to the libraries.
Good luck,
--
Scott Tiret <stiret@oneredshoe.net>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Ethereal compile error
2005-10-18 15:56 ` Scott Tiret
@ 2005-10-18 16:05 ` Dave Nebinger
0 siblings, 0 replies; 20+ messages in thread
From: Dave Nebinger @ 2005-10-18 16:05 UTC (permalink / raw
To: gentoo-user
On Tuesday 18 October 2005 11:56 am, Scott Tiret wrote:
> On Wed, 2005-10-19 at 00:20 +1000, Dan wrote:
> > Please help -- I can't emerge ethereal and I would really like to use it.
>
> Try revdep-rebuild. If it is not available emerge gentoolkit and try
> again. You may have some missing links to the libraries.
>
> Good luck,
He got all the way to the last part where it builds doco for ethereal... If
it were truly a library issue it would have crapped out long before then.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Ethereal compile error
2005-10-18 14:20 ` [gentoo-user] Ethereal compile error Dan
` (3 preceding siblings ...)
2005-10-18 15:56 ` Scott Tiret
@ 2005-10-18 17:53 ` Douglas James Dunn
2005-10-18 20:57 ` Nick Rout
2005-10-18 21:07 ` [gentoo-user] Ethereal compile error -SOLVED - [blush...] Dan
6 siblings, 0 replies; 20+ messages in thread
From: Douglas James Dunn @ 2005-10-18 17:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3567 bytes --]
im not sure if this is relevant but is radius not some kind of client
server protocol
On Wed, 2005-10-19 at 00:20 +1000, Dan wrote:
> Please help -- I can't emerge ethereal and I would really like to use it.
>
> I get a mess:
>
>
> i686 -march=athlon -fomit-frame-pointer -pipe -I/usr/local/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o .libs/dftest dftest.o util.o .libs/dftestS.o -Wl,--export-dynamic -Wl,--export-dynamic -pthread -L/usr/local/lib wiretap/.libs/libwiretap.so epan/.libs/libethereal.so -lcrypto /usr/lib/libpcre.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lm -lpcap -lz
> creating dftest
> /usr/bin/perl ./perlnoutf.pl ./make-authors-format.pl < AUTHORS-SHORT > AUTHORS-SHORT-FORMAT
> (cd doc ; \
> make ../ethereal-filter.4 )
> make[3]: Entering directory `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12/doc'
> ../tethereal -G fields | /usr/bin/perl ./dfilter2pod.pl ./ethereal-filter.pod.template > ethereal-filter.pod
>
> ** (process:20746): WARNING **: radius: Could not find the radius directory
> /usr/bin/pod2man \
> --section=4 \
> --center="The Ethereal Network Analyzer" \
> --release=0.10.12 \
> ethereal-filter.pod > ../ethereal-filter.4
> i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -O -mcpu=i686 -march=athlon -fomit-frame-pointer -pipe -I/usr/local/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o text2pcap text2pcap.o text2pcap-scanner.o -Wl,--export-dynamic -pthread -L/usr/local/lib /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lm -lz
> collect2: ld returned 1 exit status
> make[2]: *** [text2pcap] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12/doc'
> make[2]: Leaving directory `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/portage/ethereal-0.10.12/work/ethereal-0.10.12'
> make: *** [all] Error 2
>
> !!! ERROR: net-analyzer/ethereal-0.10.12 failed.
> !!! Function src_compile, Line 83, Exitcode 2
> !!! compile problem
>
>
>
>
>
>
>
>
>
>
> Why does it want a radius directory anyway? How do I fix this?
>
>
--
Douglas James Dunn .-.
468 South 7th street /v\ L I N U X
Indiana, PA 15701 // \\ >Phear the Penguin<
cell: (724) 316-8266 /( )\
Indiana University ^^-^^
of Pennsylvania
() The ASCII Ribbon Campaign - against HTML Email,
/\ vCards, and proprietary formats.
.
.vir. d$b
.d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b.
$$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b.
Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$
"$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$
d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P
$$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P"
`Q$$P" """
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Ethereal compile error
2005-10-18 14:20 ` [gentoo-user] Ethereal compile error Dan
` (4 preceding siblings ...)
2005-10-18 17:53 ` Douglas James Dunn
@ 2005-10-18 20:57 ` Nick Rout
2005-10-18 21:12 ` Dan
2005-10-18 21:07 ` [gentoo-user] Ethereal compile error -SOLVED - [blush...] Dan
6 siblings, 1 reply; 20+ messages in thread
From: Nick Rout @ 2005-10-18 20:57 UTC (permalink / raw
To: gentoo-user
On Wed, 19 Oct 2005 00:20:28 +1000
Dan wrote:
> Please help -- I can't emerge ethereal and I would really like to use it.
>
Please please do NOT hijack threads. If you wish to start a new thread
do NOT just reply to another message and change the subject.
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Ethereal compile error
2005-10-18 20:57 ` Nick Rout
@ 2005-10-18 21:12 ` Dan
2005-10-18 22:05 ` Nick Rout
0 siblings, 1 reply; 20+ messages in thread
From: Dan @ 2005-10-18 21:12 UTC (permalink / raw
To: gentoo-user
Nick Rout wrote:
>On Wed, 19 Oct 2005 00:20:28 +1000
>Dan wrote:
>
>
>
>>Please help -- I can't emerge ethereal and I would really like to use it.
>>
>>
>>
>
>
>Please please do NOT hijack threads. If you wish to start a new thread
>do NOT just reply to another message and change the subject.
>
>
That's a little ironic -- I've been doing that on mailing lists for
years, I noticed the effect myself right after I sent the message with
thunderbird's threaded view.
Noone has ever complained before, until now -- in other words, the first
time I notice and realise how silly it is also the first time someone
complains -- and I see the complain about 30 seconds after I send an
apology.....
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Ethereal compile error
2005-10-18 21:12 ` Dan
@ 2005-10-18 22:05 ` Nick Rout
0 siblings, 0 replies; 20+ messages in thread
From: Nick Rout @ 2005-10-18 22:05 UTC (permalink / raw
To: gentoo-user
On Wed, 19 Oct 2005 07:12:39 +1000
Dan wrote:
> >
> That's a little ironic -- I've been doing that on mailing lists for
> years, I noticed the effect myself right after I sent the message with
> thunderbird's threaded view.
>
> Noone has ever complained before, until now -- in other words, the first
> time I notice and realise how silly it is also the first time someone
> complains -- and I see the complain about 30 seconds after I send an
> apology.....
>
Hey thats cool, at least you are intelligent enough to notice the
problem and address it. Thats more than can be said for plenty of people :)
Cheers, Nick
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-user] Ethereal compile error -SOLVED - [blush...]
2005-10-18 14:20 ` [gentoo-user] Ethereal compile error Dan
` (5 preceding siblings ...)
2005-10-18 20:57 ` Nick Rout
@ 2005-10-18 21:07 ` Dan
6 siblings, 0 replies; 20+ messages in thread
From: Dan @ 2005-10-18 21:07 UTC (permalink / raw
To: gentoo-user
Dan wrote:
> Please help -- I can't emerge ethereal and I would really like to use it.
>
> <SNIP> useless error messages
>
>
> Why does it want a radius directory anyway? How do I fix this?
>
>
I tried again with ACCEPT_KEYWORDS="x86". As always, it just emerges
the same packages anyway, but I let it run regardless.
"No space left on device."
Oh dear, how embarassing. A genuine thnkyou to everyone who replied,
your efforts are _always_ very welcome.
I'll do some more sanity checking next time before I post -- I'll also
take care no to hijack an existing thread, for those of you who noticed.
Thanks again!
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 20+ messages in thread