trying to compile aldor

8 views
Skip to first unread message

Andrey G. Grozin

unread,
May 3, 2021, 12:13:19 PM5/3/21
to fricas-devel
Hello *,

I'm trying to compile the current aldor from github.com/aldorlang/aldor
on Gentoo linux and I get

Making all in al
make[4]: Entering directory
'/var/tmp/portage/dev-lang/aldor-1.3.0/work/aldor-859b69f0452de3fc09bcce14a3d3950f290909f0/aldor/aldor/lib/libfoamlib/al'
set -e; \
true > lang.dep_tmp; \
for i in ; do \
d=$(basename $i .dep); \
cat $i >> lang.dep_tmp; \
echo $d >> lang.dep_tmp; \
done; \
if test ! -f lang.dep; then \
mv lang.dep_tmp lang.dep; \
elif diff lang.dep lang.dep_tmp > /dev/null; then \
rm lang.dep_tmp; \
else \
mv lang.dep_tmp lang.dep; \
fi
set -e; \
ar cr _sublib_depend_foamlib.al; \
for l in ; do \
if [ ! -f $l ]; then \
echo "missing $l"; \
exit 1; \
fi; \
ar x $l; \
ar r _sublib_depend_foamlib.al $(ar t $l); \
rm $(ar t $l); \
done
set -e; \
true > machine.dep_tmp; \
for i in lang.dep; do \
d=$(basename $i .dep); \
cat $i >> machine.dep_tmp; \
echo $d >> machine.dep_tmp; \
done; \
if test ! -f machine.dep; then \
mv machine.dep_tmp machine.dep; \
elif diff machine.dep machine.dep_tmp > /dev/null; then \
rm machine.dep_tmp; \
else \
mv machine.dep_tmp machine.dep; \
fi
set -e; \
rm -f lang.c lang.ao; \
cp _sublib_depend_foamlib.al libfoamlib_lang.al;
\
ar r libfoamlib_lang.al ; \
../../../../aldor/src/aldor -Nfile=../../../../aldor/src/aldor.conf
-Mno-ALDOR_W_WillObsolete -Wcheck -Waudit -Z db -Q8 -Y.
-I../../../../aldor/lib/libfoamlib/al -lAxlLib=foamlib_lang -DBuildAxlLib
-Fasy=lang.asy -Fao=lang.ao -Fabn=lang.abn lang.as ;
\
rm libfoamlib_lang.al
set -e; \
true > basic.dep_tmp; \
for i in lang.dep machine.dep; do \
d=$(basename $i .dep); \
cat $i >> basic.dep_tmp; \
echo $d >> basic.dep_tmp; \
done; \
if test ! -f basic.dep; then \
mv basic.dep_tmp basic.dep; \
elif diff basic.dep basic.dep_tmp > /dev/null; then \
rm basic.dep_tmp; \
else \
mv basic.dep_tmp basic.dep; \
fi
make[4]: *** [../../../../lib/buildlib.mk:84: lang.ao] Error 139
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
'/var/tmp/portage/dev-lang/aldor-1.3.0/work/aldor-859b69f0452de3fc09bcce14a3d3950f290909f0/aldor/aldor/lib/libfoamlib/al'
make[3]: *** [Makefile:549: all-recursive] Error 1
make[3]: Leaving directory
'/var/tmp/portage/dev-lang/aldor-1.3.0/work/aldor-859b69f0452de3fc09bcce14a3d3950f290909f0/aldor/aldor/lib/libfoamlib'
make[2]: *** [Makefile:375: all-recursive] Error 1
make[2]: Leaving directory
'/var/tmp/portage/dev-lang/aldor-1.3.0/work/aldor-859b69f0452de3fc09bcce14a3d3950f290909f0/aldor/aldor/lib'
make[1]: *** [Makefile:379: all-recursive] Error 1
make[1]: Leaving directory
'/var/tmp/portage/dev-lang/aldor-1.3.0/work/aldor-859b69f0452de3fc09bcce14a3d3950f290909f0/aldor/aldor'
make: *** [Makefile:602: all-recursive] Error 1

Any ideas how to proceed?

By the way, to generate documentation, configure wants fig2eps. Is it this
script?
http://www.courville.org/home/fig2eps

Thanks in advance,
Andrey

Tobias Neumann

unread,
May 3, 2021, 12:39:23 PM5/3/21
to fricas...@googlegroups.com
I don't see any concrete errors in the log below. But it seems to me
that you are running make with multiple parallel jobs (-jX), and some of
them failed. I've noticed that the build can run into trouble with -j. I
would recommend to try again with just one job, i.e. just "make" or
"make -j1". It must be that some dependencies are not properly taken
care of.

Best wishes,
Tobias

Quoting Andrey G. Grozin (2021-05-03 12:13:17)

Ralf Hemmecke

unread,
May 3, 2021, 2:21:24 PM5/3/21
to fricas...@googlegroups.com, aldor-devel
First of all, this is fricas-devel. You should have directed you
question to <aldor...@googlegroups.com>. So I repost there.

Aldor should compile fine with -j N. There must be some other problem in
the middle. Try to compile with -j1, then you will better see what the
actual error message is.


My fig2eps script starts like this

==========================
#!/usr/bin/perl -w

=pod
fig2ps : convert xfig files to ps/eps/pdf processing text with LaTeX
Copyright (C) 2004-2006, 2008, 2009, 2010 Vincent Fourmond
==========================

Ralf
Reply all
Reply to author
Forward
0 new messages