I thought I fixed that. Perhaps I didn't push the change to Github. In any case, you don't have to use it right now, since the version that is included in GNU APL itself is right now exactly the same (but with the fix).
Regards, Elias On 24 May 2014 14:17, "Blake McBride" <[email protected]> wrote: > I am using GNU APL 287. I don't know how to get a GIT revision number. I > am using Emacs mode from the GIT repository. > > I just tried checking out the latest of each. I was already at the latest > APL. After updating Emacs mode, I get the following when trying to compile > native: > > blake@sony-linux-laptop ~/apl-mode/native $ make > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o emacs.o > emacs.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o network.o > network.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o util.o > util.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o Listener.o > Listener.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > TcpListener.o TcpListener.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > UnixSocketListener.o UnixSocketListener.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > NetworkConnection.o NetworkConnection.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o SiCommand.o > SiCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > SicCommand.o SicCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o FnCommand.o > FnCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > DefCommand.o DefCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > GetVarCommand.o GetVarCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > VariablesCommand.o VariablesCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > FnTagCommand.o FnTagCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > VersionCommand.o VersionCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > FollowCommand.o FollowCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > SystemFnCommand.o SystemFnCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > SystemVariableCommand.o SystemVariableCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > LockWrapper.o LockWrapper.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o TraceData.o > TraceData.cc > TraceData.cc: In static member function ‘static void > TraceData::display_value_for_trace(std::ostream&, const Value_P&, int)’: > TraceData.cc:56:41: error: ‘get_PP’ is not a member of ‘Workspace’ > PrintContext context( PST_NONE, Workspace::get_PP(), 100000 ); > ^ > TraceData.cc:63:41: error: ‘get_PP’ is not a member of ‘Workspace’ > PrintContext context( PST_NONE, Workspace::get_PP(), 100000 ); > ^ > TraceData.cc:66:42: error: ‘get_PP’ is not a member of ‘Workspace’ > PrintContext context2( PST_NONE, Workspace::get_PP(), 100000 ); > ^ > make: *** [TraceData.o] Error 1 > bblake@sony-linux-laptop ~/apl-mode/native $ make > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o emacs.o > emacs.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o network.o > network.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o util.o > util.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o Listener.o > Listener.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > TcpListener.o TcpListener.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > UnixSocketListener.o UnixSocketListener.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > NetworkConnection.o NetworkConnection.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o SiCommand.o > SiCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > SicCommand.o SicCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o FnCommand.o > FnCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > DefCommand.o DefCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > GetVarCommand.o GetVarCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > VariablesCommand.o VariablesCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > FnTagCommand.o FnTagCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > VersionCommand.o VersionCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > FollowCommand.o FollowCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > SystemFnCommand.o SystemFnCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > SystemVariableCommand.o SystemVariableCommand.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o > LockWrapper.o LockWrapper.cc > c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native -c -o TraceData.o > TraceData.cc > TraceData.cc: In static member function ‘static void > TraceData::display_value_for_trace(std::ostream&, const Value_P&, int)’: > TraceData.cc:56:41: error: ‘get_PP’ is not a member of ‘Workspace’ > PrintContext context( PST_NONE, Workspace::get_PP(), 100000 ); > ^ > TraceData.cc:63:41: error: ‘get_PP’ is not a member of ‘Workspace’ > PrintContext context( PST_NONE, Workspace::get_PP(), 100000 ); > ^ > TraceData.cc:66:42: error: ‘get_PP’ is not a member of ‘Workspace’ > PrintContext context2( PST_NONE, Workspace::get_PP(), 100000 ); > ^ > make: *** [TraceData.o] Error 1 > b > > > > On Fri, May 23, 2014 at 11:29 PM, David B. Lamkins <[email protected]>wrote: > >> On Fri, 2014-05-23 at 14:58 -0500, Blake McBride wrote: >> > There is a problem. It seems to only happen in Emacs mode. For >> > example: >> >> > )CLEAR >> > CLEAR WS >> > ⍴'' >> > 0 >> > 0 0⍴'' >> > ⍴'' >> > 0 0 >> >> I can't reproduce this. >> >> In Emacs, running gnu-apl-mode: >> >> ⍴'' >> 0 >> 0 0⍴'' >> ⍴'' >> 0 >> >> >> This is with a very recent build of GNU APL running gnu-apl-mode with >> the new-style libemacs. >> >> Either there's something else involved in establishing the initial >> conditions to tickle this particular bug, or you have a bad/inconsistent >> build. Have you tried a fresh build? >> >> For example: >> >> ./configure >> make clean >> sudo make install >> >> >> In a related vein, how is your gnu-apl-mode built/configured? Are you >> using the version included with GNU APL or are you running more recent >> sources? How/where are you building and installing the gnu-emacs-mode >> native library? >> >> >> >> >
