* Anyone have success compiling Amaya?
@ 1998-10-16 0:22 Peter Petrakis
1998-10-16 1:32 ` Bob McElrath
0 siblings, 1 reply; 5+ messages in thread
From: Peter Petrakis @ 1998-10-16 0:22 UTC (permalink / raw)
To: axp-list
I've been trying to compile Amaya for the past couple of days and I keep running
in to the same error. It uses lesstif which i have compiled and install I even
have the mwm :). For those who don't know Amaya is a web browser and web page
editor that can display complex mathematical expressions with just html along
with being a good web browser. It's avaiable from http://www.w3.org/Amaya/ .
You'll also need the latest lesstif from http://lesstif.org . Here's the error
I get. I have no clue why it's doing it.
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
TRA=`pwd`/../bin/tra ; \
cd ../../amaya; THOTDIR=`pwd`/.. ;export THOTDIR ;\
$TRA -DMATHML HTMLT ;\
$TRA -DMATHML -DXML HTMLT HTMLTX;\
$TRA -DMATHML HTMLTT
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***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)
/bin/cp: ../../amaya/HTML.STR: No such file or directory
make[1]: *** [HTML.h] Error 1
make[1]: Leaving directory `/usr/local/src/Thot/obj/amaya'
make: *** [amaya_prog] Error 2
[root@stcc-dec obj]# make > output
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
sh: cpp: command not found
***ERR line 1
*
Abnormal end
*
Abnormal end
/bin/cp: ../../amaya/HTML.STR: No such file or directory
make[1]: *** [HTML.h] Error 1
make: *** [amaya_prog] Error 2
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Anyone have success compiling Amaya?
[not found] <XFMail.981016103047.peterw@dascom.com>
@ 1998-10-16 1:14 ` Peter Petrakis
0 siblings, 0 replies; 5+ messages in thread
From: Peter Petrakis @ 1998-10-16 1:14 UTC (permalink / raw)
To: peterw, axp-list
On Thu, 15 Oct 1998, you wrote:
>If you can configure it in the makefile
>
>CPP = gcc -E
>
>Or create a shell script called cpp to do the same thing.
I added that to the makefile with no effect. I then made a script with
cat "gcc -E' and did chmod -xrw cpp , chmod 100 cpp and now i get this.
BTW i'm not to familiar with chmod. Thanks.
*
Abnormal end
gcc: No input files
***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)
/bin/cp: ../../amaya/HTML.STR: No such file or directory
make[1]: *** [HTML.h] Error 1
make[1]: Leaving directory `/usr/local/src/Thot/obj/amaya'
make: *** [amaya_prog] Error 2
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Anyone have success compiling Amaya?
[not found] <XFMail.981016111511.b.williams@gu.edu.au>
@ 1998-10-16 1:22 ` Peter Petrakis
0 siblings, 0 replies; 5+ messages in thread
From: Peter Petrakis @ 1998-10-16 1:22 UTC (permalink / raw)
To: axp-list
>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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Anyone have success compiling Amaya?
1998-10-16 0:22 Peter Petrakis
@ 1998-10-16 1:32 ` Bob McElrath
1998-10-16 2:53 ` Michal Jaegermann
0 siblings, 1 reply; 5+ messages in thread
From: Bob McElrath @ 1998-10-16 1:32 UTC (permalink / raw)
To: axp-list
On Sat, 8 Aug 48409, Peter Petrakis wrote:
> I've been trying to compile Amaya for the past couple of days and I keep running
> in to the same error. It uses lesstif which i have compiled and install I even
> have the mwm :). For those who don't know Amaya is a web browser and web page
> editor that can display complex mathematical expressions with just html along
> with being a good web browser. It's avaiable from http://www.w3.org/Amaya/ .
> You'll also need the latest lesstif from http://lesstif.org . Here's the error
> I get. I have no clue why it's doing it.
>
> *
> Abnormal end
> sh: cpp: command not found
> ***ERR line 1
BTW, I discovered that egcs doesn't install the cpp binary by default.
*however*, one exists in the gcc directory after you finish compiling egcs.
(*boggle*) Just copy it to somewhere and you don't have to write a script.
;)
-- Bob
./'^`\._./'~`\._./'~`\._./'~`\._./'#`\._./'~`\._./'~`\._./'~`\._./'^`\.
/ Rube Goldberg? Bah! Amateur! I give you..Windows 98! Linux everywhere \
| Linux, because everyone's work is mission critical. ANYTHING inside. |
|_Bob McElrath (mcelrath@wisconsin.cern.ch) Univ. of Wisconsin at Madison_|
\.___________________________________________________________________./
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Anyone have success compiling Amaya?
1998-10-16 1:32 ` Bob McElrath
@ 1998-10-16 2:53 ` Michal Jaegermann
0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 1998-10-16 2:53 UTC (permalink / raw)
To: axp-list
Bob McElrath wrote:
>
> BTW, I discovered that egcs doesn't install the cpp binary by default.
This is not really correct but maybe cpp is not the place you expected
it. Look
$ locate /cpp | grep -v cpp.
/lib/cpp
/usr/lib/cpp
/usr/lib/gcc-lib/alpha-redhat-linux/2.7.2.3/cpp
/usr/local/egcs-1.1b/lib/gcc-lib/alpha-unknown-linux-gnu/egcs-2.91.57/cpp
/usr/local/egcs-snap/lib/gcc-lib/alpha-unknown-linux-gnu/egcs-2.92.13/cpp
Preprocessor is installed in a compiler specific library although
with cpp is likely of no consequences which preprocessor binary you are
really using. I'd rather suspect that your PATH is not correct.
OTOH quite a few other programs, various X-windows stuff in particular,
expect to find /lib/cpp and some RH sets did not put it there.
Make yourself a link if it is missing.
Michal
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-10-16 3:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <XFMail.981016111511.b.williams@gu.edu.au>
1998-10-16 1:22 ` Anyone have success compiling Amaya? Peter Petrakis
[not found] <XFMail.981016103047.peterw@dascom.com>
1998-10-16 1:14 ` Peter Petrakis
1998-10-16 0:22 Peter Petrakis
1998-10-16 1:32 ` Bob McElrath
1998-10-16 2:53 ` Michal Jaegermann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox