Tim Havel wrote:
>
> After compiling fricas-1.0.3 on a G5 running Mac OS X 10.4.11 with
> clisp 2.46, the ptyopen call on line 633 of sman.c returns an empty
> ptsPath[] string, causing fork_Axiom() to fail with the error message
> "fork_Axiom: Failed to reopen server: No such file or directory". I
> can run fricas directly from the target/powerpc-apple-darwin8.11.0/bin/
> AXIOMsys executable after setting the AXIOM environment variable, so
> the problem is definitively in the c-code which is supposed to start
> it up. Suggestions anyone?
>
AXIOMsys provides core functionality. FriCAS uses pseudoterminals
to have nicer user interface. ptyopen is in src/lib/openpty.c, on
Mac OS X 10.4.x it should simply call openpty from Mac libraries.
Things to to check:
- does the config/axiom-c-macros.h file in build directory contain
lines like:
#define HAVE_OPENPTY 1
#define HAVE_OPENPTY_DECL 1
If no then FriCAS cannot find files needed for compilation of
C programs -- one should look into config.log for more details.
- what is return value from ptyopen call (it is supposed to return
-1 or exit in case of failure). Note: if answer to previous
question is negative then FriCAS will use it own code for
opening pty -- AFAIK this code is not going to work on Mac OS X 10.4.x,
but it should properly report failure.
--
Waldek Hebisch
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en
-~----------~----~----~----~------~----~------~--~---