Running the build on mac

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Running the build on mac

Elizabeth Kirby
Hi all,

  I'm trying to get inkscape to run on the mac.   I downloaded a zip of the code (recently) & installed a handful of packages using ports.   There was one dependency that I couldn't get to resolve using any ports package, which is libsoup.   I installed it using brew & then the code will compile.

  It will run, but not correctly.   I put in a symlink from /usr/share/inkscape to my build tree share directory & it does load the items on the right & left sides, but without any of the images that tell what they are.   I would rather not have a symlink in /usr/share, but instead just have the build read from the build tree.

  Are there any people developing on mac out there that can share their configuration & settings & tell me what parameters need to be set & where?

  Thanks,  Beth

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Reply | Threaded
Open this post in threaded view
|

Re: Running the build on mac

Shlomi Fish
Hi Beth,

On Mon, 5 Mar 2018 15:18:13 -0800
Elizabeth Kirby <[hidden email]> wrote:

> Hi all,
>
>   I'm trying to get inkscape to run on the mac.   I downloaded a zip of the
> code (recently) & installed a handful of packages using ports.  

Which "zip"? The source code is normally in a compressed tarball.

> There was
> one dependency that I couldn't get to resolve using any ports package,
> which is libsoup.   I installed it using brew & then the code will compile.
>
>   It will run, but not correctly.   I put in a symlink from
> /usr/share/inkscape to my build tree share directory & it does load the
> items on the right & left sides, but without any of the images that tell
> what they are.   I would rather not have a symlink in /usr/share, but
> instead just have the build read from the build tree.
>
>   Are there any people developing on mac out there that can share their
> configuration & settings & tell me what parameters need to be set & where?
>
>   Thanks,  Beth

Did you do "cmake -D…" followed by "make" and "make install"? See inkscape* at
https://github.com/shlomif/shlomif-computer-settings/tree/master/shlomif-settings/build-scripts/build .





--
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Best Introductory Programming Language - http://shlom.in/intro-lang

ANSI C - There is usually one way to do it, but there’s more than one way to
optimise it.
    — http://www.shlomifish.org/humour/ways_to_do_it.html

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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Reply | Threaded
Open this post in threaded view
|

Re: Running the build on mac

Elizabeth Kirby


On Tue, Mar 6, 2018 at 2:38 AM, Shlomi Fish <[hidden email]> wrote:
Hi Beth,

On Mon, 5 Mar 2018 15:18:13 -0800
Elizabeth Kirby <[hidden email]> wrote:

> Hi all,
>
>   I'm trying to get inkscape to run on the mac.   I downloaded a zip of the
> code (recently) & installed a handful of packages using ports.

Which "zip"? The source code is normally in a compressed tarball.

  I got the code from the gitlab site.  It gives the option to download as a zip (& tarball, etc) 

>
>   Are there any people developing on mac out there that can share their
> configuration & settings & tell me what parameters need to be set & where?
>
>   Thanks,  Beth

Did you do "cmake -D…" followed by "make" and "make install"? See inkscape* at
https://github.com/shlomif/shlomif-computer-settings/tree/master/shlomif-settings/build-scripts/build .

   I'm hoping to run (& debug) from the build tree.   I would prefer to keep each dev environment contained in one place as much as possible.  I suppose I can make CMAKE_INSTALL_PREFIX point back into the build tree -- that might work.

  Thanks,  Beth


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Reply | Threaded
Open this post in threaded view
|

Re: Running the build on mac

Marc Jeanmougin
Hi,

On 03/06/2018 10:16 PM, Elizabeth Kirby wrote:
>    I'm hoping to run (& debug) from the build tree.   I would prefer to
> keep each dev environment contained in one place as much as possible.  I
> suppose I can make CMAKE_INSTALL_PREFIX point back into the build tree
> -- that might work.

That should work, it's actually what I recommend, and what we do in the
CI[1] (what's also possible is to declare the source tree as the install
dir to not be forced to do "make install"[2])

--
Mc

[1] https://gitlab.com/inkscape/inkscape/blob/master/.gitlab-ci.yml#L25
[2] https://gitlab.com/inkscape/inkscape/blob/master/doc/HACKING.txt#L68


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Running the build on mac

Shlomi Fish
In reply to this post by Elizabeth Kirby
Hi Beth!

thanks for replying to the list.

On Tue, 6 Mar 2018 13:16:55 -0800
Elizabeth Kirby <[hidden email]> wrote:

> On Tue, Mar 6, 2018 at 2:38 AM, Shlomi Fish <[hidden email]> wrote:
>
> > Hi Beth,
> >
> > On Mon, 5 Mar 2018 15:18:13 -0800
> > Elizabeth Kirby <[hidden email]> wrote:
> >  
> > > Hi all,
> > >
> > >   I'm trying to get inkscape to run on the mac.   I downloaded a zip of  
> > the  
> > > code (recently) & installed a handful of packages using ports.  
> >
> > Which "zip"? The source code is normally in a compressed tarball.
> >  
>
>   I got the code from the gitlab site.  It gives the option to download as
> a zip (& tarball, etc)
>

Well using git ( https://en.wikipedia.org/wiki/Git ) for that will be
preferable.

> >  
> > >
> > >   Are there any people developing on mac out there that can share their
> > > configuration & settings & tell me what parameters need to be set &  
> > where?  
> > >
> > >   Thanks,  Beth  
> >
> > Did you do "cmake -D…" followed by "make" and "make install"? See
> > inkscape* at
> > https://github.com/shlomif/shlomif-computer-settings/
> > tree/master/shlomif-settings/build-scripts/build .
> >  
>
>    I'm hoping to run (& debug) from the build tree.   I would prefer to
> keep each dev environment contained in one place as much as possible.  I
> suppose I can make CMAKE_INSTALL_PREFIX point back into the build tree --
> that might work.
>

I'd recommend against that to avoid clutter and confusion and in order to not
confuse "git diff" and "git status". You can always set up a parent directory
with src/ build/ and app/ sub-dirs.

>   Thanks,  Beth



--
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
http://youtu.be/xZLwtc9x4yA - Anime in Real Life!! (Parody)

SMG: It was 1997-1998ish, Buffy started airing. So one day a group of
yeshivah pupils arrived to the studios saying they have some numereological
insights from the Jewish bible, about what will happen in Sunnydale next.
    — http://www.shlomifish.org/humour/Summerschool-at-the-NSA/

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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel