Re: mdmg build of gtk2 does not include cairo
On Nov 18, 2010, at 18:07, Kevin Layer wrote: > Ryan Schmidt wrote: > >>> Note that changing the compiler on the command line (by specifying >>> configure.compiler=gcc-4.2) should not be necessary, and is not >>> supported. > What is the supported way? It is not supported to change the compiler. > In the past, when I built with gcc 4.0.1, I got failures. It was the > cairo mailing list that helped me get over the failure using gcc 4.2. The cairo port has been changed to use gcc 4.2 on Leopard, until the cairo developers can fix their code to compile properly with gcc 4.0, at which time I will revert that change. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: mdmg build of gtk2 does not include cairo
Ryan Schmidt wrote: >> Note that changing the compiler on the command line (by specifying >> configure.compiler=gcc-4.2) should not be necessary, and is not >> supported. >> In the past, when I built with gcc 4.0.1, I got failures. It was the cairo mailing list that helped me get over the failure using gcc 4.2. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: mdmg build of gtk2 does not include cairo
Ryan Schmidt wrote: >> On Nov 18, 2010, at 18:00, Kevin Layer wrote: >> >> > I'm happy to report with 1.9.2, I was able to build a 64-bit mdmg. >> > Below are the complete instructions, for the record. I tested my app, >> > and it works fine. >> > >> > # On a fully up-to-date 10.5 Intel system >> > >> > # first, uninstall >> > port -f uninstall installed >> > rm -rf /opt/local \ >> >/Applications/DarwinPorts \ >> >/Applications/MacPorts \ >> >/Library/LaunchDaemons/org.macports.* \ >> >/Library/Receipts/DarwinPorts*.pkg \ >> >/Library/Receipts/MacPorts*.pkg \ >> >/Library/StartupItems/DarwinPortsStartup \ >> >/Library/Tcl/darwinports1.0 \ >> >/Library/Tcl/macports1.0 \ >> >~/.macports >> > >> > # Install MacPorts 1.9.2 >> > >> > # Edit /opt/local/etc/macports/macports.conf >> > # >> > # build_arch x86_64 >> > # universal_archs x86_64 i386 >> > >> > # build >> > port install gtk2 +x11 configure.compiler=gcc-4.2 >> > port mdmg gtk2 +x11 configure.compiler=gcc-4.2 >> >> Note that changing the compiler on the command line (by specifying >> configure.compiler=gcc-4.2) should not be necessary, and is not supported. >> What is the supported way? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: mdmg build of gtk2 does not include cairo
On Nov 18, 2010, at 18:00, Kevin Layer wrote: > I'm happy to report with 1.9.2, I was able to build a 64-bit mdmg. > Below are the complete instructions, for the record. I tested my app, > and it works fine. > > # On a fully up-to-date 10.5 Intel system > > # first, uninstall > port -f uninstall installed > rm -rf /opt/local \ >/Applications/DarwinPorts \ >/Applications/MacPorts \ >/Library/LaunchDaemons/org.macports.* \ >/Library/Receipts/DarwinPorts*.pkg \ >/Library/Receipts/MacPorts*.pkg \ >/Library/StartupItems/DarwinPortsStartup \ >/Library/Tcl/darwinports1.0 \ >/Library/Tcl/macports1.0 \ >~/.macports > > # Install MacPorts 1.9.2 > > # Edit /opt/local/etc/macports/macports.conf > # > # build_arch x86_64 > # universal_archs x86_64 i386 > > # build > port install gtk2 +x11 configure.compiler=gcc-4.2 > port mdmg gtk2 +x11 configure.compiler=gcc-4.2 Note that changing the compiler on the command line (by specifying configure.compiler=gcc-4.2) should not be necessary, and is not supported. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: mdmg build of gtk2 does not include cairo
I'm happy to report with 1.9.2, I was able to build a 64-bit mdmg. Below are the complete instructions, for the record. I tested my app, and it works fine. # On a fully up-to-date 10.5 Intel system # first, uninstall port -f uninstall installed rm -rf /opt/local \ /Applications/DarwinPorts \ /Applications/MacPorts \ /Library/LaunchDaemons/org.macports.* \ /Library/Receipts/DarwinPorts*.pkg \ /Library/Receipts/MacPorts*.pkg \ /Library/StartupItems/DarwinPortsStartup \ /Library/Tcl/darwinports1.0 \ /Library/Tcl/macports1.0 \ ~/.macports # Install MacPorts 1.9.2 # Edit /opt/local/etc/macports/macports.conf # # build_arch x86_64 # universal_archs x86_64 i386 # build port install gtk2 +x11 configure.compiler=gcc-4.2 port mdmg gtk2 +x11 configure.compiler=gcc-4.2 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: mdmg build of gtk2 does not include cairo
Ryan Schmidt wrote: >> >> On Nov 18, 2010, at 15:12, Kevin Layer wrote: >> >> > So, I tried with 1.9.2 and got a different result. cairo is there, >> > but many of the libs are i386. >> >> That was fixed after 1.9.2 was released. >> >> http://trac.macports.org/ticket/27231 At this point, I'm not trying to build a universal mdmg. I messed up in the last build, forgetting to change the default to x86_64. Redoing with that rectified. I will report back if it fails. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: mdmg build of gtk2 does not include cairo
On Nov 18, 2010, at 15:12, Kevin Layer wrote: > So, I tried with 1.9.2 and got a different result. cairo is there, > but many of the libs are i386. That was fixed after 1.9.2 was released. http://trac.macports.org/ticket/27231 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: mdmg build of gtk2 does not include cairo
So, I tried with 1.9.2 and got a different result. cairo is there, but many of the libs are i386. The difference in my build this time is that I did not change macports.conf to make x86_64 the default: #build_arch i386 but I did do this: universal_archs x86_64 i386 I'm going to redo with build_arch set to x86_64. After more hours of building, I'll report back. Below are the details of the last run. dlopen(/Applications/AllegroCL64/gtk/gtk20-lib.dylib, 10): Library not loaded: /opt/local/lib/libgtk-x11-2.0.0.dylib bash-3.2$ ls -l /opt/local/lib total 97888 drwxr-xr-x 3 root admin 102 Nov 18 12:50 X11 drwxr-xr-x 6 root admin 204 Nov 18 13:04 cairo drwxr-xr-x 21 root admin 714 Nov 18 13:04 db46 drwxr-xr-x 14 root admin 476 Nov 18 12:39 engines drwxr-xr-x 3 root admin 102 Nov 18 12:23 gdk-pixbuf-2.0 drwxr-xr-x 6 root admin 204 Nov 18 12:26 gettext drwxr-xr-x 3 root admin 102 Nov 18 12:29 glib-2.0 drwxr-xr-x 5 root admin 170 Nov 18 12:16 gtk-2.0 -rwxr-xr-x 1 root admin 8492 Nov 18 12:50 libX11-xcb.1.dylib -rw-r--r-- 1 root admin 592 Nov 18 12:50 libX11-xcb.a lrwxr-xr-x 1 root admin 18 Nov 18 13:04 libX11-xcb.dylib -> libX11-xcb.1.dylib -rwxr-xr-x 1 root admin 1066 Nov 18 12:50 libX11-xcb.la -rwxr-xr-x 1 root admin 1189112 Nov 18 12:50 libX11.6.dylib -rw-r--r-- 1 root admin 1555464 Nov 18 12:50 libX11.a lrwxr-xr-x 1 root admin 14 Nov 18 13:04 libX11.dylib -> libX11.6.dylib -rwxr-xr-x 1 root admin 1017 Nov 18 12:50 libX11.la -rwxr-xr-x 1 root admin13784 Nov 18 12:51 libXau.6.dylib -rw-r--r-- 1 root admin 9144 Nov 18 12:51 libXau.a lrwxr-xr-x 1 root admin 14 Nov 18 13:05 libXau.dylib -> libXau.6.dylib -rwxr-xr-x 1 root admin 940 Nov 18 12:51 libXau.la -rwxr-xr-x 1 root admin13676 Nov 18 12:51 libXcomposite.1.dylib -rw-r--r-- 1 root admin 5264 Nov 18 12:51 libXcomposite.a lrwxr-xr-x 1 root admin 21 Nov 18 13:05 libXcomposite.dylib -> libXcomposite.1.dylib -rwxr-xr-x 1 root admin 1066 Nov 18 12:51 libXcomposite.la -rwxr-xr-x 1 root admin39184 Nov 18 12:51 libXcursor.1.dylib -rw-r--r-- 1 root admin38752 Nov 18 12:51 libXcursor.a lrwxr-xr-x 1 root admin 18 Nov 18 13:05 libXcursor.dylib -> libXcursor.1.dylib -rwxr-xr-x 1 root admin 1105 Nov 18 12:51 libXcursor.la -rwxr-xr-x 1 root admin13516 Nov 18 12:51 libXdamage.1.dylib -rw-r--r-- 1 root admin 4616 Nov 18 12:51 libXdamage.a lrwxr-xr-x 1 root admin 18 Nov 18 13:05 libXdamage.dylib -> libXdamage.1.dylib -rwxr-xr-x 1 root admin 1078 Nov 18 12:51 libXdamage.la -rwxr-xr-x 1 root admin23000 Nov 18 12:52 libXdmcp.6.dylib -rw-r--r-- 1 root admin18448 Nov 18 12:52 libXdmcp.a lrwxr-xr-x 1 root admin 16 Nov 18 13:05 libXdmcp.dylib -> libXdmcp.6.dylib -rwxr-xr-x 1 root admin 934 Nov 18 12:52 libXdmcp.la -rwxr-xr-x 1 root admin65372 Nov 18 12:52 libXext.6.dylib -rw-r--r-- 1 root admin81912 Nov 18 12:52 libXext.a lrwxr-xr-x 1 root admin 15 Nov 18 13:05 libXext.dylib -> libXext.6.dylib -rwxr-xr-x 1 root admin 1031 Nov 18 12:52 libXext.la -rwxr-xr-x 1 root admin23276 Nov 18 12:52 libXfixes.3.dylib -rw-r--r-- 1 root admin16296 Nov 18 12:52 libXfixes.a lrwxr-xr-x 1 root admin 17 Nov 18 13:05 libXfixes.dylib -> libXfixes.3.dylib -rwxr-xr-x 1 root admin 1044 Nov 18 12:52 libXfixes.la -rwxr-xr-x 1 root admin76988 Nov 18 12:17 libXft.2.dylib -rw-r--r-- 1 root admin90168 Nov 18 12:17 libXft.a lrwxr-xr-x 1 root admin 14 Nov 18 13:04 libXft.dylib -> libXft.2.dylib -rwxr-xr-x 1 root admin 1173 Nov 18 12:17 libXft.la -rwxr-xr-x 1 root admin59016 Nov 18 12:52 libXi.6.dylib -rw-r--r-- 1 root admin87992 Nov 18 12:52 libXi.a lrwxr-xr-x 1 root admin 13 Nov 18 13:05 libXi.dylib -> libXi.6.dylib -rwxr-xr-x 1 root admin 1044 Nov 18 12:52 libXi.la -rwxr-xr-x 1 root admin13588 Nov 18 12:52 libXinerama.1.dylib -rw-r--r-- 1 root admin 4824 Nov 18 12:52 libXinerama.a lrwxr-xr-x 1 root admin 19 Nov 18 13:05 libXinerama.dylib -> libXinerama.1.dylib -rwxr-xr-x 1 root admin 1080 Nov 18 12:52 libXinerama.la -rwxr-xr-x 1 root admin36720 Nov 18 12:53 libXrandr.2.dylib -rw-r--r-- 1 root admin32552 Nov 18 12:53 libXrandr.a lrwxr-xr-x 1 root admin 17 Nov 18 13:05 libXrandr.dylib -> libXrandr.2.dylib -rwxr-xr-x 1 root admin 1097 Nov 18 12:53 libXrandr.la -rwxr-xr-x 1 root admin40988 Nov 18 12:54 libXrender.1.dylib -rw-r--r-- 1 root admin38760 Nov 18 12:54 libXrender.a lrwxr-xr-x 1 root admin 18 Nov 18 13:05 libXrender.dylib -> libXrender.1.dylib -rwxr-xr-x 1 root admin 1050 Nov 18 12:54 libXrender.la -rwxr-xr-x 1 root admin13528 Nov 18 12:26 libasprintf.0.dylib -rw-r--r-- 1 root admin
mdmg build of gtk2 does not include cairo
It includes a *lot* of other stuff, just not cairo. I installed the mdmg on a `clean' machine (didn't have macports). When I load gtk2 into my app, I get dlopen(/Applications/AllegroCL64/gtk/gtk20-lib.dylib, 10): Library not loaded: /opt/local/lib/libcairo.2.dylib And, in fact, it's not there: bash-3.2$ ls -l /opt/local/lib total 107752 drwxr-xr-x 3 root admin 102 Nov 9 18:34 X11 drwxr-xr-x 21 root admin 714 Nov 18 10:05 db46 drwxr-xr-x 14 root admin 476 Nov 9 18:24 engines drwxr-xr-x 3 root admin 102 Nov 9 18:09 gdk-pixbuf-2.0 drwxr-xr-x 6 root admin 204 Nov 9 18:12 gettext drwxr-xr-x 3 root admin 102 Nov 9 18:15 glib-2.0 drwxr-xr-x 5 root admin 170 Nov 9 18:04 gtk-2.0 -rwxr-xr-x 1 root admin 8384 Nov 9 18:34 libX11-xcb.1.dylib -rw-r--r-- 1 root admin 1000 Nov 9 18:34 libX11-xcb.a lrwxr-xr-x 1 root admin 18 Nov 18 10:06 libX11-xcb.dylib -> libX11-xcb.1.dylib -rwxr-xr-x 1 root admin 1066 Nov 9 18:34 libX11-xcb.la -rwxr-xr-x 1 root admin 1317064 Nov 9 18:34 libX11.6.dylib -rw-r--r-- 1 root admin 1845024 Nov 9 18:34 libX11.a lrwxr-xr-x 1 root admin 14 Nov 18 10:06 libX11.dylib -> libX11.6.dylib -rwxr-xr-x 1 root admin 1017 Nov 9 18:34 libX11.la -rwxr-xr-x 1 root admin13872 Nov 9 18:34 libXau.6.dylib -rw-r--r-- 1 root admin11856 Nov 9 18:34 libXau.a lrwxr-xr-x 1 root admin 14 Nov 18 10:06 libXau.dylib -> libXau.6.dylib -rwxr-xr-x 1 root admin 940 Nov 9 18:34 libXau.la -rwxr-xr-x 1 root admin13568 Nov 9 18:34 libXcomposite.1.dylib -rw-r--r-- 1 root admin 7704 Nov 9 18:34 libXcomposite.a lrwxr-xr-x 1 root admin 21 Nov 18 10:06 libXcomposite.dylib -> libXcomposite.1.dylib -rwxr-xr-x 1 root admin 1066 Nov 9 18:34 libXcomposite.la -rwxr-xr-x 1 root admin43352 Nov 9 18:35 libXcursor.1.dylib -rw-r--r-- 1 root admin50352 Nov 9 18:35 libXcursor.a lrwxr-xr-x 1 root admin 18 Nov 18 10:06 libXcursor.dylib -> libXcursor.1.dylib -rwxr-xr-x 1 root admin 1105 Nov 9 18:35 libXcursor.la -rwxr-xr-x 1 root admin13504 Nov 9 18:35 libXdamage.1.dylib -rw-r--r-- 1 root admin 6184 Nov 9 18:35 libXdamage.a lrwxr-xr-x 1 root admin 18 Nov 18 10:06 libXdamage.dylib -> libXdamage.1.dylib -rwxr-xr-x 1 root admin 1078 Nov 9 18:35 libXdamage.la -rwxr-xr-x 1 root admin22704 Nov 9 18:35 libXdmcp.6.dylib -rw-r--r-- 1 root admin25712 Nov 9 18:35 libXdmcp.a lrwxr-xr-x 1 root admin 16 Nov 18 10:06 libXdmcp.dylib -> libXdmcp.6.dylib -rwxr-xr-x 1 root admin 934 Nov 9 18:35 libXdmcp.la -rwxr-xr-x 1 root admin81368 Nov 9 18:35 libXext.6.dylib -rw-r--r-- 1 root admin 111792 Nov 9 18:35 libXext.a lrwxr-xr-x 1 root admin 15 Nov 18 10:06 libXext.dylib -> libXext.6.dylib -rwxr-xr-x 1 root admin 1031 Nov 9 18:35 libXext.la -rwxr-xr-x 1 root admin23144 Nov 9 18:35 libXfixes.3.dylib -rw-r--r-- 1 root admin24160 Nov 9 18:35 libXfixes.a lrwxr-xr-x 1 root admin 17 Nov 18 10:06 libXfixes.dylib -> libXfixes.3.dylib -rwxr-xr-x 1 root admin 1044 Nov 9 18:35 libXfixes.la -rwxr-xr-x 1 root admin85928 Nov 9 18:04 libXft.2.dylib -rw-r--r-- 1 root admin 110960 Nov 9 18:04 libXft.a lrwxr-xr-x 1 root admin 14 Nov 18 10:05 libXft.dylib -> libXft.2.dylib -rwxr-xr-x 1 root admin 1173 Nov 9 18:04 libXft.la -rwxr-xr-x 1 root admin62472 Nov 9 18:36 libXi.6.dylib -rw-r--r-- 1 root admin 105128 Nov 9 18:36 libXi.a lrwxr-xr-x 1 root admin 13 Nov 18 10:06 libXi.dylib -> libXi.6.dylib -rwxr-xr-x 1 root admin 1044 Nov 9 18:36 libXi.la -rwxr-xr-x 1 root admin13544 Nov 9 18:36 libXinerama.1.dylib -rw-r--r-- 1 root admin 6944 Nov 9 18:36 libXinerama.a lrwxr-xr-x 1 root admin 19 Nov 18 10:06 libXinerama.dylib -> libXinerama.1.dylib -rwxr-xr-x 1 root admin 1080 Nov 9 18:36 libXinerama.la -rwxr-xr-x 1 root admin36440 Nov 9 18:36 libXrandr.2.dylib -rw-r--r-- 1 root admin42240 Nov 9 18:36 libXrandr.a lrwxr-xr-x 1 root admin 17 Nov 18 10:06 libXrandr.dylib -> libXrandr.2.dylib -rwxr-xr-x 1 root admin 1097 Nov 9 18:36 libXrandr.la -rwxr-xr-x 1 root admin40792 Nov 9 18:37 libXrender.1.dylib -rw-r--r-- 1 root admin48920 Nov 9 18:37 libXrender.a lrwxr-xr-x 1 root admin 18 Nov 18 10:06 libXrender.dylib -> libXrender.1.dylib -rwxr-xr-x 1 root admin 1050 Nov 9 18:37 libXrender.la -rwxr-xr-x 1 root admin 9432 Nov 9 18:12 libasprintf.0.dylib -rw-r--r-- 1 root admin 5248 Nov 9 18:12 libasprintf.a lrwxr-xr-x 1 root admin 19 Nov 18 10:06 libasprintf.dylib -> libasprintf.0.dylib -rwxr-xr-x 1 root admin 953 Nov 9 18:12 libasprintf.la -rwxr-xr-x 1 root admin 133840 Nov 9 18:04 libatk-1.0.0.dylib -rw-r--r-- 1 root admin 220768 Nov 9 18:04 libatk