From owner-freebsd-questions@FreeBSD.ORG Wed Jul 16 19:23:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 082B937B401 for ; Wed, 16 Jul 2003 19:23:36 -0700 (PDT) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81E7043FAF for ; Wed, 16 Jul 2003 19:23:35 -0700 (PDT) (envelope-from admin2@enabled.com) Received: from enabled.com (localhost.enabled.com [127.0.0.1]) by typhoon.enabled.com (8.12.9/8.12.9) with ESMTP id h6H2NZWA063924 for ; Wed, 16 Jul 2003 19:23:35 -0700 (PDT) (envelope-from admin2@enabled.com) From: "admin" To: freebsd-questions@freebsd.org Date: Wed, 16 Jul 2003 18:23:34 -0800 Message-Id: <20030717020931.M57904@enabled.com> X-Mailer: Open WebMail 2.01 20030425 X-OriginatingIP: 131.161.240.131 (admin2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: installing php3-3.0.18_1: mysql option problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 02:23:36 -0000 FreeBSD: 4.8 Stable /usr/ports updated today mysql40-server mysql40-client okay I have a need for php3 on a machine. so I can install php3-3.0.18_1 from /usr/ports with only the zlib option but installing this version with the mysql option brings along the error below. what on earth am I doing wrong? cc -O -pipe -march=pentiumpro -c maketables.c cc -O -pipe -march=pentiumpro -c get.c cc -O -pipe -march=pentiumpro -c study.c cc -O -pipe -march=pentiumpro -c pcre.c rm -f libpcre.a ar cq libpcre.a maketables.o get.o study.o pcre.o ranlib libpcre.a cc -O -pipe -march=pentiumpro -I. -I. -I/usr/local/include /mysql -o php language-parser.tab.o language-scanner.o main.o php3_hash.o op erators.o variables.o token_cache.o stack.o internal_functions.o snprintf.o php3 _sprintf.o alloc.o list.o highlight.o debugger.o configuration-parser.tab.o conf iguration-scanner.o request_info.o safe_mode.o fopen-wrappers.o constants.o php3 _realpath.o alloca.o php_compat.o functions/adabasd.o functions/aspell.o functio ns/apache.o functions/fhttpd.o functions/basic_functions.o functions/crypt.o fun ctions/datetime.o functions/db.o functions/dbase.o functions/dir.o functions/dl. o functions/dns.o functions/exec.o functions/file.o functions/filepro.o function s/filestat.o functions/formatted_print.o functions/fsock.o functions/gd.o functi ons/head.o functions/html.o functions/image.o functions/imap.o functions/php3_mc al.o functions/php_ftp.o functions/ftp.o functions/imsp.o functions/link.o funct ions/mail.o functions/math.o functions/iptc.o functions/md5.o functions/microtim e.o functions/mime.o functions/msql.o functions/mysql.o functions/oracle.o funct ions/oci8.o functions/pack.o functions/pageinfo.o functions/pgsql.o functions/ma gick.o functions/post.o functions/rand.o functions/reg.o functions/solid.o funct ions/soundex.o functions/string.o functions/syslog.o functions/type.o functions/ uniqid.o functions/sybase.o functions/sybase-ct.o functions/url.o functions/base 64.o functions/info.o functions/bcmath.o functions/number.o functions/xml.o func tions/unified_odbc.o functions/ldap.o functions/browscap.o functions/velocis.o f unctions/gdttf.o functions/gdcache.o functions/zlib.o functions/COM.o functions/ ifx.o functions/pdf.o functions/cpdf.o functions/hw.o functions/hg_comm.o functi ons/dlist.o functions/fdf.o functions/wddx.o functions/wddx_a.o functions/snmp.o functions/var.o functions/interbase.o functions/quot_print.o functions/cyr_conv ert.o functions/sysvsem.o functions/dav.o functions/sysvshm.o functions/gettext. o functions/php3_mckcrypt.o functions/yp.o functions/dba.o functions/dba_gdbm.o functions/dba_dbm.o functions/dba_ndbm.o functions/dba_cdb.o functions/mcrypt.o functions/dba_db2.o functions/mhash.o functions/pcre.o functions/posix.o functio ns/parsedate.o functions/lcg.o functions/recode.o functions/levenshtein.o -R/usr /local/lib/mysql -L/usr/local/lib/mysql -lmysqlclient pcrelib/libpcre.a -lz -lpam -lm -lcrypt functions/file.o: In function `php3_tempnam': functions/file.o(.text+0x79d): warning: tempnam() possibly used unsafely; consid er using mkstemp() functions/mysql.o: In function `php3_mysql_create_db': functions/mysql.o(.text+0x10e8): undefined reference to `mysql_create_db' functions/mysql.o: In function `php3_mysql_drop_db': functions/mysql.o(.text+0x1214): undefined reference to `mysql_drop_db' *** Error code 1 Stop in /usr/ports/lang/php3/work/php-3.0.18. *** Error code 1 Stop in /usr/ports/lang/php3. *** Error code 1 Stop in /usr/ports/lang/php3. root@hurricane# - Noah