[scribus] Installing Scribus-1.3.3.14 on RedHat 5.3 with cmake 2.6

fran.renard at free.fr fran.renard at free.fr
Tue Dec 7 15:26:56 CET 2010


I replaced all DESTINATIONS by the true path in the CMakeLists.txt files (somewhat boring !) and the cmake run.

But now, the make don't run. It seems as the qt includes are not found :
I tried to use : -DQT_QMAKE_EXECUTABLE:PATH=/usr/lib64/qt-3.3/bin with cmake, but without success.

/home/user/scribus/scribus-1.3.3.14/build}199 > make
Scanning dependencies of target scribus_text_lib
[  1%] Building CXX object text/CMakeFiles/scribus_text_lib.dir/storytext.o
/home/user/scribus/scribus-1.3.3.14/scribus/text/storytext.cpp:2:24: error: qvaluelist.h: No such file or directory
In file included from /home/user/scribus/scribus-1.3.3.14/scribus/text/storytext.cpp:4:
/home/user/scribus/scribus-1.3.3.14/scribus/fpoint.h:27:20: error: qpoint.h: No such file or directory
In file included from /home/user/scribus/scribus-1.3.3.14/scribus/text/storytext.cpp:5:
/home/user/scribus/scribus-1.3.3.14/scribus/sctextstruct.h:22:21: error: qstring.h: No such file or directory
In file included from /home/user/scribus/scribus-1.3.3.14/scribus/text/storytext.cpp:6:
/home/user/scribus/scribus-1.3.3.14/scribus/text/storytext.h:5:26: error: qvaluevector.h: No such file or directory
/home/user/scribus/scribus-1.3.3.14/scribus/text/storytext.h:6:24: error: qptrvector.h: No such file or directory
/home/user/scribus/scribus-1.3.3.14/scribus/text/storytext.h:7:22: error: qptrlist.h: No such file or directory
In file included from /home/user/scribus/scribus-1.3.3.14/scribus/text/storytext.cpp:7:
/home/user/scribus/scribus-1.3.3.14/scribus/scribus.h:33:26: error: qapplication.h: No such file or directory
/home/user/scribus/scribus-1.3.3.14/scribus/scribus.h:34:25: error: qmainwindow.h: No such file or directory
/home/user/scribus/scribus-1.3.3.14/scribus/scribus.h:35:21: error: qaction.h: No such file or directory
/home/user/scribus/scribus-1.3.3.14/scribus/scribus.h:36:22: error: qmenubar.h: No such file or directory
/home/user/scribus/scribus-1.3.3.14/scribus/scribus.h:37:24: error: qpopupmenu.h: No such file or directory
etc.....

Any idea ?
Thanks
François


----- Mail Original -----
De: "fran renard" <fran.renard at free.fr>
À: "mailinglist scribus" <scribus at lists.scribus.net>
Envoyé: Mardi 7 Décembre 2010 13h46:58 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: [scribus] Installing Scribus-1.3.3.14 on RedHat 5.3 with cmake 2.6

Hello,

I'd like to install Scribus-1.3.3.14 locally on a RedHat5.3 (64 bits)/Linux PC (I'm not administrator).

I've downloaded scribus-1.3.3.14.tar.bz2 and unpacked it locally. I've get a scribus-1.3.3.14 directory.

I've created a "install" and a "build" directory, on the same level as the source "scribus" directory, in the scribus-1.3.3.14 directory.
In the build directory, I've done :

cmake ../scribus -DCMAKE_INSTALL_PREFIX:PATH=/home/username/scribus-1.3.3.14/install
(here ../scribus is the source directory)

and obtained the messages below.

Can anybody tell me what is wrong ?
(posted a second time because no answer the first time !)


Thank you
François


CMake is a 2.6 version :
> cmake --version
cmake version 2.6-patch 0
Redhat is 5.3 :
> cat /etc/redhat-release
Red Hat Enterprise Linux Client release 5.3 (Tikanga)

> cmake ../scribus -DCMAKE_INSTALL_PREFIX:PATH=/home/user/scribus-1.3.3.14/install/
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at icons/CMakeLists.txt:6 (INSTALL):
  install FILES given no DESTINATION!


CMake Error at plugins/barcodegenerator/CMakeLists.txt:32 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "barcodegenerator".


CMake Error at plugins/colorwheel/CMakeLists.txt:30 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "colorwheel".


CMake Error at plugins/fileloader/oldscribusformat/CMakeLists.txt:24 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "oldscribusformat".


CMake Error at plugins/fileloader/oodraw/CMakeLists.txt:23 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target "oodrawimp".


CMake Error at plugins/fontpreview/CMakeLists.txt:32 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "fontpreview".


CMake Error at plugins/newfromtemplateplugin/CMakeLists.txt:27 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "newfromtemplateplugin".


CMake Error at plugins/psimport/CMakeLists.txt:24 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target "importps".


CMake Error at plugins/psimport/CMakeLists.txt:30 (INSTALL):
  install FILES given no DESTINATION!


CMake Error at plugins/pixmapexport/CMakeLists.txt:24 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "scribusexportpixmap".


CMake Error at plugins/saveastemplateplugin/CMakeLists.txt:24 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "saveastemplateplugin".


CMake Error at plugins/scriptplugin/samples/CMakeLists.txt:5 (INSTALL):
  install FILES given no DESTINATION!


CMake Error at plugins/scriptplugin/scripts/CMakeLists.txt:5 (INSTALL):
  install FILES given no DESTINATION!


CMake Error at plugins/scriptplugin/CMakeLists.txt:51 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "scriptplugin".


CMake Error at plugins/short-words/CMakeLists.txt:30 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "scribusshortwords".


CMake Error at plugins/svgexplugin/CMakeLists.txt:22 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "svgexplugin".


CMake Error at plugins/svgimplugin/CMakeLists.txt:22 (INSTALL):
  install TARGETS given no LIBRARY DESTINATION for module target
  "svgimplugin".


CMake Error at templates/CMakeLists.txt:6 (INSTALL):
  install FILES given no DESTINATION!


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 done

_______________________________________________
scribus mailing list
scribus at lists.scribus.net
http://lists.scribus.net/mailman/listinfo/scribus



More information about the scribus mailing list