<span style="font-family: Arial; font-size:12pt">Thanks again for the quick reply.<br><br>When you say to use a separate account, do you mean a different login to osx?  I'm not sure I can do that since this is a laptop I was issued from work that I wish to use geany plugins on.  I think my best bet is to uninstall any homebrew (and macport?) gtk libraries and try again.  <br><br>Sorry I made you repeat your initial advice.  I should have mentioned I didn't think I could try another account.  If removing homebrew and deleting the gtk directory don't fix it, I suppose using jhbuild python is my next best option from your original email.<br><br>Thanks,<br><br>Steve</span><span style="font-family: Arial;"><br><br>-------- Original Message --------<br>From:Jiří Techet <techet@gmail.com><br>Sent:Sat, 30 Sep 2017 13:15:16 -0600<br>To:Geany development list <devel@lists.geany.org><br>Subject:Re: [Geany-Devel] OSX plugin development<br><br></span><div dir="ltr">Hi Steve,<div><br></div><div>I found this issue</div><div><br></div><div><a href="https://gitlab.kitware.com/cmake/cmake/issues/17101">https://gitlab.kitware.com/cmake/cmake/issues/17101</a><br></div><div><br></div><div>not sure if it's related.</div><div><br></div><div>In your case I suspect either some clash with Homebrew (in this case I recommend building in a separate account) or that you built part of the dependencies on previous macOS system and then upgraded to High Sierra where symbols in system libraries may differ. In this case I'd suggest deleting the whole gtk directory and starting over to make sure everything is built on the new system.</div><div><br></div><div>Jiri</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 30, 2017 at 1:09 AM,  <span dir="ltr"><<a href="mailto:steve8track@yahoo.com" target="_blank">steve8track@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div class="m_-3749441300427475100WordSection1"><p class="MsoNormal">Ok, so I got through the dependencies (meta-gtk-osx-core), and ran:<u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">export LC_ALL=en_US.UTF-8<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">export LANG=en_US.UTF-8<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">jhbuild -m geany.modules build geany-bundle<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">…<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">*** Building libgit2 *** [14/26]<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">make -j 9<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">[  0%] Linking C shared library libgit2.dylib<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">[ 79%] Built target libgit2_clar<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">dyld: lazy symbol binding failed: Symbol not found: _utimensat<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  Referenced from: /Users/sblatnick/gtk/inst/bin/<wbr>cmake<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  Expected in: /usr/lib/libSystem.B.dylib<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">dyld: Symbol not found: _utimensat<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  Referenced from: /Users/sblatnick/gtk/inst/bin/<wbr>cmake<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  Expected in: /usr/lib/libSystem.B.dylib<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">make[2]: *** [libgit2.dylib] Abort trap: 6<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">make[2]: *** Deleting file `libgit2.dylib'<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">make[1]: *** [CMakeFiles/git2.dir/all] Error 2<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">make: *** [all] Error 2<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">*** Error during phase build of libgit2: ########## Error running make -j 9  *** [14/26]<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New""><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [1] Rerun phase build<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [2] Ignore error and continue to install<u></u><u></u></span></p><span class=""><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [3] Give up on module<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [4] Start shell<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [5] Reload configuration<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [6] Go to phase "wipe directory and start over"<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></span><p class="MsoNormal">I’m not sure what is going wrong with building geany itself.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Steve<u></u><u></u></p><span class=""><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>From:</b> Devel [mailto:<a href="mailto:devel-bounces@lists.geany.org" target="_blank">devel-bounces@lists.<wbr>geany.org</a>] <b>On Behalf Of </b>Jirí Techet<br><b>Sent:</b> Friday, September 22, 2017 3:02 AM<br><b>To:</b> Geany development list <<a href="mailto:devel@lists.geany.org" target="_blank">devel@lists.geany.org</a>><br><b>Subject:</b> Re: [Geany-Devel] OSX plugin development<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></span><div><p class="MsoNormal">Hi Steve,<u></u><u></u></p><div><div class="h5"><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I slightly remember I got an error like this one in the past but I don't remember what exactly the problem was. Anyway, it's not good to mix dependencies from homebrew and jhbuild. If you have some environment variables set up to link against homebrew libraries, this is what could cause problems. I created a separate account on my machine from which I do the Geany build to be sure nothing like that is set up.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">If you keep getting the error, you might also consider building python as part of the build process which is then used instead of the system python for the rest of the build. This means running<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">jhbuild bootstrap<u></u><u></u></p></div><div><p class="MsoNormal">jhbuild python<u></u><u></u></p></div><div><p class="MsoNormal">jhbuild build meta-gtk-osx-bootstrap<u></u><u></u></p></div><div><p class="MsoNormal">jhbuild build meta-gtk-osx-core<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">When doing a change like that, it's best to remove the gtk directory because it changes dependencies and basically everything has to be rebuilt.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div><p class="MsoNormal">Apart from that everything else should work as described here:<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><a href="https://github.com/geany/geany-osx" target="_blank">https://github.com/geany/<wbr>geany-osx</a><u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">When al the dependencies are built, you should be able to use the same stuff you use under linux for building your plugin. But be sure to run the build within a jhbuild shell - you need to run<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">jhbuild shell<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">which sets up the environment variables to use the dependencies built by jhbuild after you should be able to build your plugin in a normal way.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Let me know if you run into more problems.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Cheers,<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Jiri<u></u><u></u></p></div></div></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><div><div class="h5"><p class="MsoNormal">On Fri, Sep 22, 2017 at 12:00 AM, <<a href="mailto:steve8track@yahoo.com" target="_blank">steve8track@yahoo.com</a>> wrote:<u></u><u></u></p></div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><div><div class="h5"><p class="MsoNormal">I’m trying to build plugins in OSX, and I’m a bit out of my element.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">(I’ve had problems with my yahoo email not getting through to this list, but I haven’t had a chance to switch email accounts.  I hope this makes it.)<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I’m following the guide on <a href="https://github.com/geany/geany-osx" target="_blank">https://github.com/geany/<wbr>geany-osx</a><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I get stuck running in step 6:<u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">jhbuild build meta-gtk-osx-bootstrap<br>…</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">checking for python module libxml2... ./configure: line 2422: 83400 Done                    echo "import $py_module"</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">     83401 Abort trap: 6           | python - >&/dev/null</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">not found</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">configure: error: Python module libxml2 is needed to run this package</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">*** Error during phase configure of itstool: ########## Error running ../configure --prefix /Users/steve/gtk/inst    *** [7/12]</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New""> </span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [1] Rerun phase configure</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [2] Ignore error and continue to build</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [3] Give up on module</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [4] Start shell</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [5] Reload configuration</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [6] Go to phase "wipe directory and start over"</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [7] Go to phase "clean"</span><u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [8] Go to phase "distclean"</span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I’ve installed libxml2 via homebrew, and py-libxml2 and py27-libxml2 via macports to no avail.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">I figured out how to build the .o file for one of my plugins:<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">gcc -c quick-search.c -fPIC -std=c99 -DGTK -I /Users/steve/projects/geany/<wbr>geany/plugins/ -I /Users/steve/projects/geany/<wbr>geany/src/ -I /Users/steve/projects/geany/<wbr>geany/tagmanager/src/  -I /Users/steve/projects/geany/<wbr>geany/scintilla/include/ `pkg-config --cflags glib-2.0` `pkg-config --cflags gtk+-2.0` -I /Users/steve/projects/geany/<wbr>geany/scintilla/</span><u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal">But not the ...so file.<u></u><u></u></p><span class=""><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Thanks for any help,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Steve<u></u><u></u></p></span></div></div><span class=""><p class="MsoNormal" style="margin-bottom:12.0pt"><br>______________________________<wbr>_________________<br>Devel mailing list<br><a href="mailto:Devel@lists.geany.org" target="_blank">Devel@lists.geany.org</a><br><a href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/devel</a><u></u><u></u></p></span></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div><br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@lists.geany.org">Devel@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://lists.geany.org/cgi-<wbr>bin/mailman/listinfo/devel</a><br>
<br></blockquote></div><br></div>