gtk-osx-users Mailing List for GTK+ Mac OS X (Page 3)
Status: Beta
Brought to you by:
jralls
This list is closed, nobody may subscribe to it.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
(33) |
Aug
(12) |
Sep
(28) |
Oct
(1) |
Nov
(30) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(3) |
Feb
(22) |
Mar
(31) |
Apr
(49) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(42) |
Sep
(62) |
Oct
(11) |
Nov
(28) |
Dec
(16) |
2011 |
Jan
(11) |
Feb
(44) |
Mar
(43) |
Apr
(53) |
May
(54) |
Jun
(54) |
Jul
(15) |
Aug
(11) |
Sep
(8) |
Oct
(2) |
Nov
(4) |
Dec
(4) |
2012 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(6) |
Dec
(2) |
2013 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(8) |
Jul
(6) |
Aug
(4) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(1) |
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(18) |
Sep
|
Oct
|
Nov
|
Dec
(4) |
2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
(13) |
May
(5) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
(9) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Chris S. <cps...@ya...> - 2014-08-01 23:36:17
|
Hi, When I try to build WebKit I'm getting the following error: chris@New-MacBook~/Desktop/Programming/gtk/gtk+_test_4$ jhbuild build WebKit Warning: jhbuild is started from within a jhbuild session. *** Checking out libffi *** [1/18] *** Configuring libffi *** [1/18] ./configure --prefix /Users/chris/gtk/inst --libdir '/Users/chris/gtk/inst/lib' --disable-builddir checking build system type... i386-apple-darwin13.3.0 checking host system type... i386-apple-darwin13.3.0 checking target system type... i386-apple-darwin13.3.0 configure: toplevel srcdir already configured... skipping subdir build checking for gsed... sed checking for a BSD-compatible install... /Users/chris/.local/bin/install-check checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 checking whether the C compiler works... no configure: error: in `/Users/chris/gtk/source/atgreen-libffi-873d687': configure: error: C compiler cannot create executables See `config.log' for more details *** Error during phase configure of libffi: ########## Error running ./configure --prefix /Users/chris/gtk/inst --libdir '/Users/chris/gtk/inst/lib' --disable-builddir *** [1/18] [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" choice: Any idea what's going on. I'm running OSX 10.9.4. ________________________________ From: John Ralls <jr...@ce...> To: Chris Share <cps...@ya...>; GTK+-2 OSX Users <gtk...@li...> Sent: Friday, 1 August 2014 11:42 PM Subject: Re: [gtk-osx-users] [Gtk-osx-users] Getting Started with WebKitGTK+ On Aug 1, 2014, at 6:01 AM, Chris Share <cps...@ya...> wrote: Hi, > > >I'm currently developing an application that generates output best suited to web display. I'd like to use WebKitGTK+ to display the output to the user however I'm a bit unclear as to how to start. > > > >I've got GTK-OSX built and installed (although it hasn't been updated for a while). > > >Do I need to build or install anything in addition to the standard GTK_OSX installation to use WebKitGTK+? > > We've done something like that to generate reports in GnuCash for years, and the WebKit module (in gtk-osx-unsupported-modules) is tailored for just that purpose. If your app builds and runs correctly in Linux it should do in Gtk-OSX as well once you add WebKit as a dependency to your application's module. Regards, John Ralls |
From: John R. <jr...@ce...> - 2014-08-01 13:42:54
|
On Aug 1, 2014, at 6:01 AM, Chris Share <cps...@ya...> wrote: > Hi, > > I'm currently developing an application that generates output best suited to web display. I'd like to use WebKitGTK+ to display the output to the user however I'm a bit unclear as to how to start. > > I've got GTK-OSX built and installed (although it hasn't been updated for a while). > > Do I need to build or install anything in addition to the standard GTK_OSX installation to use WebKitGTK+? > We've done something like that to generate reports in GnuCash for years, and the WebKit module (in gtk-osx-unsupported-modules) is tailored for just that purpose. If your app builds and runs correctly in Linux it should do in Gtk-OSX as well once you add WebKit as a dependency to your application's module. Regards, John Ralls |
From: Chris S. <cps...@ya...> - 2014-08-01 13:04:30
|
Hi, I'm currently developing an application that generates output best suited to web display. I'd like to use WebKitGTK+ to display the output to the user however I'm a bit unclear as to how to start. I've got GTK-OSX built and installed (although it hasn't been updated for a while). Do I need to build or install anything in addition to the standard GTK_OSX installation to use WebKitGTK+? Cheers, Chris |
From: Twitter <con...@tw...> - 2013-12-03 19:45:19
|
Jacob Juul Kolding is still waiting for you to join Twitter... Twitter helps you stay connected with what's happening right now and with the people and organizations you care about. Accept invitation https://twitter.com/i/f1690c09-1f6a-47ec-a643-91f5e9dc28d7 -- This message was sent by Twitter on behalf of Twitter users who entered your email address to invite you to Twitter. Unsubscribe: https://twitter.com/i/o?t=1&iid=3ed978b602f04b2b8a7e99bd7e206163&uid=0&c=D%2F%2BU0aaCHwq5symIOX04HweCxB75M2bxDB1hr0dCnJHwPgbVuO5ppg%3D%3D&nid=67+26+20131202 Need help? https://support.twitter.com |
From: Twitter <con...@tw...> - 2013-11-29 21:12:19
|
Jacob Juul Kolding is still waiting for you to join Twitter... Twitter helps you stay connected with what's happening right now and with the people and organizations you care about. Accept invitation https://twitter.com/i/f1690c09-1f6a-47ec-a643-91f5e9dc28d7 -- This message was sent by Twitter on behalf of Twitter users who entered your email address to invite you to Twitter. Unsubscribe: https://twitter.com/i/o?t=1&iid=f1af4a5384eb40dda21518955ca5c700&uid=0&c=D%2F%2BU0aaCHwq5symIOX04HweCxB75M2bxDB1hr0dCnJHwPgbVuO5ppg%3D%3D&nid=156+26+20131128 Need help? https://support.twitter.com |
From: Jacob J. K. (v. Twitter) <con...@tw...> - 2013-11-25 16:31:13
|
Jacob Juul Kolding sent you an invitation Twitter helps you stay connected with what's happening right now and with the people and organizations you care about. Accept invitation https://twitter.com/i/f1690c09-1f6a-47ec-a643-91f5e9dc28d7 -- This message was sent by Twitter on behalf of Twitter users who entered your email address to invite you to Twitter. Unsubscribe: https://twitter.com/i/o?t=1&iid=6b9bc245f67d4ba79f9f64da6d1edc37&uid=0&c=D%2F%2BU0aaCHwq5symIOX04HweCxB75M2bxDB1hr0dCnJHwPgbVuO5ppg%3D%3D&nid=9+26 Need help? https://support.twitter.com |
From: Badoo <nor...@ba...> - 2013-09-29 21:28:52
|
Leggi tutti i messaggi da Tommaso Ricci prima che questi siano eliminati! Per leggere il tuo messaggio, segui questo link: http://eu1.badoo.com/zorgatone/in/a.FNgHpDc-A/?lang_id=8&g=57&m=65&mid=52489b8c00000000000800000259088c02a94052005c Altri iscritti della tua zona: Alessia (Torino, Italia) Ilaria (Turin, Italy) http://eu1.badoo.com/zorgatone/in/a.FNgHpDc-A/?lang_id=8&g=57&m=65&mid=52489b8c00000000000800000259088c02a94052005c Se cliccando sul link, questo non dovesse funzionare, copialo nella barra degli indirizzi del tuo browser. Questa comunicazione fa parte del sistema di notifica per il messaggio inviatoti da Tommaso Ricci. Se pensi che si tratti di un errore, ignora questa comunicazione. Buon divertimento! Dal team di Badoo Questa e-mail ti è stata inviata da Badoo Trading Limited (indirizzo postale indicato in basso).Se non desideri ricevere altri messaggi da parte di Badoo, clicca qui: https://eu1.badoo.com/impersonation.phtml?lang_id=8&email=gtk-osx-users%40lists.sourceforge.net&block_code=7c936d.&m=65&mid=52489b8c00000000000800000259088c02a94052005c Badoo Trading Limited è una società a responsabilità limitata registrata in Inghilterra e Galles con il numero d'impresa 7540255 con sede legale all'indirizzo Media Village, 131 - 151 Great Titchfield Street, London, W1W 5BB. |
From: Badoo <nor...@ba...> - 2013-09-21 22:21:04
|
Tommaso Ricci ti ha inviato un messaggio... Il mittente di questo messaggio e il suo contenuto saranno visibili solo a te. Per scoprire che cosa c'è scritto nel messaggio e per rispondere subito, segui questo link: http://eu1.badoo.com/zorgatone/in/a.FNgHpDc-A/?lang_id=8&g=57&m=21&mid=523e1bc70000000000080000024e88c70394c36f00f4 Se il link qui sopra non dovesse funzionare, prova a copiarlo e incollarlo nella barra degli indirizzi del tuo browser. Questa comunicazione fa parte del sistema di notifica per il messaggio inviato da Tommaso Ricci. Se pensi che si tratti di un errore, ignora questa comunicazione e il messaggio verrà cancellato automaticamente dal nostro sistema. Buon divertimento! Il team di Badoo Questa e-mail ti è stata inviata da Badoo Trading Limited (indirizzo postale indicato in basso).Se non desideri ricevere altri messaggi da parte di Badoo, clicca qui: https://eu1.badoo.com/impersonation.phtml?lang_id=8&email=gtk-osx-users%40lists.sourceforge.net&block_code=7c936d.&m=21&mid=523e1bc70000000000080000024e88c70394c36f00f4 Badoo Trading Limited è una società a responsabilità limitata registrata in Inghilterra e Galles con il numero d'impresa 7540255 con sede legale all'indirizzo Media Village, 131 - 151 Great Titchfield Street, London, W1W 5BB. |
From: John R. <jr...@ce...> - 2013-08-15 13:55:37
|
On Aug 15, 2013, at 2:10 AM, Chris Share <cps...@ya...> wrote: > Thanks for the help with the python problem. > > I've run into another problem while trying to run solfege: > > glib.GError: Couldn't recognize the image file format for file './graphics/solfege.svg' > Terminated: 15 > > After a bit of searching I think the problem is related to librsvg (see here <https://github.com/mxcl/homebrew/issues/13786>). > > Is it possible to install librsvg into gtk-osx? > > If so, how should I do this? jhbuild build librsvg It's already provided in gtk-osx-themes.moduleset. Regards, John Ralls |
From: Chris S. <cps...@ya...> - 2013-08-15 09:11:07
|
Thanks for the help with the python problem. I've run into another problem while trying to run solfege: glib.GError: Couldn't recognize the image file format for file './graphics/solfege.svg' Terminated: 15 After a bit of searching I think the problem is related to librsvg (see here <https://github.com/mxcl/homebrew/issues/13786>). Is it possible to install librsvg into gtk-osx? If so, how should I do this? Cheers, Chris ________________________________ From: John Ralls <jr...@ce...> To: Chris Share <cps...@ya...>; GTK+-2 OSX Users <gtk...@li...> Sent: Tuesday, 13 August 2013 12:41 PM Subject: Re: [gtk-osx-users] [Gtk-osx-users] Installing pyGTK On Aug 12, 2013, at 6:31 PM, Chris Share <cps...@ya...> wrote: Hi, > > >I'm currently trying to build solfege-3.22.0. The program requires pygtk. > > >When I run configure (from a jhbuild shell) I get the following error: > > >configure: error: Package requirements (pygtk-2.0 >= 2.12.0) were not met: > > >No package 'pygtk-2.0' found > > >Consider adjusting the PKG_CONFIG_PATH environment variable if you >installed software in a non-standard prefix. > > >Alternatively, you may set the environment variables PYGTK_CFLAGS >and PYGTK_LIBS to avoid the need to call pkg-config. >See the pkg-config man page for more details. > > >Is it possible to install pygtk so that it uses gtk-osx? > > >If so, how do I do this? > > You have to build meta-gtk-osx-python to get pygtk and meta-gtk3-osx-python for pygobject. Regards, John Ralls |
From: John R. <jr...@ce...> - 2013-08-13 02:41:43
|
On Aug 12, 2013, at 6:31 PM, Chris Share <cps...@ya...> wrote: > Hi, > > I'm currently trying to build solfege-3.22.0. The program requires pygtk. > > When I run configure (from a jhbuild shell) I get the following error: > > configure: error: Package requirements (pygtk-2.0 >= 2.12.0) were not met: > > No package 'pygtk-2.0' found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables PYGTK_CFLAGS > and PYGTK_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. > > Is it possible to install pygtk so that it uses gtk-osx? > > If so, how do I do this? > You have to build meta-gtk-osx-python to get pygtk and meta-gtk3-osx-python for pygobject. Regards, John Ralls |
From: Chris S. <cps...@ya...> - 2013-08-13 01:32:07
|
Hi, I'm currently trying to build solfege-3.22.0. The program requires pygtk. When I run configure (from a jhbuild shell) I get the following error: configure: error: Package requirements (pygtk-2.0 >= 2.12.0) were not met: No package 'pygtk-2.0' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PYGTK_CFLAGS and PYGTK_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Is it possible to install pygtk so that it uses gtk-osx? If so, how do I do this? Cheers, Chris |
From: John R. <jr...@ce...> - 2013-07-11 14:03:40
|
On Jul 10, 2013, at 11:10 PM, Chris Share <cps...@ya...> wrote: > I tried what was suggested however I'm now getting the following error: > > configure: error: Package requirements (gdl-3.0 >= 3.5.5) were not met: > > No package 'gdl-3.0' found > > A quick search has shown others facing a similar problem on Linux and the suggested solution was to install the development version of gtk3 > > What should I do next? You will need to write a module for gdl, and perhaps for other dependencies as well. This is all well-documented in https://wiki.gnome.org/GTK%2B/OSX/Building . Regards, John Ralls |
From: Chris S. <cps...@ya...> - 2013-07-11 06:10:36
|
I tried what was suggested however I'm now getting the following error: configure: error: Package requirements (gdl-3.0 >= 3.5.5) were not met: No package 'gdl-3.0' found A quick search has shown others facing a similar problem on Linux and the suggested solution was to install the development version of gtk3 What should I do next? ----- Original Message ----- From: John Ralls <jr...@ce...> To: Chris Share <cps...@ya...> Cc: GTK+-2 OSX Users <gtk...@li...> Sent: Thursday, 11 July 2013 1:55 PM Subject: Re: [gtk-osx-users] [Gtk-osx-users] Anjuta Question On Jul 10, 2013, at 6:42 PM, Chris Share <cps...@ya...> wrote: > Hi, > > I'm interested in using Anjuta. I tried building the latest version however it requires gtk+-3.0: > > configure: error: Package requirements (gthread-2.0 >= 2.22.0 > glib-2.0 >= 2.32.0 > gio-2.0 >= 2.32.0 > gmodule-2.0 >= 2.32.0 > gtk+-3.0 >= 3.4.0 > gdk-pixbuf-2.0 >= 2.0.0) were not met: > > No package 'gtk+-3.0' found > > Does anyone know which version of Anjuta will build and run under the current gtk-osx build? > Build meta- gtk-osx-gtk3 instead (or as well as, if you want) of meta-gtk-osx-core to get Gtk3. Regards, John Ralls |
From: John R. <jr...@ce...> - 2013-07-11 03:55:13
|
On Jul 10, 2013, at 6:42 PM, Chris Share <cps...@ya...> wrote: > Hi, > > I'm interested in using Anjuta. I tried building the latest version however it requires gtk+-3.0: > > configure: error: Package requirements (gthread-2.0 >= 2.22.0 > glib-2.0 >= 2.32.0 > gio-2.0 >= 2.32.0 > gmodule-2.0 >= 2.32.0 > gtk+-3.0 >= 3.4.0 > gdk-pixbuf-2.0 >= 2.0.0) were not met: > > No package 'gtk+-3.0' found > > Does anyone know which version of Anjuta will build and run under the current gtk-osx build? > Build meta- gtk-osx-gtk3 instead (or as well as, if you want) of meta-gtk-osx-core to get Gtk3. Regards, John Ralls |
From: Chris S. <cps...@ya...> - 2013-07-11 01:42:16
|
Hi, I'm interested in using Anjuta. I tried building the latest version however it requires gtk+-3.0: configure: error: Package requirements (gthread-2.0 >= 2.22.0 glib-2.0 >= 2.32.0 gio-2.0 >= 2.32.0 gmodule-2.0 >= 2.32.0 gtk+-3.0 >= 3.4.0 gdk-pixbuf-2.0 >= 2.0.0) were not met: No package 'gtk+-3.0' found Does anyone know which version of Anjuta will build and run under the current gtk-osx build? Cheers, Chris |
From: John R. <jr...@ce...> - 2013-07-01 17:08:37
|
On Jul 1, 2013, at 9:48 AM, Felix Krause <fl...@is...> wrote: > First of all, many thanks to John Ralls for his support with my previous issue. > > I managed to set up everything for building an app bundle for GPS (the GNAT Programming Studio [1], in case you're interested). One problem I have is that I compile with GNAT (GNU Ada compiler), which results in my binary being linked to the library /usr/local/gnat/lib/libgcc_s.1.dylib. As GNAT is not usually available on OSX, I have to include this library in my bundle. I tried this in my gps.bundle file: > > <binary dest="${bundle}/Contents/Resources/lib/libgcc_s.1.dylib"> > /usr/local/gnat/lib/libgcc_s.1.dylib > </binary> > > This does copy the library. However, when executing gtk-mac-bundler, I get this message: > > Warning, library not available in any prefix: /usr/local/gnat/lib/libgcc_s.1.dylib > > otool -L afterwards tells me that the reference to the library has not properly changed to a relative path. How can I tell gtk-mac-bundler to do that? > That's because you haven't told gtk-mac-bundler to look in /usr/local/gnat for dependencies. You can either add /usr/local/gnat to the prefixes list in your bundle file or build GNAT in your main prefix. Since GNAT Programming Studio sounds like an IDE, I'd think you'd want to do the latter, and include all of GNAT's binaries in the bundle. Regards, John Ralls |
From: Felix K. <fl...@is...> - 2013-07-01 16:48:38
|
First of all, many thanks to John Ralls for his support with my previous issue. I managed to set up everything for building an app bundle for GPS (the GNAT Programming Studio [1], in case you're interested). One problem I have is that I compile with GNAT (GNU Ada compiler), which results in my binary being linked to the library /usr/local/gnat/lib/libgcc_s.1.dylib. As GNAT is not usually available on OSX, I have to include this library in my bundle. I tried this in my gps.bundle file: <binary dest="${bundle}/Contents/Resources/lib/libgcc_s.1.dylib"> /usr/local/gnat/lib/libgcc_s.1.dylib </binary> This does copy the library. However, when executing gtk-mac-bundler, I get this message: Warning, library not available in any prefix: /usr/local/gnat/lib/libgcc_s.1.dylib otool -L afterwards tells me that the reference to the library has not properly changed to a relative path. How can I tell gtk-mac-bundler to do that? Cheers, Felix [1]: http://libre.adacore.com/tools/gps/ |
From: John R. <jr...@ce...> - 2013-06-30 16:41:57
|
On Jun 29, 2013, at 10:41 PM, Felix Krause <fl...@is...> wrote: > > On 30.06.2013, at 00:23, John Ralls <jr...@ce...> wrote: > >> I'm no waf expert, but it appears to me that the only way to get it to set CFLAGS from the environment is to rewrite the wscript, and since I'm no waf expert I find >> it easier to just build a single-architecture Python. Unfortunately for your case, Python needs to be built early in the process or dependencies get screwed up, so you should wipe out your source and installation (prefix) trees and start over, with python in the list of modules to build this time. The list I just used is: >> meta-gtk-osx-bootstrap, python, meta-gtk-osx-core, meta-gtk-osx-python. > > After wiping source and installation and trying to build this list with jhbuild, I get this when building libxslt: > > [...] > Making all in python > Making all in . > SRCDIR=. /Users/Felix/gtk/inst/bin/python ./generator.py > Traceback (most recent call last): > File "./generator.py", line 923, in <module> > buildStubs() > File "./generator.py", line 405, in buildStubs > (parser, target) = getparser() > File "./generator.py", line 26, in getparser > parser = xml.sax.make_parser() > File "/Users/Felix/gtk/inst/lib/python2.7/xml/sax/__init__.py", line 93, in make_parser > raise SAXReaderNotAvailable("No parsers found", None) > xml.sax._exceptions.SAXReaderNotAvailable: No parsers found > make[3]: *** [gen_prog] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > When that happens (and it doesn't every time) I clean and rebuild python from the shell: [1] Rerun phase build [2] Ignore error and continue to install [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" choice: 4 cd ../Python-2.7.3 make distclean && ./configure --prefix=$PREFIX --with-system-expat --enable-shared && make && make install exit The prompt above will get repeated; pick 7 and it should be happy. > > Also, if meta-gtk-osx-python is not able to build without building your own python first, I'd suggest to add this info to https://wiki.gnome.org/GTK%2B/OSX/Python . Hmm. That's gotten pretty stale: I think I need to redo the whole lot of it from a Lion-and-later perspective with additional information for Tiger and the Leopards. Regards, John Ralls |
From: Felix K. <fl...@is...> - 2013-06-30 05:41:17
|
On 30.06.2013, at 00:23, John Ralls <jr...@ce...> wrote: > I'm no waf expert, but it appears to me that the only way to get it to set CFLAGS from the environment is to rewrite the wscript, and since I'm no waf expert I find > it easier to just build a single-architecture Python. Unfortunately for your case, Python needs to be built early in the process or dependencies get screwed up, so you should wipe out your source and installation (prefix) trees and start over, with python in the list of modules to build this time. The list I just used is: > meta-gtk-osx-bootstrap, python, meta-gtk-osx-core, meta-gtk-osx-python. After wiping source and installation and trying to build this list with jhbuild, I get this when building libxslt: [...] Making all in python Making all in . SRCDIR=. /Users/Felix/gtk/inst/bin/python ./generator.py Traceback (most recent call last): File "./generator.py", line 923, in <module> buildStubs() File "./generator.py", line 405, in buildStubs (parser, target) = getparser() File "./generator.py", line 26, in getparser parser = xml.sax.make_parser() File "/Users/Felix/gtk/inst/lib/python2.7/xml/sax/__init__.py", line 93, in make_parser raise SAXReaderNotAvailable("No parsers found", None) xml.sax._exceptions.SAXReaderNotAvailable: No parsers found make[3]: *** [gen_prog] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Also, if meta-gtk-osx-python is not able to build without building your own python first, I'd suggest to add this info to https://wiki.gnome.org/GTK%2B/OSX/Python . Cheers, Felix |
From: John R. <jr...@ce...> - 2013-06-29 22:24:12
|
On Jun 29, 2013, at 3:28 AM, Felix Krause <fl...@is...> wrote: > Hi, > > I am trying to compile meta-gtk-osx-python with stable moduleset for OSX 10.8, x86_64. While building pycairo-python2.6, I get the following error: > > ld: warning: ignoring file /Users/Felix/gtk/inst/lib/libcairo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /Users/Felix/gtk/inst/lib/libcairo.dylib > Undefined symbols for architecture i386: > "_cairo_append_path", referenced from: > _pycairo_append_path in context.c.1.o > [… snip: lots of other undefined refs] > ld: symbol(s) not found for architecture i386 > collect2: ld returned 1 exit status > lipo: can't open input file: /var/folders/02/t0l941k53254ghw2cjg1rn200000gn/T//ccfwxXwO.out (No such file or directory) > Waf: Leaving directory `/Users/Felix/gtk/source/py2cairo-1.10.0/build_directory' > Build failed > -> task failed (exit status 1): > {task 4464385552: cshlib cairomodule.c.1.o,context.c.1.o,font.c.1.o,path.c.1.o,pattern.c.1.o,matrix.c.1.o,surface.c.1.o -> _cairo.so} > ['/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2', 'src/cairomodule.c.1.o', 'src/context.c.1.o', 'src/font.c.1.o', 'src/path.c.1.o', 'src/pattern.c.1.o', 'src/matrix.c.1.o', 'src/surface.c.1.o', '-o', '/Users/Felix/gtk/source/py2cairo-1.10.0/build_directory/src/_cairo.so', '-L/Users/Felix/gtk/inst/lib', '-lcairo', '-lpython2.7', '-L/Users/Felix/gtk/inst/lib', '-L/Users/Felix/gtk/inst/lib', '-arch', 'x86_64', '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk', '-mmacosx-version-min=10.8', '-Wl,-headerpad_max_install_names', '-dynamiclib', '-Wl,-F.', '-arch', 'i386', '-arch', 'x86_64', '-Wl,-F.', '-arch', 'i386', '-arch', 'x86_64', '-arch', 'i386', '-arch', 'x86_64'] > > > Obviously, it tries to build a universal binary. How can I fix this? Waf by default gets the CFLAGS values from python rather than the environment. If you don't build your own it will obviously use Apple's, i.e. /usr/bin/python, which is universal. I'm no waf expert, but it appears to me that the only way to get it to set CFLAGS from the environment is to rewrite the wscript, and since I'm no waf expert I find it easier to just build a single-architecture Python. Unfortunately for your case, Python needs to be built early in the process or dependencies get screwed up, so you should wipe out your source and installation (prefix) trees and start over, with python in the list of modules to build this time. The list I just used is: meta-gtk-osx-bootstrap, python, meta-gtk-osx-core, meta-gtk-osx-python. Do it all in one command so that jhbuild can interleave the individual modules in the right order. Regards, John Ralls |
From: Felix K. <fl...@is...> - 2013-06-29 10:57:41
|
Hi, I am trying to compile meta-gtk-osx-python with stable moduleset for OSX 10.8, x86_64. While building pycairo-python2.6, I get the following error: ld: warning: ignoring file /Users/Felix/gtk/inst/lib/libcairo.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): /Users/Felix/gtk/inst/lib/libcairo.dylib Undefined symbols for architecture i386: "_cairo_append_path", referenced from: _pycairo_append_path in context.c.1.o [… snip: lots of other undefined refs] ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/folders/02/t0l941k53254ghw2cjg1rn200000gn/T//ccfwxXwO.out (No such file or directory) Waf: Leaving directory `/Users/Felix/gtk/source/py2cairo-1.10.0/build_directory' Build failed -> task failed (exit status 1): {task 4464385552: cshlib cairomodule.c.1.o,context.c.1.o,font.c.1.o,path.c.1.o,pattern.c.1.o,matrix.c.1.o,surface.c.1.o -> _cairo.so} ['/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2', 'src/cairomodule.c.1.o', 'src/context.c.1.o', 'src/font.c.1.o', 'src/path.c.1.o', 'src/pattern.c.1.o', 'src/matrix.c.1.o', 'src/surface.c.1.o', '-o', '/Users/Felix/gtk/source/py2cairo-1.10.0/build_directory/src/_cairo.so', '-L/Users/Felix/gtk/inst/lib', '-lcairo', '-lpython2.7', '-L/Users/Felix/gtk/inst/lib', '-L/Users/Felix/gtk/inst/lib', '-arch', 'x86_64', '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib', '-isysroot', '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk', '-mmacosx-version-min=10.8', '-Wl,-headerpad_max_install_names', '-dynamiclib', '-Wl,-F.', '-arch', 'i386', '-arch', 'x86_64', '-Wl,-F.', '-arch', 'i386', '-arch', 'x86_64', '-arch', 'i386', '-arch', 'x86_64'] Obviously, it tries to build a universal binary. How can I fix this? Cheers, Felix |
From: Chris S. <cps...@ya...> - 2013-06-27 23:09:38
|
As far as I can recall I did run jhbuild bootstrap although I had a couple of minor problems during the build process (with conflicting versions of libtool) so it's possible that when I reran the build process I forgot that step. Anyway, it's working now so thanks! Cheers, Chris ----- Original Message ----- From: John Ralls <jr...@ce...> To: Chris Share <cps...@ya...>; GTK+-2 OSX Users <gtk...@li...> Cc: Sent: Thursday, 27 June 2013 11:54 PM Subject: Re: [gtk-osx-users] [Gtk-osx-users] Python Unpack Problem On Jun 27, 2013, at 5:09 AM, Chris Share <cps...@ya...> wrote: > I fixed the problem by installing the xz.pkg. See here: > > http://tukaani.org/xz/ > Which is provided by bootstrap. Did you run jhbuild bootstrap before starting? Regards, John Ralls |
From: John R. <jr...@ce...> - 2013-06-27 13:54:50
|
On Jun 27, 2013, at 5:09 AM, Chris Share <cps...@ya...> wrote: > I fixed the problem by installing the xz.pkg. See here: > > http://tukaani.org/xz/ > Which is provided by bootstrap. Did you run jhbuild bootstrap before starting? Regards, John Ralls |
From: Chris S. <cps...@ya...> - 2013-06-27 12:09:58
|
I fixed the problem by installing the xz.pkg. See here: http://tukaani.org/xz/ Cheers, Chris ----- Original Message ----- From: Chris Share <cps...@ya...> To: "gtk...@li..." <gtk...@li...> Cc: Sent: Thursday, 27 June 2013 9:35 PM Subject: [gtk-osx-users] [Gtk-osx-users] Python Unpack Problem Hi, I'm trying to perform an installation on OSX 10.8.4. After running jhbuild build python I'm getting the following error: *** Checking out python *** [2/2] curl --continue-at - -L http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.xz -o /Users/chris/gtk/source/pkgs/Python-2.7.3.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9742k 100 9742k 0 0 312k 0 0:00:31 0:00:31 --:--:-- 375k jhbuild build: failed to unpack /Users/chris/gtk/source/pkgs/Python-2.7.3.tar.xz Any idea what's going on here? Cheers, Chris ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Gtk-osx-users mailing list Gtk...@li... https://lists.sourceforge.net/lists/listinfo/gtk-osx-users _______________________________________________ Gtk-osx-users-list mailing list Gtk...@gn... https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list |