still wxproj compilation problems

Martin Schulze joey at infodrom.org
Mon May 2 14:34:34 CEST 2005


Moritz Lennert wrote:
> >> >> Using a freshly checkout cvs tree, I have the same problem that Jan
> >> reported
> >> >> in
> >> http://www.intevation.de/pipermail/thuban-devel/2005-April/001398.html,
> >> >> and
> >> >> that Bernard had apparently fixed:
> >> > [...]
> >> >> Just as Jan I am running Debian sarge, with wx2.4.
> >> >
> >> > Have you run setup.py with the --use-wx-python-swig-hack option?
> >>
> >> I used dpkg-buildpackage without changing anything in the debian directory.
> >
> > then you are using the Thuban 1.0-series original debian source package?
> >
> > The option mentioned above is quite new. You must either change
> > debian/rules or build Thuban directly from CVS.
> 
> That means the debian/rules file in the CVS HEAD branch is not up to date ?
> What do I have to change in the rules file to make it work ?

The attached patch should do (untested, though).

Regards,

	Joey

-- 
If nothing changes, everything will remain the same.  -- Barne's Law
-------------- next part --------------
Index: rules
===================================================================
RCS file: /thubanrepository/thuban/debian/rules,v
retrieving revision 1.3
diff -u -p -r1.3 rules
--- rules	8 Mar 2004 09:42:50 -0000	1.3
+++ rules	2 May 2005 12:33:53 -0000
@@ -42,7 +42,8 @@ install: build
 	dh_clean 
 	dh_installdirs
 
-	python setup.py install --prefix=/usr --no-compile --root=`pwd`/debian/thuban
+	python setup.py install --prefix=/usr --no-compile --root=`pwd`/debian/thuban \
+		--use-wx-python-swig-hack
 	ln -fs ../lib/thuban/thuban.py `pwd`/debian/thuban/usr/bin/thuban 
 	cd debian/thuban; patch -p1 < ../bitmappath.patch; cd ../../	
 


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)