[scribus-dev] Build failure on Mac OS X

Craig Bradney cbradney at zip.com.au
Wed Apr 6 20:42:07 CEST 2011


On 4/6/11 8:35 PM, Jain Basil Aliyas wrote:
> Hello,
>
> I'm facing a problem these days in building trunk. It fails on Mac OS
> X 10.6 when configured with option -DWANT_SCRIPTER2=1. Else it works fine.
>
> Here's the log : 
>
> [ 93%] Building CXX object
> scribus/plugins/scripter/CMakeFiles/scripter.dir/scripterimpl.cpp.o
> [ 93%] Building CXX object
> scribus/plugins/scripter/CMakeFiles/scripter.dir/pythonize.cpp.o
> /Users/jainbasil/Projects/scribus_svn/trunk/Scribus/scribus/plugins/scripter/pythonize.cpp:
> In member function ‘bool Pythonize::appendToSysPath(const char*)’:
> /Users/jainbasil/Projects/scribus_svn/trunk/Scribus/scribus/plugins/scripter/pythonize.cpp:117:
> warning: deprecated conversion from string constant to ‘char*’
> [ 93%] Building CXX object
> scribus/plugins/scripter/CMakeFiles/scripter.dir/api_prefs.cpp.o
> [ 93%] Building CXX object
> scribus/plugins/scripter/CMakeFiles/scripter.dir/api_item.cpp.o
> [ 93%] Building CXX object
> scribus/plugins/scripter/CMakeFiles/scripter.dir/api_page.cpp.o
> /Users/jainbasil/Projects/scribus_svn/trunk/Scribus/scribus/plugins/scripter/api_page.cpp:
> In member function ‘void PageAPI::placeImage(int, const QString&,
> double, double)’:
> /Users/jainbasil/Projects/scribus_svn/trunk/Scribus/scribus/plugins/scripter/api_page.cpp:293:
> error: invalid use of incomplete type ‘struct PropertiesPalette_Text’
> /Users/jainbasil/Projects/scribus_svn/trunk/Scribus/scribus/ui/propertiespalette.h:40:
> error: forward declaration of ‘struct PropertiesPalette_Text’
> /Users/jainbasil/Projects/scribus_svn/trunk/Scribus/scribus/plugins/scripter/api_page.cpp:294:
> error: invalid use of incomplete type ‘struct PropertiesPalette_Text’
> /Users/jainbasil/Projects/scribus_svn/trunk/Scribus/scribus/ui/propertiespalette.h:40:
> error: forward declaration of ‘struct PropertiesPalette_Text’
> /Users/jainbasil/Projects/scribus_svn/trunk/Scribus/scribus/plugins/scripter/api_page.cpp:295:
> error: invalid use of incomplete type ‘struct PropertiesPalette_Line’
> /Users/jainbasil/Projects/scribus_svn/trunk/Scribus/scribus/ui/propertiespalette.h:38:
> error: forward declaration of ‘struct PropertiesPalette_Line’
> make[2]: ***
> [scribus/plugins/scripter/CMakeFiles/scripter.dir/api_page.cpp.o] Error 1
> make[1]: *** [scribus/plugins/scripter/CMakeFiles/scripter.dir/all]
> Error 2
> make: *** [all] Error 2
>
>


Just looks like some missing includes..

Craig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20110406/16753409/attachment.pgp>


More information about the scribus-dev mailing list