From owner-freebsd-questions Tue Jul 7 16:09:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA17288 for freebsd-questions-outgoing; Tue, 7 Jul 1998 16:09:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from homer.supersex.com (homer.supersex.com [209.5.1.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA17279 for ; Tue, 7 Jul 1998 16:09:12 -0700 (PDT) (envelope-from leo@homer.supersex.com) Received: (from leo@localhost) by homer.supersex.com (8.8.8/8.8.5) id TAA08639; Tue, 7 Jul 1998 19:10:03 -0400 (EDT) Message-ID: <19980707191002.43432@supersex.com> Date: Tue, 7 Jul 1998 19:10:02 -0400 From: Leo Papandreou To: questions@FreeBSD.ORG Subject: Re: How to set an environment variable? References: <199807061729.KAA13973@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199807061729.KAA13973@hub.freebsd.org>; from Schuder, Rick on Mon, Jul 06, 1998 at 12:52:31PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jul 06, 1998 at 12:52:31PM -0400, Schuder, Rick wrote: ... > > Eggdrop now requires Tcl to compile. If you already have Tcl > installed on this system, and I just wasn't looking in the right > place for it, set the environment variables TCLLIB and TCLINC so > I will know where to find 'libtcl.a' (or 'libtcl.so') and 'tcl.h' > (respectively). Then run 'configure' again. > > The file "tcl.h" exists on the system in /usr/local/include/tcl7.6.98 You will find libtcl.* in /usr/lib or /usr/local/lib. If not, try running find / -type f -name libtcl.* -print tcl.h is probably in /usr/local/include/tcl/ or /usr/include/tcl/, find / -type f -name tcl.h -print if it isnt. > > How do I set an environment variable TCLINC so that the configure script > will find tcl.h ? Depends on what shell you are using. Bourne shells follow the following syntax: VARIABLE=string ; export VARIABLE while csh derivaties use setenv VARIABLE string I believe. For example, leo@homer[~] (666) WORLD=hello leo@homer[~] (667) export WORLD leo@homer[~] (668) echo WORLD WORLD leo@homer[~] (669) echo $WORLD hello leo@homer[~] (690) Look at ~/.profile and ~/.cshrc for examples and man sh or man csh for explanations. > > Rick Schuder > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message