Hi,
I just built the book cloning the new-ps-book branch, very good job,
thanks to all !
I regularly use to look at he book.pdf, the one downloadable from
github.io but I gave it a try to build it, I hadn't built it for more
than 10 years, so I did it with a newbie spirit in mind.
./configure && make
After I tried
make book
make book.pdf
without success. But since _I_ know that to build html doc I need to
switch to src/doc, I switched to src/doc and issued again make book,
make book.pdf and he build stopped with:
=========================================
┌──(greg㉿ellipse)-[~/Tmp/fricas]
└─$ make book.pdf
make: *** Aucune règle pour fabriquer la cible « book.pdf ». Arrêt.
┌──(greg㉿ellipse)-[~/Tmp/fricas]
└─$ ls
build config confignotes.tex contrib
INSTALL LICENSE.txt README.rst
build-setup.sh config_cl.out config.status doc
INSTALL.CYGWIN Makefile src
ChangeLog config.lisp configure FAQ
lastBuildDate Makefile.in stamp-rootdirs
CHANGELOG.old config.log configure.ac generate_INSTALL.sh
license Makenotes.tex target
┌──(greg㉿ellipse)-[~/Tmp/fricas]
└─$ cd src/doc/
┌──(greg㉿ellipse)-[~/Tmp/fricas/src/doc]
└─$ make book
make: *** Aucune règle pour fabriquer la cible « book ». Arrêt.
┌──(greg㉿ellipse)-[~/Tmp/fricas/src/doc]
└─$ make book.pdf
grep
'\(\\head{\|\\psXtc\|\xtc\|\\noOutputXtc\|\\nullXtc\|epsffile\|\\spadgraph\)'
/home/greg/Tmp/fricas/src/doc/htex/ug*.htex \
| mawk -f /home/greg/Tmp/fricas/src/doc/ugepsf.awk > pics.mk
(unset DAASE; FRICAS=/home/greg/Tmp/fricas/target/x86_64-linux-gnu;
export FRICAS; \
FRICAS_INITFILE='' \
/home/greg/Tmp/fricas/target/x86_64-linux-gnu/bin/fricas -noht
-noclef -eval ')read /home/greg/Tmp/fricas/src/input/mobius.input')
Checking for foreign routines
FRICAS="/home/greg/Tmp/fricas/target/x86_64-linux-gnu"
spad-lib="/home/greg/Tmp/fricas/target/x86_64-linux-gnu/lib/libspad.so"
foreign routines found
openServer result 0
FriCAS Computer Algebra System
Version: FriCAS 2024-04-15 built with sbcl 2.4.4
Timestamp: sam. 04 mai 2024 17:43:10 CEST
-----------------------------------------------------------------------------
Issue )copyright to view copyright notices.
Issue )summary for a summary of useful system commands.
Issue )quit to leave FriCAS and return to shell.
-----------------------------------------------------------------------------
-- generate Mobius curve viewport for ViewportPage
port := draw(surface((v*cos(u/2)+1)*cos(u),(v*cos(u/2)+1)*sin(u), _
v*sin(u/2)), u=-%pi..%pi, v=-0.5..0.5)
Compiling function %C with type (DoubleFloat, DoubleFloat) ->
DoubleFloat
Compiling function %E with type (DoubleFloat, DoubleFloat) ->
DoubleFloat
Compiling function %G with type (DoubleFloat, DoubleFloat) ->
DoubleFloat
Transmitting data...
BadMatch (invalid parameter attributes)
reading: integer: Connection reset by peer
session: fatal, got out of sync with Spad server
(lost race)
mkdir -p /home/greg/Tmp/fricas/target/x86_64-linux-gnu/share/viewports
cp -r *.VIEW /home/greg/Tmp/fricas/target/x86_64-linux-gnu/share/viewports
echo timestamp > viewports
cp /home/greg/Tmp/fricas/src/doc/ps/exit.ps exit.ps
cp /home/greg/Tmp/fricas/src/doc/ps/help.ps help.ps
cp /home/greg/Tmp/fricas/src/doc/ps/home.ps home.ps
cp /home/greg/Tmp/fricas/src/doc/ps/up.ps up.ps
cp /home/greg/Tmp/fricas/src/doc/ps/ribbon2r.ps ribbon2r.ps
cp /home/greg/Tmp/fricas/src/doc/ps/ribbons2.ps ribbons2.ps
cp /home/greg/Tmp/fricas/src/doc/ps/ribbons2b.ps ribbons2b.ps
cp /home/greg/Tmp/fricas/src/doc/ps/2Dctrl.ps 2Dctrl.ps
cp /home/greg/Tmp/fricas/src/doc/ps/3Dctrl.ps 3Dctrl.ps
cp /home/greg/Tmp/fricas/src/doc/ps/SEGBIND.ps SEGBIND.ps
cp /home/greg/Tmp/fricas/src/doc/ps/arrowr.ps arrowr.ps
cp /home/greg/Tmp/fricas/src/doc/ps/knot3.ps knot3.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-alldoms.ps h-alldoms.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-allrank.ps h-allrank.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-atsearch.ps h-atsearch.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-brfront.ps h-brfront.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-comsearch.ps h-comsearch.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-consearch.ps h-consearch.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-docsearch.ps h-docsearch.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-gensearch.ps h-gensearch.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matargs.ps h-matargs.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matats.ps h-matats.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matdesc.ps h-matdesc.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matexamp.ps h-matexamp.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matexports.ps h-matexports.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matimp.ps h-matimp.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matinv.ps h-matinv.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matmap.ps h-matmap.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matops.ps h-matops.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matpage.ps h-matpage.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matrelops.ps h-matrelops.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matrixops.ps h-matrixops.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matsource.ps h-matsource.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-matxref.ps h-matxref.ps
cp /home/greg/Tmp/fricas/src/doc/ps/h-root.ps h-root.ps
make -f pics.mk pics
make[1] : on entre dans le répertoire « /home/greg/Tmp/fricas/src/doc »
make[1]: *** Aucune règle pour fabriquer la cible «
ugNewIntroGraphicsPage1.VIEW/image.xpm », nécessaire pour «
bessintr.ps ». Arrêt.
make[1] : on quitte le répertoire « /home/greg/Tmp/fricas/src/doc »
make: *** [Makefile:858 : stamp-pics] Erreur 2
┌──(greg㉿ellipse)-[~/Tmp/fricas/src/doc]
└─$ cd ../..
=================================================
But I remember having read somewhere viewports will not be build (I
use WSL2 so I never tried xvfb), the only thing I have
fleetingly sawn is:
configure: HyperDoc graphics must be built separately.
configure: WARNING: Aldor interface will not be built.
So at the root source tree I issued a 'make viewports' with success,
only those messages:
Warning: could not get the 9x15 font for messageFont
Warning: could not get the 8x13 font for buttonFont
Warning: could not get the 9x15 font for headerFont
Warning: could not get the 9x15 font for titleFont
Warning: could not get the 9x15 font for graphFont
Warning: could not get the 6x10 font for unitFont
Missing fonts.
I re-switched to src/doc, issued a 'make book.pdf' and, after
temporarily installing tensor.sty with 'apt-get install
texlive-science' I was able to obtain an up to date book. Good!
So my notes would be maybe to add at the end of the./configure step,
as it's usual, a displayed message related to:
configure: HyperDoc graphics must be built separately.
configure: WARNING: Aldor interface will not be built.
and building viewports and eventually how to build book.pdf.
Remember, I did this with a newbie spirit in mind.
Nevertheless, very nice! Thanks all again!
Le sam. 4 mai 2024 à 10:08, Ralf Hemmecke <[email protected]> a écrit :
>
> Qian,
>
> I just compiled your new-ps-book branch
> https://github.com/oldk1331/fricas/commit
>
> https://github.com/oldk1331/fricas/commit/e34fadc066ee34b4b6a56ceadfa3284934166999
>
> It leave one process hanging and thus does not finish. I must
> investigate, but have no time now. Will try more as soon as possible.
>
> The process was a spadclient that ran with 100% CPU.
>
> Ralf
>
> --
> You received this message because you are subscribed to the Google Groups
> "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/fricas-devel/dc45d2c3-2352-4d62-bcd6-d2bfeb817b17%40hemmecke.org.
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/CAHnU2dZKsyKE0Jvjsx2YVyJvOrRxH0RzbRoa9ebKFoq03TrxEw%40mail.gmail.com.