On 2 September 2015 at 15:52, Shlomi Fish <shlomif@...2985...> wrote:
Hi Olof,

On Wed, 2 Sep 2015 15:03:50 +0200
Olof Bjarnason <olof.bjarnason@...400...> wrote:

> Mvh
>
>
> /Olof
> -----------------
> Trött på virus, seg dator och allmänt Windowsstrul?
> Pröva något nytt istället - Ubuntu!
> http://uboot.nu
>
> On 2 September 2015 at 14:55, Tobias Ellinghaus <houz@...173...> wrote:
>
> > Am Mittwoch, 2. September 2015, 13:15:50 schrieb Alex Valavanis:
> > > Hi Olof, Shlomi,
> > >
> > > autotools builds are the official recommendation for 0.91. CMake still
> > > needs some work, and doesn't fully support all options.
> > >
> > > I think the consensus at present is that supporting two build systems is
> > > unsustainable and we intend to do the following:
> > >
> > > 1. Fix CMake builds for the next release, make this the official build
> > > system and deprecate the autotools builds.
> > > 2. Remove the autotools builds in the following release
> > > 3. Potentially move to the Waf build system in the following release
> >
> > So all the effort put into CMake are wasted time since you will replace it
> > with Waf? Why the intermediate step of CMake then?
> >
> > > Any feedback on your experience with CMake would be greatly appreciated!
> >
> > For me CMake works nicely, at least for a general build. I didn't add
> > inkview
> > (i never used that myself) nor did i try to add switches for GTK3 and all
> > the
> > other options, but plain standard install just works. I build it like this:
> >
> > mkdir build
> > cd build
> > CFLAGS="-O3 -g" CXXFLAGS=${CFLAGS} cmake
> > -DCMAKE_INSTALL_PREFIX=/opt/inkscape/
> > ..
> > make -j install
> >
>
> Thank you Tobias - but you missed the "../inscape" argument at the end of
> the cmake command line, right?

No, he had a ".." instead . The last argument to cmake should be the path to
the sources (with the top-level CMakeLists.txt file/etc.)
Ah, I see it now.
 

>
> Even after fixing that typo, I get the same error as when I got help from
> Shumis' build script:
>

It's "Shlomi". Since many non-Hebrew speakers have some difficulties with this
name, I also go by the nickname “Rindolf” - see
http://www.shlomifish.org/me/rindolf/ .
Shlomi - Sorry about that. Many call med "Olaf" as it's the most popular way to spell the name, so I no the pain ;)


> CMake Error at
> /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:
> 108 (message):
>   Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
> Call Stack (most recent call first):
>   /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315
> (_FPHSA_F
> AILURE_MESSAGE)
>   /usr/share/cmake-2.8/Modules/FindJPEG.cmake:31
> (FIND_PACKAGE_HANDLE_STANDARD_A
> RGS)
>   CMakeScripts/DefineDependsandFlags.cmake:184 (FIND_PACKAGE)
>   CMakeLists.txt:95 (include)
>

You need to install the libjpeg's development package. What is your operating
system, distribution, their versions, etc.?

I'm on Ubuntu 14.04.

I installed all packages mentioned on this page:
http://wiki.inkscape.org/wiki/index.php/CompilingUbuntu#Installing_dependencies

I also had to add "bzr" and "ccache", which is strictly required to build the trunk version of Inkscape.

Of course I also added "cmake" which was the whole point of trying out cmake instead of autogen+configure :).

I also tried installing all the additional packages mentioned on that wiki page too, but it did not help.

I do understand that I need the JPEG dev package, but if it JPEG lib is a strict requirement to build Inkscape, it should be listed on the wiki.



Regards,

        Shlomi Fish

--
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Rethinking CPAN - http://shlom.in/rethinking-cpan

We agree. But do we agree to agree?

Please reply to list if it's a mailing list post - http://shlom.in/reply .

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1794...s.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel