Hello,
Ok, I finally managed to produce a smaller patch then what I said earlier. It's
attached.
It modifies only the way the build process check the fact the path to the
pregenarated directory is absolute on Windows.
so ./configure && make && make install works now on MinGW/SBCL
Cheers.
--
G.Vanuxem
2015-12-18 23:54 GMT+01:00 Ralf Hemmecke <[email protected]>:
> > I encoutered two problems with the same build variable : $PREGENERATED.
> > During the configure phase, in the top dir of FriCAS source PREGENERATED
> > variable is set on mingw32 to `pwd -W` + '/pre-generated' which is wrong
> > for the whole build process exept in src/algebra. As long as the build
> > machinery remains as it is, for example in src/interp, all is right with
> a
> > simple `pwd` + '/pre-generated' since we are in the Msys shell (a unix
> > shell emulation so PREGENERATED=/home/gvanuxem/fricas-1.2.7/pre-generated
> > is right in my case). But in src/algebra SBCL must be called with a
> Windows
> > absolute path not the Msys one. That is something like
> > "C:/MinGW/Mmsys/1.0/home/gvanuxem/fricas-1.2.7/pre-generated" (`pwd -W` +
> > "/pre-generated" at the top directory of FriCAS).
>
> That PREGENERATED business is probably my crime. ;-)
> I usually don't touch Windows, so it's somewhat clear that someone must
> hit a problem at some point in time.
>
> It seems, you somehow got it to work.
>
> What I understand from your message is that during configure one should
> create two variables
>
> 1) one with `pwd` for the ordinary case and
> 2) one with `pwd -W` for stuff in src/algebra (or maybe only to pass
> something to SBCL
>
> Can you suggest a patch that should work without manually adjusting
> src/algebra/Makefile. I also don't think that under Windows it should be
> the default to give the --with-pre-generated parameter. If there is the
> pre-generated directory, it should be picked up by default.
>
> 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 post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/fricas-devel.
> For more options, visit https://groups.google.com/d/optout.
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.
--- Makefile.in.old 2015-09-25 00:06:15 +0000
+++ Makefile.in 2015-12-23 12:13:21 +0000
@@ -33,7 +33,7 @@
elif test ! -d "${PREGENERATED}"; then \
echo "PREGENERATED directory does not exist."; \
exit 1; \
- elif echo "${PREGENERATED}"|grep ^/ >/dev/null; then\
+ elif echo "${PREGENERATED}"|grep '^/\|^[A-Z]:' >/dev/null; then\
if test -d ${PREGENERATED}/target; then \
cp -r ${PREGENERATED}/target/* ${fricas_targetdir}; \
fi && \