Date: Thu, 27 Jan 2005 13:06:36 -0500 From: Vivek Khera <vivek@khera.org> To: ports@freebsd.org Subject: advice on building textproc/sp on amd64 FreeBSD 5-STABLE. Message-ID: <cc31cd36b14e5cd1868ba479d896f3b3@khera.org>
next in thread | raw e-mail | index | archive | help
When attempting to install textproc/sp on an amd64 system running FreeBSD 5-STABLE (about a month old) this happens, since sp has a USE_GCC=2.95 requirement: ===> sp-1.3.4 depends on executable: gcc295 - not found ===> Verifying install for gcc295 in /usr/ports/lang/gcc295 ===> gcc-2.95.3_2 is only for alpha i386, and you are running amd64. *** Error code 1 So, I figure gcc 3.4.2 is newer than 2.95, so perhaps it will work. I comment out the USE_GCC line and then I get syntax errors: => Checksum OK for sp-1.3.4.tar.gz. /usr/ports/distfiles//sp-1.3.4.tar.gz: 80.2% ===> Patching for sp-1.3.4 ===> Applying FreeBSD patches for sp-1.3.4 /usr/bin/sed -i.bak -e 's,=/usr/local,=/usr/local,g' /var/tmp/u/yertle1/sources/ports/textproc/sp/work/sp-1.3.4/Makefile* ===> Configuring for sp-1.3.4 ===> Building for sp-1.3.4 c++ -fno-implicit-templates -O -pipe -march=nocona -ansi -I. -I./../include -I./../generic -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_HAVE_LOCALE -DSP_HAVE_SOCKET -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o Allocator.o Allocator.cxx c++ -fno-implicit-templates -O -pipe -march=nocona -ansi -I. -I./../include -I./../generic -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_HAVE_LOCALE -DSP_HAVE_SOCKET -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o Link.o Link.cxx [ ... ] c++ -fno-implicit-templates -O -pipe -march=nocona -ansi -I. -I./../include -I./../generic -DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_HAVE_LOCALE -DSP_HAVE_SOCKET -DSGML_CATALOG_FILES_DEFAULT=\"/usr/local/share/sgml/catalog\" -c -o CharsetInfo.o CharsetInfo.cxx In file included from ./../include/UnivCharsetDesc.h:13, from ./../include/CharsetInfo.h:11, from CharsetInfo.cxx:8: ./../include/RangeMap.h:57: error: expected `;' before "ptr_" ./../include/RangeMap.h: In member function `Boolean RangeMapIter<From, To>::next(From&, From&, To&)': ./../include/RangeMap.h:47: error: `ptr_' undeclared (first use this function) ./../include/RangeMap.h:47: error: (Each undeclared identifier is reported only once for each function it appears in.) *** Error code 1 Stop in /var/tmp/u/yertle1/sources/ports/textproc/sp/work/sp-1.3.4/lib. Not being a C++ type person, I don't know how to debug this. Any hints? Or is sp just broken on amd64 anyway (it is marked broken for sparc64 so perhaps it has some 64-bit issues).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cc31cd36b14e5cd1868ba479d896f3b3>