<div dir="ltr">Hi Steve,<div><br></div><div>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.</div><div><br></div><div>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</div><div><br></div><div>jhbuild bootstrap</div><div>jhbuild python</div><div>jhbuild build meta-gtk-osx-bootstrap</div><div>jhbuild build meta-gtk-osx-core<br></div><div><br></div><div>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.</div><div><br></div><div><div>Apart from that everything else should work as described here:</div><div><br></div><div><a href="https://github.com/geany/geany-osx">https://github.com/geany/geany-osx</a><br></div></div><div><br></div><div>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</div><div><br></div><div>jhbuild shell</div><div><br></div><div>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.</div><div><br></div><div>Let me know if you run into more problems.</div><div><br></div><div>Cheers,</div><div><br></div><div>Jiri</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 22, 2017 at 12:00 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="#0563C1" vlink="#954F72"><div class="m_-8999084200649864809WordSection1"><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>…<u></u><u></u></span></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"<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">     83401 Abort trap: 6           | python - >&/dev/null<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">not found<u></u><u></u></span></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<u></u><u></u></span></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]<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 configure<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 build<u></u><u></u></span></p><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" style="margin-left:.5in"><span style="font-family:"Courier New"">  [7] Go to phase "clean"<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><span style="font-family:"Courier New"">  [8] Go to phase "distclean"<u></u><u></u></span></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/<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">But not the ..so file.<u></u><u></u></p><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></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>