swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation Installation problem swarm 2002 05 14


From: Raoul Jean Pierre Bonnal
Subject: Re: Compilation Installation problem swarm 2002 05 14
Date: Sun, 28 Jul 2002 23:36:29 +0200
User-agent: Mutt/1.3.28i

hi,

Why i don't have the dir tactivity ?
i a file is the #import <tactivity/type.h> 
this should means that the dir should be present or not ?


On Fri, Jul 26, 2002 at 09:29:50AM -0500, Paul Johnson wrote:
> In the SPEC file with which I build RPMS, I note some special ppc 
> instructions that Alex Lancaster figured out some time ago.  For ppc, 
> apparently one must get/install the libffi package, which we all used to 
> do in the old days.
> 
> I don't recall ever seeing the tcl/tk configure options used in the way 
> you indicate. The standard configure line I use in the SPEC file is
> 
> %define baseconfigure CC=gcc3 JAVAC=jikes %{SWARM_SRC_DIR}/configure 
> --srcdir=%{SWARM_SRC_DIR} --with-defaultdir=/usr --prefix=/usr 
> --enable-subdirs --with-jdkdir=/usr/local/j2sdk1.4.0
> 
> For the ppc, additionally, the configure line has to tell where ffi is, 
> as the SPEC file indicates:
> 
> %ifarch ppc
> CFLAGS="-fdollars-in-identifiers -O2 -g" %configure --with-ffidir=/usr 
> --disable-jar
> %endif

if i set ffidir i have problem and errors
i have libffi2 and libffi2-dev installed 


> 
> Suppose you have the stuff installed in the standard directories, just 
> telling it defaultdir is /usr will let the system know where files are.
> 
> So if you were typping in by hand, I think you'd need to cd into a build 
> directory and type:
> 
> $  CC=gcc3 JAVAC=jikes 

what is it jikes ( i don't have an binary exec file like tha ) ?

> /home/febousr/Dev/Swarm/swarm-2002-05-14/configure 
> --srcdir=/home/febousr/Dev/Swarm/swarm-2002-05-14/
> --prefix=/usr --enable-subdirs --with-defaultdir=/usr 
> --with-jdkdir=/usr/local/j2sdk1.4.0 --with-ffidir=/usr --disable-jar
> 
> I recall jar is disabled because jar program was defective as distributed.
> 
> 
> I'd consider disabling JAVA for test purposes by changing to 
> --without-jdkdir
> 
> You don't say which gcc  you are using to compile this, but if you don't 
> have the special patched version of gcc3, you need to change one line in 
> the source code.  If you do not have the gcc patched, then you need to 
> REVERSE the effect of this patch on interface.el.  That is, you must 
> insert the semicolon on the indicated line:
> 
> *** interface.el-original       Sun Jul  8 19:22:33 2001
> --- interface.el        Sun Jul  8 19:22:56 2001
> ***************
> *** 625,631 ****
> 
>   (defun create-dispatch-hash-table (protocol phase)
>     (let ((ht (make-hash-table)))
> !     ;(load-dispatch-hash-table protocol phase ht)
>       ht))
> 
>   (defun c-objc-type (type)
> --- 625,631 ----
> 
>   (defun create-dispatch-hash-table (protocol phase)
>     (let ((ht (make-hash-table)))
> !     (load-dispatch-hash-table protocol phase ht)
>       ht))
> 
>   (defun c-objc-type (type)
> ~
> 


i have gcc-3.0 version 3.0.4 
standard debian installation no patches. anyway my interfate.el doens't
have ";" 



> And if you do have the special thing, the cpp flag -DMETHOD_FUNCTIONS is 
> used...

with it : 

cc1obj: warnings being treated as errors
Map.m:433: warning: static declaration for `-[Map(c) _at:insert:]'
follows non-static
Map.m:487: warning: static declaration for `-[Map(c) _at:memberSlot:]'
follows non-static
Map.m:686: warning: static declaration for `-[Map(c)
_createIndex:fromMember:]' follows non-static
Map.m:1069: warning: static declaration for `-[MapIndex(c) _next]'
follows non-static
Map.m:1079: warning: static declaration for `-[MapIndex(c) _next:]'
follows non-static
Map.m:1093: warning: static declaration for `-[MapIndex(c) _prev]'
follows non-static
Map.m:1197: warning: static declaration for `-[MapIndex(c) _getLoc]'
follows non-static
Map.m:1202: warning: static declaration for `-[MapIndex(c) _setLoc:]'
follows non-stati

> 
> %{gcc_path} make EXTRACPPFLAGS=-DMETHOD_FUNCTIONS 


> EXTRALDFLAGS=-static-libgcc

cc1obj: warnings being treated as errors
ForEachRandomized.m:15: warning: `actionGroupTest' might be used
uninitialized in this function
make[3]: *** [ForEachRandomized.o] Error 1
make[3]: Leaving directory
`/home/febousr/Dev/Swarm/swarm-2002-05-14/tests/activity'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/home/febousr/Dev/Swarm/swarm-2002-05-14/tests/activity'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/home/febousr/Dev/Swarm/swarm-2002-05-14/tests'
make: *** [check-recursive] Error 1




have i to add this variables in my env ?


make chek give me arrors always :-(

by 
R.J.P.B.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]