Date: Tue, 16 Jul 2002 16:46:01 -0700 (PDT) From: Linh Pham <question@closedsrc.org> To: freebsd-ports@freebsd.org Cc: chuckr@freebsd.org Subject: textproc/sp: Problem building Message-ID: <20020716164004.L91101-100000@q.closedsrc.org>
next in thread | raw e-mail | index | archive | help
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.sed >/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.sed >/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020716164004.L91101-100000>