Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 1997 21:22:32 -0700 (PDT)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        jseger@freebsd.scds.com
Cc:        freebsd-ports@FreeBSD.ORG, jseger@freebsd.scds.com
Subject:   Re: ports/3851
Message-ID:  <199706120422.VAA28900@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199706120324.XAA29634@freebsd.scds.com> (jseger@freebsd.scds.com)

next in thread | previous in thread | raw e-mail | index | archive | help
 * Sorry. I don't have X installed yet. I read something in a message
 * earlier today saying that tk41 was required to build some part of
 * XFree86 3.3.  I saw that theparticular header file, Xlib.h is in
 * the work/tk4.1/xlib/X11 directory, so I figured that it should be
 * picked up from there. I couldn't figure out how to getthe
 * Makefile.in pickup that change without overwriting the @XINCLUDES@
 * part of the Makefile.in and I figured that that was an important
 * part.  Sorry for not being more clear.  Also I don't have a lot of
 * experience with X, or configure. At least not much below the normal
 * user level.

I see.  That's interesting, I didn't know that tk41 comes with
Xlib.h.  But even with the header, you wouldn't be able to compile it
without X installed, as

===
## ldd /usr/local/bin/wish4.1
/usr/local/bin/wish4.1:
        -ltk41.1 => /usr/local/lib/libtk41.so.1.0 (0x801d000)
        -ltcl75.1 => /usr/lib/libtcl75.so.1.1 (0x80a3000)
        -lm.2 => /usr/lib/libm.so.2.0 (0x80db000)
        -lX11.6 => /usr/X11R6/lib/libX11.so.6.1 (0x80f4000)
        -lc.3 => /usr/lib/libc.so.3.0 (0x81aa000)
===

(now please don't come back telling me you found libX11.a lying around 
in your tk41 dir :)

I'm afraid you have sort of a chicken and egg problem here.  If you
want to do everything by ports, you will need to build X first
(without XF86Setup), then tk41, then X again (with XF86Setup).

Of course you can use packages here and there to avoid building things 
twice, or build X piece-wise.

Satoshi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706120422.VAA28900>