[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] Re: first steps
From: |
root |
Subject: |
[Axiom-developer] Re: first steps |
Date: |
Tue, 12 Nov 2002 20:50:41 -0500 |
well, THAT went poorly :-)
I guess I should have mentioned that you can change the environment
variables from their default values to your new values. The only
one you should have to change is the SPAD variable. So, assuming
you tried to install axiom in /usr/local try:
cd /usr/local/axiom
make SPAD=/usr/local/axiom
You could either eliminate the extra level of new or include it in
the command line. It won't be there in the final system.
There is a certain catch-22 about using the document command on
the root Makefile. I'll have to give it a bit more thought.
noweb will generate non-fatal errors (the error 1 ignored message)
This is normal in my setup. I have to figure out why but the build
completes fine with the few errors that do occur.
The noweb is part of the 'all' stanza but it is only made the first
time. Once the noweb stanza successfully completes you'll find a
file 'noweb' in the top level directory. If this file exists the
Makefile will not attempt to build noweb. This is documented in
the Makefile.pamphlet file. Erasing this file will cause noweb to
be rebuilt.
If you want you can build noweb yourself and do a
cd /usr/local/axiom
touch noweb
and the Makefile will no longer attempt to build noweb. Of course
you'll have to do the copy of the final commands into the
$SPAD/mnt/linux/bin directory.
The "console read hang" is due to a syntax error introduced into the
Makefile.pamphlet file in src/Makefile.pamphlet. In order to reduce
the amount of tex-related output the output is redirected to
$SPAD/obj/tmp/trace. Look at this file for the error. Methinks
you must have changed this file.
Each echoed line from a Makefile stanza has a locally unique number.
You can find problems by looking at the last "Entering directory"
message (which tells you which Makefile will be run) and then
searching the makefile for the unique number. This will tell you
the failing stanza. Search for 'echo' and you should see them.
Your system build failed because you don't have the Xlib libraries.
You need the following RPMS installed to build the system on RedHat 8.0
XFree86-devel-4.2.0-72.i386.rpm (for /usr/X11R6/include/X11/Xlib.h)
Hope this helps.
Tim
========================= attached file =========================
Tim,
Here is the result of my first attempt to use your
Makefile.pamphlet. Perhaps I have included more details
below then you need, but I thought I would give you a
flavor of what I am seeing so far. Please let me know
if I should continue like this or be more brief.
---------
$ cd /usr/src/axiom/new
address@hidden /usr/src/axiom/new
$ ls
CVS Makefile Makefile.dvi Makefile.pamphlet README license lsp src zips
address@hidden /usr/src/axiom/new
$ make
3 checking directory structure
4 Environment: SPAD=/home/axiomgnu/new LSP=/home/axiomgnu/new/lsp SRC=/home/axio
mgnu/new/src INT=/home/axiomgnu/new/int OBJ=/home/axiomgnu/new/obj SYS=linux MNT
=/home/axiomgnu/new/mnt ZIPS=/home/axiomgnu/new/zips SPADBIN=/home/axiomgnu/new/
mnt/linux/bin CC=gcc RANLIB=ranlib CCLBASE=/home/axiomgnu/new/obj/linux/ccl/ccll
isp TMP=/home/axiomgnu/new/obj/tmp
cp: cannot stat `/home/axiomgnu/new/src/scripts/*': No such file or directory
make: *** [rootdirs] Error 1
address@hidden /usr/src/axiom/new
$
------------
Note first of all that I eliminated the extra level of
/new/new so compared to what I got from cvs
axiom/new/* --> axiom/*
Secondly on my system under Cygwin, it is normal to load
new source files in /usr/new, hence the files are in
/usr/src/axiom
As the above console trace shows, the make stopped when it
could now find the /home/axiomgnu/new directory pointed to
by the variable SPAD.
I read the Makefile.dvi (after converting it to a .pdf file)
but did not see any mention of a hard coded directory
name. Anyway, I continued by changing the SPAD= statement
in the Makefile.pamphlet file. But when I tried to use the
command
document Makefile
of course my system did not find the document script.
Instead I entered the commands
notangle -t8 Makefile.pamphlet > Makefile.new
mv Makefile Makefile.old
mv Makefile.new Makefile
but then the build process aborted during the make of
noweb as shown below
-------------------
address@hidden /usr/src/axiom/new
$ pwd
/usr/src/axiom/new
address@hidden /usr/src/axiom/new
$ vi Makefile.pamphlet
address@hidden /usr/src/axiom/new
$ notangle -t8 Makefile.pamphlet > Makefile.new
address@hidden /usr/src/axiom/new
$ ls -l
total 75
drwxrwxrwx 2 Administ None 0 Nov 12 19:31 CVS
-rwxrwxrwx 1 Administ None 2850 Nov 6 20:17 Makefile
-rwxrwxrwx 1 Administ None 39176 Nov 6 20:17 Makefile.dvi
-rw-rw-rw- 1 Administ None 2850 Nov 12 19:52 Makefile.new
-rwxrwxrwx 1 Administ None 24812 Nov 12 19:52 Makefile.pamphlet
-rwxrwxrwx 1 Administ None 106 Nov 6 20:17 README
drwxrwxrwx 3 Administ None 4096 Nov 12 19:31 license
drwxrwxrwx 4 Administ None 0 Nov 12 19:31 lsp
drwxrwxrwx 6 Administ None 0 Nov 12 19:31 src
drwxrwxrwx 4 Administ None 0 Nov 12 19:30 zips
address@hidden /usr/src/axiom/new
$ mv Makefile Makefile.old
address@hidden /usr/src/axiom/new
$ mv Makefile.new Makefile
address@hidden /usr/src/axiom/new
$ make
3 checking directory structure
4 Environment: SPAD=/usr/src/axiom/new LSP=/usr/src/axiom/new/lsp SRC=/usr/src/a
xiom/new/src INT=/usr/src/axiom/new/int OBJ=/usr/src/axiom/new/obj SYS=linux MNT
=/usr/src/axiom/new/mnt ZIPS=/usr/src/axiom/new/zips SPADBIN=/usr/src/axiom/new/
mnt/linux/bin CC=gcc RANLIB=ranlib CCLBASE=/usr/src/axiom/new/obj/linux/ccl/ccll
isp TMP=/usr/src/axiom/new/obj/tmp
5 making noweb
make[1]: [install-shell] Error 1 (ignored)
make[1]: [install-code] Error 1 (ignored)
strip: c/nt: No such file or directory
strip: c/markup: No such file or directory
strip: c/mnt: No such file or directory
strip: c/finduses: No such file or directory
make[1]: *** [install-code] Error 1
make: *** [noweb] Error 2
address@hidden /usr/src/axiom/new
$
-------------------
I wonder whether the make of noweb should be included in
the 'all' stanza. I removed it from Makefile.pamphlet and
then tried again but it stopped apparently waiting for
input from the console ... strange.
---------------
address@hidden /usr/src/axiom/new
$ vi Makefile.pamphlet
address@hidden /usr/src/axiom/new
$ notangle -t8 Makefile.pamphlet > Makefile.new
address@hidden /usr/src/axiom/new
$ mv Makefile.new Makefile
address@hidden /usr/src/axiom/new
$ make
3 checking directory structure
4 Environment: SPAD=/usr/src/axiom/new LSP=/usr/src/axiom/new/lsp SRC=/usr/src/a
xiom/new/src INT=/usr/src/axiom/new/int OBJ=/usr/src/axiom/new/obj SYS=linux MNT
=/usr/src/axiom/new/mnt ZIPS=/usr/src/axiom/new/zips SPADBIN=/usr/src/axiom/new/
mnt/linux/bin CC=gcc RANLIB=ranlib CCLBASE=/usr/src/axiom/new/obj/linux/ccl/ccll
isp TMP=/usr/src/axiom/new/obj/tmp
8 making /usr/src/axiom/new/src/Makefile from /usr/src/axiom/new/src/Makefile.pa
mphlet
-------------
Pressing control-D several times (means end of file on
unix), seemed to allow the build process to continue but
it eventually failed again
----------
7 making /usr/src/axiom/new/src
make[1]: Entering directory `/usr/src/axiom/new/src'
3 making /usr/src/axiom/new/src/scripts/Makefile from /usr/src/axiom/new/src/scr
ipts/Makefile.pamphlet
2 making /usr/src/axiom/new/src/scripts
make[2]: Entering directory `/usr/src/axiom/new/src/scripts'
1 making /usr/src/axiom/new/src/scripts
make[2]: Leaving directory `/usr/src/axiom/new/src/scripts'
7 making /usr/src/axiom/new/src/lib/Makefile from /usr/src/axiom/new/src/lib/Mak
efile.pamphlet
6 making /usr/src/axiom/new/src/lib
make[2]: Entering directory `/usr/src/axiom/new/src/lib'
2 making /usr/src/axiom/new/int/lib/bsdsignal.c from /usr/src/axiom/new/src/lib/
bsdsignal.c.pamphlet
3 making /usr/src/axiom/new/obj/linux/lib/bsdsignal.o from /usr/src/axiom/new/in
t/lib/bsdsignal.c
8 making /usr/src/axiom/new/int/lib/cursor.c from /usr/src/axiom/new/src/lib/cur
sor.c.pamphlet
9 making /usr/src/axiom/new/obj/linux/lib/cursor.o from /usr/src/axiom/new/int/l
ib/cursor.c
11 making /usr/src/axiom/new/int/lib/edin.c from /usr/src/axiom/new/src/lib/edin
.c.pamphlet
12 making /usr/src/axiom/new/obj/linux/lib/edin.o from /usr/src/axiom/new/int/li
b/edin.c
14 making /usr/src/axiom/new/int/lib/fnct_key.c from /usr/src/axiom/new/src/lib/
fnct_key.c.pamphlet
15 making /usr/src/axiom/new/obj/linux/lib/fnct_key.o from /usr/src/axiom/new/in
t/lib/fnct_key.c
17 making /usr/src/axiom/new/int/lib/halloc.c from /usr/src/axiom/new/src/lib/ha
lloc.c.pamphlet
18 making /usr/src/axiom/new/obj/linux/lib/halloc.o from /usr/src/axiom/new/int/
lib/halloc.c
20 making /usr/src/axiom/new/int/lib/openpty.c from /usr/src/axiom/new/src/lib/o
penpty.c.pamphlet
21 making /usr/src/axiom/new/obj/linux/lib/openpty.o from /usr/src/axiom/new/int
/lib/openpty.c
23 making /usr/src/axiom/new/int/lib/pixmap.c from /usr/src/axiom/new/src/lib/pi
xmap.c.pamphlet
24 making /usr/src/axiom/new/obj/linux/lib/pixmap.o from /usr/src/axiom/new/int/
lib/pixmap.c
/usr/src/axiom/new/int/lib/pixmap.c:5:22: X11/Xlib.h: No such file or directory
/usr/src/axiom/new/int/lib/pixmap.c:6:23: X11/Xutil.h: No such file or directory
/usr/src/axiom/new/int/lib/pixmap.c:7:21: X11/Xos.h: No such file or directory
In file included from /usr/src/axiom/new/int/lib/pixmap.c:17:
/usr/src/axiom/new/src/include/spadcolors.h:3:19: X11/X.h: No such file or direc
tory
In file included from /usr/src/axiom/new/int/lib/pixmap.c:17:
/usr/src/axiom/new/src/include/spadcolors.h:27: parse error before "colorMap"
/usr/src/axiom/new/src/include/spadcolors.h:27: warning: data definition has no
type or storage class
In file included from /usr/src/axiom/new/int/lib/pixmap.c:19:
/usr/src/axiom/new/src/include/pixmap.H1:9: parse error before '*' token
/usr/src/axiom/new/src/include/pixmap.H1:10: parse error before '*' token
In file included from /usr/src/axiom/new/int/lib/pixmap.c:21:
/usr/src/axiom/new/src/include/spadcolors.H1:15: parse error before '*' token
/usr/src/axiom/new/src/include/spadcolors.H1:16: parse error before '*' token
/usr/src/axiom/new/src/include/spadcolors.H1:17: parse error before '*' token
/usr/src/axiom/new/src/include/spadcolors.H1:19: parse error before '*' token
/usr/src/axiom/new/src/include/spadcolors.H1:20: parse error before '*' token
In file included from /usr/src/axiom/new/int/lib/pixmap.c:260:
/usr/src/axiom/new/src/include/xpm.h:45:23: X11/Xlib.h: No such file or director
y
/usr/src/axiom/new/src/include/xpm.h:46:24: X11/Xutil.h: No such file or directo
ry
In file included from /usr/src/axiom/new/int/lib/pixmap.c:260:
/usr/src/axiom/new/src/include/xpm.h:121: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:131: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:143: parse error before "Visual"
/usr/src/axiom/new/src/include/xpm.h:143: warning: no semicolon at end of struct
or union
/usr/src/axiom/new/src/include/xpm.h:144: warning: data definition has no type o
r storage class
/usr/src/axiom/new/src/include/xpm.h:175: parse error before "exactColors"
/usr/src/axiom/new/src/include/xpm.h:175: warning: data definition has no type o
r storage class
/usr/src/axiom/new/src/include/xpm.h:184: parse error before "nalloc_pixels"
/usr/src/axiom/new/src/include/xpm.h:184: warning: data definition has no type o
r storage class
/usr/src/axiom/new/src/include/xpm.h:187: parse error before "alloc_close_colors
"
/usr/src/axiom/new/src/include/xpm.h:187: warning: data definition has no type o
r storage class
/usr/src/axiom/new/src/include/xpm.h:199: parse error before '}' token
/usr/src/axiom/new/src/include/xpm.h:199: warning: data definition has no type o
r storage class
/usr/src/axiom/new/src/include/xpm.h:285: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:291: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:298: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:304: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:311: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:317: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:323: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:329: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:335: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:342: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:348: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:354: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:363: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:386: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:392: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:398: parse error before '*' token
/usr/src/axiom/new/src/include/xpm.h:404: parse error before '*' token
/usr/src/axiom/new/int/lib/pixmap.c:271: parse error before '*' token
/usr/src/axiom/new/int/lib/pixmap.c: In function `read_pixmap_file':
/usr/src/axiom/new/int/lib/pixmap.c:274: parse error before "attr"
/usr/src/axiom/new/int/lib/pixmap.c:275: `XImage' undeclared (first use in this
function)
/usr/src/axiom/new/int/lib/pixmap.c:275: (Each undeclared identifier is reported
only once
/usr/src/axiom/new/int/lib/pixmap.c:275: for each function it appears in.)
/usr/src/axiom/new/int/lib/pixmap.c:275: `xireturn' undeclared (first use in thi
s function)
/usr/src/axiom/new/int/lib/pixmap.c:278: `attr' undeclared (first use in this fu
nction)
/usr/src/axiom/new/int/lib/pixmap.c:280: `ZPixmap' undeclared (first use in this
function)
/usr/src/axiom/new/int/lib/pixmap.c:286: `False' undeclared (first use in this f
unction)
/usr/src/axiom/new/int/lib/pixmap.c:294: `display' undeclared (first use in this
function)
/usr/src/axiom/new/int/lib/pixmap.c:294: `filename' undeclared (first use in thi
s function)
/usr/src/axiom/new/int/lib/pixmap.c:294: `xi' undeclared (first use in this func
tion)
/usr/src/axiom/new/int/lib/pixmap.c:295: invalid type argument of `unary *'
/usr/src/axiom/new/int/lib/pixmap.c:296: invalid type argument of `unary *'
/usr/src/axiom/new/int/lib/pixmap.c: At top level:
/usr/src/axiom/new/int/lib/pixmap.c:314: parse error before '*' token
/usr/src/axiom/new/int/lib/pixmap.c: In function `write_pixmap_file':
/usr/src/axiom/new/int/lib/pixmap.c:317: parse error before "attr"
/usr/src/axiom/new/int/lib/pixmap.c:318: `XImage' undeclared (first use in this
function)
/usr/src/axiom/new/int/lib/pixmap.c:318: `xi' undeclared (first use in this func
tion)
/usr/src/axiom/new/int/lib/pixmap.c:318: `xireturn' undeclared (first use in thi
s function)
/usr/src/axiom/new/int/lib/pixmap.c:322: `dsp' undeclared (first use in this fun
ction)
/usr/src/axiom/new/int/lib/pixmap.c:322: `wid' undeclared (first use in this fun
ction)
/usr/src/axiom/new/int/lib/pixmap.c:322: `x' undeclared (first use in this funct
ion)
/usr/src/axiom/new/int/lib/pixmap.c:322: `y' undeclared (first use in this funct
ion)
/usr/src/axiom/new/int/lib/pixmap.c:322: `AllPlanes' undeclared (first use in th
is function)
/usr/src/axiom/new/int/lib/pixmap.c:322: `ZPixmap' undeclared (first use in this
function)
/usr/src/axiom/new/int/lib/pixmap.c:324: `fn' undeclared (first use in this func
tion)
make[2]: *** [/usr/src/axiom/new/obj/linux/lib/pixmap.o] Error 1
make[2]: Leaving directory `/usr/src/axiom/new/src/lib'
make[1]: *** [libdir] Error 2
make[1]: Leaving directory `/usr/src/axiom/new/src'
make: *** [srcdir] Error 2
address@hidden /usr/src/axiom/new
$
----------------
So that's it for now, maybe you can see some simple things
I might do to make make work a little better.
Regards,
Bill.
- [Axiom-developer] Re: first steps,
root <=