On 27 Feb, Hans Breuer wrote:
> Am 27.02.2008 13:10, Helmut Jarausch schrieb:
>> Hi,
>> 
>> for the current SVN sources,
>> 
>> I've tried several possibilities, but
>> 
>> configure --with-python
>> 
>> make
>> 
>> then 
>> make install fails.
>> 
> How does this question differ from the one answered a few days ago?
> Where does it fail now?
> 
>> Has anybody had more luck?
>> 
> Yes, I did build from SVN recently but needed to do some modifications - 
> not yet commited. Still there may be a problem because my build was on 
> win32 with msvc;)
> 
>> Many thanks for a hint,
>> 
> If you sill get the problem from last week - i.e. installaton fault from 
> bindings directory - may be a 'make distclean' before autogen.sh does help.
> 

No, make distclean doesn't help.
configure --with-python
make
# make is just OK  but
make install
gives
....
Making install in bindings
make[1]: Entering directory `/Obj/OBJ/dia-svn/bindings'
python -modern -extranative -c++ -I.. -I../lib -o dia-python.cpp dia.swig
^ this comes from  (bindings/Makefile)

$(srcdir)/dia-python.cpp : $(INTERFACES)
        $(SWIG) $(SWIG_PYTHON_OPT) -I$(top_srcdir) -I../lib -o $@ $<

where 
SWIG =
and
SWIG_PYTHON_OPT = -python -modern -extranative -c++

Is looks like a configure error.

Traceback (most recent call last):
  File "/usr/lib/python2.5/runpy.py", line 87, in run_module
    raise ImportError("No module named " + mod_name)
ImportError: No module named odern
make[1]: [dia-python.cpp] Error 255 (ignored)
make  install-am
make[2]: Entering directory `/Obj/OBJ/dia-svn/bindings'
make[3]: Entering directory `/Obj/OBJ/dia-svn/bindings'
test -z "/usr/lib/python2.5/site-packages/dia" || /bin/mkdir -p 
"/usr/lib/python2.5/site-packages/dia"
make[3]: *** No rule to make target `dia.py', needed by 
`install-pkgpythonPYTHON'.  Stop.
make[3]: Leaving directory `/Obj/OBJ/dia-svn/bindings'


Thanks for looking into it,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
_______________________________________________
Dia-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia

Reply via email to