On Thursday 29 of April 2010 14:53:50 Corey Minyard wrote:
> It's been a while since a release, and lots of little things have gone
> in.  Thanks to everyone who has helped with this. 

Hi,

I can't compile openipmigui from the tarball on sf.net. The tarball contains 
swig/python/OpenIPMI_wrap.c, but no OpenIPMI.py. And since OpenIPMI_wrap.c is 
present, swig is not called and OpenIPMI.py is not generated -> errors like 
"ImportError: No module named OpenIPMI".

Compilation succeeds when I remove OpenIPMI_wrap.c.

Jan
diff -up OpenIPMI-2.0.17/swig/python/Makefile.am.orig OpenIPMI-2.0.17/swig/python/Makefile.am
--- OpenIPMI-2.0.17/swig/python/Makefile.am.orig	2010-04-28 01:33:05.000000000 +0200
+++ OpenIPMI-2.0.17/swig/python/Makefile.am	2010-05-03 13:45:09.000000000 +0200
@@ -26,7 +26,7 @@ OpenIPMI.pyo: OpenIPMI.py _OpenIPMI.la
 	-PYTHONPATH=$(PYPATH) $(pythonprog) -O -c 'import OpenIPMI.py'
 
 OpenIPMI_wrap.c OpenIPMI.py: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i
-	$(SWIG) $(DEFS) -python -o $@ -I$(top_srcdir)/swig/python $<
+	$(SWIG) $(DEFS) -python -o OpenIPMI_wrap.c -I$(top_srcdir)/swig/python $<
 
 CLEANFILES = OpenIPMI_wrap.c OpenIPMI.py OpenIPMI.pyo OpenIPMI.pyc
 
diff -up OpenIPMI-2.0.17/swig/python/Makefile.in.orig OpenIPMI-2.0.17/swig/python/Makefile.in
--- OpenIPMI-2.0.17/swig/python/Makefile.in.orig	2010-04-29 14:41:37.000000000 +0200
+++ OpenIPMI-2.0.17/swig/python/Makefile.in	2010-05-03 13:44:57.000000000 +0200
@@ -659,7 +659,7 @@ OpenIPMI.pyo: OpenIPMI.py _OpenIPMI.la
 	-PYTHONPATH=$(PYPATH) $(pythonprog) -O -c 'import OpenIPMI.py'
 
 OpenIPMI_wrap.c OpenIPMI.py: $(top_srcdir)/swig/OpenIPMI.i OpenIPMI_lang.i
-	$(SWIG) $(DEFS) -python -o $@ -I$(top_srcdir)/swig/python $<
+	$(SWIG) $(DEFS) -python -o OpenIPMI_wrap.c -I$(top_srcdir)/swig/python $<
 
 install-exec-local: _OpenIPMI.la OpenIPMI.py OpenIPMI.pyc OpenIPMI.pyo
 	$(INSTALL) -d $(DESTDIR)$(PYTHON_INSTALL_DIR)
------------------------------------------------------------------------------
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to