[Geany-Devel] OSX plugin development

steve8track at yahoo.com steve8track at xxxxx
Thu Sep 21 22:00:04 UTC 2017


I'm trying to build plugins in OSX, and I'm a bit out of my element.

 

(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.)

 

I'm following the guide on https://github.com/geany/geany-osx

 

I get stuck running in step 6:

jhbuild build meta-gtk-osx-bootstrap
..

checking for python module libxml2... ./configure: line 2422: 83400 Done
echo "import $py_module"

     83401 Abort trap: 6           | python - >&/dev/null

not found

configure: error: Python module libxml2 is needed to run this package

*** Error during phase configure of itstool: ########## Error running
../configure --prefix /Users/steve/gtk/inst    *** [7/12]

 

  [1] Rerun phase configure

  [2] Ignore error and continue to build

  [3] Give up on module

  [4] Start shell

  [5] Reload configuration

  [6] Go to phase "wipe directory and start over"

  [7] Go to phase "clean"

  [8] Go to phase "distclean"

 

I've installed libxml2 via homebrew, and py-libxml2 and py27-libxml2 via
macports to no avail.

 

I figured out how to build the .o file for one of my plugins:

 

gcc -c quick-search.c -fPIC -std=c99 -DGTK -I
/Users/steve/projects/geany/geany/plugins/ -I
/Users/steve/projects/geany/geany/src/ -I
/Users/steve/projects/geany/geany/tagmanager/src/  -I
/Users/steve/projects/geany/geany/scintilla/include/ `pkg-config --cflags
glib-2.0` `pkg-config --cflags gtk+-2.0` -I
/Users/steve/projects/geany/geany/scintilla/

 

But not the .so file.

 

Thanks for any help,

 

Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20170921/4dd8f373/attachment.html>


More information about the Devel mailing list