From owner-freebsd-ports Tue Jul 16 16:48:58 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBAD837B405; Tue, 16 Jul 2002 16:48:53 -0700 (PDT) Received: from q.closedsrc.org (ip233.gte15.rb1.bel.nwlink.com [209.20.244.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAE6B43E5E; Tue, 16 Jul 2002 16:48:48 -0700 (PDT) (envelope-from question@closedsrc.org) Received: by q.closedsrc.org (Postfix, from userid 1001) id 264A15327; Tue, 16 Jul 2002 16:46:01 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by q.closedsrc.org (Postfix) with ESMTP id 246925326; Tue, 16 Jul 2002 16:46:01 -0700 (PDT) Date: Tue, 16 Jul 2002 16:46:01 -0700 (PDT) From: Linh Pham To: freebsd-ports@freebsd.org Cc: chuckr@freebsd.org Subject: textproc/sp: Problem building Message-ID: <20020716164004.L91101-100000@q.closedsrc.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org OS: FreeBSD 4.6-STABLE Platform: i386 PORTVERSION=1.3.4 When I try to build textproc/sp, I get the following output (I apologize if Pine decided to force a word wrap on the output): ===> Extracting for sp-1.3.4 >> Checksum OK for sp-1.3.4.tar.gz. ===> Patching for sp-1.3.4 ===> Applying FreeBSD patches for sp-1.3.4 /bin/cp /usr/ports/textproc/sp/work/sp-1.3.4/Makefile /usr/ports/textproc/sp/work/sp-1.3.4/Makefile.sed /bin/cp /usr/ports/textproc/sp/work/sp-1.3.4/Makefile.lib /usr/ports/textproc/sp/work/sp-1.3.4/Makefile.lib.sed /usr/bin/sed -e "s%/opt/local%/usr/local%" /usr/ports/textproc/sp/work/sp-1.3.4/Makefile /usr/bin/sed -e "s%/opt/local%/usr/local%" /usr/ports/textproc/sp/work/sp-1.3.4/Makefile.lib ===> Configuring for sp-1.3.4 ===> Building for sp-1.3.4 `lib' is up to date. c++ -fno-implicit-templates -O -pipe -march=pentiumpro -ansi -I. -I./../include -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o nsgmls.o nsgmls.cxx In file included from nsgmls.cxx:4: ../include/config.h:13: warning: `SP_MULTI_BYTE' redefined *Initialization*:1: warning: this is the location of the previous definition c++ -fno-implicit-templates -O -pipe -march=pentiumpro -ansi -I. -I./../include -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o SgmlsEventHandler.o SgmlsEventHandler.cxx In file included from SgmlsEventHandler.cxx:4: ../include/config.h:13: warning: `SP_MULTI_BYTE' redefined *Initialization*:1: warning: this is the location of the previous definition c++ -fno-implicit-templates -O -pipe -march=pentiumpro -ansi -I. -I./../include -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o RastEventHandler.o RastEventHandler.cxx In file included from RastEventHandler.cxx:8: ../include/config.h:13: warning: `SP_MULTI_BYTE' redefined *Initialization*:1: warning: this is the location of the previous definition c++ -fno-implicit-templates -O -pipe -march=pentiumpro -ansi -I. -I./../include -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o StringSet.o StringSet.cxx In file included from StringSet.cxx:4: ../include/config.h:13: warning: `SP_MULTI_BYTE' redefined *Initialization*:1: warning: this is the location of the previous definition c++ -fno-implicit-templates -O -pipe -march=pentiumpro -ansi -I. -I./../include -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o nsgmls_inst.o nsgmls_inst.cxx In file included from nsgmls_inst.cxx:12: ../include/config.h:13: warning: `SP_MULTI_BYTE' redefined *Initialization*:1: warning: this is the location of the previous definition c++ -fno-implicit-templates -O -pipe -march=pentiumpro -ansi -I. -I./../include -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -o nsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o ../lib/libsp.a -lm -lgcc c++: ../lib/libsp.a: No such file or directory *** Error code 1 Stop in /usr/ports/textproc/sp/work/sp-1.3.4/nsgmls. *** Error code 1 Stop in /usr/ports/textproc/sp/work/sp-1.3.4. *** Error code 1 Stop in /usr/ports/textproc/sp/work/sp-1.3.4. *** Error code 1 Stop in /usr/ports/textproc/sp. *** Error code 1 I decided to muck around with the Makefile.sub under work/sp-1.3.4/nsgmls and found that it is trying to reference libsp.a to XLIBS to "../lib/libsp.a" which does not exist. The closest filename that I could find was "splib"; so I modified the Makefile.sub file so that XLIBS line says: XLIBS=../lib/splib.a I then went back to the port's directory and ran 'make all install' and the same error didn't occur. Could this possibly be fixed with a patch of some sort? Thanks -- Linh Pham question@closedsrc.org Webmaster and FreeBSD Geek http://closedsrc.org Apprentice Manager Editor and Writer http://www.daemonnews.org _I am Pentium of Borg / Division is Futile / You will be approximated_ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message