>>>>> "AL" == Alex Lancaster writes:
>>>>> "OT" == Olaf Till writes:
OT> On Tue, Aug 18, 2009 at 08:15:48PM -0700, Alex Lancaster wrote:
>>> So it turns out that the 'database' package has already been removed
>>> from our bundle. 'ann' has a patch that allows it to rebuild, and I
>>> disabled 'ftp'. This allows the build to get quite far, but it still
>>> dies building the 'parallel' (version 2.0.0) package:
>>>
>>> mkoctfile -s pserver.cc
>>> pserver.cc:65: error: 'quitting_gracefully' was declared 'extern' and
>>> later 'static' /usr/include/octave-3.2.2/octave/toplev.h:51: error: previous
>>> declaration of 'quitting_gracefully'
OT> Hi, though actually this part of the 'parallel' package is not mine, I
OT> have commited a trivial fix for this in pserver.cc and set the version
OT> number to 2.0.1. Not tested in Octave 3.2... since I havn't it
OT> installed at the moment. Olaf
AL> Thanks, I generated a patch out of SVN, but it appeared that wasn't
AL> sufficient to make it build:
AL> mkoctfile -s __bw_is_locked__.cc
AL> mkoctfile -s __bw_lock_file__.cc
AL> mkoctfile -s __bw_unlock_file__.cc
AL> mkoctfile -s __bw_prcv__.cc
AL> __bw_prcv__.cc: In function 'octave_value_list F__bw_prcv__(const
AL> octave_value_list&, int)':
AL> __bw_prcv__.cc:124: error: 'symbol_record' was not declared in this
AL> scope
AL> __bw_prcv__.cc:124: error: 'lsr' was not declared in this scope
AL> __bw_prcv__.cc:124: error: 'curr_sym_tab' was not declared in this
AL> scope
AL> __bw_prcv__.cc:134: error: 'sr' was not declared in this scope
AL> __bw_prcv__.cc:142: error: 'link_to_global_variable' was not declared
AL> in this scope
AL> make[1]: *** [__bw_prcv__.oct] Error 1
AL> Full log here:
AL> http://koji.fedoraproject.org/koji/getfile?taskID=1616150&name=build.log
AL> Has nobody yet tried to build 'parallel' against Octave 3.2.x? If it
AL> isn't yet ready for primetime, I can just pull it from the Octave
AL> bundle until it is ready for being distributed alongside Octave 3.2.x.
Also, while you're at, you could also apply this attached patch
(originally by Jussi Lehtola) which fixes a missing "include" in
parallel 2.0.0.
Thanks,
Alex
diff -up main/parallel-2.0.0/src/pserver.cc.orig main/parallel-2.0.0/src/pserver.cc
--- main/parallel-2.0.0/src/pserver.cc.orig 2009-05-08 16:17:57.000000000 +0300
+++ main/parallel-2.0.0/src/pserver.cc 2009-07-11 15:52:31.345823807 +0300
@@ -44,6 +44,7 @@ along with this program; If not, see <ht
#include "input.h"
#include "quit.h"
+#include <iostream>
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev