|· Hosting provided by Anduin.net / Øverby Consulting ·|
|Anonymous | Login | Signup for a new account||2015-03-29 03:05 CEST|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0010640||Scribus||Documentation||public||2012-03-26 05:45||2014-06-22 11:49|
|Platform||Mac OS X||OS||OS Version|
|Target Version||Fixed in Version|
|Summary||0010640: Installing_from_SVN_on_Mac_OS_X Wiki is out-of-date.|
|Description||Scribus Wiki (http://wiki.scribus.net/canvas/Installing_from_SVN_on_Mac_OS_X [^]) says that cmake command should be: |
cmake -DBUILD_OSX_BUNDLE=1 -DWANT_CAIRO=1 -DCMAKE_INSTALL_PREFIX:PATH=/Users/<your username>/Applications/Scribus.App/Contents/ ../trunk/Scribus/
However, as of 1.4.x, install path should be:
Other than that,
. WANT_CAIRO is not used ( so, should be removed )
. podofo should be mentioned as a required libary as Windows Wiki.
|Tags||No tags attached.|
Why should the install path be as you suggest?
Why should podofo be marked as required? Its not required.
Can you really build with the instruction in current page ?
If CMAKE_INSTALL_PREFIX:PATH=/Users/<your username>/Applications/Scribus.App/Contents/, cmake 2.8.7 builds Scribus.App/... in the path. So, Scribus.App/Contents/Scribus.App/... is built.
If podofo is not installed, cmake complains.
Podofo is listed as a required in :
, so it is consistent to list it on Mac build page.
Yes.. my cmake line is:
cmake -DWANT_GUI_LANG="en_GB;de;fr;en" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DWANT_ENCHANT=1 -DWANT_QT4MAC_COCOA=1 -DBUILD_OSX_BUNDLE=1 -DWANT_NOHEADERINSTALL=1 -DWANT_UNIVERSAL_BUNDLE=0 -DWANT_DEBUG=1 -DCMAKE_INSTALL_PREFIX:PATH=/Users/craig/Applications/Scribus140.app/Contents/ ../Version14x/Scribus/
|malex, jghali.. any idea why podofo is set as required on those pages? It is not a build requirement|
I do not see where podofo is listed as a requirement in cmake related instructions. It is a dependency yes, but optional.
On Windows, building with cmake has not really go past experimental stage and build instructions :
1) clearly mentions cmake is not the preferred way to build scribus on Windows
2) clearly mentions that user must retrieve latest build instructions in svn
Latest build instructions available on svn use the visual studio projects available in win32 directory. And for building with visual studio projects, podofo is required.
Your cmake command line is different from the one on the page.
Does it affect the build location ?
Does the instructed cmake line really build correctly Scribus.app/Contents/* ?
edited on: 2012-04-02 03:27
As cmake displays warning about importai/importps if podofo is not installed, it is more user-friendly to mention podofo as an optional dependency like the other platform-specific pages.
I built Scribus on several Mac OS X installations according to the instruction using macports, and always had to change CMAKE_INSTALL_PREFIX:PATH to avoid generating nested Scribus.app.
I use macports 2.0.4 and cmake 2,8.7, the latest ones as of today. Are they different from yours ?
Here is the output of my cmake in Scribus/build directory.
cmake -DBUILD_OSX_BUNDLE=1 -DCMAKE_INSTALL_PREFIX:PATH=/Users/nakamoto/Applications/ ../
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /Developer/usr/bin/gcc
-- Check for working C compiler: /Developer/usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /Developer/usr/bin/c++
-- Check for working CXX compiler: /Developer/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Scribus 1.4.1.svn will be built to install into /Users/nakamoto/Applications
-- Machine: i686-apple-darwin11, void pointer size: 8
-- Found target X86
-- Found Snow Leopard Target: Apple, 64 bit, X86
-- Building for target i686-apple-darwin11
-- APPLEBUNDLE install prefix: /Users/nakamoto/Applications/Scribus1.4.1.svn.app/Contents
-- Using standard ApplicationDataDir. You can change it with -DAPPLICATION_DATA_DIR
Setting x86_64 Architecture for OSX Build/Bundle
-- x86_64 /Developer/SDKs/MacOSX10.7.sdk
-- OSX Minimum Version: 10.6
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.0", required is "4.6.0")
Qt4 Found OK
-- Building without Qt3 Support (GOOD)
-- Found ZLIB: /usr/lib/libz.dylib
ZLIB Library Found OK
-- Found PNG: /opt/local/lib/libpng.dylib
Using PNG Library: /opt/local/lib/libpng.dylib
PNG Library Found OK
-- Found JPEG: /opt/local/lib/libjpeg.dylib
JPEG Library Found OK
-- Found TIFF: /opt/local/lib/libtiff.dylib
TIFF Library Found OK
-- Found PythonLibs: /usr/lib/libpython2.7.dylib
Python Library Found OK
-- Found Freetype: /opt/local/lib/libfreetype.dylib
-- FreeType2 Library Found OK
-- Looking for FT_Get_First_Char in /opt/local/lib/libfreetype.dylib
-- Looking for FT_Get_First_Char in /opt/local/lib/libfreetype.dylib - found
-- Looking for FT_Get_Next_Char in /opt/local/lib/libfreetype.dylib
-- Looking for FT_Get_Next_Char in /opt/local/lib/libfreetype.dylib - found
-- checking for one of the modules 'libcairo>=1.2.0;cairo>=1.2.0'
CAIRO Library Found OK
-- Looking for ippDeleteAttribute in cups
-- Looking for ippDeleteAttribute in cups - found
-- Found Cups: /usr/lib/libcups.dylib
CUPS Library Found OK
-- Found LibXml2: /opt/local/lib/libxml2.dylib
LIBXML2 Library Found OK
LCMS 2 ReleaseLibrary: /opt/local/lib/liblcms2.dylib
LCMS 2 Debug Library: LCMS2_LIBRARY_DEBUG-NOTFOUND
LCMS 2 Library: /opt/local/lib/liblcms2.dylib
LittleCMS Library >= 2.1 Found OK
-- checking for one of the modules 'fontconfig'
FontConfig Found OK
-- Could NOT find ASPELL (missing: ASPELL_LIBRARIES ASPELL_INCLUDE_DIR ASPELL_EXECUTABLE)
ASpell or its developer libraries NOT found - Disabling support for spell checking
PoDoFo found OK
-- Could NOT find HYPHEN (missing: HYPHEN_LIBRARY HYPHEN_INCLUDE_DIR)
system hyphenation library NOT found - will use internal one
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/stat.h
-- Looking for sys/stat.h - found
-- Looking for include files HAVE_ENDIAN_H
-- Looking for include files HAVE_ENDIAN_H - not found.
-- Looking for include files HAVE_FCNTL_H
-- Looking for include files HAVE_FCNTL_H - found
-- Boost version: 1.49.0
Boost Library Found OK
-- Boost: FOUND, building 2geomtools
-- Source header files will be installed
-- The following GUI languages will be installed:
-- Configuring done
CMake Warning at scribus/CMakeLists.txt:707 (ADD_EXECUTABLE):
Cannot generate a safe linker search path for target Scribus because files
in some directories may conflict with libraries in implicit directories:
link library [libpython2.7.dylib] in /usr/lib may be hidden by files in:
link library [libz.dylib] in /usr/lib may be hidden by files in:
Some of these libraries may not be found correctly.
-- Generating done
-- Build files have been written to: /Users/nakamoto/SVN/Scribus/build
The packaged Scribus.app has shared libraries inside.
It would be convenient for users that the page contains the information about the process of copying (and using install_name_tool to change the path ?).
edited on: 2014-06-13 03:08
Nakamoto, do you want access to the wiki to alter this page? Or you can tell me what to change and I will change it. I am the author of the http://wiki.scribus.net/canvas/Scribus_and_Homebrew [^] page. I haven't manually installed Scribus 1.5svn via SVN
EDIT: I've emphasized for users to use Scribus and Homebrew page instead.
edited on: 2014-06-13 11:57
I tried to build from svn (trunk) today, and failed.
1. Mac OS X 10.9 has <machine/endian.h>, but CMake fails in compiling a file which has <endian.h>.
2. Even after solving the problem above (by copying endian.h), the build fails in finding cairo, though cairo is already installed. Does it expect cairo under third_party directory rather than system default ?
So, I do not know what to say now.
I will try homebrew installation.
Edit: Installed, but does not work. "Scribus crashes due to Signal 0000011"
edited on: 2014-06-13 14:00
What version of OS X are you running?
re: compile directly from SVN
I haven't tried to compile trunk without a package manager. You are running in to some odd errors. I have not had an issue before the <endian.h>. Cairo package I installed via homebrew (through the formula) because it was more up-to-date (note: it also required Xquartz as a dependency IIRC).
re: Homebrew installation
Ok, so this compiled all the way with no issue and then you opened it up and it Signal 0000011'd you?
Do me a favor and run:
brew gist-logs scribus-dev
and then send me the url that's generated
Version = 10.9.3
Here you go:
|I don't see an issue here. Nakamoto come to IRC (Freenode #scribus) or lets communicate through ML. This is preferred than communicating through the bugtracker|
It looks like exiting for some reason. The log is:
com.apple.launchd.peruser.502: (net.scribus.381248) Exited with code: 255
|@nakamoto please listen to my previous request. This is not the place to troubleshoot the build. Connect through http://lists.scribus.net [^] or irc://irc.freenode.net/#scribus [^]|
|2012-03-26 05:45||nakamoto||New Issue|
|2012-03-27 21:00||cbradney||Note Added: 0027868|
|2012-03-27 23:33||nakamoto||Note Added: 0027870|
|2012-03-28 21:29||cbradney||Note Added: 0027874|
|2012-03-28 21:40||cbradney||Note Added: 0027875|
|2012-03-28 23:30||jghali||Note Added: 0027876|
|2012-03-28 23:33||nakamoto||Note Added: 0027877|
|2012-03-29 03:12||nakamoto||Note Added: 0027878|
|2012-04-02 03:27||nakamoto||Note Edited: 0027878||View Revisions|
|2012-04-05 03:47||nakamoto||Note Added: 0027900|
|2014-06-13 01:42||Kunda||Note Added: 0032121|
|2014-06-13 03:08||Kunda||Note Edited: 0032121||View Revisions|
|2014-06-13 11:37||nakamoto||Note Added: 0032138|
|2014-06-13 11:57||nakamoto||Note Edited: 0032138||View Revisions|
|2014-06-13 13:58||Kunda||Note Added: 0032143|
|2014-06-13 14:00||Kunda||Note Edited: 0032143||View Revisions|
|2014-06-14 08:38||cbradney||Status||new => resolved|
|2014-06-14 08:38||cbradney||Resolution||open => fixed|
|2014-06-14 08:38||cbradney||Assigned To||=> cbradney|
|2014-06-16 02:57||nakamoto||Note Added: 0032190|
|2014-06-16 03:05||Kunda||Note Added: 0032191|
|2014-06-16 03:23||nakamoto||Note Added: 0032192|
|2014-06-16 03:54||Kunda||Note Added: 0032193|
|2014-06-22 11:49||cbradney||Status||resolved => closed|
|My View | View Issues | Change Log | Roadmap|
|Copyright © 2000 - 2015 MantisBT Team|