On Tue, 2008-12-02 at 14:06 -0330, Roger Mason wrote:
> Hello,
>
> I'm trying to install xcpu using the instructions at
> http://xcpu.org/man.html. The process fails thus:
>
> make xcpu-tarball
> ...
>
> make[2]: Entering directory `/tmp/onesis/xcpu2/libxcpu'
> cc -Wall -g -I ../include -I../spfs/include -c command.c
> command.c: In function 'xp_command_treespawn':
> command.c:149: warning: unused variable 'buf'
> command.c: In function 'xp_command_exec':
> command.c:262: warning: implicit declaration of function
> 'spc_get_local_address'
> command.c:262: warning: format '%s' expects type 'char *', but argument 4 has
> type 'int'
> command.c:262: warning: format '%s' expects type 'char *', but argument 4 has
> type 'int'
> command.c: In function 'xp_commands_wait':
> command.c:341: error: too few arguments to function 'spcfd_add'
> command.c:345: error: too few arguments to function 'spcfd_add'
> command.c:350: error: too few arguments to function 'spcfd_add'
> command.c:356: error: too few arguments to function 'spcfd_add'
> make[2]: *** [command.o] Error 1
> make[2]: Leaving directory `/tmp/onesis/xcpu2/libxcpu'
> make[1]: *** [libstrutil/libstrutil.a] Error 2
> make[1]: Leaving directory `/tmp/onesis/xcpu2'
> make: *** [xcpu2/xcpufs/xcpufs.static] Error 2
>
This is because it's pulling from the old xcpu repository. thanks for
pointing this out.
As a quick fix, change the xcpu_repo in the onesis Makefile to point to
the sourceforge SVN repository.
Index: Makefile
===================================================================
--- Makefile (revision 440)
+++ Makefile (working copy)
@@ -18,7 +18,7 @@
xcpu_templates := $(wildcard ${srcdir}/xcpu-templates/*.gz)
xcpu_svn := $(wildcard ${srcdir}/xcpu-templates/*-svn)
xcpu_stats := $(wildcard ${srcdir}/xcpu-templates/*-svn.stats)
-xcpu_repo := svn://xcpu.org/xcpu2/trunk
+xcpu_repo := https://xcpu.svn.sourceforge.net/svnroot/xcpu/xcpu2/trunk
delete_deb = oneSIS.pm/lib/oneSIS
delete = oneSIS.pm/lib/oneSIS mk-pod genconf test-oneSIS
delete += debian onesis.ebuild dhcp-config
can someone apply this to the onesis trunk?
thanks.
> I see there is an xcpu rpm on sourceforge. Is rpm now the preferred
> mode of installation? I'm on a non-rpm based distro (gentoo).
>
> Cheers,
> Roger