Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32775 - Scribus 1.1.2 does not compile with python 2.3
Summary: Scribus 1.1.2 does not compile with python 2.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL: http://web2.altmuehlnet.de/fschmid/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-04 23:41 UTC by Marc Chabrol
Modified: 2003-11-14 05:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.