Re: [fricas-devel] trying to compile aldor

5 views
Skip to first unread message

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

On 03.05.21 18:39, Tobias Neumann wrote:
> 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)
>> 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
>

Andrey G. Grozin

unread,
May 4, 2021, 12:59:15 AM5/4/21
to Ralf Hemmecke, aldor-devel
On Mon, 3 May 2021, Ralf Hemmecke wrote:
> 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.
I used -j1. There is no actual error message, this is exactly my problem.
I configured with

./configure <directory_stuff> --disable-silent-rules --disable-static
--disable-java

> 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
> ==========================

google finds only 1 fig2eps (http://www.courville.org/home/fig2eps):

================
#!/bin/sh

# genfig/fig2eps (C) Marc de Courville 20/8/1994
# Laurent Mazet 26/1/1999
# Cyril Humbert 14/9/1999
# Laurent Mazet 5/10/1999
# Marc de Courville and Laurent Mazet 16/11//2000
# Laurent Mazet 22/11/2001
# Marc de Courville 12/2/2003, 17/05/2006

VERSION=1.7
================

google also finds a perl script fig2ps (not fig2eps!):
https://sourceforge.net/projects/fig2ps/

So, it's unclear what configure --enable-documentation wants to find.

Andrey

Ralf Hemmecke

unread,
May 4, 2021, 3:13:07 AM5/4/21
to aldor...@googlegroups.com
> google also finds a perl script fig2ps (not fig2eps!):
> https://sourceforge.net/projects/fig2ps/
>
> So, it's unclear what configure --enable-documentation wants to find.

Indeed.

lrwxrwxrwx 1 root root 6 Mai 10 2010 /usr/bin/fig2eps -> fig2ps

But is this the problem with building aldor or only with building the
documentation?

Ralf

Ralf Hemmecke

unread,
May 4, 2021, 7:14:24 AM5/4/21
to aldor-devel, Andrey G. Grozin
> As far as I see, the aldor compiler itself is successfully produced;
> the failure is during compiling the standard library.

Andrey, I do not see your concrete error.

OK, now I tried building aldor myself with

cd ~/g/aldor/aldor
./autogen.sh
mkdir -p $RAMDISK/aldor
cd $RAMDISK/aldor
~/g/aldor/aldor/configure --enable-documentation --prefix=$SOFTWARE
--enable-git-build-id --disable-java
time make -j1 2>&1 | tee make.log

The last lines of the build are given below.

I've currently no time to look into the issue why libaldor.idx is missing.

Ralf

=================================

ommit 859b69f0452de3fc09bcce14a3d3950f290909f0 (HEAD -> master,
upstream/master)
Merge: 340d6de7 c815a2b6
Author: pbroadbery <p.bro...@gmail.com>
Date: Wed Mar 17 21:52:24 2021 +0000

Merge pull request #148 from aldorlang/pab/tweaks

Version 1.3.0 - Some minor fixes & a version bump



=================================
Making all in test
make[3]: Entering directory
'/home/hemmecke/scratch/aldor-build/lib/aldor/test'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/home/hemmecke/scratch/aldor-build/lib/aldor/test'
Making all in doc
make[3]: Entering directory
'/home/hemmecke/scratch/aldor-build/lib/aldor/doc'
Making all in tex
make[4]: Entering directory
'/home/hemmecke/scratch/aldor-build/lib/aldor/doc/tex'
if [ ! -f sallicat.fig ]; then cp
/home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/sallicat.fig .; fi
fig2eps --viewer=true sallicat.fig
This is fig2ps 1.5, Copyright (C) 2004-2006, 2008-2010 by Vincent Fourmond

fig2ps comes with ABSOLUTELY NO WARRANTY. This is free software, and
you are welcome to redistribute it under the conditions stated in the
GPL.txt file in the source archive.

Job 1 -- file sallicat.fig
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian)
(preloaded format=latex)
restricted \write18 enabled.
entering extended mode
This is dvips(k) 5.999 Copyright 2019 Radical Eye Software
(www.radicaleye.com)
' TeX output 2021.05.04:1311' -> job-001.dvips.ps
</usr/share/texlive/texmf-dist/dvips/base/tex.pro>
</usr/share/texlive/texmf-dist/dvips/l3backend/l3backend-dvips.pro>
</usr/share/texlive/texmf-dist/dvips/base/special.pro>
</usr/share/texlive/texmf-dist/dvips/base/color.pro>. [1
<./job-001.fig2dev.ps>]
Using 156 2752 933 3230 for the bounding box
-> image is 27.4cm wide and 16.8cm high
Starting true
if [ ! -f sallidata.fig ]; then cp
/home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/sallidata.fig .; fi
fig2eps --viewer=true sallidata.fig
This is fig2ps 1.5, Copyright (C) 2004-2006, 2008-2010 by Vincent Fourmond

fig2ps comes with ABSOLUTELY NO WARRANTY. This is free software, and
you are welcome to redistribute it under the conditions stated in the
GPL.txt file in the source archive.

Job 1 -- file sallidata.fig
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian)
(preloaded format=latex)
restricted \write18 enabled.
entering extended mode
This is dvips(k) 5.999 Copyright 2019 Radical Eye Software
(www.radicaleye.com)
' TeX output 2021.05.04:1311' -> job-001.dvips.ps
</usr/share/texlive/texmf-dist/dvips/base/tex.pro>
</usr/share/texlive/texmf-dist/dvips/l3backend/l3backend-dvips.pro>
</usr/share/texlive/texmf-dist/dvips/base/special.pro>
</usr/share/texlive/texmf-dist/dvips/base/color.pro>. [1
<./job-001.fig2dev.ps>]
Using 156 2695 906 3230 for the bounding box
-> image is 26.4cm wide and 18.9cm high
Starting true
set -e; \
rm -rf pdf; mkdir pdf; cd pdf; \
ln -sf ..//home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/libaldor.tex
..//home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/alltypes.tex
..//home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/title.tex
..//home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/intro.tex
..//home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/guide.tex
..//home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/refer.tex
..//home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/macros.tex
..//home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/aldoc.cls
..//home/hemmecke/g/aldor/aldor/lib/aldor/doc/tex/ttyverb.sty
../sallicat.eps ../sallidata.eps . ; \
ln -sf ../gen/* .; \
pdflatex libaldor < /dev/null | grep -v Underfull | grep -v vbox >
pdf.log; \
pdflatex libaldor < /dev/null | grep -v Underfull | grep -v vbox >>
pdf.log; \
makeindex libaldor; >> pdf.log; \
pdflatex libaldor < /dev/null | grep -v Underfull | grep -v vbox >>
pdf.log; \
mv libaldor.pdf ..
Couldn't find input index file libaldor nor libaldor.idx.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0
idx1 ...]
make[4]: *** [/home/hemmecke/g/aldor/aldor/lib/builddoc.mk:45:
libaldor.pdf] Error 1
make[4]: Leaving directory
'/home/hemmecke/scratch/aldor-build/lib/aldor/doc/tex'
make[3]: *** [Makefile:375: all-recursive] Error 1
make[3]: Leaving directory
'/home/hemmecke/scratch/aldor-build/lib/aldor/doc'
make[2]: *** [Makefile:374: all-recursive] Error 1
make[2]: Leaving directory '/home/hemmecke/scratch/aldor-build/lib/aldor'
make[1]: *** [Makefile:382: all-recursive] Error 1
make[1]: Leaving directory '/home/hemmecke/scratch/aldor-build/lib'
make: *** [Makefile:601: all-recursive] Error 1
backup/git/myhome/rhx/
Reply all
Reply to author
Forward
0 new messages