[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Problem Compiling v2.8.2
From: |
dickey |
Subject: |
Re: lynx-dev Problem Compiling v2.8.2 |
Date: |
Wed, 17 Mar 1999 15:54:18 -0500 (EST) |
>
> Klaus Weide wrote:
> >
> > On Tue, 16 Mar 1999, Jean-Sebastien Morisset wrote:
> >
> > > I'm receiving the following error when compiling Lynx 2.8.2 on Linux
> > > 2.0.36 w/ gcc 2.8.1.
> > >
> > > -DLINUX -c ./LYMain.c
> > > ./LYMain.c: In function `main':
> > > ./LYMain.c:737: parse error before `/'
> > ^^^
> > So what is on line 737 in the file src/LYMain.c?
> > You didn't write which 2.8.2dev.N you were using.
>
> Ooops! Sorry. :-) I'm using 2.8.2dev.19. Here's a snipet:
>
> 730 openlog("lynx", LOG_PID, LOG_LOCAL5);
> 731 #endif /* SYSLOG_REQUESTED_URLS */
> 732 StrAllocCopy(list_format, LIST_FORMAT);
> 733 #endif /* !VMS */
> 734 InfoSecs = (int)INFOSECS;
> 735 MessageSecs = (int)MESSAGESECS;
> 736 AlertSecs = (int)ALERTSECS;
> 737 StrAllocCopy(helpfile, HELPFILE);
so what does the #define for HELPFILE look like? (It's not built from the
configure script)
> 738 StrAllocCopy(startfile, STARTFILE);
> 739 LYTrimHead(startfile);
> 740 if (!strncasecomp(startfile, "lynxexec:", 9) ||
>
> And here's the error with a little more context:
>
> gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/opt/lynx-2.8.2/share/locale\" -I.
> -I.. -Ichrtrans -I./chrtrans -I.. -I../intl -I../src
> -I../WWW/Library/Implementation -O2 -DLINUX -c ./LYMain.c
> ./LYMain.c: In function `main':
> ./LYMain.c:737: parse error before `/'
> make[1]: *** [LYMain.o] Error 1
> make[1]: Leaving directory `/home/jsmoriss/src/lynx2-8-2/src'
> make: *** [all] Error 2
>
> > Yes, -traversal should be fixed in recent 2.8.2dev.N.
>
> I await anxiously. <grin>
>
>
> Thanks!
> js.
> --
> Jean-Sebastien Morisset, Sr. UNIX Administrator
> Up2 Technologies, TeleGlobe <http://www.up2.com/>
> Personal Homepage <http://jsm.montreal.qc.ca/>
> This is Linux Country. On a quiet night you can hear Windows NT reboot!
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey