From owner-freebsd-questions Wed Feb 14 21:52:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp012.mail.yahoo.com (smtp012.mail.yahoo.com [216.136.173.32]) by hub.freebsd.org (Postfix) with SMTP id BE60137B503 for ; Wed, 14 Feb 2001 21:52:36 -0800 (PST) Received: from slip-12-64-72-253.mis.prserv.net (HELO boethius.yahoo.com) (12.64.72.253) by smtp.mail.vip.sc5.yahoo.com with SMTP; 15 Feb 2001 05:52:35 -0000 X-Apparently-From: Received: from anthony by boethius.yahoo.com with local (Exim 3.20) id 14THOZ-0000D9-00 for ; Wed, 14 Feb 2001 23:55:59 -0600 Date: Wed, 14 Feb 2001 23:55:59 -0600 From: anthony kim To: freebsd-questions@freebsd.org Subject: postgresql7 pgsql error Message-ID: <20010214235559.A84410@yahoo.com> Reply-To: niceshorts@yahoo.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: deus ex machina Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Why is it that the postgresql7 port fails to build psql? make install halts with: /usr/libexec/elf/strip: /usr/local/pgsql/bin/psql: No such file or directory *** Error code 1 I've tried for kicks: building with no options, then w/each option one by one...then I chose the SSL option psql built just fine (postgresql wouldn't start without a certificate, but that was expected). to test my theory: # cd /usr/ports/postgresql7 # make deinstall # rm -rf /usr/local/pgsql # make install /usr/libexec/elf/strip: /usr/local/pgsql/bin/psql: No such file or directory *** Error code 1 then for a closer look I # cd /usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/bin/psql # gmake attached is the output. uname -v FreeBSD 4.2-STABLE #0: Mon Feb 12 19:43:32 CST 2001 thank you all, anthony --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="output.txt" Script started on Wed Feb 14 23:54:07 2001 boethius# gmake gmake -C ../../interfaces/libpq libpq.a gmake[1]: Entering directory `/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/libpq' gmake[1]: `libpq.a' is up to date. gmake[1]: Leaving directory `/usr/ports/databases/postgresql7/work/postgresql-7.0.3/src/interfaces/libpq' cc -I../../include -I../../backend -I/usr/local/include -O -pipe -I../../interfaces/libpq -o psql command.o common.o help.o input.o stringutils.o mainloop.o copy.o startup.o prompt.o variables.o large_obj.o print.o describe.o tab-complete.o -L../../interfaces/libpq -lpq -L/usr/local/lib -lcrypt -lcompat -lln -lm -lutil -lhistory -lreadline -ltermcap -lncurses -lsfio -export-dynamic tab-complete.o: In function `initialize_readline': tab-complete.o(.text+0x9): undefined reference to `rl_readline_name' tab-complete.o(.text+0xf): undefined reference to `rl_attempted_completion_function' tab-complete.o(.text+0x19): undefined reference to `rl_special_prefixes' tab-complete.o(.text+0x23): undefined reference to `rl_basic_word_break_characters' tab-complete.o: In function `psql_completion': tab-complete.o(.text+0x53): undefined reference to `rl_completion_append_character' tab-complete.o(.text+0x1792): undefined reference to `completion_matches' tab-complete.o(.text+0x17d0): undefined reference to `completion_matches' tab-complete.o(.text+0x17df): undefined reference to `rl_completion_append_character' tab-complete.o: In function `previous_word': tab-complete.o(.text+0x1b4d): undefined reference to `rl_line_buffer' tab-complete.o(.text+0x1b61): undefined reference to `rl_line_buffer' tab-complete.o(.text+0x1b99): undefined reference to `rl_line_buffer' tab-complete.o(.text+0x1c08): undefined reference to `rl_line_buffer' gmake: *** [psql] Error 1 boethius# exit exit Script done on Wed Feb 14 23:54:11 2001 --9jxsPFA5p3P2qPhR-- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message