[Aldor-l] Distributing Aldor
Bill Page
bill.page at newsynthesis.org
Tue Sep 9 23:06:23 EDT 2008
Pippijn,
On my Debian 4.0 sparc system I followed the download and install
script exactly as you specified below:
On 2008/9/8 you wrote:
> ...
> the Download and Install page of my Aldor subsite:
> http://xinutec.org/~pippijn/en/projects_aldor_install.xhtml
This system is somewhat unusual because it is running Debian on Sun
sparc Ultra III hardware.
The build worked just as advertised until the the 'prepare' step.
Initially this failed because I did not have byacc and flex installed.
After installing them and re-starting, the prepare step failed at a
later stage while building zacc as shown below.
Do you have any ideas how to debug this? Unfortunately I am not able
to provide external access to this particular machine.
My next attempt with be on an oppositely configured system that is
running Sun Solaris 10.2 on x86 hardware. I have previously failed to
build Aldor on that system. If/when it fails again and if you are
willing to help, it is possible for me to give you remote access to
that machine.
Regards,
Bill Page.
------
bpage at candis-test:/export/disk1/data/aldor-1.1.0-1$ make prepare
EXPAND /export/disk1/data/aldor-1.1.0-1/extra/rona/include/rona/meta/type_traits.h
EXPAND /export/disk1/data/aldor-1.1.0-1/extra/rona/include/rona/meta/operators.h
EXPAND /export/disk1/data/aldor-1.1.0-1/extra/rona/include/rona/meta/purify.h
EXPAND /export/disk1/data/aldor-1.1.0-1/extra/rona/include/rona/meta/typelist.h
EXPAND /export/disk1/data/aldor-1.1.0-1/extra/rona/include/rona/meta/type_traits/is_one_of.h
EXPAND /export/disk1/data/aldor-1.1.0-1/extra/rona/include/rona/meta/type_traits/make_signed.h
EXPAND /export/disk1/data/aldor-1.1.0-1/extra/rona/include/rona/meta/type_traits/is_compatible.h
EXPAND /export/disk1/data/aldor-1.1.0-1/extra/rona/include/rona/meta/type_traits/is_fun_compatible.h
EXPAND /export/disk1/data/aldor-1.1.0-1/extra/rona/include/rona/strings/scalar.h
EXPAND /export/disk1/data/aldor-1.1.0-1/extra/rona/include/rona/functional/callback.h
YACC /export/disk1/data/aldor-1.1.0-1/src/zacc/zaccgram.c
/bin/sh: yacc: command not found
Error executing command: yacc -d zaccgram.y
make[1]: *** [/export/disk1/data/aldor-1.1.0-1/src/zacc/zaccgram.c] Error 1
make: *** [prepare] Error 2
bpage at candis-test:/export/disk1/data/aldor-1.1.0-1$ su
Password:
candis-test:/export/disk1/data/aldor-1.1.0-1# apt-get install byacc
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
byacc
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 44.3kB of archives.
After unpacking 168kB of additional disk space will be used.
Get:1 http://ftp.ca.debian.org etch/main byacc 20050813-1 [44.3kB]
Fetched 44.3kB in 1s (25.2kB/s)
Selecting previously deselected package byacc.
(Reading database ... 54590 files and directories currently installed.)
Unpacking byacc (from .../byacc_20050813-1_sparc.deb) ...
Setting up byacc (20050813-1) ...
candis-test:/export/disk1/data/aldor-1.1.0-1# apt-get install flex
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
bison
The following NEW packages will be installed:
flex
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 305kB of archives.
After unpacking 995kB of additional disk space will be used.
Get:1 http://ftp.ca.debian.org etch/main flex 2.5.33-11 [305kB]
Fetched 305kB in 6s (50.7kB/s)
Preconfiguring packages ...
Selecting previously deselected package flex.
(Reading database ... 54601 files and directories currently installed.)
Unpacking flex (from .../flex_2.5.33-11_sparc.deb) ...
Setting up flex (2.5.33-11) ...
candis-test:/export/disk1/data/aldor-1.1.0-1# exit
exit
bpage at candis-test:/export/disk1/data/aldor-1.1.0-1$ make prepare
YACC /export/disk1/data/aldor-1.1.0-1/src/zacc/zaccgram.c
CC /export/disk1/data/aldor-1.1.0-1/src/zacc/zaccgram.s
AS /export/disk1/data/aldor-1.1.0-1/src/zacc/zaccgram.o
LEX /export/disk1/data/aldor-1.1.0-1/src/zacc/zaccscan.c
LD /export/disk1/data/aldor-1.1.0-1/obj/bin/zacc
/export/disk1/data/aldor-1.1.0-1/src/zacc/zaccgram.o: In function `yyparse':
/export/disk1/data/aldor-1.1.0-1/src/zacc/y.tab.c:367: undefined
reference to `yylex'
/export/disk1/data/aldor-1.1.0-1/src/zacc/y.tab.c:578: undefined
reference to `yylex'
/export/disk1/data/aldor-1.1.0-1/src/zacc/zacc.o: In function `_1_whole_epilog':
/export/disk1/data/aldor-1.1.0-1/src/zacc/zacc.c:456: undefined
reference to `yylex'
/export/disk1/data/aldor-1.1.0-1/src/zacc/zacc.o: In function `_2_whole_epilog':
/export/disk1/data/aldor-1.1.0-1/src/zacc/zacc.c:792: undefined
reference to `yylex'
/export/disk1/data/aldor-1.1.0-1/src/zacc/zacc.o: In function `zaccPass':
/export/disk1/data/aldor-1.1.0-1/src/zacc/zacc.c:1026: undefined
reference to `yyin'
/export/disk1/data/aldor-1.1.0-1/src/zacc/zacc.c:1026: undefined
reference to `yyin'
/export/disk1/data/aldor-1.1.0-1/src/zacc/zacc.c:1030: undefined
reference to `yyin'
/export/disk1/data/aldor-1.1.0-1/src/zacc/zacc.c:1030: undefined
reference to `yyin'
collect2: ld returned 1 exit status
make[1]: *** [/export/disk1/data/aldor-1.1.0-1/obj/bin/zacc] Error 1
make: *** [prepare] Error 2
bpage at candis-test:/export/disk1/data/aldor-1.1.0-1$
-------
bpage at candis-test:/export/disk1/data/aldor-1.1.0-1$ gcc --version
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
bpage at candis-test:/export/disk1/data/aldor-1.1.0-1$ yacc -V
yacc - 1.9 20050813
bpage at candis-test:/export/disk1/data/aldor-1.1.0-1$ flex -V
flex 2.5.33
----------
I tried
make clean
make prepare
but the build stopped at the same place.
-------
More information about the Aldor-l
mailing list