From owner-freebsd-current Mon Mar 23 17:06:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA00350 for freebsd-current-outgoing; Mon, 23 Mar 1998 17:06:49 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sendero.simon-shapiro.org (sendero-fddi.Simon-Shapiro.ORG [206.190.148.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA00332 for ; Mon, 23 Mar 1998 17:06:45 -0800 (PST) (envelope-from shimon@simon-shapiro.org) Received: (qmail 3627 invoked from network); 24 Mar 1998 01:11:55 -0000 Received: from localhost.simon-shapiro.org (HELO sendero-fxp0.simon-shapiro.org) (@127.0.0.1) by localhost.simon-shapiro.org with SMTP; 24 Mar 1998 01:11:55 -0000 Message-ID: X-Mailer: XFMail 1.3-alpha-031798 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199803232225.OAA15304@rah.star-gate.com> Date: Mon, 23 Mar 1998 17:11:55 -0800 (PST) Reply-To: shimon@simon-shapiro.org Organization: The Simon Shapiro Foundation From: Simon Shapiro To: Amancio Hasty , freebsd-database@FreeBSD.ORG Subject: Pgaccess doesn't run on -current anymore, Update Cc: andreas@klemm.gtn.com, pgsql-ports@postgreSQL.org, current@FreeBSD.ORG, scrappy@hub.org, Bruce Momjian Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG With lots of help from many good people, here is how far I got: a. The port still talks about 6.2.1, so forget that. b. When configuring, make sure you specify ``/usr/locl/include/tcl{whatever _version} /usr/local/include/tk{whatever_version}'' c. In configure (you can/should do it to configure.in and regenerate it via autoconf - I'll let YOU figh this one :-) you should specify the explicit libraries, as in TCL_LIB = tcl8.1 and TK_LIB = tk8.1, instead of the generic TCL_LIB = tcl These above steps are curtesy of the changes to the .mk files that deprive FreeBSD from a normal, default tcl/tk installation in an attempt to acomodate all the versions necessary in many different places. More steps: d. Edit src/bin/pgaccess/pgaccess.tcl to remove the line ``load libpgtcl'' e. Install the above directory someplace sensible (other then the source tree. I put it in ~pgsql/bin/pgaccess.dir f. Write yourself a bit script that does ``pgtksh -f /usr/local/pgsql/bin/pgaccess.ir/pgaccess.tcl'' The script will promptly start very nicely. More Fun: g. Pull down the Database menu, select Open h. Enter your favorite database name and connection data i. Since tcl is interpreted/embedded it is immune to C programming errors. Thus it will promptly generate a segmentation fault and die. j. Post the results to the FreeBSD current list, and to the pgsql list and home the readers still have patience for your klutziness. Have fun! BTW, My offer of a ``free login'' still stands. Oh, did I start from a clean source tree, etc? Yes. I am cross-posting this to freebsd-database, as most -current users do not care about database stuff. Please follow up in freebsd-databases, not free-bsd-current. Simon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message