View Issue Details

IDProjectCategoryView StatusLast Update
0009030ScribusBuild Systempublic2010-12-10 14:52
Reportersubeditor Assigned Tocbradney  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionno change required 
PlatformPC AMD64 X2, Ati Radeon 3200OSUbuntuOS Version9.10
Product Version1.5.0svn 
Summary0009030: Error building version 1.5
DescriptionI decide to test version 1.5.
When trying to build Cmake return following errors:

CMake Error at styles/CMakeLists.txt:20 (QT4_WRAP_CPP):
  Unknown CMake command "QT4_WRAP_CPP".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present. A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file. The version specified may be lower
  if you wish to support older CMake versions for this project. For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!

=======================

My Cmake version is 2.6.4, latest Qt is installed too.
Steps To ReproduceGet Scribus 1.5 from SVN.
Run /usr/bin/cmake ../scribus -DCMAKE_INSTALL_PREFIX:PATH=/home/anton/scribus1.5.0
TagsNo tags attached.
Patch

Activities

subeditor

2010-04-19 17:01

reporter   ~0023727

Btw, there is letter case error in path in source files:

The source directory "/home/anton/scribus1.5.0/Scribus/Scribus" does not exist.

True path is /home/anton/scribus1.5.0/Scribus/scribus

subeditor

2010-04-21 09:51

reporter   ~0023743

Tried to build 1.3.7svn:

anton@semiramis:~/scribus135$ /usr/bin/cmake ../scribus135 -DCMAKE_INSTALL_PREFIX:PATH=/home/anton/scribus1.3.5

-- Scribus 1.3.7.svn will be built to install into /home/anton/scribus1.3.5
-- Machine: x86_64-linux-gnu, void pointer size: 8
-- Found target X86
-- Found target X86_64
-- Building for target x86_64-linux-gnu
-- Using standard ApplicationDataDir. You can change it with -DAPPLICATION_DATA_DIR
CMake Error at /usr/share/cmake-2.6/Modules/FindQt4.cmake:640 (MESSAGE):
  Could NOT find QtCore header
Call Stack (most recent call first):
  CMakeLists.txt:472 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

jghali

2010-04-21 10:22

administrator   ~0023744

>> Could NOT find QtCore header

You have to install qt-devel package

subeditor

2010-04-21 11:26

reporter   ~0023749

Thanks!
There were more missing packages.
Their names given in manual (http://wiki.scribus.net/index.php/Building_CVS_versions_with_CMake#Getting_All_the_Things_You_Need) differ a bit from ones given in Synaptic package manager.
For lamers like me for it's enough to get stuck.

subeditor

2010-04-21 13:38

reporter   ~0023751

After installing several packages I manage to build and install version 1.5.0svn.
Please, close this bug.
But first please tell me: icons missing on all buttons due to testing status of 1.5 or it's my building bug?
Thanks again!

jghali

2010-04-21 14:57

administrator   ~0023753

>> But first please tell me: icons missing on all buttons due to testing status of 1.5 or it's my building bug?

After building and before using, one has to "make install" (possibly as root user if using the default prefix).

subeditor

2010-04-21 18:16

reporter  

noicons.png (137,819 bytes)   
noicons.png (137,819 bytes)   

subeditor

2010-04-21 18:17

reporter   ~0023754

Yes, I did. See picture for result:

http://bugs.scribus.net/file_download.php?file_id=4708&type=bug

cbradney

2010-04-21 19:05

administrator   ~0023755

Its a wiki.. feel free to edit it, and let people know what packages you needed. Thanks!

subeditor

2010-05-08 07:34

reporter   ~0023880

Last edited: 2010-05-09 20:41

I upgraded to Ubuntu 10.04, similar error occurs:

CMake Error at styles/CMakeLists.txt:20 (QT4_WRAP_CPP):
  Unknown CMake command "QT4_WRAP_CPP".

Cmake version 2.8, QT and QT-devel (libqt4-dev, version 4:4.6.2-0ubuntu5) installed.
Did I miss something again?

UPD: That was Cairo thing I missed... Building in progress.

Issue History

Date Modified Username Field Change
2010-04-19 16:38 subeditor New Issue
2010-04-19 17:01 subeditor Note Added: 0023727
2010-04-20 03:34 christoph_s Status new => assigned
2010-04-20 03:34 christoph_s Assigned To => cbradney
2010-04-21 09:51 subeditor Note Added: 0023743
2010-04-21 10:22 jghali Note Added: 0023744
2010-04-21 11:26 subeditor Note Added: 0023749
2010-04-21 13:38 subeditor Note Added: 0023751
2010-04-21 14:57 jghali Note Added: 0023753
2010-04-21 18:16 subeditor File Added: noicons.png
2010-04-21 18:17 subeditor Note Added: 0023754
2010-04-21 19:05 cbradney Note Added: 0023755
2010-05-08 07:34 subeditor Note Added: 0023880
2010-05-09 20:41 subeditor Note Edited: 0023880
2010-12-10 14:51 plinnell Status assigned => resolved
2010-12-10 14:51 plinnell Resolution open => no change required
2010-12-10 14:52 plinnell Status resolved => closed