From owner-freebsd-questions Sun Apr 2 23:46:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc2.pa.home.com (ha1.rdc2.pa.home.com [24.12.106.194]) by hub.freebsd.org (Postfix) with ESMTP id 1647437B98E for ; Sun, 2 Apr 2000 23:46:13 -0700 (PDT) (envelope-from bkwalters@lucent.com) Received: from kagan.quedawg.com ([24.8.210.114]) by mail.rdc2.pa.home.com (InterMail v4.01.01.00 201-229-111) with ESMTP id <20000403064612.XBKE28012.mail.rdc2.pa.home.com@kagan.quedawg.com> for ; Sun, 2 Apr 2000 23:46:12 -0700 Received: (from psiphi@localhost) by kagan.quedawg.com (8.9.3/8.9.3) id CAA07166 for freebsd-questions@freebsd.org; Mon, 3 Apr 2000 02:31:13 GMT Date: Mon, 3 Apr 2000 02:31:13 +0000 From: "Brian K . Walters" To: freebsd-questions@freebsd.org Subject: Re: w3m make craps out was Re: Lynx forbidden Message-ID: <20000403023113.A7142@kagan.quedawg.com> References: <20000403030401.A17364@theory1.physics.iisc.ernet.in> <200004030132.SAA01795@earthlink.net> <20000403113111.A21411@theory1.physics.iisc.ernet.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000403113111.A21411@theory1.physics.iisc.ernet.in>; from rsidd@physics.iisc.ernet.in on Mon, Apr 03, 2000 at 11:31:11AM +0530 X-Operating-System: Linux X-Organization: Lucent Networkcare Professional Services X-Disclaimer: Lucent NPS - The Knowledge Behind The Network Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 03, 2000 at 11:31:11AM +0530, Rahul Siddharthan wrote: > > > > make -f XXMakefile > > > > cc -pipe -I/usr/local/include -I. -c tagtable.c > > > > tagtable.c:8: syntax error before character 0340 > > > > tagtable.c:11: syntax error before character 0320 > > > > > > Funny, it works fine for me... > > > I don't see anything unusual in tagtable.c at those lines either. > > > Is your source file somehow corrupted? > > > > I had the same problems with w3m, eventually giving it up and just > > installing w3 for emacs, since I'm sitting in emacs 90% of the time > > anyway. I'm running 3.4-stable, with ports downloaded maybe three > > weeks ago and the errors he described in his original message are very > > similar to the errors I had. > > > > While I was searching for the error, I found that the source file from > > which tagtable.c was generated appeared to be corrupted, with > > gibberish characters in the lines that gave errors during the > > compile. If the sources were corrupted, they're corrupted in the > > distribution downloaded by the ports system. > > When I tried it the make command downloaded the source from the Japanese > site directly. My ports collection was less than a day old -- I cvsup > it daily. The generated tagtable.c looks fine. The first 12 lines are > below, lines 8 and 11 look pretty much the same as the rest. I can mail > you the whole thing if you like: please reply directly (off the list) if > you want it. > > #include "hash.h" > #include > #include "html.h" > static HashItem_si MyHashItem[] = { > /* 0 */ {"/form_int",HTML_N_FORM_INT,&MyHashItem[1]}, > /* 1 */ {"/kbd",HTML_NOP,&MyHashItem[2]}, > /* 2 */ {"dd",HTML_DD,&MyHashItem[3]}, > /* 3 */ {"/dir",HTML_N_UL,NULL}, > /* 4 */ {"/body",HTML_N_BODY,NULL}, > /* 5 */ {"base",HTML_BASE,NULL}, > /* 6 */ {"/div",HTML_N_DIV,NULL}, > /* 7 */ {"tbody",HTML_TBODY,&MyHashItem[8]}, > /* 8 */ {"meta",HTML_META,&MyHashItem[9]}, Since I originally had that error message I updated the ports via cvsup from the ports-supfile in /usr/share/examples/cvsup. I originally had the default release=cvs tag=RELENG_4 which just seemed to delete everything in the ports subdirectories so I did it again with the tag=. which the docs said should just update to the latest files. I tried to make w3m again and got the same error message as before. Did I do the ports update correctly? I'm a FreeBSD newbie so excuse my ignorance regarding this. thanks, Brian, -- Brian K. Walters bkwalters@lucent.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message