From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32170 invoked from network); 13 May 1998 04:00:23 -0000 Received: from nip01.cs.upd.edu.ph (HELO cali.nip.upd.edu.ph) (@165.220.19.221) by mail2.redhat.com with SMTP; 13 May 1998 04:00:23 -0000 Received: from localhost (may@localhost) by cali.nip.upd.edu.ph (8.8.4/8.8.4) with SMTP id LAA03046 for ; Wed, 13 May 1998 11:06:28 +0800 X-Authentication-Warning: cali.nip.upd.edu.ph: may owned process doing -bs Date: Wed, 13 May 1998 11:06:27 +0800 (PST) From: "May T. Lim" Reply-To: "May T. Lim" To: axp-list@redhat.com Subject: RE: netscape / motif In-Reply-To: <113C22F0C0AFD1119BCC00805F9FB6426467CA@mxibs1.ibs.uscs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 12 May 1998, Bruce, Stephen wrote: > better yet, has anyone (*other than michal*) actually > compiled the mozilla source code with lesstif-current > and got it to work? If so what is the secret? Yes, we've managed to make it work here. Thanks to all those who helped. Our system: LX164, RH5, kernel upgraded to 2.0.33, gcc 2.7.2 (C compiler), egcs 1.0.2 (C++ compiler + libraries), lesstif-current, ns (first release). Steps: 1. Get lesstif-current (compile and install according to Uncle George's instructions... it's in the archives together with his mozilla patch) 2. Apply the patches from Uncle George (see 1) to the Netscape source (I had to apply it manually since the mail reader broke it). 3. Read my comments below, and see if it's applicable (ignore otherwise). 4. Last problem I encountered (probably my fault, too) was Grid.c looking for the includes in the wrong place. I just edited the first 5 #include to point to/usr/local/include/Xm/the_header_filename). 5. set the variables in the README. Comment: On Thu, 23 Apr 1998, Artimage wrote: > pruthr.c:1242: `JB_SP' undeclared (first use this function) > pruthr.c:1242: (Each undeclared identifier is reported only once > pruthr.c:1242: for each function it appears in.) Encountered exactly the same problem here. Changing the ff. lines (89-95) in ns/nsprpub/pr/include/md/_linux.h allowed mozilla to compile and run (I'm a novice in this area so I don't know if I broke anything by forcing a different definition for _MD_GET_SP(_t)). Anyone has any idea what I did? ---- /* Alpha based Linux */ /*#if defined(__GLIBC__) && __GLIBC__ >= 2 #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[JB_SP] #else*/ #define _MD_GET_SP(_t) (_t)->md.context[0].__jmpbuf[0].__sp /*#endif*/ /* defined(__GLIBC__) && __GLIBC__ >= 2 */ ---- Good luck! -May *********************************************************************** May T. Lim * National Institute of Physics * University of the Philippines * E-mail: may@nip.upd.edu.ph Diliman, 1101 QC, Philippines * WWW : http://maylim.home.ml.org/ ***********************************************************************