Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 32775

Summary: Scribus 1.1.2 does not compile with python 2.3
Product: Gentoo Linux Reporter: Marc Chabrol <marc-gentoo>
Component: Current packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: 1.4   
Hardware: x86   
OS: Linux   
URL: http://web2.altmuehlnet.de/fschmid/
Whiteboard:
Package list:
Runtime testing required: ---

Description Marc Chabrol 2003-11-04 23:41:15 UTC
Due to a missing include, scribus 1.1.2 compilation fails if python 2.3 is installed and configured as the default python.

The following thread :
http://nashi.altmuehlnet.de/pipermail/scribus/2003-November/002861.html

proposes a fix to the issue, thru the simple patch:

--- scribus-1.1.2.orig/scribus/plugins/scriptplugin/cmdvar.h	2003-07-06 10:09:18.000000000 +0100
+++ scribus-1.1.2/scribus/plugins/scriptplugin/cmdvar.h	2003-11-01 09:10:46.000000000 +0000
@@ -1,6 +1,7 @@
 #ifndef CMDVAR_H
 #define CMDVAR_H
 
+#include <Python.h>
 #include "scribus.h"
 
 /* Static global Variables */

I applied the patch in portage's working dir and finished the compilation
successfully. Scribus's maintainer will probably incorporate this patch in
the next scribus release, until then, it may be better to patch it before
starting compilation.
Comment 1 Hanno Böck gentoo-dev 2003-11-14 05:08:51 UTC
thanks. Changed patch to a sed-command and applied.