Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 1999 14:25:33 -0700 (PDT)
From:      asami@freebsd.org (Satoshi - the Wraith - Asami)
To:        dwilde1@thuntek.net
Cc:        kelly@plutotech.com, freebsd-doc@freebsd.org
Subject:   Re: DocProj build
Message-ID:  <199904062125.OAA72139@silvia.hip.berkeley.edu>
In-Reply-To: <370A78D8.FF59410F@thuntek.net> (message from Donald Wilde on Tue, 06 Apr 1999 15:12:56 -0600)
References:  <370A5AA5.66E8559A@thuntek.net> <370A5BD9.CF27C2BD@plutotech.com> <370A5C64.D3B4C0BD@thuntek.net> <370A6C14.F28210F1@plutotech.com> <370A78D8.FF59410F@thuntek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Donald Wilde <dwilde1@thuntek.net>

 * Well, it didn't show any errors like you guys were looking for, but
 * there are two parse errors listed.

 * /usr/local/include/w3c-libwww/HTXML.h:37: xmlparse.h: No such file or directory

I saw this one yesterday too.  I digged into the www/libwww port and
was able to (sort of) fix it with the following:

===
Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/www/libwww/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	1999/03/08 00:15:40	1.16
+++ Makefile	1999/04/06 11:25:01
@@ -17,9 +17,12 @@
 USE_GMAKE=	yes
 CONFIGURE_ARGS=	--enable-shared --enable-static
 DOCDIR=		${PREFIX}/share/doc/libwww
+MAKE_ENV=	objformat=${PORTOBJFORMAT}
 
 post-install:
 	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/modules/expat/xmlparse/xmlparse.h \
+		${PREFIX}/include/w3c-libwww/
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCDIR}/User
 	${CP} -R ${WRKSRC}/Library/User/* ${DOCDIR}/User
Index: pkg/PLIST
===================================================================
RCS file: /usr/cvs/ports/www/libwww/pkg/PLIST,v
retrieving revision 1.12
diff -u -r1.12 PLIST
--- PLIST	1999/03/08 00:15:42	1.12
+++ PLIST	1999/04/06 11:25:11
@@ -150,6 +150,7 @@
 include/w3c-libwww/WWWZip.h
 include/w3c-libwww/wwwconf.h
 include/w3c-libwww/wwwsys.h
+include/w3c-libwww/xmlparse.h
 lib/libmd5.a
 lib/libmd5.la
 lib/libmd5.so.1

===

(The MAKE_ENV is not strictly necessary as we run ldconfig again
anyway, but will stop it from complaining during the "regular"
install.  Actually, it probably means we could take out the first line
in post-install.)

But then teTeX-beta doesn't link because of missing libraries.  Here's
a patch (put it in as print/teTeX-beta/patches/patch-<whatever>) to
fix that:

===
--- ./texk/xdvik/configure.org	Thu Nov 12 23:04:40 1998
+++ ./texk/xdvik/configure	Tue Apr  6 04:48:40 1999
@@ -3937,7 +3937,7 @@
   done
 
   if test ${libwww_libdir_found} = yes; then
-    LDLIBWWW="-L${libwww_libdir} -lwww"
+    LDLIBWWW="-L${libwww_libdir} -lwww -lmd5 -lxmlparse -lxmltok"
     :
   else
     LDLIBWWW=-lwww

===

If it still complains about not being able to dump tex.fmt and stuff,
try deleting everything in /usr/local that is related (most drastic
will be "rm -rf /usr/local/*/*tex").

With these changes, I at least got teTeX-beta to compile and install
all the way through, and be able to grok simple latex files (like my
papers).

However, the whole thing still barfs when trying to reformat the
handbook (the entire reason of installing it in the first place, duh).

===
## make
/usr/local/bin/jade -V html-manifest -ioutput.html  -c ../../share/sgml/catalog -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/docbook/3.0/catalog -c /usr/local/share/sgml/jade/catalog -d ../../share/sgml/freebsd.dsl -t sgml handbook.sgml
/usr/local/bin/jade:E: cannot open "../../share/sgml/catalog" (No such file or directory)
/usr/local/bin/jade:E: cannot open "handbook.sgml" (No such file or directory)
/usr/local/bin/jade:E: cannot open "../../share/sgml/catalog" (No such file or directory)
/usr/local/bin/jade:E: cannot open "../../share/sgml/freebsd.dsl" (No such file or directory)
/usr/local/bin/jade:E: specification document does not have the DSSSL architecture as a base architecture
*** Error code 1

Stop.
===

I'm stumped here.  I guess we should all wait for teTeX-nonbeta to
come out.

-PW


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904062125.OAA72139>