Ethereal

Roman Neuhauser neuhauser at chello.cz
Thu Apr 22 10:12:43 PDT 2004


# jbarrett at amduat.net / 2004-04-21 15:30:56 -0700:
> On Wednesday 21 April 2004 09:57 am, Roman Neuhauser <neuhauser at chello.cz> 
> wrote:
> > # jbarrett at amduat.net / 2004-04-21 06:57:20 -0700:
> > > I have rebuilt and installed ethereal a dozen times from ports and
> > > every time it just installs tethereal and not ethereal.  I have
> > > explicitly set the WITH_GTK2 and still nothing.  What am I doing
> > > wrong?
> >
> >     Anything suspicious in ${WRKSRC}/config.log ?
> 
> checking for GTK+ - version >= 2.0.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:9102: checking for GTK+ - version >= 2.0.0
> configure:9247: result: no
> configure:9280: cc -o conftest -D_U_="__attribute__((unused))" -Wall -W -O 
> -pipe -march=pentiumpro -I/usr/local/include   -I/usr/local/include  
> -L/usr/local/lib conftest.c   >&5
> conftest.c:24:21: gtk/gtk.h: No such file or directory
> conftest.c: In function `main':
> conftest.c:30: error: `gtk_major_version' undeclared (first use in this 
> function)
> conftest.c:30: error: (Each undeclared identifier is reported only once
> conftest.c:30: error: for each function it appears in.)
> conftest.c:30: error: `gtk_minor_version' undeclared (first use in this 
> function)
> conftest.c:30: error: `gtk_micro_version' undeclared (first use in this 
> function)

    I don't know about your system, but on my boxes gtk is not in
    /usr/local:

    roman at isis ~ 1006:0 > ls -d /usr/X11R6/include/gtk*
    /usr/X11R6/include/gtk-2.0      /usr/X11R6/include/gtk12

    You said you didn't define WITHOUT_X11. Can you confirm it
    scientifically? Stick

    .if defined(WITHOUT_X11)
    .error "WITHOUT_X11 defined"
    .endif

    somewhere in /usr/ports/net/ethereal/Makefile and run make.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html


More information about the freebsd-ports mailing list