[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [swarm-hackers] Can somebody declare a CVS "version" that works?
From: |
Paul Johnson |
Subject: |
Re: [swarm-hackers] Can somebody declare a CVS "version" that works? |
Date: |
Tue, 26 Aug 2008 00:15:45 -0500 |
User-agent: |
Thunderbird 2.0.0.16 (X11/20080724) |
Marcus G. Daniels wrote:
Paul Johnson wrote:
If you do want to make an RPM. you start with the tar.gz file
mentioned previously. Then you build a spec file to control the
build. I'm attaching the spec file that worked for older swarms.
You put that spec file in the right spot in a hierarchy and then run
the builder program "rpmbuild" and it generates the RPM and the SRPM.
But, since you have to make the tar.gz file to start, why not just do
that and let me have it, and give me tips on whatever special
configure magic is needed.
Here is a tarfile that has the autoconf stuff generated.
http://www.snoutfarm.com/swarm/swarm-2.2.5.tar.gz
Thanks. As my Dad used to say, "no good deed goes unpunished."
I'm testing the package swarm-2.2.5.tar.gz. Here's how the configure
ends. What do you think?
config.status: creating COM/Makefile
config.status: creating COM/c/Makefile
config.status: creating src/gui/Makefile
config.status: creating src/simtoolsgui/Makefile
config.status: creating src/tclobjc/Makefile
config.status: creating src/tkobjc/Makefile
config.status: creating src/tkobjc/tk/Makefile
config.status: creating src/swarmgstep/Makefile
config.status: error: cannot find input file: src/swarm_xmlrpc/Makefile.in
It appears to me the configure --help output about xmlrpc might be a
little torqued. I tried adding "--disable-xmlrpc" or
"--enable-xmlrpc=no" or "--without-xmlrpc" to the configure line, same
result.
I hacked the configure script to try to make it by-pass the xmlrpc
material. After that, configure succeeds, but the make hates me. It
appears space/Object2dDisplay.h missing?
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/space -I../..
-I../../libobjc -I../../../libobjc -I../../../src/space/../collections
-I../../../src/space/../defobj -I../../../src/space/../activity
-I../../../src/space/../objectbase -I../../../src/space/../random
-I../../../src/gui -I../../../src/space/../simtools
-I../../../src/simtoolsgui -I../../../src/space/../misc -I..
-I../../../src/space/.. -I/usr/lib/jvm/java-1.5.0-sun/include
-I/usr/lib/jvm/java-1.5.0-sun/include/linux -D_GNU_SOURCE
-DBUILDING_SWARM -g -O2 -fgnu-runtime -fno-strict-aliasing -Wall
-Wno-import -Wno-protocol -Wno-long-long -Wno-unknown-pragmas -MT
Object2dDisplay.lo -MD -MP -MF .deps/Object2dDisplay.Tpo -c
../../../src/space/Object2dDisplay.m -fPIC -DPIC -o .libs/Object2dDisplay.o
../../../src/space/Object2dDisplay.m:24:34: error:
space/Object2dDisplay.h: No such file or directory
../../../src/space/Object2dDisplay.m:32: warning: cannot find interface
declaration for ‘Object2dDisplay’
../../../src/space/Object2dDisplay.m: In function ‘+[Object2dDisplay
create:setDisplayWidget:setDiscrete2dToDisplay:setDisplayMessage:]’:
../../../src/space/Object2dDisplay.m:36: warning: ‘Object2dDisplay’ may
not respond to ‘+createBegin:’
../../../src/space/Object2dDisplay.m:36: warning: (Messages without a
matching method signature
../../../src/space/Object2dDisplay.m:36: warning: will be assumed to
return ‘id’ and accept
../../../src/space/Object2dDisplay.m:36: warning: ‘...’ as arguments.)
../../../src/space/Object2dDisplay.m:38: warning: ‘Object2dDisplay’ may
not respond to ‘-setDisplayWidget:’
../../../src/space/Object2dDisplay.m:39: warning: ‘Object2dDisplay’ may
not respond to ‘-setDiscrete2dToDisplay:’
../../../src/space/Object2dDisplay.m:40: warning: ‘Object2dDisplay’ may
not respond to ‘-setDisplayMessage:’
../../../src/space/Object2dDisplay.m:42: warning: ‘Object2dDisplay’ may
not respond to ‘-createEnd’
../../../src/space/Object2dDisplay.m: In function ‘-[Object2dDisplay
setDisplayWidget:]’:
../../../src/space/Object2dDisplay.m:47: error: ‘displayWidget’
undeclared (first use in this function)
../../../src/space/Object2dDisplay.m:47: error: (Each undeclared
identifier is reported only once
../../../src/space/Object2dDisplay.m:47: error: for each function it
appears in.)
../../../src/space/Object2dDisplay.m: In function ‘-[Object2dDisplay
setDiscrete2dToDisplay:]’:
../../../src/space/Object2dDisplay.m:54: error: ‘discrete2d’ undeclared
(first use in this function)
../../../src/space/Object2dDisplay.m: In function ‘-[Object2dDisplay
setDisplayMessage:]’:
../../../src/space/Object2dDisplay.m:61: error: ‘displayMessage’
undeclared (first use in this function)
../../../src/space/Object2dDisplay.m: In function ‘-[Object2dDisplay
createEnd]’:
../../../src/space/Object2dDisplay.m:68: error: no super class declared
in @interface for ‘Object2dDisplay’
../../../src/space/Object2dDisplay.m:69: error: ‘displayWidget’
undeclared (first use in this function)
../../../src/space/Object2dDisplay.m:69: error: ‘discrete2d’ undeclared
(first use in this function)
../../../src/space/Object2dDisplay.m:69: error: ‘displayMessage’
undeclared (first use in this function)
../../../src/space/Object2dDisplay.m: In function ‘-[Object2dDisplay
setObjectCollection:]’:
../../../src/space/Object2dDisplay.m:82: error: ‘objectCollection’
undeclared (first use in this function)
../../../src/space/Object2dDisplay.m: In function ‘-[Object2dDisplay
display]’:
../../../src/space/Object2dDisplay.m:94: error: ‘discrete2d’ undeclared
(first use in this function)
../../../src/space/Object2dDisplay.m:101: error: ‘objectCollection’
undeclared (first use in this function)
../../../src/space/Object2dDisplay.m:102: error: ‘displayMessage’
undeclared (first use in this function)
../../../src/space/Object2dDisplay.m:102: error: ‘displayWidget’
undeclared (first use in this function)
../../../src/space/Object2dDisplay.m: In function ‘-[Object2dDisplay
makeProbeAtX:Y:]’:
../../../src/space/Object2dDisplay.m:125: error: ‘discrete2d’ undeclared
(first use in this function)
make[4]: *** [Object2dDisplay.lo] Error 1
make[4]: Leaving directory
`/home/pauljohn/LinuxDownloads/Ubuntu/swarm/swarm-2.2.5/builddir/src/space'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/pauljohn/LinuxDownloads/Ubuntu/swarm/swarm-2.2.5/builddir/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/pauljohn/LinuxDownloads/Ubuntu/swarm/swarm-2.2.5/builddir/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/pauljohn/LinuxDownloads/Ubuntu/swarm/swarm-2.2.5/builddir'
make: *** [all] Error 2
One problem could be my automake & libtool versions. I've been
wrestling all afternoon & evening with Ubuntu and swarm-2.2.4.
pj
_______________________________________________
swarm-hackers mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/swarm-hackers
--
Paul E. Johnson email: address@hidden
Professor, Political Science http://pj.freefaculty.org
1541 Lilac Lane, Rm 504
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177 FAX: (785) 864-5700