From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19454 invoked from network); 16 Oct 1998 01:34:46 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 16 Oct 1998 01:34:46 -0000 Received: from mail2.wn.net (mail2.wn.net [206.190.223.5]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA22833 for ; Thu, 15 Oct 1998 21:27:47 -0400 Received: from stcc-dec.com (206.190.210.60) by mail2.wn.net (Worldmail 1.3.167) for axp-list@redhat.com; 15 Oct 1998 21:25:36 -0400 From: Peter Petrakis To: axp-list@redhat.com Subject: RE: Anyone have success compiling Amaya? Date: Thu, 15 Oct 1998 21:22:29 -0400 X-Mailer: KMail [version 0.7.9] Content-Type: text/plain References: MIME-Version: 1.0 Message-Id: <98101521274302.13116@stcc-dec.com> Content-Transfer-Encoding: 8bit >Peter, > >Your shell script will need to look more like > >#!/bin/sh >gcc -E $* > >(the $* is all other arguments to the cpp script). Then a >"chmod +x cpp" should do the trick. Well I learned how to make a script the right way :) and I got a little farther. Now I have new errors. Thanks for showing me how to use chmod and scripting properly. Here's the output. * Abnormal end gcc: HTMLTT.T: linker input file unused since linking not done ***ERR line 1 * Abnormal end (if test "../../amaya" != "" -a "../../amaya" != "." -a \ "../../amaya" != "../amaya"; then \ /bin/cp ../../amaya/HTML.A . ; \ /bin/cp ../../amaya/HTML.STR . ; \ fi) THOTDIR=../.. ; export THOTDIR ; \ .../bin/app -DMATHML HTML.A gcc: HTML.A: linker input file unused since linking not done ***ERR line 1 * Abnormal end (if test "../../amaya" != "" -a "../../amaya" != "." -a \ "../../amaya" != "../amaya"; then \ /bin/cp ../../amaya/HTML.A . ; \ /bin/cp ../../amaya/HTML.STR . ; \ fi) THOTDIR=../.. ; export THOTDIR ; \ .../bin/app -DMATHML HTML.A gcc: HTML.A: linker input file unused since linking not done ***ERR line 1 * Abnormal end gcc -g -O2 -Wall -DMATHML -DHAVE_CONFIG_H -I. -I.. -I../../thotlib/include -I../../amaya -I../../amaya/f -I../../libpng/zlib -I../../libwww/Library/src -I/usr/local/include -I/usr/X11R6/include -c HTMLAPP.c -o HTMLAPP.o gcc: HTMLAPP.c: No such file or directory gcc: No input files make[1]: *** [HTMLAPP.o] Error 1 make[1]: Leaving directory `/usr/local/src/Thot/obj/amaya' make: *** [amaya_prog] Error 2