From ryandesign at macports.org Tue Jul 1 00:13:20 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 1 Jul 2008 02:13:20 -0500 Subject: apache, postgresql, perl In-Reply-To: <4869711A.8010900@tacocat.net> References: <4861AFA3.5070904@tacocat.net> <0470D764-B1B7-4FB3-B582-ABF6691D3D1D@macports.org> <4861E66A.1060804@tacocat.net> <5192A56B-5891-4FCE-B7C1-BA91568DB8D6@macports.org> <4861EBA0.9050606@tacocat.net> <992FDF24-283B-41C8-A0FA-A416BA4E6A58@geeklair.net> <4869711A.8010900@tacocat.net> Message-ID: <76F21DA1-9DE2-4B51-A22A-A61535ACC55F@macports.org> On Jun 30, 2008, at 18:49, Tom Allison wrote: > Daniel J. Luke wrote: >> On Jun 25, 2008, at 2:54 AM, Tom Allison wrote: >>> Of course, as the result of this, right now I can't even get >>> users to >>> run any cgi (eg: /~tom/works.cgi) > > Something else is seriously wrong with this installation.... > > I stopped apache (apachectl stop) and the only change is that I get > a message that I do not have permission to access /~tom/ -- not > that the server is down. Ok, so maybe the apachectl you were running is not the one associated with the apache that was running. For example, maybe you were running the apachectl in /usr/sbin that controls Apple's apache, but it's the MacPorts apache2 you wanted to stop, in which case you would need to run the apachectl in /opt/local/apache2/bin instead. Or maybe it was the other way around. > OK, I went on a hunt and uninstalled, then deleted, then kill -9 > anything that looked like apache. > > Got that fixed. I hope you just uninstalled apaches that you had installed. You shouldn't for example delete files Apple provided as part of Mac OS X as this may confuse future OS updates. > Now that I have a new installation, there's no http.conf file -- > copy the sample one over and go from there? Yes, the apache2 port does not create an httpd.conf for you. It gives you an httpd.conf.sample which you can copy to httpd.conf and edit as needed. This ensures that future apache2 port updates do not alter your configuration file. From ryandesign at macports.org Tue Jul 1 00:36:45 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 1 Jul 2008 02:36:45 -0500 Subject: apache foul up In-Reply-To: <486976B5.5030306@tacocat.net> References: <486976B5.5030306@tacocat.net> Message-ID: <9FDFACAA-602D-4A93-B0D4-41BA71B6432E@macports.org> On Jun 30, 2008, at 19:13, Tom Allison wrote: > I'm getting more confused every 10 minutes with this apache > installation. > > I installed apache2: > sudo port installed | grep apache > apache2 @2.2.9_1 (active) > > The manual says version 1.3 > Error pages say 1.3.41. It sounds like you are running the Apache that comes with Mac OS X 10.4 and earlier, not the one MacPorts installed. Go to Personal Web Sharing in the Sharing preference pane in System Preferences and turn it off. Then you can start the MacPorts apache2 server. > Prior to this, in uninstalled all the apache modules and deleted the > /opt/local/apache2 directory and then installed apache2. > > Versions don't match up. > > I'm lost. These kinds of things aren't expected. > > > So, first. How does mac ports install version 1.3 when someone has > specified 2.2.9? Hacked website? The apache2 source contains the apache2 manual, and MacPorts installs that. > Assuming that it's just a matter of someone not updating any of the > documentation between the mac port for 1.3.41 and 2.2.9 then I've > worked > myself into another problem with this installation. > > ServerRoot "/opt/local/apache2" > ErrorLog "logs/error_log" > > As for the httpd.conf I just copied the original/http.conf over to > conf/httpd.conf and restarted apache. No logs. Even when I create an > error (like page not found or others) I have no files, nothing for > access_log or error_log. > > > OK, I found that even after apachectl stop there are still processes > running. So, after a killall I managed to get something working > (found > error_log and access_log). But the versions are still incorrect. From ocroquette at free.fr Tue Jul 1 00:55:59 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Tue, 01 Jul 2008 09:55:59 +0200 Subject: qt4-mac build fails in quicktimevideoplayer.cpp Message-ID: <4869E30F.50608@free.fr> Hi When compiling qt4, I get the following error message: ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp: In member function 'bool Phonon::QT7::QuickTimeVideoPlayer::setGLContext(__AGLContextRec*, __AGLPixelFormatRec*)': ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp:123: error: invalid conversion from 'long int*' to 'GLint*' ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp:123: error: initializing argument 3 of 'CGLError CGLChoosePixelFormat(const CGLPixelFormatAttribute*, _CGLPixelFormatObject**, GLint*)' make[4]: *** [.obj/debug-shared/quicktimevideoplayer.o] Error 1 make[3]: *** [debug-all] Error 2 make[2]: *** [sub-qt7-make_default] Error 2 make[1]: *** [sub-phonon-make_default] Error 2 make: *** [sub-plugins-make_default-ordered] Error 2 Here is a workaround to make the build continue and finish successfully: --- ./src/3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp 2008-04-28 15:11:15.000000000 +0200 +++ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.0/src/3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp 2008-06-30 18:31:38.000000000 +0200 @@ -120,8 +120,8 @@ CGLPixelFormatAttribute pfa[attributeCount]; pfa[0] = kCGLPFAWindow; pfa[1] = (CGLPixelFormatAttribute) 0; - err = CGLChoosePixelFormat(pfa, &cglPixelFormat, &attributeCount); - BACKEND_ASSERT3(err == noErr, "Could not create pixel format (OpenGL)", FATAL_ERROR, false) + // err = CGLChoosePixelFormat(pfa, &cglPixelFormat, &attributeCount); + BACKEND_ASSERT3(0 , "Could not create pixel format (OpenGL)", FATAL_ERROR, false) } CFTypeRef keys[] = { kQTVisualContextWorkingColorSpaceKey }; I have opened a bug report at Trolltech, but I would be glad to know if someone knows more about this! Has anyone build qt4-mac v4.4.0 successfully so far? -- Best regards Olivier From ocroquette at free.fr Tue Jul 1 02:26:23 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Tue, 01 Jul 2008 11:26:23 +0200 Subject: use_bzip2, extract.cmd have no effect Message-ID: <4869F83F.7040706@free.fr> Hi I am creating a new portfile for qgit, and in it I have: use_bzip2 yes extract.suffix .tar.bz2 extract.cmd bzip2 I know it's redundant but I am trying to make it work one way or another... The archive is downloaded successfully, but port still wants to extract it with gunzip: ---> qgit-2.1.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/qgit ---> Attempting to fetch qgit-2.1.tar.bz2 from http://downloads.sourceforge.net/qgit % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 173k 100 173k 0 0 118k 0 0:00:01 0:00:01 --:--:-- 541k ---> Verifying checksum(s) for qgit DEBUG: Executing org.macports.checksum (qgit) ---> Checksumming qgit-2.1.tar.bz2 DEBUG: Correct (md5) checksum for qgit-2.1.tar.bz2 ---> Extracting qgit DEBUG: Executing org.macports.extract (qgit) ---> Extracting qgit-2.1.tar.bz2 DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/qgit/qgit-2.1.tar.bz2 DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_tmp_Ports_devel_qgit/work" && gzip -dc /opt/local/var/macports/distfiles/qgit/qgit-2.1.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -' gzip: /opt/local/var/macports/distfiles/qgit/qgit-2.1.tar.bz2: not in gzip format DEBUG: Executing org.macports.patch (qgit) ---> Configuring qgit What can be wrong? I don't have any ideas anymore. I am using port version 1.600 Thanks! -- Regards Olivier From raimue at macports.org Tue Jul 1 04:08:27 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Tue, 01 Jul 2008 13:08:27 +0200 Subject: status of submitted portfile? In-Reply-To: <2E73B026-801F-4E1E-91A1-ADFA94A17A2E@mac.com> References: <2E73B026-801F-4E1E-91A1-ADFA94A17A2E@mac.com> Message-ID: <486A102B.2070600@macports.org> kykim_lists at mac.com wrote: > I submitted a portfile a few weeks back (ticket #15596) > and haven't heard anything one way or another. > > Anyone know who I might contact about this? I had a look at the Portfile and added some comments to the ticket. Rainer From raimue at macports.org Tue Jul 1 04:11:41 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Tue, 01 Jul 2008 13:11:41 +0200 Subject: qt4-mac build fails in quicktimevideoplayer.cpp In-Reply-To: <4869E30F.50608@free.fr> References: <4869E30F.50608@free.fr> Message-ID: <486A10ED.4070607@macports.org> Olivier Croquette wrote: > I have opened a bug report at Trolltech, but I would be glad to know if > someone knows more about this! > Has anyone build qt4-mac v4.4.0 successfully so far? Yes, I installed it successfully a few days ago. Mac OS X 10.5.3 Leopard on Intel Rainer From ocroquette at free.fr Tue Jul 1 04:15:37 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Tue, 01 Jul 2008 13:15:37 +0200 Subject: qt4-mac build fails in quicktimevideoplayer.cpp In-Reply-To: <486A10ED.4070607@macports.org> References: <4869E30F.50608@free.fr> <486A10ED.4070607@macports.org> Message-ID: <486A11D9.2070605@free.fr> Rainer M?ller wrote, On 1/07/08 13:11: >> I have opened a bug report at Trolltech, but I would be glad to know >> if someone knows more about this! >> Has anyone build qt4-mac v4.4.0 successfully so far? > > Yes, I installed it successfully a few days ago. > Mac OS X 10.5.3 Leopard on Intel Strange. I am on Intel too. What version of XCode do you have? I have XCode 2.4.1, and gcc: Target: i686-apple-darwin8 Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona --with-tune=generic --program-prefix= --host=i686-apple-darwin8 --target=i686-apple-darwin8 Thread model: posix gcc version 4.0.1 (Apple Computer, Inc. build 5367) Do you also have the offending line at quicktimevideoplayer.cpp:123 ? err = CGLChoosePixelFormat(pfa, &cglPixelFormat, &attributeCount); From raimue at macports.org Tue Jul 1 04:29:20 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Tue, 01 Jul 2008 13:29:20 +0200 Subject: qt4-mac build fails in quicktimevideoplayer.cpp In-Reply-To: <486A11D9.2070605@free.fr> References: <4869E30F.50608@free.fr> <486A10ED.4070607@macports.org> <486A11D9.2070605@free.fr> Message-ID: <486A1510.3000203@macports.org> Olivier Croquette wrote: > Rainer M?ller wrote, On 1/07/08 13:11: >>> I have opened a bug report at Trolltech, but I would be glad to know >>> if someone knows more about this! >>> Has anyone build qt4-mac v4.4.0 successfully so far? >> Yes, I installed it successfully a few days ago. >> Mac OS X 10.5.3 Leopard on Intel > > Strange. I am on Intel too. What version of XCode do you have? Xcode 3.0, but this is on Leopard. Seems like you are on Tiger. > [...] > Do you also have the offending line at quicktimevideoplayer.cpp:123 ? > > err = CGLChoosePixelFormat(pfa, &cglPixelFormat, &attributeCount); Yes. The code causing the error is only a few lines above: #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 GLint attributeCount = 2; #else long attributeCount = 2; #endif It uses GLint on Leopard, but long on lower versions (like Tiger). But from your error message in the first mail we see that CGLChoosePixelFormat() expects GLint as third parameter. This is definitely a bug in Qt4. Rainer From ocroquette at free.fr Tue Jul 1 05:26:04 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Tue, 01 Jul 2008 14:26:04 +0200 Subject: qt4-mac build fails in quicktimevideoplayer.cpp In-Reply-To: <486A1510.3000203@macports.org> References: <4869E30F.50608@free.fr> <486A10ED.4070607@macports.org> <486A11D9.2070605@free.fr> <486A1510.3000203@macports.org> Message-ID: <486A225C.8040701@free.fr> Rainer M?ller wrote, On 1/07/08 13:29: > This is definitely a bug in Qt4. Yes, thanks! I will keep you updated when I hear from Trolltech. From ocroquette at free.fr Tue Jul 1 08:48:49 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Tue, 01 Jul 2008 17:48:49 +0200 Subject: use_bzip2, extract.cmd have no effect In-Reply-To: <4869F83F.7040706@free.fr> References: <4869F83F.7040706@free.fr> Message-ID: <486A51E1.9020305@free.fr> Forget it, my bad! From ryandesign at macports.org Tue Jul 1 14:35:39 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 1 Jul 2008 16:35:39 -0500 Subject: qt4-mac build fails in quicktimevideoplayer.cpp In-Reply-To: <486A1510.3000203@macports.org> References: <4869E30F.50608@free.fr> <486A10ED.4070607@macports.org> <486A11D9.2070605@free.fr> <486A1510.3000203@macports.org> Message-ID: <7438416A-A976-41E2-A680-DB868C13A0AB@macports.org> On Jul 1, 2008, at 06:29, Rainer M?ller wrote: > Olivier Croquette wrote: >> Rainer M?ller wrote, On 1/07/08 13:11: >>>> I have opened a bug report at Trolltech, but I would be glad to >>>> know >>>> if someone knows more about this! >>>> Has anyone build qt4-mac v4.4.0 successfully so far? >>> Yes, I installed it successfully a few days ago. >>> Mac OS X 10.5.3 Leopard on Intel >> >> Strange. I am on Intel too. What version of XCode do you have? > > Xcode 3.0, but this is on Leopard. Seems like you are on Tiger. > >> [...] >> Do you also have the offending line at quicktimevideoplayer.cpp:123 ? >> >> err = CGLChoosePixelFormat(pfa, &cglPixelFormat, &attributeCount); > > Yes. The code causing the error is only a few lines above: > > #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 > GLint attributeCount = 2; > #else > long attributeCount = 2; > #endif > > It uses GLint on Leopard, but long on lower versions (like Tiger). But > from your error message in the first mail we see that > CGLChoosePixelFormat() expects GLint as third parameter. > > This is definitely a bug in Qt4. qt4-mac @4.4.0_3+dbus+docs built with no problems for me on Mac OS X 10.4.11 Intel with Xcode 2.5. From macsforever2000 at macports.org Tue Jul 1 16:00:45 2008 From: macsforever2000 at macports.org (Frank Schima) Date: Tue, 1 Jul 2008 17:00:45 -0600 Subject: Strange GTK error Message-ID: Hi all, I'm using the Python 2.5.2 from MacPorts on a Mac Pro with 10.5.4. When I attempt to do the following: from gtk import _gtk I get the following error: ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/ Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so, 2): Library not loaded: /opt/local/lib/libpangocairo-1.0.0.dylib Referenced from: /opt/local/lib/libgtk-x11-2.0.0.dylib Reason: Incompatible library version: libgtk-x11-2.0.0.dylib requires version 2002.0.0 or later, but libpangocairo-1.0.0.dylib provides version 2001.0.0 Any ideas what might be wrong with my setup? Cheers! Frank Schima Boulder, CO schimaf at boulder.nist.gov -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080701/ebffe804/attachment.html From raimue at macports.org Tue Jul 1 16:06:49 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Wed, 02 Jul 2008 01:06:49 +0200 Subject: qt4-mac build fails in quicktimevideoplayer.cpp In-Reply-To: <7438416A-A976-41E2-A680-DB868C13A0AB@macports.org> References: <4869E30F.50608@free.fr> <486A10ED.4070607@macports.org> <486A11D9.2070605@free.fr> <486A1510.3000203@macports.org> <7438416A-A976-41E2-A680-DB868C13A0AB@macports.org> Message-ID: <486AB889.1070903@macports.org> Ryan Schmidt wrote: > On Jul 1, 2008, at 06:29, Rainer M?ller wrote: >> This is definitely a bug in Qt4. > > qt4-mac @4.4.0_3+dbus+docs built with no problems for me on Mac OS X > 10.4.11 Intel with Xcode 2.5. I assume you were using trunk to build that? Maybe it could have something to do with the changes to MACOSX_DEPLOYMENT_VERSION (-macosx-version-min) in trunk? Just a guess. Rainer From ryandesign at macports.org Tue Jul 1 17:01:01 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 1 Jul 2008 19:01:01 -0500 Subject: Strange GTK error In-Reply-To: References: Message-ID: On Jul 1, 2008, at 18:00, Frank Schima wrote: > I'm using the Python 2.5.2 from MacPorts on a Mac Pro with 10.5.4. > > When I attempt to do the following: > > from gtk import _gtk > > I get the following error: > > ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/ > Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so, 2): > Library not loaded: /opt/local/lib/libpangocairo-1.0.0.dylib > Referenced from: /opt/local/lib/libgtk-x11-2.0.0.dylib > Reason: Incompatible library version: libgtk-x11-2.0.0.dylib > requires version 2002.0.0 or later, but libpangocairo-1.0.0.dylib > provides version 2001.0.0 > > Any ideas what might be wrong with my setup? Rebuild (sudo port -ncuf upgrade foo) whatever port provides /opt/ local/lib/libgtk-x11-2.0.0.dylib (discover this with "port provides / opt/local/lib/libgtk-x11-2.0.0.dylib") so that it re-links itself with the version of libpangocairo that you currently have. From ryandesign at macports.org Tue Jul 1 17:04:24 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 1 Jul 2008 19:04:24 -0500 Subject: qt4-mac build fails in quicktimevideoplayer.cpp In-Reply-To: <486AB889.1070903@macports.org> References: <4869E30F.50608@free.fr> <486A10ED.4070607@macports.org> <486A11D9.2070605@free.fr> <486A1510.3000203@macports.org> <7438416A-A976-41E2-A680-DB868C13A0AB@macports.org> <486AB889.1070903@macports.org> Message-ID: <0F6E2DCC-6A92-4F5A-8E94-B5A2134FD19B@macports.org> On Jul 1, 2008, at 18:06, Rainer M?ller wrote: > Ryan Schmidt wrote: >> On Jul 1, 2008, at 06:29, Rainer M?ller wrote: >>> This is definitely a bug in Qt4. >> >> qt4-mac @4.4.0_3+dbus+docs built with no problems for me on Mac OS X >> 10.4.11 Intel with Xcode 2.5. > > I assume you were using trunk to build that? Maybe it could have > something to do with the changes to MACOSX_DEPLOYMENT_VERSION > (-macosx-version-min) in trunk? > Just a guess. Yes I am using trunk. That's a good guess about the MACOSX_DEPLOYMENT_TARGET. Olivier, to test this, could you please add these lines to the end of the qt4-mac portfile and see if it fixes the problem for you? platform darwin 7 { configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3 build.env-append MACOSX_DEPLOYMENT_TARGET=10.3 } platform darwin 8 { configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4 build.env-append MACOSX_DEPLOYMENT_TARGET=10.4 } From ocroquette at free.fr Wed Jul 2 05:44:06 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Wed, 02 Jul 2008 14:44:06 +0200 Subject: Best practice for QT applications Message-ID: <486B7816.9000109@free.fr> Hi I have just created a new port for qgit: https://trac.macports.org/ticket/15820 and I was wondering if there are best practice for QT applications. They have a similar installation procedure as the GNU tools, but a bit different too, and there are several ways to write the portfile. For example, "qmake" can be called: - using "system qmake" in the configure { } block - by setting "configure.cmd" to "qmake" - in the build phase by setting use_configure to "no" Another topic is the destroot phase. QT applications don't have the same layout as GNU applications. Apparently, the rule is to do the installation manually, case by case. Is that right? QT ports would deserve a subchapter in the guide, in: http://guide.macports.org/#development.practices Or even better, portfiles could support qt applications directly (something like "use_qt yes" :) ) What do you think? Best regards Olivier From tabithamc at gmail.com Wed Jul 2 06:50:22 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Wed, 2 Jul 2008 03:50:22 -1000 Subject: A way to add a variant from command-line? Message-ID: <7fccb3000807020650j369f40a5x96d6c9659a2ebf4c@mail.gmail.com> Hello all -- I was wondering, is there a way, with the port command-line program, to add a variant to a port that you want to install without having to edit / modify its Portfile? I kind of was wondering because several days ago Rainer mentioned that you can do this type of thingy - magic on the command-line: $ sudo port install gnutar configure.compiler=macports-gcc-4.2 > It would be cool if one could add a variant in a similar manner, am I dreaming? ;-) Thanks, T.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080702/86d86c91/attachment.html From macsforever2000 at macports.org Wed Jul 2 07:41:20 2008 From: macsforever2000 at macports.org (Frank Schima) Date: Wed, 2 Jul 2008 08:41:20 -0600 Subject: Strange GTK error In-Reply-To: References: Message-ID: Hi Ryan, On Jul 1, 2008, at 6:01 PM, Ryan Schmidt wrote: > On Jul 1, 2008, at 18:00, Frank Schima wrote: > >> I'm using the Python 2.5.2 from MacPorts on a Mac Pro with 10.5.4. >> >> When I attempt to do the following: >> >> from gtk import _gtk >> >> I get the following error: >> >> ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/ >> Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so, 2): >> Library not loaded: /opt/local/lib/libpangocairo-1.0.0.dylib >> Referenced from: /opt/local/lib/libgtk-x11-2.0.0.dylib >> Reason: Incompatible library version: libgtk-x11-2.0.0.dylib >> requires version 2002.0.0 or later, but libpangocairo-1.0.0.dylib >> provides version 2001.0.0 >> >> Any ideas what might be wrong with my setup? > > Rebuild (sudo port -ncuf upgrade foo) whatever port provides /opt/ > local/lib/libgtk-x11-2.0.0.dylib (discover this with "port provides / > opt/local/lib/libgtk-x11-2.0.0.dylib") so that it re-links itself > with the version of libpangocairo that you currently have. Yes that worked. Thank you for the very informative reply! gtk2 was the issue. As a follow-up question: for some reason, I have both gtk1 and gtk2 active. Is there any reason to have both? In other words, why might I have gtk1 active? I certainly did not install it directly. I mean I understand that ports can be installed as dependencies, but is there some port(s) that requires gtk1 over gtk2? Is there a port command to tell me which ports may have required it? gtk1 @1.2.10_6 (active) gtk2 @2.12.9_0+x11 (active) Thanks! Frank Schima Boulder, CO schimaf at boulder.nist.gov From dluke at geeklair.net Wed Jul 2 08:55:30 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Wed, 2 Jul 2008 11:55:30 -0400 Subject: Best practice for QT applications In-Reply-To: <486B7816.9000109@free.fr> References: <486B7816.9000109@free.fr> Message-ID: <66EFD107-C875-4F27-9516-0DBB6CB59E47@geeklair.net> On Jul 2, 2008, at 8:44 AM, Olivier Croquette wrote: > I have just created a new port for qgit: > https://trac.macports.org/ticket/15820 > > and I was wondering if there are best practice for QT applications. > > They have a similar installation procedure as the GNU tools, but a bit > different too, and there are several ways to write the portfile. > > For example, "qmake" can be called: > > - using "system qmake" in the configure { } block > > - by setting "configure.cmd" to "qmake" I would probably do it this way. > - in the build phase by setting use_configure to "no" It doesn't matter too much how you implement it, whatever makes the most sense to you is probably OK. > Another topic is the destroot phase. QT applications don't have the > same > layout as GNU applications. Apparently, the rule is to do the > installation manually, case by case. Is that right? Probably, since you'll have to get the build output into the right place before the install phase happens. > QT ports would deserve a subchapter in the guide, in: > http://guide.macports.org/#development.practices I'm sure the doc group would welcome additions if you want to write something up. > Or even better, portfiles could support qt applications directly > (something like "use_qt yes" :) ) I don't know that there are enough Qt applications to warrant that (and I don't know if there's a good way to generalize what needs to happen in destroot or post-destroot so move the pieces to the write places). > What do you think? If you can think of a way to do it, and submit a patch, it's very likely that it will make it into MacPorts. -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080702/396879ef/attachment.bin From raimue at macports.org Wed Jul 2 09:00:56 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Wed, 02 Jul 2008 18:00:56 +0200 Subject: Strange GTK error In-Reply-To: References: Message-ID: <486BA638.2060109@macports.org> Frank Schima wrote: > gtk2 was the issue. As a follow-up question: for some reason, I have > both gtk1 and gtk2 active. Is there any reason to have both? In other > words, why might I have gtk1 active? I certainly did not install it > directly. I mean I understand that ports can be installed as > dependencies, but is there some port(s) that requires gtk1 over gtk2? > Is there a port command to tell me which ports may have required it? $ port dependents gtk1 will show you installed ports depending on gtk1. Then you can use port dependents on those ports again until you find out what requires it finally. Unfortunately there is no automatic --follow-dependents for this command. Rainer From macsforever2000 at macports.org Wed Jul 2 10:34:27 2008 From: macsforever2000 at macports.org (Frank Schima) Date: Wed, 2 Jul 2008 11:34:27 -0600 Subject: Strange GTK error In-Reply-To: <486BA638.2060109@macports.org> References: <486BA638.2060109@macports.org> Message-ID: <30FC0FF3-A6F3-486D-AB58-D591CC552154@macports.org> On Jul 2, 2008, at 10:00 AM, Rainer M?ller wrote: > Frank Schima wrote: >> gtk2 was the issue. As a follow-up question: for some reason, I have >> both gtk1 and gtk2 active. Is there any reason to have both? In other >> words, why might I have gtk1 active? I certainly did not install it >> directly. I mean I understand that ports can be installed as >> dependencies, but is there some port(s) that requires gtk1 over gtk2? >> Is there a port command to tell me which ports may have required it? > > $ port dependents gtk1 > > will show you installed ports depending on gtk1. Then you can use port > dependents on those ports again until you find out what requires it > finally. Unfortunately there is no automatic --follow-dependents for > this command. I ran this and it returned: gtk1 has no dependents! So I assume I can remove it. Thanks! Frank Schima Boulder, CO schimaf at boulder.nist.gov From ryandesign at macports.org Wed Jul 2 10:52:17 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 2 Jul 2008 12:52:17 -0500 Subject: Strange GTK error In-Reply-To: References: Message-ID: <9B5226E2-89A3-4037-BE76-E5C5347EFF82@macports.org> On Jul 2, 2008, at 09:41, Frank Schima wrote: > As a follow-up question: for some reason, I have both gtk1 and gtk2 > active. Is there any reason to have both? In other words, why might > I have gtk1 active? I certainly did not install it directly. I mean > I understand that ports can be installed as dependencies, but is > there some port(s) that requires gtk1 over gtk2? Is there a port > command to tell me which ports may have required it? > > gtk1 @1.2.10_6 (active) > gtk2 @2.12.9_0+x11 (active) Ports that require gtk1 cannot use gtk2 without a rewrite. Ports that require gtk2 cannot use gtk1. To discover which of your installed ports require gtk1, say: port dependents gtk1 From will at willstclair.com Wed Jul 2 11:12:17 2008 From: will at willstclair.com (Will St. Clair) Date: Wed, 2 Jul 2008 13:12:17 -0500 Subject: fetch failed: tclsqlite2 Message-ID: Having issues fetching tclsqlite2 on a PPC mac running 10.5.2 (Kickin' it old-school.) Obligatory system information: Willpower:~ will$ uname -a Darwin Willpower 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:23:43 PST 2008; root:xnu-1228.4.31~1/RELEASE_PPC Power Macintosh Willpower:~ will$ sw_vers ProductName: Mac OS X ProductVersion: 10.5.2 BuildVersion: 9C7010 I tried the hack on the hotlist page but still no dice: Willpower:~ will$ sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/tclsqlite2 port -v fetch tclsqlite2 ---> Fetching tclsqlite2 ---> sqlite.tar.gz doesn't seem to exist in /opt/local/var/macports/ distfiles/sqlite2 ---> Attempting to fetch sqlite.tar.gz from http://distfiles.macports.org/tclsqlite2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch sqlite.tar.gz from http://www.sqlite.org/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch sqlite.tar.gz from http://svn.macports.org/repository/macports/distfiles/tclsqlite2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch sqlite.tar.gz from http://svn.macports.org/repository/macports/distfiles/general/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch sqlite.tar.gz from http://svn.macports.org/repository/macports/downloads/tclsqlite2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 Error: Target org.macports.fetch returned: fetch failed Warning: the following items did not execute (for tclsqlite2): org.macports.fetch Error: Status 1 encountered during processing. Any ideas? Tearing my hair out here. tk, tcl, tcllib, sqlite3 are all already installed. Will -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080702/63522cf0/attachment.html From ocroquette at free.fr Wed Jul 2 11:21:13 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Wed, 02 Jul 2008 20:21:13 +0200 Subject: Best practice for QT applications In-Reply-To: <66EFD107-C875-4F27-9516-0DBB6CB59E47@geeklair.net> References: <486B7816.9000109@free.fr> <66EFD107-C875-4F27-9516-0DBB6CB59E47@geeklair.net> Message-ID: <486BC719.6020806@free.fr> Daniel J. Luke wrote, On 2/07/08 17:55: > It doesn't matter too much how you implement it, whatever makes the most > sense to you is probably OK. I agree, but it would be nice to have at least a recommended way to do it, to get some consistency among the different QT ports. > I'm sure the doc group would welcome additions if you want to write > something up. qgit was my first port ever, so I don't have the expertise yet, but I will keep it in mind if nobody takes it over in the meantime. > If you can think of a way to do it, and submit a patch, it's very likely > that it will make it into MacPorts. Thanks for the encouragement! :) From ocroquette at free.fr Wed Jul 2 11:23:49 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Wed, 02 Jul 2008 20:23:49 +0200 Subject: qt4-mac build fails in quicktimevideoplayer.cpp In-Reply-To: <0F6E2DCC-6A92-4F5A-8E94-B5A2134FD19B@macports.org> References: <4869E30F.50608@free.fr> <486A10ED.4070607@macports.org> <486A11D9.2070605@free.fr> <486A1510.3000203@macports.org> <7438416A-A976-41E2-A680-DB868C13A0AB@macports.org> <486AB889.1070903@macports.org> <0F6E2DCC-6A92-4F5A-8E94-B5A2134FD19B@macports.org> Message-ID: <486BC7B5.1070106@free.fr> Ryan Schmidt wrote, On 2/07/08 2:04: > Olivier, to test this, could you please add these lines to the end of > the qt4-mac portfile and see if it fixes the problem for you? I will try it ASAP. In the meantime, here is Trolltech's answer: # BEGIN We are aware of this problem. Unfortunately this issue is on the SDK from Apple where somehow it had to do with mixing up the headers on some tiger machines. You can try to build against the 10.4u SDK and that should build just fine or simply cast the variable to correct type on your machine. # END I am not sure what he means by "10.4u" though. From urkapd at libero.it Wed Jul 2 11:46:17 2008 From: urkapd at libero.it (MAS!) Date: Wed, 2 Jul 2008 20:46:17 +0200 Subject: pidgin / funpidgin Message-ID: does anyone know something about a (new) release for pidgin (or funpidgin)?! it seems icq doesn't work anymore, since the protocol is too old thank you in adavance bye MAS! From ryandesign at macports.org Wed Jul 2 11:51:57 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 2 Jul 2008 13:51:57 -0500 Subject: qt4-mac build fails in quicktimevideoplayer.cpp In-Reply-To: <486BC7B5.1070106@free.fr> References: <4869E30F.50608@free.fr> <486A10ED.4070607@macports.org> <486A11D9.2070605@free.fr> <486A1510.3000203@macports.org> <7438416A-A976-41E2-A680-DB868C13A0AB@macports.org> <486AB889.1070903@macports.org> <0F6E2DCC-6A92-4F5A-8E94-B5A2134FD19B@macports.org> <486BC7B5.1070106@free.fr> Message-ID: <9A631D61-85B2-4B2E-933E-3E98D676DED4@macports.org> On Jul 2, 2008, at 13:23, Olivier Croquette wrote: > Ryan Schmidt wrote, On 2/07/08 2:04: > >> Olivier, to test this, could you please add these lines to the end >> of the qt4-mac portfile and see if it fixes the problem for you? > > I will try it ASAP. > > In the meantime, here is Trolltech's answer: > > # BEGIN > We are aware of this problem. Unfortunately this issue is on the SDK > from Apple where somehow it had to do with mixing up the headers on > some tiger machines. > You can try to build against the 10.4u SDK and that should build just > fine or simply cast the variable to correct type on your machine. > > # END > > I am not sure what he means by "10.4u" though. The 10.4u SDK is located at /Developer/SDKs/MacOSX10.4u.sdk. The "u" stands for Universal. MacPorts uses this SDK when you request the +universal variant of a port. Well, it does on Tiger anyway. On Leopard, it uses the 10.5 SDK. If you build MacPorts from trunk, you can specify which SDK you want to use in the macports.conf. These SDKs should only be necessary when building universal, however, and building universal should not be required for most ports. Before we try to mess with any of that, please try just setting the MACOSX_DEPLOYMENT_TARGET variable in the portfile. From ryandesign at macports.org Wed Jul 2 11:54:39 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 2 Jul 2008 13:54:39 -0500 Subject: A way to add a variant from command-line? In-Reply-To: <7fccb3000807020650j369f40a5x96d6c9659a2ebf4c@mail.gmail.com> References: <7fccb3000807020650j369f40a5x96d6c9659a2ebf4c@mail.gmail.com> Message-ID: <8FD890CC-F4A3-4861-B12E-3046CD36A0D4@macports.org> On Jul 2, 2008, at 08:50, Tabitha McNerney wrote: > I was wondering, is there a way, with the port command-line > program, to add a variant to a port that you want to install > without having to edit / modify its Portfile? I kind of was > wondering because several days ago Rainer mentioned that you can do > this type of thingy - magic on the command-line: > > $ sudo port install gnutar configure.compiler=macports-gcc-4.2 > > It would be cool if one could add a variant in a similar manner, am > I dreaming? ;-) I don't know of a way to do that. Why do you want to? From ryandesign at macports.org Wed Jul 2 11:56:10 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 2 Jul 2008 13:56:10 -0500 Subject: Best practice for QT applications In-Reply-To: <486B7816.9000109@free.fr> References: <486B7816.9000109@free.fr> Message-ID: <14EEA8D8-1E15-4B05-AE8E-BBD50DD18D5C@macports.org> On Jul 2, 2008, at 07:44, Olivier Croquette wrote: > Or even better, portfiles could support qt applications directly > (something like "use_qt yes" :) ) If there is a standard way to build and install qt applications, then maybe instead of "use_qt yes", a qt portgroup is in order, just like we have an xcode portgroup. From luomo1138 at yahoo.com Wed Jul 2 14:49:44 2008 From: luomo1138 at yahoo.com (Dexter Douglas) Date: Wed, 2 Jul 2008 14:49:44 -0700 (PDT) Subject: matplotlib, gtk, and libpangocairo problem Message-ID: <410419.43878.qm@web65607.mail.ac4.yahoo.com> Hello, I am trying to run some matplotlib examples. I get the error below. All of my ports are up-to-date. Does anyone know what is wrong? Thanks. [begin error] File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.p y", line 7, in import gtk; gdk = gtk.gdk File "/opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", line 48, in from gtk import _gtk ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so, 2): Library not loaded: /opt/local/lib/libpangocairo-1.0.0.dylib Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so Reason: Incompatible library version: _gtk.so requires version 2003.0.0 or later, but libpangocairo-1.0.0.dylib provides version 2001.0.0 [end error] From ryandesign at macports.org Wed Jul 2 15:07:54 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 2 Jul 2008 17:07:54 -0500 Subject: matplotlib, gtk, and libpangocairo problem In-Reply-To: <410419.43878.qm@web65607.mail.ac4.yahoo.com> References: <410419.43878.qm@web65607.mail.ac4.yahoo.com> Message-ID: On Jul 2, 2008, at 16:49, Dexter Douglas wrote: > I am trying to run some matplotlib examples. I get the error > below. All of my ports are up-to-date. Does anyone know what is > wrong? > > Thanks. > > [begin error] > File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/ > backend_gtk.p > y", line 7, in > import gtk; gdk = gtk.gdk > File "/opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/ > __init__.py", line 48, in > from gtk import _gtk > ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/ > Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so, 2): > Library not loaded: /opt/local/lib/libpangocairo-1.0.0.dylib > Referenced from: /opt/local/Library/Frameworks/Python.framework/ > Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so > Reason: Incompatible library version: _gtk.so requires version > 2003.0.0 or later, but libpangocairo-1.0.0.dylib provides version > 2001.0.0 > [end error] This was just answered here: http://lists.macosforge.org/pipermail/macports-users/2008-July/ 010839.html From luomo1138 at yahoo.com Wed Jul 2 16:54:30 2008 From: luomo1138 at yahoo.com (Dexter Douglas) Date: Wed, 2 Jul 2008 16:54:30 -0700 (PDT) Subject: matplotlib, gtk, and libpangocairo problem In-Reply-To: Message-ID: <236895.21506.qm@web65616.mail.ac4.yahoo.com> Hello, Thanks! I ran sudo port -ncuf upgrade py25-gtk sudo port -ncuf upgrade py25-matplotlib This solved the problem! By the way, I ran "port provides /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so" to see what port provides this library since it was the one referring to the libpangocairo library. It said /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so is not provided by a MacPorts port. Thanks. --- On Wed, 7/2/08, Ryan Schmidt wrote: > From: Ryan Schmidt > Subject: Re: matplotlib, gtk, and libpangocairo problem > To: luomo1138 at yahoo.com > Cc: macports-users at lists.macosforge.org > Date: Wednesday, July 2, 2008, 6:07 PM > On Jul 2, 2008, at 16:49, Dexter Douglas wrote: > > > I am trying to run some matplotlib examples. I get > the error > > below. All of my ports are up-to-date. Does anyone > know what is > > wrong? > > > > Thanks. > > > > [begin error] > > File > "/opt/local/lib/python2.5/site-packages/matplotlib/backends/ > > > backend_gtk.p > > y", line 7, in > > import gtk; gdk = gtk.gdk > > File > "/opt/local/lib/python2.5/site-packages/gtk-2.0/gtk/ > > __init__.py", line 48, in > > from gtk import _gtk > > ImportError: > dlopen(/opt/local/Library/Frameworks/Python.framework/ > > > Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so, > 2): > > Library not loaded: > /opt/local/lib/libpangocairo-1.0.0.dylib > > Referenced from: > /opt/local/Library/Frameworks/Python.framework/ > > > Versions/2.5/lib/python2.5/site-packages/gtk-2.0/gtk/_gtk.so > > Reason: Incompatible library version: _gtk.so > requires version > > 2003.0.0 or later, but libpangocairo-1.0.0.dylib > provides version > > 2001.0.0 > > [end error] > > This was just answered here: > > http://lists.macosforge.org/pipermail/macports-users/2008-July/ > > 010839.html From randall.h.wood at alexandriasoftware.com Thu Jul 3 01:51:54 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Thu, 3 Jul 2008 04:51:54 -0400 Subject: pidgin / funpidgin In-Reply-To: References: Message-ID: The AOL servers are blocking ICQ clients that behave like ICQ 5. Libpurple/pidgin 2.4.3 fixes this issue. On Wed, Jul 2, 2008 at 2:46 PM, MAS! wrote: > does anyone know something about a (new) release for pidgin (or > funpidgin)?! > it seems icq doesn't work anymore, since the protocol is too old > thank you in adavance > bye > MAS! > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > Libpurple 2.4.3 -- Randall Wood randall.h.wood at alexandriasoftware.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy." From tabithamc at gmail.com Thu Jul 3 03:51:49 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Thu, 3 Jul 2008 00:51:49 -1000 Subject: A way to add a variant from command-line? In-Reply-To: <8FD890CC-F4A3-4861-B12E-3046CD36A0D4@macports.org> References: <7fccb3000807020650j369f40a5x96d6c9659a2ebf4c@mail.gmail.com> <8FD890CC-F4A3-4861-B12E-3046CD36A0D4@macports.org> Message-ID: <7fccb3000807030351p7e3464cfr948a938c4d1fd25@mail.gmail.com> On Wed, Jul 2, 2008 at 8:54 AM, Ryan Schmidt wrote: > On Jul 2, 2008, at 08:50, Tabitha McNerney wrote: > > I was wondering, is there a way, with the port command-line program, to >> add a variant to a port that you want to install without having to edit / >> modify its Portfile? I kind of was wondering because several days ago Rainer >> mentioned that you can do this type of thingy - magic on the command-line: >> >> $ sudo port install gnutar configure.compiler=macports-gcc-4.2 >> >> It would be cool if one could add a variant in a similar manner, am I >> dreaming? ;-) >> > > I don't know of a way to do that. Why do you want to? Well, a matter of convenience perhaps. For example, I build MacPorts on more than one disk image. Each image has some ports that have different requisites and require Portfile modification to add a variant. Its not really that big of a deal but would be interesting if there was a way to add a variant via the command-line (maybe too difficult considering that some variants need too much extra information that's better off written in Tcl anyway. Thanks, T.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080703/0a012c56/attachment.html From luomo1138 at yahoo.com Thu Jul 3 14:01:29 2008 From: luomo1138 at yahoo.com (Dexter Douglas) Date: Thu, 3 Jul 2008 14:01:29 -0700 (PDT) Subject: matplotlib and dap.client Message-ID: <55284.98018.qm@web65610.mail.ac4.yahoo.com> Hello, I am trying run the plotmap.py script found on matplotlib's web-site: http://matplotlib.sourceforge.net/screenshots.html I am receiving this error [begin] Traceback (most recent call last): File "plotmap.py", line 7, in from mpl_toolkits.basemap import Basemap, shiftgrid File "/opt/local/lib/python2.5/site-packages/mpl_toolkits/basemap/__init__.py", line 1, in from basemap import __doc__, __version__ File "/opt/local/lib/python2.5/site-packages/mpl_toolkits/basemap/basemap.py", line 39, in import _geoslib, pupynere, netcdftime File "/opt/local/lib/python2.5/site-packages/mpl_toolkits/basemap/pupynere.py", line 37, in from dap.client import open as open_remote ImportError: No module named dap.client [end] Which port provides the dap.client module? Thanks, Jim From ocroquette at free.fr Thu Jul 3 14:21:47 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Thu, 03 Jul 2008 23:21:47 +0200 Subject: Bug with multiple port: dependencies in depends_lib ? Message-ID: <486D42EB.50305@free.fr> Hi all While working on my Portfile, I made the following strange observation with depends_lib and multiple ports. If I have: depends_lib port:test-qt4-mac port:git-core Then I get: Error: Dependency 'test-qt4-mac' not found. So far, so good. But if I switch the ports: depends_lib port:git-core port:test-qt4-mac There is no error! It just starts fetching and building my port. Apparently, only the first port: is taken into consideration. According to the doc: http://guide.macports.org/#reference.dependencies.types multiple ports are allowed. Am I doing something wrong or is there a bug? @Rainer: this is the reason why I didn't catch the problem with "qt4" in . Does your installation catch the problem!? Thanks Olivier From raimue at macports.org Thu Jul 3 14:39:30 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Thu, 03 Jul 2008 23:39:30 +0200 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <486D42EB.50305@free.fr> References: <486D42EB.50305@free.fr> Message-ID: <486D4712.4060707@macports.org> Olivier Croquette wrote: > While working on my Portfile, I made the following strange observation > with depends_lib and multiple ports. > > If I have: > > depends_lib port:test-qt4-mac port:git-core > > Then I get: > Error: Dependency 'test-qt4-mac' not found. > So far, so good. > > But if I switch the ports: > > depends_lib port:git-core port:test-qt4-mac > > There is no error! It just starts fetching and building my port. > Apparently, only the first port: is taken into consideration. > > > According to the doc: > http://guide.macports.org/#reference.dependencies.types > multiple ports are allowed. > > Am I doing something wrong or is there a bug? I remember this bug. It was already fixed on trunk. See > @Rainer: this is the reason why I didn't catch the problem with "qt4" in > . Does your installation catch > the problem!? I am using trunk, so it detected the non-existing dependency correctly on my installation. Rainer From ocroquette at free.fr Thu Jul 3 14:43:57 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Thu, 03 Jul 2008 23:43:57 +0200 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <486D4712.4060707@macports.org> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> Message-ID: <486D481D.30302@free.fr> Rainer M?ller wrote, On 3/07/08 23:39: > I am using trunk, so it detected the non-existing dependency correctly > on my installation. OK. Is there any release foreseen soon, or should I think about switching to trunk? Is there any documentation how to do that? From 0x62_0x6c_0x62 at pobox.com Thu Jul 3 14:44:47 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Thu, 3 Jul 2008 15:44:47 -0600 Subject: matplotlib and dap.client In-Reply-To: <55284.98018.qm@web65610.mail.ac4.yahoo.com> References: <55284.98018.qm@web65610.mail.ac4.yahoo.com> Message-ID: <9343F01C-AF29-4CD7-801F-9A582FD89D1B@pobox.com> On Jul 3, 2008, at 3:01 PM, Dexter Douglas wrote: > Hello, > > I am trying run the plotmap.py script found on matplotlib's web-site: > http://matplotlib.sourceforge.net/screenshots.html > > I am receiving this error > > [begin] > Traceback (most recent call last): > File "plotmap.py", line 7, in from mpl_toolkits.basemap > import Basemap, shiftgrid > File "/opt/local/lib/python2.5/site-packages/mpl_toolkits/basemap/ > __init__.py", line 1, in > from basemap import __doc__, __version__ > File "/opt/local/lib/python2.5/site-packages/mpl_toolkits/basemap/ > basemap.py", line 39, in > import _geoslib, pupynere, netcdftime > File "/opt/local/lib/python2.5/site-packages/mpl_toolkits/basemap/ > pupynere.py", line 37, in > from dap.client import open as open_remote > ImportError: No module named dap.client > [end] > > Which port provides the dap.client module? > Looks like pydap, , which doesn't appear to be in MacPorts. I guess the question here is should it be so it can be made a dependency for the matplotlib ports? Bryan > Thanks, > Jim > From 0x62_0x6c_0x62 at pobox.com Thu Jul 3 14:46:34 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Thu, 3 Jul 2008 15:46:34 -0600 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <486D42EB.50305@free.fr> References: <486D42EB.50305@free.fr> Message-ID: On Jul 3, 2008, at 3:21 PM, Olivier Croquette wrote: > Hi all > > While working on my Portfile, I made the following strange observation > with depends_lib and multiple ports. > > If I have: > > depends_lib port:test-qt4-mac port:git-core > > Then I get: > Error: Dependency 'test-qt4-mac' not found. > So far, so good. > > But if I switch the ports: > > depends_lib port:git-core port:test-qt4-mac > > There is no error! It just starts fetching and building my port. > Apparently, only the first port: is taken into consideration. > Looks like a bug in 1.6, as I can reproduce it there, but on trunk it works as one would expect. I think this is only the case when one of the ports isn't actually found in PortIndex though, as otherwise multiple dependencies work fine on 1.6. Bryan > > According to the doc: > http://guide.macports.org/#reference.dependencies.types > multiple ports are allowed. > > Am I doing something wrong or is there a bug? > > @Rainer: this is the reason why I didn't catch the problem with > "qt4" in > . Does your installation catch > the problem!? > > Thanks > > Olivier From raimue at macports.org Thu Jul 3 15:33:59 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Fri, 04 Jul 2008 00:33:59 +0200 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <486D481D.30302@free.fr> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> <486D481D.30302@free.fr> Message-ID: <486D53D7.9090305@macports.org> Olivier Croquette wrote: > Rainer M?ller wrote, On 3/07/08 23:39: >> I am using trunk, so it detected the non-existing dependency correctly >> on my installation. > > OK. Is there any release foreseen soon, or should I think about > switching to trunk? Is there any documentation how to do that? jmpp wanted to prepare a new release in April, but then suddenly disappeared. There is an 'How to run from trunk?' at Rainer From paul.denlinger at gmail.com Thu Jul 3 21:47:29 2008 From: paul.denlinger at gmail.com (Paul Denlinger) Date: Thu, 3 Jul 2008 21:47:29 -0700 Subject: Problem with Macports install Message-ID: <38BCBCDD-492B-46A1-80F2-09CD918A80F0@gmail.com> I'm having a problem with my Macports install. When I use the: sudo port -d selfupdate command, I get the following response: DEBUG: Rebuilding the MacPorts base system if needed. DEBUG: Synchronizing ports tree(s) Synchronizing local ports tree from rsync://rsync.macports.org/release/ ports/ DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/ release/ports/ /opt/local/var/macports/sources/rsync.macports.org/ release/ports rsync: failed to connect to rsync.macports.org: Connection refused (61) rsync error: error in socket IO (code 10) at /SourceCache/rsync/ rsync-31/rsync/clientserver.c(94) DEBUG: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync while executing "macports::selfupdate [array get global_options]" Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync Can you tell me what commands I need to give to fix things? Thank you! From ryandesign at macports.org Thu Jul 3 22:57:09 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 4 Jul 2008 00:57:09 -0500 Subject: Problem with Macports install In-Reply-To: <38BCBCDD-492B-46A1-80F2-09CD918A80F0@gmail.com> References: <38BCBCDD-492B-46A1-80F2-09CD918A80F0@gmail.com> Message-ID: <1386EECA-788D-4382-BC0B-4D7A0B502CB6@macports.org> On Jul 3, 2008, at 23:47, Paul Denlinger wrote: > I'm having a problem with my Macports install. When I use the: > > sudo port -d selfupdate > > command, I get the following response: > > DEBUG: Rebuilding the MacPorts base system if needed. > DEBUG: Synchronizing ports tree(s) > Synchronizing local ports tree from rsync://rsync.macports.org/ > release/ > ports/ > DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/ > release/ports/ /opt/local/var/macports/sources/rsync.macports.org/ > release/ports > rsync: failed to connect to rsync.macports.org: Connection refused > (61) > rsync error: error in socket IO (code 10) at /SourceCache/rsync/ > rsync-31/rsync/clientserver.c(94) > DEBUG: Couldn't sync the ports tree: Synchronization the local ports > tree failed doing rsync > while executing > "macports::selfupdate [array get global_options]" > Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the > ports tree: Synchronization the local ports tree failed doing rsync > > Can you tell me what commands I need to give to fix things? Not really.... does rsync work on your network or is it maybe blocked by network administrators? From paul.denlinger at gmail.com Fri Jul 4 00:00:44 2008 From: paul.denlinger at gmail.com (Paul Denlinger) Date: Fri, 4 Jul 2008 00:00:44 -0700 Subject: Problem with Macports install In-Reply-To: <1386EECA-788D-4382-BC0B-4D7A0B502CB6@macports.org> References: <38BCBCDD-492B-46A1-80F2-09CD918A80F0@gmail.com> <1386EECA-788D-4382-BC0B-4D7A0B502CB6@macports.org> Message-ID: <3F9B4317-C6B0-4A6A-A3D1-F4E3E924CBD6@gmail.com> I just tried again and it worked. I think the problem may have been because I tried to do the update in a public library, and the network admin may have blocked that port. It worked fine at home. Thanks! On Jul 3, 2008, at 10:57 PM, Ryan Schmidt wrote: > On Jul 3, 2008, at 23:47, Paul Denlinger wrote: > >> I'm having a problem with my Macports install. When I use the: >> >> sudo port -d selfupdate >> >> command, I get the following response: >> >> DEBUG: Rebuilding the MacPorts base system if needed. >> DEBUG: Synchronizing ports tree(s) >> Synchronizing local ports tree from rsync://rsync.macports.org/ >> release/ >> ports/ >> DEBUG: /usr/bin/rsync -rtzv --delete-after rsync:// >> rsync.macports.org/ >> release/ports/ /opt/local/var/macports/sources/rsync.macports.org/ >> release/ports >> rsync: failed to connect to rsync.macports.org: Connection refused >> (61) >> rsync error: error in socket IO (code 10) at /SourceCache/rsync/ >> rsync-31/rsync/clientserver.c(94) >> DEBUG: Couldn't sync the ports tree: Synchronization the local ports >> tree failed doing rsync >> while executing >> "macports::selfupdate [array get global_options]" >> Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the >> ports tree: Synchronization the local ports tree failed doing rsync >> >> Can you tell me what commands I need to give to fix things? > > Not really.... does rsync work on your network or is it maybe > blocked by network administrators? > From ryandesign at macports.org Fri Jul 4 09:24:44 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 4 Jul 2008 11:24:44 -0500 Subject: fetch failed: tclsqlite2 In-Reply-To: References: Message-ID: <671D90B0-C201-4CD8-B848-90234103C89B@macports.org> On Jul 2, 2008, at 13:12, Will St. Clair wrote: > Having issues fetching tclsqlite2 on a PPC mac running 10.5.2 > (Kickin' it old-school.) > > Obligatory system information: > > Willpower:~ will$ uname -a > Darwin Willpower 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 > 21:23:43 PST 2008; root:xnu-1228.4.31~1/RELEASE_PPC Power Macintosh > > Willpower:~ will$ sw_vers > ProductName: Mac OS X > ProductVersion: 10.5.2 > BuildVersion: 9C7010 > > I tried the hack on the hotlist page but still no dice: > > Willpower:~ will$ sudo env MASTER_SITE_LOCAL=http:// > distfiles.macports.org/tclsqlite2 port -v fetch tclsqlite2 > ---> Fetching tclsqlite2 > ---> sqlite.tar.gz doesn't seem to exist in /opt/local/var/ > macports/distfiles/sqlite2 > ---> Attempting to fetch sqlite.tar.gz from http:// > distfiles.macports.org/tclsqlite2 > % Total % Received % Xferd Average Speed Time Time > Time Current > Dload Upload Total Spent > Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- > --:--:-- 0 > ---> Attempting to fetch sqlite.tar.gz from http://www.sqlite.org/ > % Total % Received % Xferd Average Speed Time Time > Time Current > Dload Upload Total Spent > Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- > --:--:-- 0 > ---> Attempting to fetch sqlite.tar.gz from http:// > svn.macports.org/repository/macports/distfiles/tclsqlite2 > % Total % Received % Xferd Average Speed Time Time > Time Current > Dload Upload Total Spent > Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- > --:--:-- 0 > ---> Attempting to fetch sqlite.tar.gz from http:// > svn.macports.org/repository/macports/distfiles/general/ > % Total % Received % Xferd Average Speed Time Time > Time Current > Dload Upload Total Spent > Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- > --:--:-- 0 > ---> Attempting to fetch sqlite.tar.gz from http:// > svn.macports.org/repository/macports/downloads/tclsqlite2 > % Total % Received % Xferd Average Speed Time Time > Time Current > Dload Upload Total Spent > Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- > --:--:-- 0 > Error: Target org.macports.fetch returned: fetch failed > Warning: the following items did not execute (for tclsqlite2): > org.macports.fetch > Error: Status 1 encountered during processing. > > Any ideas? Tearing my hair out here. tk, tcl, tcllib, sqlite3 are > all already installed. tclsqlite2 is for sqlite2. That may not be so useful anymore, even if we could find the old distfile somewhere. The current version of tclsqlite available on www.sqlite.org is 3.5.9. Maybe we should retire the tclsqlite2 port (no other ports seem to use it) and make a new tclsqlite3 port. Could you file a ticket for that request? Maybe Cc mww on the ticket, since he maintains sqlite3 and made tclsqlite2. From paulbeard at gmail.com Fri Jul 4 12:19:32 2008 From: paulbeard at gmail.com (paul beard) Date: Fri, 4 Jul 2008 12:19:32 -0700 Subject: ccache errors, when I have it configured OFF? Message-ID: Anyone know what this is about? ---> Building glib1 with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_glib1/work/glib-1.2.10" && make all " returned error 2 Command output: make all-recursive Making all in . /bin/sh ./libtool --mode=link ccache /usr/bin/gcc-4.0 -O2 -I/opt/local/include -Wall -D_REENTRANT -L/opt/local/lib -o libglib.la -rpath /opt/local/lib -version-info 0:10:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.* ccache -dynamiclib -flat_namespace -undefined suppress -o .libs/libglib-1.2.0.0.10.dylib garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo -L/opt/local/lib -lc -install_name /opt/local/lib/libglib-1.2.0.dylib -compatibility_version 1 -current_version 1.10 ccache: illegal option -- d I tried just commenting out the line, but wondered if it defaulted to YES if there was nothing configured. macports.conf:# Use ccache (C/C++ compiler cache) - see http://ccache.samba.org/ macports.conf:configureccache no -- Paul Beard / www.paulbeard.org/ From paulbeard at gmail.com Fri Jul 4 13:51:50 2008 From: paulbeard at gmail.com (paul beard) Date: Fri, 4 Jul 2008 13:51:50 -0700 Subject: dependencies for gnome Message-ID: Are all these *really* necessary? Error: The following dependencies failed to build: gnome-desktop-suite evince gdk-pixbuf glib1 gtk1 poppler poppler-data file-roller gcalctool gconf-editor gdm howl gedit gtksourceview2 py25-pygtksourceview gnome-applets gnome-control-center gnome-python-desktop gnome-media gtksourceview gnuregex totem-pl-parser gucharmap system-tools-backends p5-net-dbus p5-xml-twig gnome-audio gnome-backgrounds gnome-games ggz-client-libs libggz guile gmp libsdl_mixer libsdl smpeg py25-gtkglext gtkglext py25-opengl py25-pil py25-setuptools py25-tkinter tcl tk gnome-keyring-manager gnome-mag gnome-session gnome-system-monitor gtkmm cairomm glibmm libsigcxx2 gnome-terminal vte gnome-user-docs gnome-utils gnopernicus libgail-gnome libgtkhtml3 seahorse avahi dbus-python25 gdbm libdaemon py25-gdbm gpgme pth vino yelp firefox-x11 zip zenity seahorse *and* firefox? howl *and* avahi? Don't these do more or less the same thing? I can see needing a lot of libraries, but shouldn't full applications be optional? why gedit? Maybe there's something in these variants -- Variants: graphics, office, universal, www -- but it's not obvious to me. It would be a worthwhile exercise for maintainers to install a complex meta-port from scratch, just to see if anything needs fixing. I can only imagine how long this will take to build. -- Paul Beard / www.paulbeard.org/ From ocroquette at free.fr Fri Jul 4 14:26:22 2008 From: ocroquette at free.fr (Olivier Croquette) Date: Fri, 04 Jul 2008 23:26:22 +0200 Subject: qt4-mac build fails in quicktimevideoplayer.cpp In-Reply-To: <0F6E2DCC-6A92-4F5A-8E94-B5A2134FD19B@macports.org> References: <4869E30F.50608@free.fr> <486A10ED.4070607@macports.org> <486A11D9.2070605@free.fr> <486A1510.3000203@macports.org> <7438416A-A976-41E2-A680-DB868C13A0AB@macports.org> <486AB889.1070903@macports.org> <0F6E2DCC-6A92-4F5A-8E94-B5A2134FD19B@macports.org> Message-ID: <486E957E.7000404@free.fr> Ryan Schmidt wrote, On 2/07/08 2:04: > Olivier, to test this, could you please add these lines to the end of > the qt4-mac portfile and see if it fixes the problem for you? > > > platform darwin 7 { > configure.env-append MACOSX_DEPLOYMENT_TARGET=10.3 > build.env-append MACOSX_DEPLOYMENT_TARGET=10.3 > } > > platform darwin 8 { > configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4 > build.env-append MACOSX_DEPLOYMENT_TARGET=10.4 > } Hi Ryan It didn't work: DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/qt4-mac DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/qt4-mac DEBUG: Requested variant darwin is not provided by port qt4-mac. DEBUG: Requested variant i386 is not provided by port qt4-mac. DEBUG: Requested variant macosx is not provided by port qt4-mac. DEBUG: Executing variant dbus provides dbus DEBUG: Executing variant docs provides docs DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libmng DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libmng DEBUG: Requested variant darwin is not provided by port libmng. DEBUG: Requested variant docs is not provided by port libmng. DEBUG: Requested variant i386 is not provided by port libmng. DEBUG: Requested variant dbus is not provided by port libmng. DEBUG: Requested variant macosx is not provided by port libmng. DEBUG: Searching for dependency: libmng DEBUG: Found Dependency: receipt exists for libmng DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng DEBUG: Requested variant darwin is not provided by port libpng. DEBUG: Requested variant docs is not provided by port libpng. DEBUG: Requested variant i386 is not provided by port libpng. DEBUG: Requested variant dbus is not provided by port libpng. DEBUG: Requested variant macosx is not provided by port libpng. DEBUG: Searching for dependency: libpng DEBUG: Found Dependency: receipt exists for libpng DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jpeg DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/jpeg DEBUG: Requested variant darwin is not provided by port jpeg. DEBUG: Requested variant docs is not provided by port jpeg. DEBUG: Requested variant i386 is not provided by port jpeg. DEBUG: Requested variant dbus is not provided by port jpeg. DEBUG: Requested variant macosx is not provided by port jpeg. DEBUG: Searching for dependency: jpeg DEBUG: Found Dependency: receipt exists for jpeg DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/tiff DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/tiff DEBUG: Requested variant darwin is not provided by port tiff. DEBUG: Requested variant docs is not provided by port tiff. DEBUG: Requested variant i386 is not provided by port tiff. DEBUG: Requested variant dbus is not provided by port tiff. DEBUG: Executing variant macosx provides macosx DEBUG: Searching for dependency: tiff DEBUG: Found Dependency: receipt exists for tiff DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/dbus DEBUG: Requested variant darwin is not provided by port dbus. DEBUG: Requested variant docs is not provided by port dbus. DEBUG: Requested variant i386 is not provided by port dbus. DEBUG: Requested variant dbus is not provided by port dbus. DEBUG: Requested variant macosx is not provided by port dbus. DEBUG: Searching for dependency: dbus DEBUG: Found Dependency: receipt exists for dbus DEBUG: Skipping completed org.macports.main (qt4-mac) DEBUG: Skipping completed org.macports.fetch (qt4-mac) DEBUG: Skipping completed org.macports.checksum (qt4-mac) DEBUG: Skipping completed org.macports.extract (qt4-mac) DEBUG: Skipping completed org.macports.patch (qt4-mac) DEBUG: Skipping completed org.macports.configure (qt4-mac) ---> Building qt4-mac with target first DEBUG: Executing org.macports.build (qt4-mac) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4' DEBUG: port allows a parallel build DEBUG: port allows a parallel build DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.0" && make first' cd src/tools/moc/ && make -f Makefile make[1]: Nothing to be done for `first'. cd src/tools/rcc/ && make -f Makefile make[1]: Nothing to be done for `first'. cd src/tools/uic/ && make -f Makefile make[1]: Nothing to be done for `first'. cd src/corelib/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/xml/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/network/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/gui/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/sql/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/script/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/testlib/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/qt3support/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/dbus/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/tools/uic3/ && make -f Makefile make[1]: Nothing to be done for `first'. cd src/opengl/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/xmlpatterns/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/phonon/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/svg/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/3rdparty/webkit/WebCore/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/plugins/ && make -f Makefile cd accessible/ && make -f Makefile cd widgets/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd compat/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd imageformats/ && make -f Makefile cd jpeg/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd gif/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd mng/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd svg/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd tiff/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd ico/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd sqldrivers/ && make -f Makefile make[2]: Nothing to be done for `first'. cd iconengines/ && make -f Makefile cd svgiconengine/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd script/ && make -f Makefile cd qtdbus/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd codecs/ && make -f Makefile cd cn/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd jp/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd tw/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd kr/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd phonon/ && make -f Makefile cd qt7/ && make -f Makefile make -f Makefile.Debug all /usr/bin/g++-4.0 -c -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.0/include -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_PLUGIN -DQT_PHONON_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../lib/QtCore.framework/Versions/4/Headers -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../lib/QtGui.framework/Versions/4/Headers -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../lib/QtOpenGL.framework/Versions/4/Headers -I../../../../include/QtOpenGL -I../../../../include/QtOpenGL -I../../../../lib/phonon.framework/Versions/4/Headers -I../../../../include/phonon -I../../../../include/phonon -I../../../../include -I. -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.0/lib -o .obj/debug-shared/quicktimevideoplayer.o ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp: In member function 'bool Phonon::QT7::QuickTimeVideoPlayer::setGLContext(__AGLContextRec*, __AGLPixelFormatRec*)': ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp:123: error: invalid conversion from 'long int*' to 'GLint*' ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp:123: error: initializing argument 3 of 'CGLError CGLChoosePixelFormat(const CGLPixelFormatAttribute*, _CGLPixelFormatObject**, GLint*)' make[4]: *** [.obj/debug-shared/quicktimevideoplayer.o] Error 1 make[3]: *** [debug-all] Error 2 make[2]: *** [sub-qt7-make_default] Error 2 make[1]: *** [sub-phonon-make_default] Error 2 make: *** [sub-plugins-make_default-ordered] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.0" && make first " returned error 2 Command output: make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd jp/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd tw/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd kr/ && make -f Makefile make -f Makefile.Debug all make[4]: Nothing to be done for `all'. make -f Makefile.Release all make[4]: Nothing to be done for `all'. cd phonon/ && make -f Makefile cd qt7/ && make -f Makefile make -f Makefile.Debug all /usr/bin/g++-4.0 -c -isystem/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.0/include -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_PLUGIN -DQT_PHONON_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../lib/QtCore.framework/Versions/4/Headers -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../lib/QtGui.framework/Versions/4/Headers -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../lib/QtOpenGL.framework/Versions/4/Headers -I../../../../include/QtOpenGL -I../../../../include/QtOpenGL -I../../../../lib/phonon.framework/Versions/4/Headers -I../../../../include/phonon -I../../../../include/phonon -I../../../../include -I. -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.4.0/lib -o .obj/debug-shared/quicktimevideoplayer.o ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp: In member function 'bool Phonon::QT7::QuickTimeVideoPlayer::setGLContext(__AGLContextRec*, __AGLPixelFormatRec*)': ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp:123: error: invalid conversion from 'long int*' to 'GLint*' ../../../3rdparty/kdebase/runtime/phonon/qt7/quicktimevideoplayer.cpp:123: error: initializing argument 3 of 'CGLError CGLChoosePixelFormat(const CGLPixelFormatAttribute*, _CGLPixelFormatObject**, GLint*)' make[4]: *** [.obj/debug-shared/quicktimevideoplayer.o] Error 1 make[3]: *** [debug-all] Error 2 make[2]: *** [sub-qt7-make_default] Error 2 make[1]: *** [sub-phonon-make_default] Error 2 make: *** [sub-plugins-make_default-ordered] Error 2 Warning: the following items did not execute (for qt4-mac): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. From tb at djh.dk Sat Jul 5 07:01:24 2008 From: tb at djh.dk (Tor Berg) Date: Sat, 5 Jul 2008 16:01:24 +0200 Subject: Tor Berg is on vacation Message-ID: I will be out of the office starting 04/07/2008 and will not return until 14/07/2008. I will respond to your message when I return. From randall.h.wood at alexandriasoftware.com Sat Jul 5 07:30:01 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Sat, 5 Jul 2008 10:30:01 -0400 Subject: dependencies for gnome In-Reply-To: References: Message-ID: When I maintained this port, it was designed to deliver the official GNOME distribution set as completely as possible. So yes, everything is really required unless it has been removed from GNOME upstream and not from the port. On Fri, Jul 4, 2008 at 4:51 PM, paul beard wrote: > Are all these *really* necessary? > > Error: The following dependencies failed to build: gnome-desktop-suite > evince gdk-pixbuf glib1 gtk1 poppler poppler-data file-roller > gcalctool gconf-editor gdm howl gedit gtksourceview2 > py25-pygtksourceview gnome-applets gnome-control-center > gnome-python-desktop gnome-media gtksourceview gnuregex > totem-pl-parser gucharmap system-tools-backends p5-net-dbus > p5-xml-twig gnome-audio gnome-backgrounds gnome-games ggz-client-libs > libggz guile gmp libsdl_mixer libsdl smpeg py25-gtkglext gtkglext > py25-opengl py25-pil py25-setuptools py25-tkinter tcl tk > gnome-keyring-manager gnome-mag gnome-session gnome-system-monitor > gtkmm cairomm glibmm libsigcxx2 gnome-terminal vte gnome-user-docs > gnome-utils gnopernicus libgail-gnome libgtkhtml3 seahorse avahi > dbus-python25 gdbm libdaemon py25-gdbm gpgme pth vino yelp firefox-x11 > zip zenity > > seahorse *and* firefox? howl *and* avahi? Don't these do more or less > the same thing? Seahorse is a GPG frontend. Firefox is a web browser. No similarity. I'm not sure why howl is in there, everything GNOME should depend on avahi (unless some clever GNOME developer is using howl only on Mac OS X in his project) > > I can see needing a lot of libraries, but shouldn't full applications > be optional? why gedit? gedit is part of the GNOME desktop as defined by GNOME. If you want the GNOME platform (which has most of the current GNOME libraries), install the gnome-platform-suite port. > Maybe there's something in these variants -- Variants: graphics, > office, universal, www -- but it's not obvious to me. > > It would be a worthwhile exercise for maintainers to install a complex > meta-port from scratch, just to see if anything needs fixing. I can > only imagine how long this will take to build. > > > -- > Paul Beard / www.paulbeard.org/ > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > -- Randall Wood randall.h.wood at alexandriasoftware.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy." From paulbeard at gmail.com Sat Jul 5 09:22:19 2008 From: paulbeard at gmail.com (paul beard) Date: Sat, 5 Jul 2008 09:22:19 -0700 Subject: dependencies for gnome In-Reply-To: References: Message-ID: On Sat, Jul 5, 2008 at 7:30 AM, Randall Wood < randall.h.wood at alexandriasoftware.com> wrote: > When I maintained this port, it was designed to deliver the official > GNOME distribution set as completely as possible. So yes, everything > is really required unless it has been removed from GNOME upstream and > not from the port. > Cheers to the GNOME team for completeness, but still . . . > > On Fri, Jul 4, 2008 at 4:51 PM, paul beard wrote: > > Are all these *really* necessary? > > > > Error: The following dependencies failed to build: gnome-desktop-suite > > evince gdk-pixbuf glib1 gtk1 poppler poppler-data file-roller > > gcalctool gconf-editor gdm howl gedit gtksourceview2 > > py25-pygtksourceview gnome-applets gnome-control-center > > gnome-python-desktop gnome-media gtksourceview gnuregex > > totem-pl-parser gucharmap system-tools-backends p5-net-dbus > > p5-xml-twig gnome-audio gnome-backgrounds gnome-games ggz-client-libs > > libggz guile gmp libsdl_mixer libsdl smpeg py25-gtkglext gtkglext > > py25-opengl py25-pil py25-setuptools py25-tkinter tcl tk > > gnome-keyring-manager gnome-mag gnome-session gnome-system-monitor > > gtkmm cairomm glibmm libsigcxx2 gnome-terminal vte gnome-user-docs > > gnome-utils gnopernicus libgail-gnome libgtkhtml3 seahorse avahi > > dbus-python25 gdbm libdaemon py25-gdbm gpgme pth vino yelp firefox-x11 > > zip zenity > > > > seahorse *and* firefox? howl *and* avahi? Don't these do more or less > > the same thing? > > Seahorse is a GPG frontend. Firefox is a web browser. No similarity. > I'm not sure why howl is in there, everything GNOME should depend on > avahi (unless some clever GNOME developer is using howl only on Mac OS > X in his project) Gah, I was thinking of seamonkey. My mistake . . > > > > I can see needing a lot of libraries, but shouldn't full applications > > be optional? why gedit? > > gedit is part of the GNOME desktop as defined by GNOME. If you want > the GNOME platform (which has most of the current GNOME libraries), > install the gnome-platform-suite port. > > > Maybe there's something in these variants -- Variants: graphics, > > office, universal, www -- but it's not obvious to me. > > > > It would be a worthwhile exercise for maintainers to install a complex > > meta-port from scratch, just to see if anything needs fixing. I can > > only imagine how long this will take to build. > > > > > > -- > > Paul Beard / www.paulbeard.org/ > > > > _______________________________________________ > > macports-users mailing list > > macports-users at lists.macosforge.org > > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > > > > > -- > Randall Wood > randall.h.wood at alexandriasoftware.com > > "The rules are simple: The ball is round. The game lasts 90 minutes. > All the rest is just philosophy." > -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080705/f7a15ea8/attachment.html From ms at mac-specialist.com Sat Jul 5 23:56:11 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Sun, 6 Jul 2008 01:56:11 -0500 Subject: Calls to imagettftext cause fatal error in php Message-ID: I'd be grateful if someone can confirm the problem below, and if so add a vote to get it fixed at http://bugs.php.net/bug.php?id=45437 In trying to setup "PHP Form image verification" I tried the example at http://www.reconn.us/content/view/28/49/, and could not get an image to display, so I tried example ( 1 ) found on http://us.php.net/imagettftext , and still could not get an image. So I launched the ZEND DEBUGGER, and found the problem. When I trace Using ZEND DEBUGGER the call to imagettftext shows where the break in execution occurs. Checking the Apache error log shows : Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__ () to debug. [Sun Jul 06 00:45:18 2008] [notice] child pid 2990 exit signal Trace/ BPT trap (5) I posted a bug report: http://bugs.php.net/bug.php?id=45437 Bug #45437 Calls to imagettftext crash Same exact problem has been reported as Bug #44524, but has been written off as bogus. IT IS NOT BOGUS... Problem: ------------ Calls to imagettftext always fail with no error on Leopard 10.5.3 when run under MacPorts Apache 2.2.6, PHP 5.2.5 and the GD library. Reproduce code: --------------- ) // This is example ( 1 ) found on http://us.php.net/imagettftext //Set the content-type header("Content-type:image/png"); //Create the image $image=imagecreatetruecolor(400,30); //Create some colors $white=imagecolorallocate($image,255,255,255); $grey=imagecolorallocate($image,128,128,128); $black=imagecolorallocate($image,0,0,0); imagefilledrectangle($image,0,0,399,29,$white); //The text to draw $text='Testing...'; //Replace path by your own font path // $font='fonts/10.ttf'; $font='/[path to font]/Arial.ttf'; //Add some shadow to the text imagettftext($image,20,0,11,21,$grey,$font,$text); //Addthetext imagettftext($image,20,0,10,20,$black,$font,$text); //Using imagepng()results in clearer text compared with imagejpeg() imagepng($image); imagedestroy($image); ?> --------------------------------------------------------------------------- Random image sample Validation string not valid! Please try again!'; else { echo '

Your string is valid!

'; //do something with the data } } ?>
Comments
Please enter the string shown in the image in the form.
The possible characters are letters from A to Z in capitalized form and the numbers from 0 to 9.
--------------------------------------------------------------------------- Bill Hernandez Plano, Texas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080706/5223beb6/attachment.html From face at CentosPrime.COM Sun Jul 6 06:16:51 2008 From: face at CentosPrime.COM (Chris Janton) Date: Sun, 06 Jul 2008 06:16:51 -0700 Subject: Calls to imagettftext cause fatal error in php In-Reply-To: References: Message-ID: On 2008-07-05 , at 23:56 , Bill Hernandez wrote: > I posted a bug report: > http://bugs.php.net/bug.php?id=45437 > Bug #45437 Calls to imagettftext crash > > Same exact problem has been reported as Bug #44524, but has been > written off as bogus. > IT IS NOT BOGUS... > Problem: > ------------ > Calls to imagettftext always fail with no error on Leopard 10.5.3 > when run under MacPorts Apache 2.2.6, PHP 5.2.5 and the GD library. > Reproduce code: I can see why they claim it is bogus. PHP (5.2.6) produces the image just fine... face at mac:Sites:133 $ which php /opt/local/bin/php face at mac:Sites:134 $ php --version PHP 5.2.6 (cli) (built: May 25 2008 13:28:23) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies face at mac:Sites:135 $ php foo.php >zippy.png face at mac:Sites:136 $ ls -al zippy.png -rw-r--r-- 1 face staff 892B Jul 6 05:33 zippy.png face at mac:Sites:137 $ open zippy.png Preview happily shows me the image. I suspect the PHP folks will tell you that this is a problem with Apache, or the way that you have built Apache. Note that I can run this example just fine with Apache 1.3. Further investigation points to this page http://90kts.com/blog/2008/installing-gd-libraries-for-leopard-apache-php-525/ where you will find bits and pieces like... "i have the same problem with ttf fonts? can someone help? this says the log file: The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__ () to debug." and "I think the reason is posted here: http://developer.apple.com/releasenotes/CoreFoundation/CoreFoundation.html CoreFoundation and fork() Due to the behavior of fork(), CoreFoundation cannot be used on the child-side of fork(). If you fork(), you must follow that with an exec*() call of some sort, and you should not use CoreFoundation APIs within the child, before the exec*(). The applies to all higher-level APIs which use CoreFoundation, and since you cannot know what those higher-level APIs are doing, and whether they are using CoreFoundation APIs, you should not use any higher-level APIs either. This includes use of the daemon() function." SO - it boils down to getting the maintainer of freetype (Maintainers: ryandesign at macports.org ) to look at the implications of the following configuration options --with-quickdraw-toolbox use MacOS QuickDraw in ToolBox, if available (default=yes) --with-quickdraw-carbon use MacOS QuickDraw in Carbon, if available (default=yes) and if they should be changed, or a variant made available for Leopard users. Clear as mud? 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From jkorchok at hotmail.com Sun Jul 6 17:02:12 2008 From: jkorchok at hotmail.com (John Korchok) Date: Sun, 6 Jul 2008 20:02:12 -0400 Subject: Oracle for Intel In-Reply-To: <9DD0A4C4-84A0-4B5A-A8DF-A9236B215E02@macports.org> References: <8e58e692fa3c3c694ea0b0cedda25def@macports.org><47A615A2.5050208@pogma.com><98149BBD-5480-4C17-A6F7-2B7A75930697@macports.org><47A61B1F.9000903@pogma.com><00D5CE6C-5A99-41BE-A8BE-7609533DEE2E@macports.org><50D255AE-31CB-4023-9724-3E14069BC745@centosprime.com> <9DD0A4C4-84A0-4B5A-A8DF-A9236B215E02@macports.org> Message-ID: Good news for Oracle Mac users! The Instant Client for Intel machines has finally been released http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/inte l_macsoft.html Ryan, when time permits, would it be possible to get an upgrade to Macports php5 +oracle to include the new Intel version? Thanks many times over! The PPC version has not been upgraded from the earlier 10.1.0.3. I have included my earlier notes below about wrinkles in previous installation. Can Macports add the path to opt/local/apache2/bin/envvars? John Korchok > -----Original Message----- > From: Ryan Schmidt [mailto:ryandesign at macports.org] > Sent: Friday, February 15, 2008 11:50 PM > To: John Korchok > Cc: 'MacPorts Users' > Subject: Re: Oracle Notes > > On Feb 3, 2008, at 16:14, John Korchok wrote: > > > For anyone else who may be struggling with getting Oracle > to play with > > MacPorts PHP, here are my notes after installation on three systems > > and about 100 hours of tinkering. Start with a PowerPC, as > the Oracle > > Instant Client for Mac does not yet work with Intel machines. > > > > 1. Install php5 with oracle support: > > sudo port install php5 +apache2 +oracle > > > > 2. So that the Apache user can find the relevant files, add > > environment variables to opt/local/apache2/bin/envvars: > > export LD_LIBRARY_PATH="/opt/local/lib/oracle" > > export TNS_ADMIN="/Applications/Oracle" (or whatever folder is a > > convenient spot to store sqlnet.ora and tnsnames.ora) Many > web sites > > refer to setting DYLD_LIBRARY_PATH, you can do that instead of > > LD_LIBRARY_PATH and it has the same effect. Heck, use 'em both for > > good measure! > > I'm surprised LD_LIBRARY_PATH has any effect. I thought that > was for Linux and DYLD_LIBRARY_PATH was the Mac OS X equivalent. > > I'm also surprised you needed to set this variable at all. I > thought that fixing the library name with install_name_tool > like I do in the portfile would make this unnecessary. What > error occurs if you do not set this variable? > > > Do _not_ use putenv in a PHP script or SetEnv in httpd.conf > to set the > > variables, it won't work. Apache will also not pick up environment > > variables from /private/etc/profile. Note to Ryan: can > MacPorts update > > envvars? > > MacPorts can set environment variables for its own use during > any of the phases (configure, build, destroot, etc.). However > these do not persist after the port has been installed. > > > 3. Restart Apache From ryandesign at macports.org Sun Jul 6 17:17:23 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 6 Jul 2008 19:17:23 -0500 Subject: Oracle for Intel In-Reply-To: References: <8e58e692fa3c3c694ea0b0cedda25def@macports.org><47A615A2.5050208@pogma.com><98149BBD-5480-4C17-A6F7-2B7A75930697@macports.org><47A61B1F.9000903@pogma.com><00D5CE6C-5A99-41BE-A8BE-7609533DEE2E@macports.org><50D255AE-31CB-4023-9724-3E14069BC745@centosprime.com> <9DD0A4C4-84A0-4B5A-A8DF-A9236B215E02@macports.org> Message-ID: On Jul 6, 2008, at 19:02, John Korchok wrote: > Good news for Oracle Mac users! The Instant Client for Intel > machines has > finally been released > http://www.oracle.com/technology/software/tech/oci/instantclient/ > htdocs/inte > l_macsoft.html > > Ryan, when time permits, would it be possible to get an upgrade to > Macports > php5 +oracle to include the new Intel version? Thanks many times > over! The > PPC version has not been upgraded from the earlier 10.1.0.3. oracle-instantclient was already updated to support Intel on 2008-05-16; see r36833 and r36865. > I have included > my earlier notes below about wrinkles in previous installation. Can > Macports > add the path to opt/local/apache2/bin/envvars? I'm not sure; I'll have to look into this. Is there already a ticket filed? If not, please file one and assign it to me so I don't forget. > John Korchok > >> -----Original Message----- >> From: Ryan Schmidt [mailto:ryandesign at macports.org] >> Sent: Friday, February 15, 2008 11:50 PM >> To: John Korchok >> Cc: 'MacPorts Users' >> Subject: Re: Oracle Notes >> >> On Feb 3, 2008, at 16:14, John Korchok wrote: >> >>> For anyone else who may be struggling with getting Oracle >> to play with >>> MacPorts PHP, here are my notes after installation on three systems >>> and about 100 hours of tinkering. Start with a PowerPC, as >> the Oracle >>> Instant Client for Mac does not yet work with Intel machines. >>> >>> 1. Install php5 with oracle support: >>> sudo port install php5 +apache2 +oracle >>> >>> 2. So that the Apache user can find the relevant files, add >>> environment variables to opt/local/apache2/bin/envvars: >>> export LD_LIBRARY_PATH="/opt/local/lib/oracle" >>> export TNS_ADMIN="/Applications/Oracle" (or whatever folder is a >>> convenient spot to store sqlnet.ora and tnsnames.ora) Many >> web sites >>> refer to setting DYLD_LIBRARY_PATH, you can do that instead of >>> LD_LIBRARY_PATH and it has the same effect. Heck, use 'em both for >>> good measure! >> >> I'm surprised LD_LIBRARY_PATH has any effect. I thought that >> was for Linux and DYLD_LIBRARY_PATH was the Mac OS X equivalent. >> >> I'm also surprised you needed to set this variable at all. I >> thought that fixing the library name with install_name_tool >> like I do in the portfile would make this unnecessary. What >> error occurs if you do not set this variable? >> >>> Do _not_ use putenv in a PHP script or SetEnv in httpd.conf >> to set the >>> variables, it won't work. Apache will also not pick up environment >>> variables from /private/etc/profile. Note to Ryan: can >> MacPorts update >>> envvars? >> >> MacPorts can set environment variables for its own use during >> any of the phases (configure, build, destroot, etc.). However >> these do not persist after the port has been installed. >> >>> 3. Restart Apache > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From ms at mac-specialist.com Sun Jul 6 18:22:25 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Sun, 6 Jul 2008 20:22:25 -0500 Subject: php5 5.2.5 -> 5.2.6 upgrade fails ? Message-ID: <2AF6606E-A94D-416A-9A25-9BBD08CA4EB4@mac-specialist.com> $ sudo port outdated The following installed ports are outdated: apache2 2.2.8_0 < 2.2.9_1 apr 1.2.12_1 < 1.3.2_0 apr-util 1.2.12_0 < 1.3.2_0 bzip2 1.0.5_0 < 1.0.5_1 curl 7.18.1_2 < 7.18.2_0 fontconfig 2.5.0_0 < 2.6.0_0 freetype 2.3.5_1 < 2.3.7_1 libpng 1.2.26_0 < 1.2.29_0 libxml2 2.6.31_0 < 2.6.32_1 libxslt 1.1.22_0 < 1.1.23_0 m4 1.4.10_1 < 1.4.11_0 openssl 0.9.8g_0 < 0.9.8h_0 ossp-uuid 1.6.0_2 < 1.6.1_0 pcre 7.6_0 < 7.7_0 perl5.8 5.8.8_2 < 5.8.8_3 postgresql83 8.3.1_0 < 8.3.3_0 postgresql83-doc 8.3.1_0 < 8.3.3_0 postgresql83-server 8.3.1_0 < 8.3.3_0 readline 5.2.007_0 < 5.2.012_1 sqlite3 3.5.8_0 < 3.5.9_0 tiff 3.8.2_1 < 3.8.2_2 $ sudo port -d uninstall php5 +apache2 +fastcgi +tidy +mysql5 +postgresql83 +sqlite +ipc +pcntl +pear +readline +sockets $ sudo port clean --work php5 $ sudo port -v install php5 +apache2 +fastcgi +tidy +mysql5 +postgresql83 +sqlite +ipc +pcntl +pear +readline +sockets Password: ---> Configuring php5 loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /usr/bin/sed checking host system type... i686-apple-darwin9.3.0 checking target system type... i686-apple-darwin9.3.0 shtool:echo:Warning: unable to determine terminal sequence for bold mode shtool:echo:Warning: unable to determine terminal sequence for bold mode checking for gcc... /usr/bin/gcc-4.0 checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/ lib) works... no configure: error: installation or configuration problem: C compiler cannot create executables. Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_www_php5/work/php-5.2.6" && ./configure -- prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/ share/info --with-config-file-path=/opt/local/etc --enable-calendar -- with-iconv=/opt/local --enable-exif --enable-ftp --enable-wddx --with- zlib=/opt/local --with-bz2=/opt/local --with-libxml-dir=/opt/local -- with-gettext=/opt/local --with-xml --with-expat-dir=/opt/local --with- xmlrpc --enable-soap --enable-filepro --enable-bcmath --enable-trans- sid --enable-mbstring --enable-dbx --enable-dba --enable-zip --with- openssl=/opt/local --with-mhash=/opt/local --with-mcrypt=/opt/local -- with-xsl=/opt/local --with-curl=/opt/local --with-pcre-regex=/opt/ local --with-gd=/opt/local --with-jpeg-dir=/opt/local --with-png-dir=/ opt/local --enable-gd-native-ttf --with-freetype-dir=/opt/local --with- ldap=/usr --with-kerberos=/usr --with-iodbc=/usr --with-apxs2=/opt/ local/apache2/bin/apxs --with-tidy=/opt/local --with-mysql=/opt/local/ var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_www_php5/work/mysql5 --with-pdo-mysql=/opt/ local/bin/mysql_config5 --with-mysql-sock=/opt/local/var/run/mysql5/ mysqld.sock --with-mysqli=/opt/local/bin/mysql_config5 --with-pgsql=/ opt/local/lib/postgresql83/bin --with-pdo-pgsql=/opt/local/lib/ postgresql83/bin --with-sqlite --with-pdo-sqlite=/opt/local --enable- sqlite-utf8 --enable-shmop --enable-sysvsem --enable-sysvshm --enable- sysvmsg --enable-pcntl --with-pear=/opt/local/lib/php --with-readline=/ opt/local --enable-sockets " returned error 1 Command output: loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /usr/bin/sed checking host system type... i686-apple-darwin9.3.0 checking target system type... i686-apple-darwin9.3.0 shtool:echo:Warning: unable to determine terminal sequence for bold mode shtool:echo:Warning: unable to determine terminal sequence for bold mode checking for gcc... /usr/bin/gcc-4.0 checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/ lib) works... no configure: error: installation or configuration problem: C compiler cannot create executables. Warning: the following items did not execute (for php5): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. Any ideas ? Bill Hernandez Plano, Texas From ryandesign at macports.org Sun Jul 6 19:13:07 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 6 Jul 2008 21:13:07 -0500 Subject: php5 5.2.5 -> 5.2.6 upgrade fails ? In-Reply-To: <2AF6606E-A94D-416A-9A25-9BBD08CA4EB4@mac-specialist.com> References: <2AF6606E-A94D-416A-9A25-9BBD08CA4EB4@mac-specialist.com> Message-ID: On Jul 6, 2008, at 20:22, Bill Hernandez wrote: > $ sudo port outdated > The following installed ports are outdated: > apache2 2.2.8_0 < 2.2.9_1 > apr 1.2.12_1 < 1.3.2_0 > apr-util 1.2.12_0 < 1.3.2_0 > bzip2 1.0.5_0 < 1.0.5_1 > curl 7.18.1_2 < 7.18.2_0 > fontconfig 2.5.0_0 < 2.6.0_0 > freetype 2.3.5_1 < 2.3.7_1 > libpng 1.2.26_0 < 1.2.29_0 > libxml2 2.6.31_0 < 2.6.32_1 > libxslt 1.1.22_0 < 1.1.23_0 > m4 1.4.10_1 < 1.4.11_0 > openssl 0.9.8g_0 < 0.9.8h_0 > ossp-uuid 1.6.0_2 < 1.6.1_0 > pcre 7.6_0 < 7.7_0 > perl5.8 5.8.8_2 < 5.8.8_3 > postgresql83 8.3.1_0 < 8.3.3_0 > postgresql83-doc 8.3.1_0 < 8.3.3_0 > postgresql83-server 8.3.1_0 < 8.3.3_0 > readline 5.2.007_0 < 5.2.012_1 > sqlite3 3.5.8_0 < 3.5.9_0 > tiff 3.8.2_1 < 3.8.2_2 > > $ sudo port -d uninstall php5 +apache2 +fastcgi +tidy +mysql5 > +postgresql83 +sqlite +ipc +pcntl +pear +readline +sockets > > $ sudo port clean --work php5 > > $ sudo port -v install php5 +apache2 +fastcgi +tidy +mysql5 > +postgresql83 +sqlite +ipc +pcntl +pear +readline +sockets > > Password: > ---> Configuring php5 > loading cache ./config.cache > checking for Cygwin environment... no > checking for mingw32 environment... no > checking for egrep... grep -E > checking for a sed that does not truncate output... /usr/bin/sed > checking host system type... i686-apple-darwin9.3.0 > checking target system type... i686-apple-darwin9.3.0 > shtool:echo:Warning: unable to determine terminal sequence for bold > mode > shtool:echo:Warning: unable to determine terminal sequence for bold > mode > checking for gcc... /usr/bin/gcc-4.0 > checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/ > lib) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. > Error: Target org.macports.configure returned: configure failure: > shell command " cd "/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_www_php5/work/php-5.2.6" && ./configure -- > prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/ > share/info --with-config-file-path=/opt/local/etc --enable-calendar -- > with-iconv=/opt/local --enable-exif --enable-ftp --enable-wddx --with- > zlib=/opt/local --with-bz2=/opt/local --with-libxml-dir=/opt/local -- > with-gettext=/opt/local --with-xml --with-expat-dir=/opt/local --with- > xmlrpc --enable-soap --enable-filepro --enable-bcmath --enable-trans- > sid --enable-mbstring --enable-dbx --enable-dba --enable-zip --with- > openssl=/opt/local --with-mhash=/opt/local --with-mcrypt=/opt/local -- > with-xsl=/opt/local --with-curl=/opt/local --with-pcre-regex=/opt/ > local --with-gd=/opt/local --with-jpeg-dir=/opt/local --with-png-dir=/ > opt/local --enable-gd-native-ttf --with-freetype-dir=/opt/local -- > with- > ldap=/usr --with-kerberos=/usr --with-iodbc=/usr --with-apxs2=/opt/ > local/apache2/bin/apxs --with-tidy=/opt/local --with-mysql=/opt/local/ > var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_www_php5/work/mysql5 --with-pdo-mysql=/ > opt/ > local/bin/mysql_config5 --with-mysql-sock=/opt/local/var/run/mysql5/ > mysqld.sock --with-mysqli=/opt/local/bin/mysql_config5 --with-pgsql=/ > opt/local/lib/postgresql83/bin --with-pdo-pgsql=/opt/local/lib/ > postgresql83/bin --with-sqlite --with-pdo-sqlite=/opt/local --enable- > sqlite-utf8 --enable-shmop --enable-sysvsem --enable-sysvshm --enable- > sysvmsg --enable-pcntl --with-pear=/opt/local/lib/php --with- > readline=/ > opt/local --enable-sockets " returned error 1 > Command output: loading cache ./config.cache > checking for Cygwin environment... no > checking for mingw32 environment... no > checking for egrep... grep -E > checking for a sed that does not truncate output... /usr/bin/sed > checking host system type... i686-apple-darwin9.3.0 > checking target system type... i686-apple-darwin9.3.0 > shtool:echo:Warning: unable to determine terminal sequence for bold > mode > shtool:echo:Warning: unable to determine terminal sequence for bold > mode > checking for gcc... /usr/bin/gcc-4.0 > checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/ > lib) works... no > configure: error: installation or configuration problem: C compiler > cannot create executables. Is the C compiler installed -- e.g., is Xcode installed? Try reinstalling the latest version. Or send us the config.log. Maybe it contains more information. From ryandesign at macports.org Sun Jul 6 19:30:02 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 6 Jul 2008 21:30:02 -0500 Subject: Calls to imagettftext cause fatal error in php In-Reply-To: References: Message-ID: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> On Jul 6, 2008, at 08:16, Chris Janton wrote: > On 2008-07-05 , at 23:56 , Bill Hernandez wrote: > >> I posted a bug report: >> http://bugs.php.net/bug.php?id=45437 >> Bug #45437 Calls to imagettftext crash >> >> Same exact problem has been reported as Bug #44524, but has been >> written off as bogus. >> IT IS NOT BOGUS... >> Problem: >> ------------ >> Calls to imagettftext always fail with no error on Leopard 10.5.3 >> when run under MacPorts Apache 2.2.6, PHP 5.2.5 and the GD library. >> Reproduce code: > > > I can see why they claim it is bogus. > > PHP (5.2.6) produces the image just fine... > > face at mac:Sites:133 $ which php > /opt/local/bin/php > face at mac:Sites:134 $ php --version > PHP 5.2.6 (cli) (built: May 25 2008 13:28:23) > Copyright (c) 1997-2008 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies > face at mac:Sites:135 $ php foo.php >zippy.png > face at mac:Sites:136 $ ls -al zippy.png > -rw-r--r-- 1 face staff 892B Jul 6 05:33 zippy.png > face at mac:Sites:137 $ open zippy.png > > Preview happily shows me the image. > > I suspect the PHP folks will tell you that this is a problem with > Apache, or the way that you have built Apache. > > Note that I can run this example just fine with Apache 1.3. > > Further investigation points to this page > > http://90kts.com/blog/2008/installing-gd-libraries-for-leopard- > apache-php-525/ > > where you will find bits and pieces like... > > "i have the same problem with ttf fonts? can someone help? this says > the log file: > The process has forked and you cannot use this CoreFoundation > functionality safely. You MUST exec(). > Break on > __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTI > ONALITY___YOU_MUST_EXEC__ > () to debug." > > and > > "I think the reason is posted here: > http://developer.apple.com/releasenotes/CoreFoundation/ > CoreFoundation.html > > CoreFoundation and fork() > > Due to the behavior of fork(), CoreFoundation cannot be used on the > child-side of fork(). If you fork(), you must follow that with an > exec*() call of some sort, and you should not use CoreFoundation APIs > within the child, before the exec*(). The applies to all higher-level > APIs which use CoreFoundation, and since you cannot know what those > higher-level APIs are doing, and whether they are using CoreFoundation > APIs, you should not use any higher-level APIs either. This includes > use of the daemon() function." > > SO - it boils down to getting the maintainer of freetype > (Maintainers: ryandesign at macports.org > ) to look at the implications of the following configuration options > > > > --with-quickdraw-toolbox > > use MacOS QuickDraw in ToolBox, if > available > > (default=yes) > > --with-quickdraw-carbon use MacOS QuickDraw in Carbon, if available > > (default=yes) > > and if they should be changed, or a variant made available for Leopard > users. > > > > Clear as mud? Exactly. I don't see that I need to make any change in the freetype portfile. If a change needs to be made in freetype, it should be the developers of freetype that do so. Feel free to file a bug with them. From tabithamc at gmail.com Mon Jul 7 06:20:28 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Mon, 7 Jul 2008 03:20:28 -1000 Subject: OpenSSH questions (a port alongside Apple's install of OpenSSH) Message-ID: <7fccb3000807070620x62e3b6fdy40dd20354580c45c@mail.gmail.com> Hello all -- I have a question regarding security. I noticed that there is a well-maintained port, openssh, which as of a few weeks ago (I haven't re-synced my ports lately) uses OpenSSH version 5.0p1 ... What is interesting is that as of Mac OS X Server 10.5.2 (and also non-Server I noticed on an iMac Mac OS X 10.5.4), Apple's uses version 4.7p1 (although interestingly Mac OS X Server 10.5.1 uses OpenSSH 4.5p1 so Apple had a rapid change of heart from 10.5.1 Server to 10.5.2 Server which seems uncharacteristic of Apple). Apple's instance of OpenSSH is installed in /usr/bin and of course this is not logically the same location recommended for a MacPorts prefix. All of this begs the question, how do most MacPorts community members use the MacPorts installed version of OpenSSH on a Mac when in fact Apple's providing a different version? Doesn't this create conflicts? Ro avoid conflicts, how does one override Apple's plumbing of OpenSSH which they've integrated with a launchd plist? For example, there is Apple's installation of this resource: /System/Library/LaunchDaemons/ssh.plist > Taking a look at the guts of that plist, it appears that the sshd (daemon) is invoked on an as needed basis (thus the benefits of launchd). Do most MacPorts users (who elect to port install openssh) end up hacking Apple's ssh.plist to re-plumb with the version of ssh that ends up in the MacPorts prefix? Thank you for any insights, -T.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080707/72b4de27/attachment.html From dluke at geeklair.net Mon Jul 7 06:44:14 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Mon, 7 Jul 2008 09:44:14 -0400 Subject: OpenSSH questions (a port alongside Apple's install of OpenSSH) In-Reply-To: <7fccb3000807070620x62e3b6fdy40dd20354580c45c@mail.gmail.com> References: <7fccb3000807070620x62e3b6fdy40dd20354580c45c@mail.gmail.com> Message-ID: <0141D1F0-1AB6-481F-B1BB-B1D07D65613B@geeklair.net> On Jul 7, 2008, at 9:20 AM, Tabitha McNerney wrote: > Do most MacPorts users (who elect to port install openssh) end up > hacking Apple's ssh.plist to re-plumb with the version of ssh that > ends up in the MacPorts prefix? You can just tell launchd to not use the Apple-provided plist/sshd and then enable the macports-provided plist (or write your own plist if you want). -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080707/46aac913/attachment.bin From tabithamc at gmail.com Mon Jul 7 07:14:41 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Mon, 7 Jul 2008 04:14:41 -1000 Subject: OpenSSH questions (a port alongside Apple's install of OpenSSH) In-Reply-To: <0141D1F0-1AB6-481F-B1BB-B1D07D65613B@geeklair.net> References: <7fccb3000807070620x62e3b6fdy40dd20354580c45c@mail.gmail.com> <0141D1F0-1AB6-481F-B1BB-B1D07D65613B@geeklair.net> Message-ID: <7fccb3000807070714u56bba908h4ebee87b6a47cf03@mail.gmail.com> On Mon, Jul 7, 2008 at 3:44 AM, Daniel J. Luke wrote: > On Jul 7, 2008, at 9:20 AM, Tabitha McNerney wrote: > >> Do most MacPorts users (who elect to port install openssh) end up hacking >> Apple's ssh.plist to re-plumb with the version of ssh that ends up in the >> MacPorts prefix? >> > > > You can just tell launchd to not use the Apple-provided plist/sshd and then > enable the macports-provided plist (or write your own plist if you want). Daniel, thank you. That's great advice and am glad to know others have done this. Doesn't look to complicated but as always, its great to have community discussion about these things (especially since security is such an important topic). Thanks, T.M. > > > -- > Daniel J. Luke > +========================================================+ > | *---------------- dluke at geeklair.net ----------------* | > | *-------------- http://www.geeklair.net -------------* | > +========================================================+ > | Opinions expressed are mine and do not necessarily | > | reflect the opinions of my employer. | > +========================================================+ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080707/e014913f/attachment.html From face at CentosPrime.COM Mon Jul 7 07:27:44 2008 From: face at CentosPrime.COM (Chris Janton) Date: Mon, 07 Jul 2008 07:27:44 -0700 Subject: Calls to imagettftext cause fatal error in php In-Reply-To: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> Message-ID: <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> On 2008-07-06 , at 19:30 , Ryan Schmidt wrote: >> SO - it boils down to getting the maintainer of freetype >> (Maintainers: ryandesign at macports.org >> ) to look at the implications of the following configuration options >> >> >> >> --with-quickdraw-toolbox >> >> use MacOS QuickDraw in ToolBox, if >> available >> >> (default=yes) >> >> --with-quickdraw-carbon use MacOS QuickDraw in Carbon, if available >> >> (default=yes) >> >> and if they should be changed, or a variant made available for >> Leopard >> users. >> >> >> >> Clear as mud? > > Exactly. I don't see that I need to make any change in the freetype > portfile. If a change needs to be made in freetype, it should be the > developers of freetype that do so. Feel free to file a bug with them. The way I read things is that if one turns off quickdraw in freetype then the "problem" will not occur. Would it be possible to add a variant to freetype that sets --with- quickdraw-toolbox=no and --with-quickdraw-carbon=no ? 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From captsolo at gmail.com Mon Jul 7 11:02:14 2008 From: captsolo at gmail.com (Uldis Bojars) Date: Mon, 7 Jul 2008 19:02:14 +0100 Subject: "Error: Target org.macports.activate returned: Not a directory" in py25-pyqt4 Message-ID: <64c81f720807071102n398024a5o925432ba6aafe014@mail.gmail.com> I am getting this error (see below) when installing py25-pyqt4. It has also appeared when installing some other ports (e.g., redland-bindings) and I am wondering if this is a known problem with a known solution. The port actually becomes active (trying to install or activate it again returns a messages that a port is already active), but something in the activation process is not finished. If the port is uninstalled, some files remain behind and prevent you from installing this port the next time (unless -f option is used). Could you suggest how to fix this? Thanks, Uldis ---- ... DEBUG: activating file: /opt/local/share/sip/PyQt4/phonon/videoplayer.sip DEBUG: activating file: /opt/local/share/sip/PyQt4/phonon/videowidget.sip DEBUG: activating file: /opt/local/share/sip/PyQt4/phonon/volumeslider.sip DEBUG: Adding file to file_map: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin/pylupdate4 for: py25-pyqt4 DEBUG: Adding file to file_map: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin/pyrcc4 for: py25-pyqt4 DEBUG: Adding file to file_map: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin/pyuic4 for: py25-pyqt4 DEBUG: Adding file to file_map: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyQt4/__init__.py for: py25-pyqt4 Error: Target org.macports.activate returned: Not a directory Warning: the following items did not execute (for py25-pyqt4): org.macports.activate Error: Status 1 encountered during processing. ---- From ms at mac-specialist.com Mon Jul 7 11:04:44 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Mon, 7 Jul 2008 13:04:44 -0500 Subject: php5 5.2.5 -> 5.2.6 upgrade fails ? In-Reply-To: References: <2AF6606E-A94D-416A-9A25-9BBD08CA4EB4@mac-specialist.com> Message-ID: <13E5360E-1423-45AB-87D9-BE0FC31B3A25@mac-specialist.com> On Jul 6, 2008, at 9:13 PM, Ryan Schmidt wrote: > Is the C compiler installed -- e.g., is Xcode installed? Try > reinstalling the latest version. > Or send us the config.log. Maybe it contains more information. Ryan, You were absolutely correct about xCode tools. Usually I am very methodical when I do complete re-install of the operating system, but the other day I was having a problem that I couldn't solve, and decided to do a quick OS re-install with archive and forgot to re-install X11 and the Developer Tools. Funny how much better it all works when the compiler is there... MOST everything installed fine but there were several items that FAILED. ( 1 ) sqlite failed when installed on its own, and later as expected when required by Apache2, and later by PHP5 ( 2 ) for some reason the php 5.2..6 installer could not find awk, yet... $ sudo find / -name awk Password: /opt/local/libexec/awk /opt/local/share/awk /opt/local/var/macports/software/gawk/3.1.6_0/opt/local/libexec/awk /opt/local/var/macports/software/gawk/3.1.6_0/opt/local/share/awk /usr/bin/awk $ port installed The following ports are currently installed: ... gawk @3.1.6_0 (active) ... $ sudo port -d selfupdate $ sudo port outdated The following installed ports are outdated: apache2 2.2.8_0 < 2.2.9_1 apr 1.2.12_1 < 1.3.2_0 apr-util 1.2.12_0 < 1.3.2_0 bzip2 1.0.5_0 < 1.0.5_1 curl 7.18.1_2 < 7.18.2_0 fontconfig 2.5.0_0 < 2.6.0_0 freetype 2.3.5_1 < 2.3.7_1 libpng 1.2.26_0 < 1.2.29_0 libxml2 2.6.31_0 < 2.6.32_1 libxslt 1.1.22_0 < 1.1.23_0 m4 1.4.10_1 < 1.4.11_0 openssl 0.9.8g_0 < 0.9.8h_0 ossp-uuid 1.6.0_2 < 1.6.1_0 pcre 7.6_0 < 7.7_0 perl5.8 5.8.8_2 < 5.8.8_3 php5 5.2.5_3 < 5.2.6_1 postgresql83 8.3.1_0 < 8.3.3_0 postgresql83-doc 8.3.1_0 < 8.3.3_0 postgresql83-server 8.3.1_0 < 8.3.3_0 readline 5.2.007_0 < 5.2.012_1 sqlite3 3.5.8_0 < 3.5.9_0 tiff 3.8.2_1 < 3.8.2_2 $ sudo port upgrade outdated ... ---> Attempting to fetch sqlite-3.5.9.tar.gz from http://www.sqlite.org/ ---> Verifying checksum(s) for sqlite3 ---> Extracting sqlite3 ---> Configuring sqlite3 ---> Building sqlite3 with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.9" && gnumake all " returned error 2 Command output: sed -e s/--VERS--/3.5.9/ ./src/sqlite.h.in | \ sed -e s/--VERSION-NUMBER--/3005009/ >sqlite3.h /usr/bin/gcc-4.0 -O2 -o mkkeywordhash ./tool/mkkeywordhash.c ./mkkeywordhash >keywordhash.h /usr/bin/gcc-4.0 -O2 -o lemon ./tool/lemon.c cp ./tool/lempar.c . cp ./src/parse.y . ./lemon parse.y mv parse.h parse.h.temp f ./addopcodes.awk parse.h.temp >parse.h /bin/sh: f: command not found gnumake: [parse.c] Error 127 (ignored) cat parse.h ./src/vdbe.c | -f ./mkopcodeh.awk >opcodes.h /bin/sh: -f: command not found cat: stdout: Broken pipe gnumake: *** [opcodes.h] Error 127 Error: Unable to upgrade port: 1 ---> Configuring apache2 ---> Building apache2 with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_www_apache2/work/httpd-2.2.9" && make all " returned error 2 Command output: /opt/local/share/apr-1/build/libtool --silent -- mode=link /usr/bin/gcc-4.0 -I/opt/local/include -O2 -L/opt/local/ lib/db46 -L/opt/local/lib -o logresolve logresolve.lo -L/opt/local/ lib -lpcre /opt/local/lib/libaprutil-1.la -ldb-4.6 -lexpat -liconv / opt/local/lib/libapr-1.la -lpthread ... server/mpm/prefork/libprefork.la os/unix/libos.la -L/opt/local/lib - lpcre /opt/local/lib/libaprutil-1.la -ldb-4.6 -lexpat -liconv /opt/ local/lib/libapr-1.la -lpthread Undefined symbols: "_ap_ugly_hack", referenced from: _ap_ugly_hack$non_lazy_ptr in libmain.a(main.o) "_ap_prelinked_module_symbols", referenced from: _ap_prelinked_module_symbols$non_lazy_ptr in libmain.a(core.o) "_ap_prelinked_modules", referenced from: _ap_prelinked_modules$non_lazy_ptr in libmain.a(main.o) _ap_prelinked_modules$non_lazy_ptr in libmain.a(config.o) "_ap_http_input_filter_handle", referenced from: _ap_http_input_filter_handle$non_lazy_ptr in libmain.a(protocol.o) "_ap_preloaded_modules", referenced from: _ap_preloaded_modules$non_lazy_ptr in libmain.a(config.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [httpd] Error 1 make: *** [all-recursive] Error 1 Error: Unable to upgrade port: 1 ---> Building sqlite3 with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.9" && gnumake all " returned error 2 Command output: sort -n -b -k 3 opcodes.h | -f ./mkopcodec.awk >opcodes.c /bin/sh: -f: command not found gnumake: *** [opcodes.c] Error 127 Error: Unable to upgrade port: 1 ---> Attempting to fetch php-5.2.6.tar.bz2 from http://www.php.net/distributions/ ---> Verifying checksum(s) for php5 ---> Extracting php5 ---> Configuring php5 Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_www_php5/work/php-5.2.6" && ./configure -- prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/ share/info --with-config-file-path=/opt/local/etc --enable-calendar -- with-iconv=/opt/local --enable-exif --enable-ftp --enable-wddx --with- zlib=/opt/local --with-bz2=/opt/local --with-libxml-dir=/opt/local -- with-gettext=/opt/local --with-xml --with-expat-dir=/opt/local --with- xmlrpc --enable-soap --enable-filepro --enable-bcmath --enable-trans- sid --enable-mbstring --enable-dbx --enable-dba --enable-zip --with- openssl=/opt/local --with-mhash=/opt/local --with-mcrypt=/opt/local -- with-xsl=/opt/local --with-curl=/opt/local --with-pcre-regex=/opt/ local --with-gd=/opt/local --with-jpeg-dir=/opt/local --with-png-dir=/ opt/local --enable-gd-native-ttf --with-freetype-dir=/opt/local --with- ldap=/usr --with-kerberos=/usr --with-iodbc=/usr --with-apxs2=/opt/ local/apache2/bin/apxs --with-tidy=/opt/local --with-mysql=/opt/local/ var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_www_php5/work/mysql5 --with-pdo-mysql=/opt/ local/bin/mysql_config5 --with-mysql-sock=/opt/local/var/run/mysql5/ mysqld.sock --with-mysqli=/opt/local/bin/mysql_config5 --with-pgsql=/ opt/local/lib/postgresql83/bin --with-pdo-pgsql=/opt/local/lib/ postgresql83/bin --with-sqlite --with-pdo-sqlite=/opt/local --enable- sqlite-utf8 --enable-shmop --enable-sysvsem --enable-sysvshm --enable- sysvmsg --enable-pcntl --with-pear=/opt/local/lib/php --with-readline=/ opt/local --enable-sockets " returned error 1 Command output: checking for Cygwin environment... no ... configure: warning: You will need re2c 0.12.0 or later if you want to regenerate PHP parsers. checking for gawk... (cached) no checking for nawk... (cached) no checking for awk... (cached) no checking for mawk... (cached) no configure: error: Could not find awk; Install GNU awk Error: Unable to upgrade port: 1 ---> Fetching postgresql83 ---> Attempting to fetch postgresql-8.3.3.tar.bz2 from http://ftp8.de.postgresql.org/pub/misc/pgsql//source/v8.3.3/ ---> Verifying checksum(s) for postgresql83 ---> Extracting postgresql83 ---> Configuring postgresql83 ---> Building postgresql83 Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_databases_postgresql83/work/ postgresql-8.3.3" && gnumake " returned error 2 Command output: /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -I/opt/local/ include -I/opt/local/include/ossp -Wall -Wmissing-prototypes -Wpointer- arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno- strict-aliasing -fwrapv -I../../../../src/include -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include -c -o tsrank.o tsrank.c ... /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -I/opt/local/include -I/opt/local/ include/ossp -Wall -Wmissing-prototypes -Wpointer-arith -Winline - Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing - fwrapv -I../../../../src/include -I/opt/local/include -I/opt/local/ include/libxml2 -I/opt/local/include -DDLSUFFIX=\".so\" -c -o dfmgr.o dfmgr.c dfmgr.c:82: error: syntax error before '/' token gnumake[4]: *** [dfmgr.o] Error 1 gnumake[3]: *** [fmgr-recursive] Error 2 gnumake[2]: *** [utils-recursive] Error 2 gnumake[1]: *** [all] Error 2 gnumake: *** [all] Error 2 Error: Unable to upgrade port: 1 ---> Fetching postgresql83-doc ---> Verifying checksum(s) for postgresql83-doc ---> Extracting postgresql83-doc ---> Configuring postgresql83-doc ---> Building postgresql83-doc ---> Staging postgresql83-doc into destroot ---> Deactivating postgresql83-doc 8.3.1_0 ---> Installing postgresql83-doc 8.3.3_0 ---> Activating postgresql83-doc 8.3.3_0 ---> Cleaning postgresql83-doc ---> Building postgresql83 Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_databases_postgresql83/work/ postgresql-8.3.3" && gnumake " returned error 2 Command output: gnumake[4]: `SUBSYS.o' is up to date. ... /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -I/opt/local/include -I/opt/local/ include/ossp -Wall -Wmissing-prototypes -Wpointer-arith -Winline - Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing - fwrapv -I../../../../src/include -I/opt/local/include -I/opt/local/ include/libxml2 -I/opt/local/include -DDLSUFFIX=\".so\" -c -o dfmgr.o dfmgr.c dfmgr.c:82: error: syntax error before '/' token gnumake[4]: *** [dfmgr.o] Error 1 gnumake[3]: *** [fmgr-recursive] Error 2 gnumake[2]: *** [utils-recursive] Error 2 gnumake[1]: *** [all] Error 2 gnumake: *** [all] Error 2 Error: Unable to upgrade port: 1 ---> Fetching postgresql83-server ---> Verifying checksum(s) for postgresql83-server - ... To tweak your DBMS, consider increasing kern.sysv.shmmax by adding an increased kern.sysv.shmmax .. to /etc/sysctl.conf ---> Activating postgresql83-server 8.3.3_0 ---> Cleaning postgresql83-server ---> Building sqlite3 with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.9" && gnumake all " returned error 2 Command output: sqlite3.c:75960: error: 'TK_GE' undeclared (first use in this function) sqlite3.c:75963: error: 'TK_RSHIFT' undeclared (first use in this function) sqlite3.c:75966: error: 'TK_GT' undeclared (first use in this function) sqlite3.c:75972: error: 'TK_ILLEGAL' undeclared (first use in this function) sqlite3.c:75981: error: 'TK_BITOR' undeclared (first use in this function) sqlite3.c:75984: error: 'TK_CONCAT' undeclared (first use in this function) sqlite3.c:75989: error: 'TK_COMMA' undeclared (first use in this function) sqlite3.c:75993: error: 'TK_BITAND' undeclared (first use in this function) sqlite3.c:75997: error: 'TK_BITNOT' undeclared (first use in this function) sqlite3.c:76014: error: 'TK_STRING' undeclared (first use in this function) sqlite3.c:76026: error: 'TK_DOT' undeclared (first use in this function) sqlite3.c:76034: error: 'TK_INTEGER' undeclared (first use in this function) sqlite3.c:76040: error: 'TK_FLOAT' undeclared (first use in this function) sqlite3.c:76060: error: 'TK_ID' undeclared (first use in this function) sqlite3.c:76060: warning: assignment makes integer from pointer without a cast sqlite3.c:76064: error: 'TK_VARIABLE' undeclared (first use in this function) sqlite3.c:76073: error: 'TK_REGISTER' undeclared (first use in this function) sqlite3.c:76113: error: 'TK_BLOB' undeclared (first use in this function) sqlite3.c: In function 'sqlite3RunParser': sqlite3.c:76184: error: 'TK_SPACE' undeclared (first use in this function) sqlite3.c:76184: warning: case label value exceeds maximum value for type sqlite3.c:76185: error: 'TK_COMMENT' undeclared (first use in this function) sqlite3.c:76185: warning: case label value exceeds maximum value for type sqlite3.c:76193: error: 'TK_ILLEGAL' undeclared (first use in this function) sqlite3.c:76193: warning: case label value exceeds maximum value for type sqlite3.c:76202: error: 'TK_SEMI' undeclared (first use in this function) sqlite3.c:76202: warning: case label value exceeds maximum value for type sqlite3.c:76218: warning: comparison between pointer and integer sqlite3.c:76219: warning: passing argument 2 of 'sqlite3Parser' makes integer from pointer without a cast gnumake: *** [sqlite3.lo] Error 1 Error: Unable to upgrade port: 1 $ port installed The following ports are currently installed: apache2 @2.2.8_0+darwin_9 (active) apr @1.2.12_1+darwin_9 apr @1.3.2_0+darwin_9 (active) apr-util @1.2.12_0 apr-util @1.3.2_0 (active) bison @2.3_2 (active) bzip2 @1.0.5_0 bzip2 @1.0.5_1 (active) curl @7.18.1_2 curl @7.18.2_0 (active) cyrus-sasl2 @2.1.21_0+kerberos (active) db44 @4.4.20_1 (active) db46 @4.6.21_1 (active) expat @2.0.1_0 (active) fontconfig @2.5.0_0+macosx fontconfig @2.6.0_0+macosx (active) freetype @2.3.5_1 freetype @2.3.7_1 (active) gawk @3.1.6_0 (active) gd2 @2.0.35_1 (active) gettext @0.17_3 (active) gmake @3.81_0 (active) gperf @3.0.3_0 (active) jpeg @6b_2 (active) libiconv @1.12_0 (active) libmcrypt @2.5.8_0 (active) libpng @1.2.26_0 libpng @1.2.29_0 (active) libtool @1.5.26_0 (active) libxml2 @2.6.31_0 libxml2 @2.6.32_1 (active) libxslt @1.1.22_0 libxslt @1.1.23_0 (active) m4 @1.4.10_1 m4 @1.4.11_0 (active) mhash @0.9.9_0 (active) mysql5 @5.0.51a_0+server (active) ncurses @5.6_0 (active) ncursesw @5.6_1 (active) openldap @2.3.35_0 (active) openssl @0.9.8g_0 openssl @0.9.8h_0 (active) ossp-uuid @1.6.0_2 ossp-uuid @1.6.1_0 (active) pcre @7.6_0 pcre @7.7_0 (active) perl5.8 @5.8.8_2+darwin_9 perl5.8 @5.8.8_3+darwin_9 (active) php5 @5.2.5_3+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear +postgresql83+readline+sockets+sqlite+tidy (active) pkgconfig @0.23_0 (active) postgresql83 @8.3.1_0 (active) postgresql83-doc @8.3.1_0 postgresql83-doc @8.3.3_0 (active) postgresql83-server @8.3.1_0 postgresql83-server @8.3.3_0 (active) readline @5.2.007_0+darwin_9 readline @5.2.012_1 (active) rpl @1.4.0_0 (active) sqlite3 @3.5.8_0 (active) tidy @20051026_0 (active) tiff @3.8.2_1+macosx tiff @3.8.2_2+darwin_9+macosx (active) zlib @1.2.3_1 (active) Bill Hernandez Plano, Texas From ryandesign at macports.org Mon Jul 7 11:52:05 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 7 Jul 2008 13:52:05 -0500 Subject: php5 5.2.5 -> 5.2.6 upgrade fails ? In-Reply-To: <13E5360E-1423-45AB-87D9-BE0FC31B3A25@mac-specialist.com> References: <2AF6606E-A94D-416A-9A25-9BBD08CA4EB4@mac-specialist.com> <13E5360E-1423-45AB-87D9-BE0FC31B3A25@mac-specialist.com> Message-ID: <6E61339F-CA2F-4065-BA84-C583C47D5726@macports.org> On Jul 7, 2008, at 13:04, Bill Hernandez wrote: > MOST everything installed fine but there were several items that > FAILED. As detailed below, you are being bitten by the Leopard environment variable issue, described here: http://trac.macports.org/wiki/LeopardProblems The problem occurs for certain combinations of ports when multiple ports are installed by one invocation of the port command. To work around the problem, clean the work area of the failing port and try installing that port again. > ( 1 ) sqlite failed when installed on its own, and later as expected > when required by Apache2, and later by PHP5 > ( 2 ) for some reason the php 5.2..6 installer could not find awk, > yet... > > $ sudo find / -name awk > Password: > /opt/local/libexec/awk > /opt/local/share/awk > /opt/local/var/macports/software/gawk/3.1.6_0/opt/local/libexec/awk > /opt/local/var/macports/software/gawk/3.1.6_0/opt/local/share/awk > /usr/bin/awk > > > $ port installed > The following ports are currently installed: > ... > gawk @3.1.6_0 (active) > ... > > $ sudo port -d selfupdate > $ sudo port outdated > > The following installed ports are outdated: > apache2 2.2.8_0 < 2.2.9_1 > apr 1.2.12_1 < 1.3.2_0 > apr-util 1.2.12_0 < 1.3.2_0 > bzip2 1.0.5_0 < 1.0.5_1 > curl 7.18.1_2 < 7.18.2_0 > fontconfig 2.5.0_0 < 2.6.0_0 > freetype 2.3.5_1 < 2.3.7_1 > libpng 1.2.26_0 < 1.2.29_0 > libxml2 2.6.31_0 < 2.6.32_1 > libxslt 1.1.22_0 < 1.1.23_0 > m4 1.4.10_1 < 1.4.11_0 > openssl 0.9.8g_0 < 0.9.8h_0 > ossp-uuid 1.6.0_2 < 1.6.1_0 > pcre 7.6_0 < 7.7_0 > perl5.8 5.8.8_2 < 5.8.8_3 > php5 5.2.5_3 < 5.2.6_1 > postgresql83 8.3.1_0 < 8.3.3_0 > postgresql83-doc 8.3.1_0 < 8.3.3_0 > postgresql83-server 8.3.1_0 < 8.3.3_0 > readline 5.2.007_0 < 5.2.012_1 > sqlite3 3.5.8_0 < 3.5.9_0 > tiff 3.8.2_1 < 3.8.2_2 > > > $ sudo port upgrade outdated > ... > > ---> Attempting to fetch sqlite-3.5.9.tar.gz from http:// > www.sqlite.org/ > ---> Verifying checksum(s) for sqlite3 > ---> Extracting sqlite3 > ---> Configuring sqlite3 > ---> Building sqlite3 with target all > > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.9" && > gnumake all " returned error 2 > > Command output: sed -e s/--VERS--/3.5.9/ ./src/sqlite.h.in | \ > sed -e s/--VERSION-NUMBER--/3005009/ >sqlite3.h > /usr/bin/gcc-4.0 -O2 -o mkkeywordhash ./tool/mkkeywordhash.c > ./mkkeywordhash >keywordhash.h > /usr/bin/gcc-4.0 -O2 -o lemon ./tool/lemon.c > cp ./tool/lempar.c . > cp ./src/parse.y . > ./lemon parse.y > mv parse.h parse.h.temp > f ./addopcodes.awk parse.h.temp >parse.h > > /bin/sh: f: command not found > gnumake: [parse.c] Error 127 (ignored) > cat parse.h ./src/vdbe.c | -f ./mkopcodeh.awk >opcodes.h > > /bin/sh: -f: command not found > cat: stdout: Broken pipe > gnumake: *** [opcodes.h] Error 127 > > Error: Unable to upgrade port: 1 This is the Leopard environment variable issue. Clean the sqlite3 work area and try again. sudo port clean --work sqlite3 sudo port install sqlite3 > ---> Configuring apache2 > ---> Building apache2 with target all > > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_www_apache2/work/httpd-2.2.9" && make all > " returned error 2 > > Command output: /opt/local/share/apr-1/build/libtool --silent -- > mode=link /usr/bin/gcc-4.0 -I/opt/local/include -O2 -L/opt/local/ > lib/db46 -L/opt/local/lib -o logresolve logresolve.lo -L/opt/ > local/ > lib -lpcre /opt/local/lib/libaprutil-1.la -ldb-4.6 -lexpat -liconv / > opt/local/lib/libapr-1.la -lpthread > ... > server/mpm/prefork/libprefork.la os/unix/libos.la -L/opt/local/lib - > lpcre /opt/local/lib/libaprutil-1.la -ldb-4.6 -lexpat -liconv /opt/ > local/lib/libapr-1.la -lpthread > > Undefined symbols: > "_ap_ugly_hack", referenced from: > _ap_ugly_hack$non_lazy_ptr in libmain.a(main.o) > "_ap_prelinked_module_symbols", referenced from: > _ap_prelinked_module_symbols$non_lazy_ptr in libmain.a(core.o) > "_ap_prelinked_modules", referenced from: > _ap_prelinked_modules$non_lazy_ptr in libmain.a(main.o) > _ap_prelinked_modules$non_lazy_ptr in libmain.a(config.o) > "_ap_http_input_filter_handle", referenced from: > _ap_http_input_filter_handle$non_lazy_ptr in > libmain.a(protocol.o) > "_ap_preloaded_modules", referenced from: > _ap_preloaded_modules$non_lazy_ptr in libmain.a(config.o) > > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[1]: *** [httpd] Error 1 > make: *** [all-recursive] Error 1 > > Error: Unable to upgrade port: 1 This is also caused by the Leopard environment variable issue. See: http://trac.macports.org/ticket/13066 > ---> Attempting to fetch php-5.2.6.tar.bz2 from http://www.php.net/ > distributions/ > ---> Verifying checksum(s) for php5 > ---> Extracting php5 > ---> Configuring php5 > > Error: Target org.macports.configure returned: configure failure: > shell command " cd "/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_www_php5/work/php-5.2.6" && ./configure -- > prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/ > share/info --with-config-file-path=/opt/local/etc --enable-calendar -- > with-iconv=/opt/local --enable-exif --enable-ftp --enable-wddx --with- > zlib=/opt/local --with-bz2=/opt/local --with-libxml-dir=/opt/local -- > with-gettext=/opt/local --with-xml --with-expat-dir=/opt/local --with- > xmlrpc --enable-soap --enable-filepro --enable-bcmath --enable-trans- > sid --enable-mbstring --enable-dbx --enable-dba --enable-zip --with- > openssl=/opt/local --with-mhash=/opt/local --with-mcrypt=/opt/local -- > with-xsl=/opt/local --with-curl=/opt/local --with-pcre-regex=/opt/ > local --with-gd=/opt/local --with-jpeg-dir=/opt/local --with-png-dir=/ > opt/local --enable-gd-native-ttf --with-freetype-dir=/opt/local -- > with- > ldap=/usr --with-kerberos=/usr --with-iodbc=/usr --with-apxs2=/opt/ > local/apache2/bin/apxs --with-tidy=/opt/local --with-mysql=/opt/local/ > var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_www_php5/work/mysql5 --with-pdo-mysql=/ > opt/ > local/bin/mysql_config5 --with-mysql-sock=/opt/local/var/run/mysql5/ > mysqld.sock --with-mysqli=/opt/local/bin/mysql_config5 --with-pgsql=/ > opt/local/lib/postgresql83/bin --with-pdo-pgsql=/opt/local/lib/ > postgresql83/bin --with-sqlite --with-pdo-sqlite=/opt/local --enable- > sqlite-utf8 --enable-shmop --enable-sysvsem --enable-sysvshm --enable- > sysvmsg --enable-pcntl --with-pear=/opt/local/lib/php --with- > readline=/ > opt/local --enable-sockets " returned error 1 > > Command output: checking for Cygwin environment... no > ... > configure: warning: You will need re2c 0.12.0 or later if you want to > regenerate PHP parsers. > checking for gawk... (cached) no > checking for nawk... (cached) no > checking for awk... (cached) no > checking for mawk... (cached) no > configure: error: Could not find awk; Install GNU awk > > Error: Unable to upgrade port: 1 I'm not sure. It may be the same issue. Clean php5's work area and install just php5. > ---> Fetching postgresql83 > ---> Attempting to fetch postgresql-8.3.3.tar.bz2 from http:// > ftp8.de.postgresql.org/pub/misc/pgsql//source/v8.3.3/ > ---> Verifying checksum(s) for postgresql83 > ---> Extracting postgresql83 > ---> Configuring postgresql83 > ---> Building postgresql83 > > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_databases_postgresql83/work/ > postgresql-8.3.3" && gnumake " returned error 2 > > Command output: /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -I/opt/local/ > include -I/opt/local/include/ossp -Wall -Wmissing-prototypes - > Wpointer- > arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno- > strict-aliasing -fwrapv -I../../../../src/include -I/opt/local/include > -I/opt/local/include/libxml2 -I/opt/local/include -c -o tsrank.o > tsrank.c > ... > /usr/bin/gcc-4.0 -no-cpp-precomp -O2 -I/opt/local/include -I/opt/ > local/ > include/ossp -Wall -Wmissing-prototypes -Wpointer-arith -Winline - > Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing - > fwrapv -I../../../../src/include -I/opt/local/include -I/opt/local/ > include/libxml2 -I/opt/local/include -DDLSUFFIX=\".so\" -c -o > dfmgr.o dfmgr.c > dfmgr.c:82: error: syntax error before '/' token I'm not sure. Could be the same thing. Clean postgresql83's work area and install just postgresql83. > ---> Fetching postgresql83-server > ---> Verifying checksum(s) for postgresql83-server > - ... > > To tweak your DBMS, consider increasing kern.sysv.shmmax by adding an > increased kern.sysv.shmmax .. to /etc/sysctl.conf > ---> Activating postgresql83-server 8.3.3_0 > ---> Cleaning postgresql83-server > ---> Building sqlite3 with target all > > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.9" && > gnumake all " returned error 2 > > Command output: sqlite3.c:75960: error: 'TK_GE' undeclared (first use > in this function) > sqlite3.c:75963: error: 'TK_RSHIFT' undeclared (first use in this > function) > sqlite3.c:75966: error: 'TK_GT' undeclared (first use in this > function) > sqlite3.c:75972: error: 'TK_ILLEGAL' undeclared (first use in this > function) > sqlite3.c:75981: error: 'TK_BITOR' undeclared (first use in this > function) > sqlite3.c:75984: error: 'TK_CONCAT' undeclared (first use in this > function) > sqlite3.c:75989: error: 'TK_COMMA' undeclared (first use in this > function) > sqlite3.c:75993: error: 'TK_BITAND' undeclared (first use in this > function) > sqlite3.c:75997: error: 'TK_BITNOT' undeclared (first use in this > function) > sqlite3.c:76014: error: 'TK_STRING' undeclared (first use in this > function) > sqlite3.c:76026: error: 'TK_DOT' undeclared (first use in this > function) > sqlite3.c:76034: error: 'TK_INTEGER' undeclared (first use in this > function) > sqlite3.c:76040: error: 'TK_FLOAT' undeclared (first use in this > function) > sqlite3.c:76060: error: 'TK_ID' undeclared (first use in this > function) > sqlite3.c:76060: warning: assignment makes integer from pointer > without a cast > sqlite3.c:76064: error: 'TK_VARIABLE' undeclared (first use in this > function) > sqlite3.c:76073: error: 'TK_REGISTER' undeclared (first use in this > function) > sqlite3.c:76113: error: 'TK_BLOB' undeclared (first use in this > function) > sqlite3.c: In function 'sqlite3RunParser': > sqlite3.c:76184: error: 'TK_SPACE' undeclared (first use in this > function) > sqlite3.c:76184: warning: case label value exceeds maximum value for > type > sqlite3.c:76185: error: 'TK_COMMENT' undeclared (first use in this > function) > sqlite3.c:76185: warning: case label value exceeds maximum value for > type > sqlite3.c:76193: error: 'TK_ILLEGAL' undeclared (first use in this > function) > sqlite3.c:76193: warning: case label value exceeds maximum value for > type > sqlite3.c:76202: error: 'TK_SEMI' undeclared (first use in this > function) > sqlite3.c:76202: warning: case label value exceeds maximum value for > type > sqlite3.c:76218: warning: comparison between pointer and integer > sqlite3.c:76219: warning: passing argument 2 of 'sqlite3Parser' makes > integer from pointer without a cast > gnumake: *** [sqlite3.lo] Error 1 A different error for sqlite3, but this is also known to be the Leopard environment variable issue. http://trac.macports.org/ticket/13953 Clean sqlite3's work area and install just sqlite3. From dluke at geeklair.net Mon Jul 7 11:52:17 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Mon, 7 Jul 2008 14:52:17 -0400 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <486D53D7.9090305@macports.org> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> <486D481D.30302@free.fr> <486D53D7.9090305@macports.org> Message-ID: <3B7736E0-11D4-4F3E-8576-90784FF89C6C@geeklair.net> On Jul 3, 2008, at 6:33 PM, Rainer M?ller wrote: > jmpp wanted to prepare a new release in April, but then suddenly > disappeared. Should we just create a new 1.7.0 release branch based off of the current trunk and get it ready for release? -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080707/6235e4c7/attachment.bin From ryandesign at macports.org Mon Jul 7 11:53:44 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 7 Jul 2008 13:53:44 -0500 Subject: Calls to imagettftext cause fatal error in php In-Reply-To: <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> Message-ID: On Jul 7, 2008, at 09:27, Chris Janton wrote: > On 2008-07-06 , at 19:30 , Ryan Schmidt wrote: > >>> SO - it boils down to getting the maintainer of freetype >>> (Maintainers: ryandesign at macports.org >>> ) to look at the implications of the following configuration options >>> >>> >>> >>> --with-quickdraw-toolbox >>> >>> use MacOS QuickDraw in ToolBox, if >>> available >>> >>> (default=yes) >>> >>> --with-quickdraw-carbon use MacOS QuickDraw in Carbon, if >>> available >>> >>> (default=yes) >>> >>> and if they should be changed, or a variant made available for >>> Leopard >>> users. >>> >>> >>> >>> Clear as mud? >> >> Exactly. I don't see that I need to make any change in the freetype >> portfile. If a change needs to be made in freetype, it should be the >> developers of freetype that do so. Feel free to file a bug with them. > > > The way I read things is that if one turns off quickdraw in freetype > then the "problem" will not occur. What are the implications of turning off QuickDraw in FreeType? What features will then not work? > Would it be possible to add a variant to freetype that sets --with- > quickdraw-toolbox=no and --with-quickdraw-carbon=no > ? From ryandesign at macports.org Mon Jul 7 11:59:41 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 7 Jul 2008 13:59:41 -0500 Subject: OpenSSH questions (a port alongside Apple's install of OpenSSH) In-Reply-To: <7fccb3000807070620x62e3b6fdy40dd20354580c45c@mail.gmail.com> References: <7fccb3000807070620x62e3b6fdy40dd20354580c45c@mail.gmail.com> Message-ID: <827C4E06-6A08-4C01-8D58-575BA843B161@macports.org> On Jul 7, 2008, at 08:20, Tabitha McNerney wrote: > What is interesting is that as of Mac OS X Server 10.5.2 (and also > non-Server I noticed on an iMac Mac OS X 10.5.4), Apple's uses > version 4.7p1 (although interestingly Mac OS X Server 10.5.1 uses > OpenSSH 4.5p1 so Apple had a rapid change of heart from 10.5.1 > Server to 10.5.2 Server which seems uncharacteristic of Apple). What's unusual about that? I assume Apple received a bug report about the ssh server, found that the bug was fixed in 4.7p1, and updated to that version. From ryandesign at macports.org Mon Jul 7 12:08:56 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 7 Jul 2008 14:08:56 -0500 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <3B7736E0-11D4-4F3E-8576-90784FF89C6C@geeklair.net> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> <486D481D.30302@free.fr> <486D53D7.9090305@macports.org> <3B7736E0-11D4-4F3E-8576-90784FF89C6C@geeklair.net> Message-ID: <9AF0294A-D5F8-467F-9E37-59748D588624@macports.org> On Jul 7, 2008, at 13:52, Daniel J. Luke wrote: > On Jul 3, 2008, at 6:33 PM, Rainer M?ller wrote: > >> jmpp wanted to prepare a new release in April, but then suddenly >> disappeared. > > Should we just create a new 1.7.0 release branch based off of the > current trunk and get it ready for release? Before we create any branch we should make sure all changes from the 1.6 branch have been merged into trunk. Then someone should create some disk images for 10.3, 10.4 and 10.5 so we can be sure that works. Then we should be sure to test them on all 5 OS/arch combinations. We could create a 1.7 branch before creating the disk images if someone wanted to take charge of merging changes from trunk as needed. I haven't familiarized myself with svnmerge.py or the Subversion 1.5 merge mechanism yet. From dluke at geeklair.net Mon Jul 7 13:04:19 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Mon, 7 Jul 2008 16:04:19 -0400 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <9AF0294A-D5F8-467F-9E37-59748D588624@macports.org> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> <486D481D.30302@free.fr> <486D53D7.9090305@macports.org> <3B7736E0-11D4-4F3E-8576-90784FF89C6C@geeklair.net> <9AF0294A-D5F8-467F-9E37-59748D588624@macports.org> Message-ID: <8B37A651-4EAD-4919-8951-6008F7DDA3ED@geeklair.net> On Jul 7, 2008, at 3:08 PM, Ryan Schmidt wrote: >> Should we just create a new 1.7.0 release branch based off of the >> current trunk and get it ready for release? > > Before we create any branch we should make sure all changes from the > 1.6 branch have been merged into trunk. sure. > Then someone should create some disk images for 10.3, 10.4 and 10.5 > so we can be sure that works. Then we should be sure to test them on > all 5 OS/arch combinations. Well, we don't officially support 10.3, so I don't think we need a pkg installer for it. Ideally, we should have 1 universal pkg that works on 10.4 and 10.5 intel and ppc. > We could create a 1.7 branch before creating the disk images if > someone wanted to take charge of merging changes from trunk as needed. I think we'd just want to merge over any fixes to brokenness that would prevent release. Any big changes would wait until the next release. That way 1.7 would be just current trunk + any polish needed to have it work right for our users. > I haven't familiarized myself with svnmerge.py or the Subversion 1.5 > merge mechanism yet. Do you want to? ;-) Since jmpp seems to be too busy to work on it, we could probably use someone who wants to do the release manager thing (and you tend to watch commits pretty closely, so you'd probably be good at it :) ). -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080707/5eb85047/attachment.bin From raimue at macports.org Mon Jul 7 13:06:52 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 07 Jul 2008 22:06:52 +0200 Subject: OpenSSH questions (a port alongside Apple's install of OpenSSH) In-Reply-To: <7fccb3000807070714u56bba908h4ebee87b6a47cf03@mail.gmail.com> References: <7fccb3000807070620x62e3b6fdy40dd20354580c45c@mail.gmail.com> <0141D1F0-1AB6-481F-B1BB-B1D07D65613B@geeklair.net> <7fccb3000807070714u56bba908h4ebee87b6a47cf03@mail.gmail.com> Message-ID: <4872775C.3050003@macports.org> Tabitha McNerney wrote: > Daniel, thank you. That's great advice and am glad to know others have > done this. Doesn't look to complicated but as always, its great to have > community discussion about these things (especially since security is > such an important topic). I have openssh installed, but I only use the client from it. I am still using /usr/bin/sshd. This way I can be sure it is configured correctly and I don't see a great advantage from using a newer server version. Rainer From face at CentosPrime.COM Mon Jul 7 13:08:41 2008 From: face at CentosPrime.COM (Chris Janton) Date: Mon, 07 Jul 2008 13:08:41 -0700 Subject: Calls to imagettftext cause fatal error in php In-Reply-To: References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> Message-ID: On 2008-07-07 , at 11:53 , Ryan Schmidt wrote: >> The way I read things is that if one turns off quickdraw in freetype >> then the "problem" will not occur. > > What are the implications of turning off QuickDraw in FreeType? What > features will then not work? From what I can see? No more deprecated QuickDraw functions. The following configuration settings seem relevant... --with-old-mac-fonts allow Mac resource-based fonts to be used --with-fsspec use obsolete FSSpec API of MacOS, if available (default=yes) --with-fsref use Carbon FSRef API of MacOS, if available (default=yes) --with-quickdraw-toolbox use MacOS QuickDraw in ToolBox, if available (default=yes) --with-quickdraw-carbon use MacOS QuickDraw in Carbon, if available (default=yes) --with-ats use AppleTypeService, if available (default=yes) I modified my version of the Portfile (running from trunk) --with-fsspec=no --with-fsref=no --with-quickdraw-toolbox=no --with-quickdraw-carbon=no --with-old-mac-fonts=no //this one is for me, since I don't use old mac fonts ;-) and left --with-ats alone. Followed with sudo port configure freetype sudo port build freetype sudo port install -f freetype hand tested PHP, works as advertised. sudo /opt/local/apache2/bin/apachectl graceful tested the same PHP code with web browser. I got an image with text on it as expected (the same image that gets produced by a running the PHP straight-up). From what I read the only "feature" that doesn't work anymore is the ability to use freetype with old-style Mac file specs and references. Anyway - I was just taking the opportunity to look into MacPorts in more depth. I don't have any attachment to a change or not change in the freetype port. 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From ryandesign at macports.org Mon Jul 7 13:31:29 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 7 Jul 2008 15:31:29 -0500 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <8B37A651-4EAD-4919-8951-6008F7DDA3ED@geeklair.net> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> <486D481D.30302@free.fr> <486D53D7.9090305@macports.org> <3B7736E0-11D4-4F3E-8576-90784FF89C6C@geeklair.net> <9AF0294A-D5F8-467F-9E37-59748D588624@macports.org> <8B37A651-4EAD-4919-8951-6008F7DDA3ED@geeklair.net> Message-ID: <7ECD5E45-0F93-4556-BFAD-06D56A4165C9@macports.org> On Jul 7, 2008, at 15:04, Daniel J. Luke wrote: > On Jul 7, 2008, at 3:08 PM, Ryan Schmidt wrote: > >>> Should we just create a new 1.7.0 release branch based off of the >>> current trunk and get it ready for release? >> >> Before we create any branch we should make sure all changes from >> the 1.6 branch have been merged into trunk. > > sure. > >> Then someone should create some disk images for 10.3, 10.4 and >> 10.5 so we can be sure that works. Then we should be sure to test >> them on all 5 OS/arch combinations. > > Well, we don't officially support 10.3, so I don't think we need a > pkg installer for it. Well I want a disk image for 10.3 so nyah. :) > Ideally, we should have 1 universal pkg that works on 10.4 and 10.5 > intel and ppc. Yes but no work has been done on this thus far so it can happen after MacPorts 1.7.0 is released. I see in the GSoC wiki page that there is a desire to replace the selfupdate mechanism with using the MacPorts port to update the MacPorts installation. This means we should concentrate our efforts on the MacPorts port for making sure a truly universal MacPorts is built. >> We could create a 1.7 branch before creating the disk images if >> someone wanted to take charge of merging changes from trunk as >> needed. > > I think we'd just want to merge over any fixes to brokenness that > would prevent release. Any big changes would wait until the next > release. > > That way 1.7 would be just current trunk + any polish needed to > have it work right for our users. > >> I haven't familiarized myself with svnmerge.py or the Subversion >> 1.5 merge mechanism yet. > > > Do you want to? ;-) Maybe. ;-) > Since jmpp seems to be too busy to work on it, we could probably > use someone who wants to do the release manager thing (and you tend > to watch commits pretty closely, so you'd probably be good at it :) ). From dluke at geeklair.net Mon Jul 7 13:44:57 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Mon, 7 Jul 2008 16:44:57 -0400 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <7ECD5E45-0F93-4556-BFAD-06D56A4165C9@macports.org> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> <486D481D.30302@free.fr> <486D53D7.9090305@macports.org> <3B7736E0-11D4-4F3E-8576-90784FF89C6C@geeklair.net> <9AF0294A-D5F8-467F-9E37-59748D588624@macports.org> <8B37A651-4EAD-4919-8951-6008F7DDA3ED@geeklair.net> <7ECD5E45-0F93-4556-BFAD-06D56A4165C9@macports.org> Message-ID: <18971417-1091-416C-8D2C-D96DEA591F97@geeklair.net> On Jul 7, 2008, at 4:31 PM, Ryan Schmidt wrote: >> Well, we don't officially support 10.3, so I don't think we need a >> pkg installer for it. > > Well I want a disk image for 10.3 so nyah. :) If you're willing to create/test it, I don't see a reason to not have it ;-) >> Ideally, we should have 1 universal pkg that works on 10.4 and 10.5 >> intel and ppc. > > Yes but no work has been done on this thus far so it can happen > after MacPorts 1.7.0 is released. > > I see in the GSoC wiki page that there is a desire to replace the > selfupdate mechanism with using the MacPorts port to update the > MacPorts installation. This means we should concentrate our efforts > on the MacPorts port for making sure a truly universal MacPorts is > built. Right, it would be good to get to the point where 'port dmg MacPorts' was sufficient to generate the dmg we put on the website. -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080707/58af46b9/attachment.bin From dluke at geeklair.net Mon Jul 7 13:47:31 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Mon, 7 Jul 2008 16:47:31 -0400 Subject: OpenSSH questions (a port alongside Apple's install of OpenSSH) In-Reply-To: <4872775C.3050003@macports.org> References: <7fccb3000807070620x62e3b6fdy40dd20354580c45c@mail.gmail.com> <0141D1F0-1AB6-481F-B1BB-B1D07D65613B@geeklair.net> <7fccb3000807070714u56bba908h4ebee87b6a47cf03@mail.gmail.com> <4872775C.3050003@macports.org> Message-ID: On Jul 7, 2008, at 4:06 PM, Rainer M?ller wrote: > Tabitha McNerney wrote: >> Daniel, thank you. That's great advice and am glad to know others >> have >> done this. Doesn't look to complicated but as always, its great to >> have >> community discussion about these things (especially since security is >> such an important topic). > > I have openssh installed, but I only use the client from it. I am > still > using /usr/bin/sshd. This way I can be sure it is configured correctly > and I don't see a great advantage from using a newer server version. I used to run a self-built (and then later MacPorts built) sshd on my server simply because it would get updated more frequently than the Apple-supplied one (since I could re-build with any security patches as soon as they were available). It's a bit scary to do on a machine that doesn't have serial console available in case there's a problem with the new sshd and/or one forgets to do things in the right order. -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080707/052966e1/attachment.bin From ryandesign at macports.org Mon Jul 7 13:56:08 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 7 Jul 2008 15:56:08 -0500 Subject: Calls to imagettftext cause fatal error in php In-Reply-To: References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> Message-ID: <80725776-661E-41C7-BE75-B1E654628E49@macports.org> On Jul 7, 2008, at 15:08, Chris Janton wrote: > On 2008-07-07 , at 11:53 , Ryan Schmidt wrote: > >>> The way I read things is that if one turns off quickdraw in freetype >>> then the "problem" will not occur. >> >> What are the implications of turning off QuickDraw in FreeType? What >> features will then not work? > > From what I can see? No more deprecated QuickDraw functions. The > following configuration settings seem relevant... > > --with-old-mac-fonts allow Mac resource-based fonts to be used That configure switch was added to the portfile at the request of a user: http://trac.macports.org/ticket/13045 > --with-fsspec use obsolete FSSpec API of MacOS, if > available > (default=yes) > --with-fsref use Carbon FSRef API of MacOS, if available > (default=yes) > --with-quickdraw-toolbox > use MacOS QuickDraw in ToolBox, if available > (default=yes) > --with-quickdraw-carbon use MacOS QuickDraw in Carbon, if available > (default=yes) > --with-ats use AppleTypeService, if available > (default=yes) > > I modified my version of the Portfile (running from trunk) > > --with-fsspec=no > --with-fsref=no > --with-quickdraw-toolbox=no > --with-quickdraw-carbon=no > --with-old-mac-fonts=no //this one is for me, since I don't use > old mac fonts ;-) > > and left --with-ats alone. > > Followed with > > sudo port configure freetype > sudo port build freetype > sudo port install -f freetype > > hand tested PHP, works as advertised. > > sudo /opt/local/apache2/bin/apachectl graceful > > tested the same PHP code with web browser. I got an image with text > on it as expected (the same image that gets produced by a running > the PHP straight-up). > > From what I read the only "feature" that doesn't work anymore is > the ability to use freetype with old-style Mac file specs and > references. So I guess this would be a matter of some software that would want to access fonts with old-style Mac file specs and references? But disabling the QuickDraw and FSSpec and FSRef functions wouldn't affect FreeType's ability to load old Mac fonts? > Anyway - I was just taking the opportunity to look into MacPorts in > more depth. I don't have any attachment to a change or not change > in the freetype port. From ms at mac-specialist.com Mon Jul 7 14:27:34 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Mon, 7 Jul 2008 16:27:34 -0500 Subject: php5 5.2.5 -> 5.2.6 upgrade fails ? In-Reply-To: <6E61339F-CA2F-4065-BA84-C583C47D5726@macports.org> References: <2AF6606E-A94D-416A-9A25-9BBD08CA4EB4@mac-specialist.com> <13E5360E-1423-45AB-87D9-BE0FC31B3A25@mac-specialist.com> <6E61339F-CA2F-4065-BA84-C583C47D5726@macports.org> Message-ID: <7BBF5350-CF74-46C2-8894-67CF8E82620D@mac-specialist.com> Ryan and the Group, SUCCESS... Upgrading failed using clean, upgrade until finally, I tried deactivate manually, followed by clean, install and it worked... I know my stuff is usually lengthy, and I apologize for that, but its meant for the non-experts that might run into similar problems. THANKS very much to all who took the time to respond. Bill Hernandez Plano, Texas # -------------------------------------------------- # THESE DID NOT WORK FOR ME # -------------------------------------------------- $ sudo port upgrade sqlite3 $ sudo port clean --work sqlite3 $ sudo port -d install sqlite3 ---> DEBUG: Executing org.macports.activate (sqlite3) ---> Activating sqlite3 3.5.9_0 ---> Error: Target org.macports.activate returned: Image error: Another version of this port (sqlite3 @3.5.8_0) is already active. ---> Warning: the following items did not execute (for sqlite3): org.macports.activate ---> Error: Status 1 encountered during processing. # -------------------------------------------------- # THESE FINALLY SOLVED THE PROBLEM # -------------------------------------------------- $ sudo port deactivate sqlite3 @3.5.8_0 $ sudo port clean --work sqlite3 $ sudo port -d install sqlite3 $ sudo port installed | grep sqlite ---> php5 @5.2.5_3+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear +postgresql83+readline+sockets+sqlite+tidy (active) ---> sqlite3 @3.5.8_0 ---> sqlite3 @3.5.9_0 (active) $ sudo port deactivate php5 @5.2.5_3+apache2+fastcgi+ipc+macosx +mysql5+pcntl+pear+postgresql83+readline+sockets+sqlite+tidy $ sudo port clean --work php5 $ sudo port install php5 +apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear +postgresql83+readline+sockets+sqlite+tidy $ sudo port installed | grep apache ---> apache2 @2.2.8_0+darwin_9 (active) ---> php5 @5.2.5_3+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear +postgresql83+readline+sockets+sqlite+tidy ---> php5 @5.2.6_1+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear +postgresql83+readline+sockets+sqlite+tidy (active) $ sudo port deactivate apache2 @2.2.8_0+darwin_9 $ sudo port clean --work apache2 $ sudo port install apache2 $ sudo port installed | grep apache ---> apache2 @2.2.8_0+darwin_9 ---> apache2 @2.2.9_1+darwin_9 (active) ---> php5 @5.2.5_3+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear +postgresql83+readline+sockets+sqlite+tidy ---> php5 @5.2.6_1+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear +postgresql83+readline+sockets+sqlite+tidy (active) $ sudo port deactivate postgresql83 @8.3.1_0 $ sudo port clean --work postgresql83 $ sudo port install postgresql83 $ sudo port installed | grep postgres ---> php5 @5.2.5_3+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear +postgresql83+readline+sockets+sqlite+tidy ---> php5 @5.2.6_1+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear +postgresql83+readline+sockets+sqlite+tidy (active) ---> postgresql83 @8.3.1_0 (active) ---> postgresql83-doc @8.3.1_0 ---> postgresql83-doc @8.3.3_0 (active) ---> postgresql83-server @8.3.1_0 ---> postgresql83-server @8.3.3_0 (active) $ sudo port outdated ---> No installed ports are outdated. SUCCESS... Bill Hernandez Plano, Texas From 0x62_0x6c_0x62 at pobox.com Mon Jul 7 14:32:02 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Mon, 7 Jul 2008 15:32:02 -0600 Subject: Calls to imagettftext cause fatal error in php In-Reply-To: <80725776-661E-41C7-BE75-B1E654628E49@macports.org> References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> <80725776-661E-41C7-BE75-B1E654628E49@macports.org> Message-ID: <7817B76F-332E-445A-80CE-6B1D709DFB37@pobox.com> On Jul 7, 2008, at 2:56 PM, Ryan Schmidt wrote: > > On Jul 7, 2008, at 15:08, Chris Janton wrote: > >> On 2008-07-07 , at 11:53 , Ryan Schmidt wrote: >> >>>> The way I read things is that if one turns off quickdraw in >>>> freetype >>>> then the "problem" will not occur. >>> >>> What are the implications of turning off QuickDraw in FreeType? What >>> features will then not work? >> >> From what I can see? No more deprecated QuickDraw functions. The >> following configuration settings seem relevant... >> >> --with-old-mac-fonts allow Mac resource-based fonts to be used > > That configure switch was added to the portfile at the request of a > user: > > http://trac.macports.org/ticket/13045 > Trying to build with fsspec/fsref/quickdraw disabled but old-mac-fonts enabled results in a couple of configure warnings: configure: WARNING: *** WARNING FreeType2 built without FSRef API cannot load data-fork fonts on MacOS, except of XXX.dfont. configure: WARNING: *** WARNING FSSpec/FSRef/QuickDraw/ATS options are explicitly given, thus it is recommended to replace src/base/ftmac.c by builds/mac/ ftmac.c. So it seems like all either need to be on or off; not sure about that ftmac.c deal though. Note that my 10.5 machine still shows some font files that won't load without old-mac-fonts enabled (look in /System/Library/Fonts and / Library/Fonts for 0 byte files). In the end it seems like a choice would have to be made: the ability to load those fonts vs. avoiding the CoreFoundation fork() issue. Bryan From raimue at macports.org Mon Jul 7 14:40:29 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 07 Jul 2008 23:40:29 +0200 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <18971417-1091-416C-8D2C-D96DEA591F97@geeklair.net> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> <486D481D.30302@free.fr> <486D53D7.9090305@macports.org> <3B7736E0-11D4-4F3E-8576-90784FF89C6C@geeklair.net> <9AF0294A-D5F8-467F-9E37-59748D588624@macports.org> <8B37A651-4EAD-4919-8951-6008F7DDA3ED@geeklair.net> <7ECD5E45-0F93-4556-BFAD-06D56A4165C9@macports.org> <18971417-1091-416C-8D2C-D96DEA591F97@geeklair.net> Message-ID: <48728D4D.1030600@macports.org> Daniel J. Luke wrote: >>> Ideally, we should have 1 universal pkg that works on 10.4 and 10.5 >>> intel and ppc. >> Yes but no work has been done on this thus far so it can happen >> after MacPorts 1.7.0 is released. What is the important difference between the two? I can only think of the autoconf paths (/usr/bin/svn and /usr/bin/xar are included in Leopard, but not in Tiger). >> I see in the GSoC wiki page that there is a desire to replace the >> selfupdate mechanism with using the MacPorts port to update the >> MacPorts installation. This means we should concentrate our efforts >> on the MacPorts port for making sure a truly universal MacPorts is >> built. The target of the GSoC project idea was to remove 'port selfupdate' and make updates to MacPorts base by 'port upgrade MacPorts'. > Right, it would be good to get to the point where 'port dmg MacPorts' > was sufficient to generate the dmg we put on the website. Eh, I thought this is exactly the way the dmgs for the website are generated? At least this is what base/portmgr/ReleaseProcess says, and the dmgs have the "Created with MacPorts" logo. The Portfile replaces some strings in the Readme and Welcome files for the dmgs, but no major difference is made the way MacPorts is build. Rainer From parchitetto at earthlink.net Mon Jul 7 14:57:25 2008 From: parchitetto at earthlink.net (Paul Architetto) Date: Mon, 7 Jul 2008 17:57:25 -0400 Subject: Error in Postflight fix for 1.6.0? Message-ID: After running the Postflight script because the .profile file was not showing up in my home directory (it was not installed via the installer), I note that the display setting in .profile is set to "DISPLAY=:0" All other documentation states that the setting in .profile is "DISPLAY=:0.0" Does this matter? Should I change the text in the .profile to read "DISPLAY=:0.0" or leave it alone? Thanks! Paul From raimue at macports.org Mon Jul 7 15:17:42 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Tue, 08 Jul 2008 00:17:42 +0200 Subject: Error in Postflight fix for 1.6.0? In-Reply-To: References: Message-ID: <48729606.602@macports.org> Paul Architetto wrote: > After running the Postflight script because the .profile file was not > showing up in my home directory (it was not installed via the > installer), I note that the display setting in .profile is set to > "DISPLAY=:0" All other documentation states that the setting > in .profile is "DISPLAY=:0.0" Does this matter? Should I change the > text in the .profile to read "DISPLAY=:0.0" or leave it alone? No, this is not a problem. :0 and :0.0 is equivalent for DISPLAY. This is also described in the X man page ('man 7 X'), in the section 'DISPLAY NAMES'. In short: The format for DISPLAY is 'hostname:displaynumber.screennumber'. With hostname being optional (empty string uses a local X server) and screennumber is also optional (default: 0). So you only have to specify the displaynumber, but an additional screennumber does not harm. Rainer From ryandesign at macports.org Mon Jul 7 16:44:46 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 7 Jul 2008 18:44:46 -0500 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <48728D4D.1030600@macports.org> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> <486D481D.30302@free.fr> <486D53D7.9090305@macports.org> <3B7736E0-11D4-4F3E-8576-90784FF89C6C@geeklair.net> <9AF0294A-D5F8-467F-9E37-59748D588624@macports.org> <8B37A651-4EAD-4919-8951-6008F7DDA3ED@geeklair.net> <7ECD5E45-0F93-4556-BFAD-06D56A4165C9@macports.org> <18971417-1091-416C-8D2C-D96DEA591F97@geeklair.net> <48728D4D.1030600@macports.org> Message-ID: <47C9F5D0-C967-442F-B302-8456C0118E97@macports.org> On Jul 7, 2008, at 16:40, Rainer M?ller wrote: > Daniel J. Luke wrote: > >>>> Ideally, we should have 1 universal pkg that works on 10.4 and 10.5 >>>> intel and ppc. >>> >>> Yes but no work has been done on this thus far so it can happen >>> after MacPorts 1.7.0 is released. > > What is the important difference between the two? I can only think of > the autoconf paths (/usr/bin/svn and /usr/bin/xar are included in > Leopard, but not in Tiger). When built on Leopard, MacPorts sets the x11prefix to /usr/X11. When built on Tiger, it sets it to /usr/X11R6. /usr/X11R6 would still work on Leopard because Leopard has a symlink at /usr/X11R6 pointing to / usr/X11. When built on Leopard, MacPorts uses the MacOSX10.5.sdk. When built on Tiger, it uses the MacOSX10.4u.sdk. I assume installing the MacPorts port without the +universal variant is possible, and that this would give you a non-universal MacPorts. I would want the MacPorts port to enforce always installing universal, and also to use the MacOSX10.3.9.sdk for PowerPC and MacOSX10.4u.sdk for Intel. configure, build, install four times (for ppc, i386, ppc64 and x86_64), lipo everything together. We can use the merge() function that has been committed to trunk to help with this. See also the universal variants in openssl and cairo for ideas. >>> I see in the GSoC wiki page that there is a desire to replace the >>> selfupdate mechanism with using the MacPorts port to update the >>> MacPorts installation. This means we should concentrate our efforts >>> on the MacPorts port for making sure a truly universal MacPorts is >>> built. > > The target of the GSoC project idea was to remove 'port selfupdate' > and > make updates to MacPorts base by 'port upgrade MacPorts'. We keep "sudo port selfupdate" as a synonym for "sudo port upgrade MacPorts", I assume? >> Right, it would be good to get to the point where 'port dmg MacPorts' >> was sufficient to generate the dmg we put on the website. > > Eh, I thought this is exactly the way the dmgs for the website are > generated? At least this is what base/portmgr/ReleaseProcess says, and > the dmgs have the "Created with MacPorts" logo. I thought so too. > The Portfile replaces some strings in the Readme and Welcome files for > the dmgs, but no major difference is made the way MacPorts is build. From stephen.ng at planetnutek.com Mon Jul 7 18:21:25 2008 From: stephen.ng at planetnutek.com (Stephen Ng) Date: Tue, 8 Jul 2008 09:21:25 +0800 Subject: Problem installing transcode Message-ID: <8FF06741-53AA-45A8-A140-8CB6AF9C0D9B@planetnutek.com> Hi. I had a problem installing transcode so I deleted all of my original Macports installation and reinstalled from the package. After doing a self update, I then tried installing transcode again and received an error (see attachment at below). Can someone please help? If this needs to be reported as a bug please let me know. Thanks. Stephen Error report from porticus - Port command started with PID 33676 Fetching expat Attempting to fetch expat-2.0.1.tar.gz from http://downloads.sourceforge.net/expat Verifying checksum(s) for expat Extracting expat Configuring expat Building expat with target all Staging expat into destroot Installing expat 2.0.1_0 Activating expat 2.0.1_0 Cleaning expat Fetching gperf Attempting to fetch gperf-3.0.3.tar.gz from http://ftp.gnu.org/gnu/gperf Verifying checksum(s) for gperf Extracting gperf Configuring gperf Building gperf with target all Staging gperf into destroot Installing gperf 3.0.3_0 Activating gperf 3.0.3_0 Cleaning gperf Fetching libiconv Attempting to fetch libiconv-1.12.tar.gz from http://ftp.gnu.org/gnu/libiconv Verifying checksum(s) for libiconv Extracting libiconv Applying patches to libiconv Configuring libiconv Building libiconv with target all Staging libiconv into destroot Installing libiconv 1.12_0 Activating libiconv 1.12_0 Cleaning libiconv Fetching ncursesw Attempting to fetch ncurses-5.6.tar.gz from http://ftp.gnu.org/gnu/ncurses Verifying checksum(s) for ncursesw Extracting ncursesw Applying patches to ncursesw Configuring ncursesw Building ncursesw with target all Staging ncursesw into destroot Installing ncursesw 5.6_1 Activating ncursesw 5.6_1 Cleaning ncursesw Fetching ncurses Verifying checksum(s) for ncurses Extracting ncurses Applying patches to ncurses Configuring ncurses Building ncurses with target all Staging ncurses into destroot Installing ncurses 5.6_0 Activating ncurses 5.6_0 Cleaning ncurses Fetching gettext Attempting to fetch gettext-0.17.tar.gz from http://ftp.gnu.org/gnu/gettext Verifying checksum(s) for gettext Extracting gettext Applying patches to gettext Configuring gettext Building gettext with target all Staging gettext into destroot Installing gettext 0.17_3 Activating gettext 0.17_3 Cleaning gettext Fetching perl5.8 Attempting to fetch perl-5.8.8.tar.bz2 from http://www.cpan.org/src/5.0/ Verifying checksum(s) for perl5.8 Extracting perl5.8 Applying patches to perl5.8 Configuring perl5.8 Building perl5.8 with target all Staging perl5.8 into destroot Installing perl5.8 5.8.8_3+darwin_9 Activating perl5.8 5.8.8_3+darwin_9 Cleaning perl5.8 Fetching p5-locale-gettext Attempting to fetch gettext-1.05.tar.gz from http://ftp.ucr.ac.cr/Unix/CPAN/modules/by-module/Locale Verifying checksum(s) for p5-locale-gettext Extracting p5-locale-gettext Configuring p5-locale-gettext Building p5-locale-gettext with target all Staging p5-locale-gettext into destroot Installing p5-locale-gettext 1.05_0 Activating p5-locale-gettext 1.05_0 Cleaning p5-locale-gettext Fetching help2man Attempting to fetch help2man-1.36.4.tar.gz from http://ftp.gnu.org/gnu/help2man Verifying checksum(s) for help2man Extracting help2man Applying patches to help2man Configuring help2man Building help2man with target all Staging help2man into destroot Installing help2man 1.36.4_1 Activating help2man 1.36.4_1 Cleaning help2man Fetching m4 Attempting to fetch m4-1.4.11.tar.bz2 from http://ftp.gnu.org/gnu/m4 Verifying checksum(s) for m4 Extracting m4 Configuring m4 Building m4 with target all Staging m4 into destroot Installing m4 1.4.11_0 Activating m4 1.4.11_0 Cleaning m4 Fetching autoconf Attempting to fetch autoconf-2.62.tar.bz2 from http://ftp.gnu.org/gnu/autoconf Verifying checksum(s) for autoconf Extracting autoconf Configuring autoconf Building autoconf with target all Staging autoconf into destroot Installing autoconf 2.62_0 Activating autoconf 2.62_0 Cleaning autoconf Fetching automake Attempting to fetch automake-1.10.1.tar.bz2 from http://ftp.gnu.org/gnu/automake Verifying checksum(s) for automake Extracting automake Configuring automake Building automake with target all Staging automake into destroot Installing automake 1.10.1_0 Activating automake 1.10.1_0 Cleaning automake Fetching a52dec Attempting to fetch a52dec-0.7.4.tar.gz from http://liba52.sourceforge.net/files/ Verifying checksum(s) for a52dec Extracting a52dec Configuring a52dec Building a52dec with target all Staging a52dec into destroot Installing a52dec 0.7.4_0 Activating a52dec 0.7.4_0 Cleaning a52dec Fetching ffmpeg Verifying checksum(s) for ffmpeg Extracting ffmpeg Configuring ffmpeg Building ffmpeg with target all Staging ffmpeg into destroot Installing ffmpeg 0.4.9-pre1_8+a52+darwin_i386+gpl Activating ffmpeg 0.4.9-pre1_8+a52+darwin_i386+gpl Cleaning ffmpeg Fetching jpeg Attempting to fetch jpegsrc.v6b.tar.gz from http://www.ijg.org/files Attempting to fetch droppatch.tar.gz from http://sylvana.net/jpegcrop/ Verifying checksum(s) for jpeg Extracting jpeg Applying patches to jpeg Configuring jpeg Building jpeg with target all Staging jpeg into destroot Installing jpeg 6b_2 Activating jpeg 6b_2 Cleaning jpeg Fetching lame Attempting to fetch lame-398.tar.gz from http://downloads.sourceforge.net/lame Verifying checksum(s) for lame Extracting lame Configuring lame Building lame with target all Staging lame into destroot Installing lame 3.98_0 Activating lame 3.98_0 Cleaning lame Fetching libdvdcss Attempting to fetch libdvdcss-1.2.9.tar.bz2 from http://www.videolan.org/pub/videolan/libdvdcss/1.2.9/ Verifying checksum(s) for libdvdcss Extracting libdvdcss Configuring libdvdcss Building libdvdcss with target all Staging libdvdcss into destroot Installing libdvdcss 1.2.9_0 Activating libdvdcss 1.2.9_0 Cleaning libdvdcss Fetching libdvdread Attempting to fetch libdvdread-0.9.7.tar.gz from http://www.dtek.chalmers.se/groups/dvd/dist/ Verifying checksum(s) for libdvdread Extracting libdvdread Configuring libdvdread Building libdvdread with target all Staging libdvdread into destroot Installing libdvdread 0.9.7_0+libdvdcss Activating libdvdread 0.9.7_0+libdvdcss Cleaning libdvdread Fetching libsdl Attempting to fetch SDL-1.2.13.tar.gz from http://www.libsdl.org/release/ Verifying checksum(s) for libsdl Extracting libsdl Configuring libsdl Building libsdl with target all Staging libsdl into destroot Installing libsdl 1.2.13_2 Activating libsdl 1.2.13_2 Cleaning libsdl Fetching libmpeg2 Attempting to fetch mpeg2dec-0.4.1.tar.gz from http://libmpeg2.sourceforge.net/files/ Verifying checksum(s) for libmpeg2 Extracting libmpeg2 Configuring libmpeg2 Building libmpeg2 with target all Staging libmpeg2 into destroot Installing libmpeg2 0.4.1_0 Activating libmpeg2 0.4.1_0 Cleaning libmpeg2 Fetching libtool Attempting to fetch libtool-1.5.26.tar.gz from http://ftp.gnu.org/gnu/libtool Verifying checksum(s) for libtool Extracting libtool Applying patches to libtool Configuring libtool Building libtool with target all Staging libtool into destroot Installing libtool 1.5.26_0 Activating libtool 1.5.26_0 Cleaning libtool Fetching transcode Attempting to fetch transcode-1.1.0alpha7.tar.bz2 from http://fromani.exit1.org/ Verifying checksum(s) for transcode Extracting transcode Configuring transcode Building transcode with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_transcode/work/ transcode-1.1.0alpha7" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. - D_REENTRANT -DMOD_PATH=\"/opt/local/lib/transcode\" -I.. -I../src -I/ opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/ local/include -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -no- cpp-precomp -D_INTL_REDIRECT_MACROS -MT tcdecode-decode_lavc.o -MD -MP -MF .deps/tcdecode-decode_lavc.Tpo -c -o tcdecode-decode_lavc.o `test - f 'decode_lavc.c' || echo './'`decode_lavc.c decode_lavc.c: In function 'decode_lavc': decode_lavc.c:253: warning: pointer targets in passing argument 4 of 'avcodec_decode_video' differ in signedness mv -f .deps/tcdecode-decode_lavc.Tpo .deps/tcdecode-decode_lavc.Po /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/ opt/local/lib/transcode\" -I.. -I../src -I/opt/local/include -I/opt/local/include -I/opt/local/ include -I/opt/local/include -Wall -Wstrict-prototypes -Wmissing- prototypes -O2 -no-cpp-precomp -D_INTL_REDIRECT_MACROS -MT tcdecode- decode_lzo.o -MD -MP -MF .deps/tcdecode-decode_lzo.Tpo -c -o tcdecode- decode_lzo.o `test -f 'decode_lzo.c' || echo './'`decode_lzo.c mv -f .deps/tcdecode-decode_lzo.Tpo .deps/tcdecode-decode_lzo.Po /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/ opt/local/lib/transcode\" -I.. -I../sr c -I/opt/local/include -I/opt/local/include -I/opt/local/include - I/opt/local/include -Wall -Wstrict-prototypes -Wmissing-prototypes - O2 -no-cpp-precomp -D_INTL_REDIRECT_MACROS -MT tcdecode-decode_mov.o - MD -MP -MF .deps/tcdecode-decode_mov.Tpo -c -o tcdecode-decode_mov.o `test -f 'decode_mov.c' || echo './'`decode_mov.c mv -f .deps/tcdecode-decode_mov.Tpo .deps/tcdecode-decode_mov.Po /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/ opt/local/lib/transcode\" -I.. -I../src -I/op t/local/include -I/opt/local/include -I/opt/local/include -I/opt/ local/include -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 - no-cpp-precomp -D_INTL_REDIRECT_MACROS -MT tcdecode-decode_mp3.o -MD - MP -MF .deps/tcdecode-decode_mp3.Tpo -c -o tcdecode-decode_mp3.o `test -f 'decode_mp3.c' || echo './'`decode_mp3.c decode_mp3.c: In function 'decode_mpaudio': decode_mp3.c:129: warning: pointer targets in passing argument 2 of 'lame_decode_fromfile' differ in signedness decode_mp3.c:129: warning: poin ter targets in passing argument 3 of 'lame_decode_fromfile' differ in signedness mv -f .deps/tcdecode-decode_mp3.Tpo .deps/tcdecode-decode_mp3.Po /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/ opt/local/lib/transcode\" -I.. -I../src -I/opt/local/include -I/opt/ local/include -I/opt/local/include -I/opt/local/include -Wall - Wstrict-prototypes -Wmissing-prototypes -O2 -no-cpp-precomp - D_INTL_REDIRECT_MACROS -MT tcdecode-decode_mpeg2.o -MD -MP -MF .deps/ tcdecode-decode_mpeg2.Tpo -c -o tcdecode-decode_mpeg2.o `test -f 'decode_mpeg2.c' || echo './'`decode_mpeg2.c mv -f .deps/tcdecode-decode_mpeg2.Tpo .deps/tcdecode-decode_mpeg2.Po /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/ opt/local/lib/transcode\" -I.. -I../src -I/opt/local/include -I/opt/ local/include -I/opt/local/include -I/opt/local/include -Wall - Wstrict-prototypes -Wmissing-prototypes -O2 -no-cpp-precomp - D_INTL_REDIRECT_MACROS -MT tcdecode-decode_ogg.o -MD -MP -MF .deps/ tcdecode-decode_ogg.Tpo -c -o tcdecode-decode_ogg.o `test -f 'decode_ogg.c' || echo './'`decode_ogg.c mv -f .deps/tcdecode-decode_ogg.Tpo .deps/tcdecode-decode_ogg.Po /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/ opt/local/lib/transcode\" -I.. -I../src -I/opt/local/include -I/opt/ local/include -I/opt/local/include -I/opt/local/include -Wall - Wstrict-prototypes -Wmissing-prototypes -O2 -no-cpp-precomp - D_INTL_REDIRECT_MACROS -MT tcdecode-decode_yuv.o -MD -MP -MF .deps/ tcdecode-decode_yuv.Tpo -c -o tcdecode-decode_yuv.o `test -f 'decode_yuv.c' || echo './'`decode_yuv.c mv -f .deps/tcdecode-decode_yuv.Tpo .deps/tcdecode-decode_yuv.Po /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -I/opt/ local/include -I/opt/local/include -I/opt/local/include -Wall - Wstrict-prototypes -Wmissing-prototypes -O2 -no-cpp-precomp - D_INTL_REDIRECT_MACROS -export-dynamic -L/opt/local/lib -o tcdecode tcdecode-tcdecode.o tcdecode-fileinfo.o tcdecode-ioaux.o tcdecode- mpg123.o tcdecode-decode_a52.o tcdecode-decode_dv.o tcdecode- decode_lavc.o tcdecode-decode_lzo.o tcdecode-decode_mov.o tcdecode- decode_mp3.o tcdecode-decode_mpeg2.o tcdecode-decode_ogg.o tcdecode- decode_yuv.o -L/opt/local/lib -lavcodec -L/opt/local/lib - lmp3lame -L/opt/local/lib -lmpeg2 ../libtcvideo/ libtcvideo.la ../aclib/libac.la ../libtc/libtc.la -lm -lz -ldl /usr/bin/gcc-4.0 -I/opt/local/include -I/opt/local/include -I/opt/ local/include -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -no- cpp-precomp -D_INTL_REDIRECT_MACROS -o tcdecode tcdecode-tcdecode.o tcdecode-fileinfo.o tcdecode-ioaux.o tcdecode-mpg123.o tcdecode- decode_a52.o tcdecode-decode_dv.o tcdecode-decode_lavc.o tcdecode- decode_lzo.o tcdecode-decode_mov.o tcdecode-decode_mp3.o tcdecode- decode_mpeg2.o tcdecode-decode_ogg.o tcdecode-decode_yuv.o -L/opt/ local/lib -lavcodec /opt/local/lib/libmp3lame.dylib /opt/local/lib/ libmpeg2.dylib ../libtcvideo/.libs/libtcvideo.a ../aclib/.libs/ libac.a ../libtc/.libs/libtc.a -lm -lz -ldl Undefined symbols: "_mpeg2convert_rgb24", referenced from: _mpeg2convert_rgb24$non_lazy_ptr in tcdecode-decode_mpeg2.o ld: symbol(s) not found collect2: ld returned 1 exit status make[3]: *** [tcdecode] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080708/6f422620/attachment.html From stephen.ng at planetnutek.com Mon Jul 7 18:31:21 2008 From: stephen.ng at planetnutek.com (Stephen Ng) Date: Tue, 8 Jul 2008 09:31:21 +0800 Subject: Problem installing transcode Message-ID: Hi. I saw a reference to this problem in May archive, but cannot find it reported on Trac. Has it been reported/fixed? Regards. Stephen From ms at mac-specialist.com Mon Jul 7 18:49:52 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Mon, 7 Jul 2008 20:49:52 -0500 Subject: Calls to imagettftext cause fatal error in php In-Reply-To: <80725776-661E-41C7-BE75-B1E654628E49@macports.org> References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> <80725776-661E-41C7-BE75-B1E654628E49@macports.org> Message-ID: <13D920E3-8E76-47D0-A080-2173172469D8@mac-specialist.com> SUCCESS, SOMEWHAT... When I installed Zend Debugger 5.5.1 about a year and a half ago, it came with its own php.ini, and originally had a great deal of trouble getting it running. It had been compiled in 32 bit mode as best I understand it, so once I got everything working I posted a message on 4/29/2008 "Getting 32 bit ZendStudio Debugger to work with 64 bit Apache2 - PHP using MacPorts on Leopard" that provided explicit instructions on how to get it working. The message I posted on 4/29/2008 "Getting 32 bit ZendStudio Debugger to work with 64 bit Apache2 - PHP using MacPorts on Leopard" that provided explicit instructions on how to get it working, is no longer valid. In the later versions of OS X ZEND DEBUGGER DOES NOT require that you call : ------------------------------------------------------------------------------- RESTART THE 64 bit APACHE2 using the 32 bit mode ( 'arch -i386' ) : ------------------------------------------------------------------------------- shell> ~ $ sudo arch -i386 /opt/local/apache2/bin/apachectl start shell> ~ $ ps aux | grep httpd ------------------------------------------------------------------------------- ZEND DEBUGGER works fine using 64 bit mode : ------------------------------------------------------------------------------- shell> ~ $ sudo /opt/local/apache2/bin/apachectl start shell> ~ $ ps aux | grep httpd As a carry over from an old version of Zend Debugger 4.x (about 3-4 years old) my php.ini contained : ; [Zend] extension_dir=/Applications/Zend/ZendStudio-5.5.1/bin/php5 extension=pgsql.so $ which php ---> /opt/local/bin/php $ php --version ---> PHP Warning: PHP Startup: Unable to load dynamic library '/ Applications/Zend/ZendStudio-5.5.1/bin/php5/pgsql.so' - (null) in Unknown on line 0 ---> Warning: PHP Startup: Unable to load dynamic library '/ Applications/Zend/ZendStudio-5.5.1/bin/php5/pgsql.so' - (null) in Unknown on line 0 ---> PHP 5.2.6 (cli) (built: Jul 7 2008 15:05:26) ---> Copyright (c) 1997-2008 The PHP Group ---> Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies ---> with Zend Debugger v5.2.12, Copyright (c) 1999-2007, by Zend Technologies Originally when I tried I got the errors again : $ php inc_random_image_two.php > zippy.png ---> PHP Warning: PHP Startup: Unable to load dynamic library '/ Applications/Zend/ZendStudio-5.5.1/bin/php5/pgsql.so' - (null) in Unknown on line 0 ---> Warning: PHP Startup: Unable to load dynamic library '/ Applications/Zend/ZendStudio-5.5.1/bin/php5/pgsql.so' - (null) in Unknown on line 0 $ open zippy.png But when I opened zippy.png above the image worked. GOING BACK to the 'PHP Warning' : Even with the two lines below the [Zend] Apache and PHP seemed to work fine. I had seen the warnings several times in the logs but never figured out what to do about it, it turned out it was really simple : I have a php.ini that contains all my conf stuff, but ZEND DEBUGGER has its own php.ini, where it also has additional stuff, which is totally different than it used to be in the previous debugger version. ; [Zend] ; extension_dir=/Applications/Zend/ZendStudio-5.5.1/bin/php5 ; extension=pgsql.so Commenting them out solved the problem, and miraculously 'inc_random_image_two'.php below worked correctly. THIS time 'php --version' worked correctly also : $ php --version PHP 5.2.6 (cli) (built: Jul 7 2008 15:05:26) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with Zend Debugger v5.2.12, Copyright (c) 1999-2007, by Zend Technologies NOW I tried calling 'random_image_sample.php' in Safari, and the image displayed correctly. The problem with 'imagettftext' dissapeared, or so I thought. The image displayed correctly as long as I do not use the ZEND DEBUGGER. If I use the debugger the line containing 'imagettftext' causes the debugger to exit without any warning, or error message. Its bizarre, because I've never seen the debugger exit this way. CONCLUSION : There appears that there were at least two or three issues causing this problem. ( 1 ) Bufoonery on my part for not resolving the 'PHP Warning' sooner. ( 2 ) The problem between 'imagettftext' and ZEND DEBUGGER. ( 3 ) 'imagettftext' did not work in 32 bit mode even without the ZEND DEBUGGER. I had also upgraded all the ports earlier today, but I don't believe they had anything to do with the image display problem. I put the code for the two sample pages on here again, in case they are helpful to others. Random image sample Validation string not valid! Please try again!'; else { echo '

Your string is valid!

'; //do something with the data } } ?>
Comments
Please enter the string shown in the image in the form.
The possible characters are letters from A to Z in capitalized form and the numbers from 0 to 9.
' : '' ; ?>
// This is example ( 1 ) found on http://us.php.net/imagettftext header("Content-type:image/png"); //Set the content-type $image=imagecreatetruecolor(400,30); //Create the image $white=imagecolorallocate($image,255,255,255); //Create some colors $grey=imagecolorallocate($image,128,128,128); $black=imagecolorallocate($image,0,0,0); imagefilledrectangle($image,0,0,399,29,$white); $text='Testing...'; //The text to draw // $font='/[path to font]/Arial.ttf'; //Replace path by your own font path $font='/Library/Fonts/Verdana.ttf'; //Replace path by your own font path // ZEND DEBUGGER EXITS ON THE NEXT LINE WITHOUT ERROR MESSAGE imagettftext($image,20,0,11,21,$grey,$font,$text); //Add some shadow to the text imagettftext($image,20,0,10,20,$black,$font,$text); //Add the text imagepng($image); //Using imagepng() results in clearer text compared with imagejpeg() imagedestroy($image); // ?> Thanks to all those that helped me with this problem... Bill Hernandez Plano, Texas From ryandesign at macports.org Mon Jul 7 18:52:39 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 7 Jul 2008 20:52:39 -0500 Subject: Problem installing transcode In-Reply-To: <8FF06741-53AA-45A8-A140-8CB6AF9C0D9B@planetnutek.com> References: <8FF06741-53AA-45A8-A140-8CB6AF9C0D9B@planetnutek.com> Message-ID: <45750696-009B-435C-8EB9-D76A3023719B@macports.org> On Jul 7, 2008, at 20:21, Stephen Ng wrote: > I had a problem installing transcode so I deleted all of my > original Macports installation and reinstalled from the package. > After doing a self update, I then tried installing transcode again > and received an error (see attachment at below). Can someone please > help? If this needs to be reported as a bug please let me know. [snip] > Fetching transcode > Attempting to fetch transcode-1.1.0alpha7.tar.bz2 from http:// > fromani.exit1.org/ > Verifying checksum(s) for transcode > Extracting transcode > Configuring transcode > Building transcode with target all [snip] > Undefined symbols: > "_mpeg2convert_rgb24", referenced from: > _mpeg2convert_rgb24$non_lazy_ptr in tcdecode-decode_mpeg2.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[3]: *** [tcdecode] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > Error: Status 1 encountered during processing. It looks like this has been reported here: http://trac.macports.org/ticket/15547 You can Cc yourself on the ticket to be informed when it is updated. You could email the maintainers of transcode and see what the status is. From ryandesign at macports.org Mon Jul 7 18:56:05 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 7 Jul 2008 20:56:05 -0500 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <47C9F5D0-C967-442F-B302-8456C0118E97@macports.org> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> <486D481D.30302@free.fr> <486D53D7.9090305@macports.org> <3B7736E0-11D4-4F3E-8576-90784FF89C6C@geeklair.net> <9AF0294A-D5F8-467F-9E37-59748D588624@macports.org> <8B37A651-4EAD-4919-8951-6008F7DDA3ED@geeklair.net> <7ECD5E45-0F93-4556-BFAD-06D56A4165C9@macports.org> <18971417-1091-416C-8D2C-D96DEA591F97@geeklair.net> <48728D4D.1030600@macports.org> <47C9F5D0-C967-442F-B302-8456C0118E97@macports.org> Message-ID: <0E9D26A8-3952-4BB5-A29F-204C96E6AD9D@macports.org> On Jul 7, 2008, at 18:44, Ryan Schmidt wrote: > On Jul 7, 2008, at 16:40, Rainer M?ller wrote: > >> Daniel J. Luke wrote: >> >>>>> Ideally, we should have 1 universal pkg that works on 10.4 and >>>>> 10.5 >>>>> intel and ppc. >>>> >>>> Yes but no work has been done on this thus far so it can happen >>>> after MacPorts 1.7.0 is released. >> >> What is the important difference between the two? I can only think of >> the autoconf paths (/usr/bin/svn and /usr/bin/xar are included in >> Leopard, but not in Tiger). > > When built on Leopard, MacPorts sets the x11prefix to /usr/X11. When > built on Tiger, it sets it to /usr/X11R6. /usr/X11R6 would still work > on Leopard because Leopard has a symlink at /usr/X11R6 pointing to / > usr/X11. > > When built on Leopard, MacPorts uses the MacOSX10.5.sdk. When built > on Tiger, it uses the MacOSX10.4u.sdk. > > I assume installing the MacPorts port without the +universal variant > is possible, and that this would give you a non-universal MacPorts. > > I would want the MacPorts port to enforce always installing > universal, and also to use the MacOSX10.3.9.sdk for PowerPC and > MacOSX10.4u.sdk for Intel. configure, build, install four times (for > ppc, i386, ppc64 and x86_64), lipo everything together. We can use > the merge() function that has been committed to trunk to help with > this. See also the universal variants in openssl and cairo for ideas. On second thought, I don't see why we want to install MacPorts using MacPorts. Doesn't that make it impossible to install MacPorts if you do not already have MacPorts? From ryandesign at macports.org Mon Jul 7 19:08:18 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 7 Jul 2008 21:08:18 -0500 Subject: php5 5.2.5 -> 5.2.6 upgrade fails ? In-Reply-To: <7BBF5350-CF74-46C2-8894-67CF8E82620D@mac-specialist.com> References: <2AF6606E-A94D-416A-9A25-9BBD08CA4EB4@mac-specialist.com> <13E5360E-1423-45AB-87D9-BE0FC31B3A25@mac-specialist.com> <6E61339F-CA2F-4065-BA84-C583C47D5726@macports.org> <7BBF5350-CF74-46C2-8894-67CF8E82620D@mac-specialist.com> Message-ID: <1854C1EE-E425-43CF-B0B5-1E1A20A39B25@macports.org> On Jul 7, 2008, at 16:27, Bill Hernandez wrote: > SUCCESS... > > Upgrading failed using clean, upgrade until finally, I tried > deactivate manually, followed by clean, install and it worked... > > I know my stuff is usually lengthy, and I apologize for that, but its > meant for the non-experts that might run into similar problems. > > THANKS very much to all who took the time to respond. > > Bill Hernandez > Plano, Texas > # -------------------------------------------------- > # THESE DID NOT WORK FOR ME > # -------------------------------------------------- > $ sudo port upgrade sqlite3 > > $ sudo port clean --work sqlite3 > $ sudo port -d install sqlite3 > ---> DEBUG: Executing org.macports.activate (sqlite3) > ---> Activating sqlite3 3.5.9_0 > ---> Error: Target org.macports.activate returned: Image error: > Another version of this port (sqlite3 @3.5.8_0) is already active. > ---> Warning: the following items did not execute (for sqlite3): > org.macports.activate > ---> Error: Status 1 encountered during processing. Ok, sorry, I forgot you were upgrading ports and not installing them initially. So you should have then used "sudo port upgrade sqlite3". Or, when using "sudo port install sqlite3" when sqlite3 is already installed, you will get the message above, and then you can "sudo port deactivate sqlite3 @3.5.8_0" and then "sudo port activate sqlite3 @3.5.9_0". From raimue at macports.org Tue Jul 8 06:55:12 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Tue, 08 Jul 2008 15:55:12 +0200 Subject: Bug with multiple port: dependencies in depends_lib ? In-Reply-To: <47C9F5D0-C967-442F-B302-8456C0118E97@macports.org> References: <486D42EB.50305@free.fr> <486D4712.4060707@macports.org> <486D481D.30302@free.fr> <486D53D7.9090305@macports.org> <3B7736E0-11D4-4F3E-8576-90784FF89C6C@geeklair.net> <9AF0294A-D5F8-467F-9E37-59748D588624@macports.org> <8B37A651-4EAD-4919-8951-6008F7DDA3ED@geeklair.net> <7ECD5E45-0F93-4556-BFAD-06D56A4165C9@macports.org> <18971417-1091-416C-8D2C-D96DEA591F97@geeklair.net> <48728D4D.1030600@macports.org> <47C9F5D0-C967-442F-B302-8456C0118E97@macports.org> Message-ID: <487371C0.1020301@macports.org> Ryan Schmidt wrote: > When built on Leopard, MacPorts sets the x11prefix to /usr/X11. When > built on Tiger, it sets it to /usr/X11R6. /usr/X11R6 would still work > on Leopard because Leopard has a symlink at /usr/X11R6 pointing to / > usr/X11. Right. But this is a trunk 'feature', 1.6.0 just relied on the symlink. Does the installer overwrite macports.conf? It contains the x11prefix setting, so many users will continue to use /usr/X11R6. At the same time, overwriting a user controlled configuration file seems bad... > When built on Leopard, MacPorts uses the MacOSX10.5.sdk. When built > on Tiger, it uses the MacOSX10.4u.sdk. > > I assume installing the MacPorts port without the +universal variant > is possible, and that this would give you a non-universal MacPorts. By using 'port selfupdate' users also get a non-universal install. > I would want the MacPorts port to enforce always installing > universal, and also to use the MacOSX10.3.9.sdk for PowerPC and > MacOSX10.4u.sdk for Intel. configure, build, install four times (for > ppc, i386, ppc64 and x86_64), lipo everything together. We can use > the merge() function that has been committed to trunk to help with > this. See also the universal variants in openssl and cairo for ideas. Basically we need something like 'universal.type lipo' we discussed earlier (did someone create a ticket?). Maybe it would be easier to just push out 1.7.0 in separate packages for Tiger and Leopard and work on this afterwards. I think setting 'universal_archs pcc i386 ppc64 x86_64' in macports.conf should be enough to create the packages for one platform only. > We keep "sudo port selfupdate" as a synonym for "sudo port upgrade > MacPorts", I assume? Nobody is working on this right now. This is from the *ideas* page which should give students hints what they could work on if they want to apply. I think this will be a greater task for the future and then it could also keep the 'selfupdate' as an alias. Rainer From tabithamc at gmail.com Tue Jul 8 10:05:41 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Tue, 8 Jul 2008 07:05:41 -1000 Subject: OpenSSH questions (a port alongside Apple's install of OpenSSH) In-Reply-To: References: <7fccb3000807070620x62e3b6fdy40dd20354580c45c@mail.gmail.com> <0141D1F0-1AB6-481F-B1BB-B1D07D65613B@geeklair.net> <7fccb3000807070714u56bba908h4ebee87b6a47cf03@mail.gmail.com> <4872775C.3050003@macports.org> Message-ID: <7fccb3000807081005i69d87d86h2f66f677ccc6c6df@mail.gmail.com> On Mon, Jul 7, 2008 at 10:47 AM, Daniel J. Luke wrote: > On Jul 7, 2008, at 4:06 PM, Rainer M?ller wrote: > >> Tabitha McNerney wrote: >> >>> Daniel, thank you. That's great advice and am glad to know others have >>> done this. Doesn't look to complicated but as always, its great to have >>> community discussion about these things (especially since security is >>> such an important topic). >>> >> >> I have openssh installed, but I only use the client from it. I am still >> using /usr/bin/sshd. This way I can be sure it is configured correctly >> and I don't see a great advantage from using a newer server version. >> > > > I used to run a self-built (and then later MacPorts built) sshd on my > server simply because it would get updated more frequently than the > Apple-supplied one (since I could re-build with any security patches as soon > as they were available). > > It's a bit scary to do on a machine that doesn't have serial console > available in case there's a problem with the new sshd and/or one forgets to > do things in the right order. That brings up a great point. At our work, we have never used the DB9 RS-232 serial port on our Xserve. This is a great reason to figure out how to do so and what steps would be required to restore an Xserve if we somehow screwed up OpenSSH on a machine. Thanks for triggering such an idea! For Macs that don't have DB9 RS-232 ports, I assume its possible to establish a serial console connection over a USB port, true? T.M. P.S. Daniel, sorry for sending this email to you twice, I forgot the first time to select "Reply All" to include the entire mailing list and Rainer > > > -- > Daniel J. Luke > +========================================================+ > | *---------------- dluke at geeklair.net ----------------* | > | *-------------- http://www.geeklair.net -------------* | > +========================================================+ > | Opinions expressed are mine and do not necessarily | > | reflect the opinions of my employer. | > +========================================================+ > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080708/114d03b0/attachment.html From macports at yoktan.com Tue Jul 8 14:53:19 2008 From: macports at yoktan.com (Lucite) Date: Tue, 8 Jul 2008 23:53:19 +0200 Subject: Nothing is working :( Message-ID: Hi, I really thought I followed every guideline, but thus far all installs are failing, from the complex gimp2 & gimp-app to the simple xgalaga. Any help MUCH appreciated. 1/ AFAIK I have Xcode 3.0 and X11. But perhaps I'm missing some part of Xcode 3.0 (I'm not sure if I installed everything). 2/ I installed the latest Leopard (Universal) macports via the .dmg installer 3/ sudo port -v selfupdate 4/ I tried installing gimp2 with the following (sudo was necessary to allow the creation of directories): sudo port install gimp2 +darwin_9 Which resulted in these errors: Error: Target org.macports.activate returned: Image error: /opt/local/ lib/perl5/5.8.8/Getopt/Long.pm is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation. Warning: the following items did not execute (for p5-getopt-long): org.macports.activate Error: The following dependencies failed to build: libgnomeui gnome- icon-theme icon-naming-utils p5-getopt-long p5-xml-simple p5-xml- namespacesupport p5-xml-sax p5-xml-parser gnome-keyring gconf glib2 gtk2 atk cairo fontconfig freetype libpixman libpng render xrender jpeg pango Xft2 xorg-xproto xorg-util-macros shared-mime-info libxml2 tiff intltool gnome-common orbit2 libidl libgcrypt libgpg-error libtasn1 libbonoboui dbus dbus-glib gnome-vfs desktop-file-utils popt gnome-mime-data openssl libbonobo libglade2 libgnome esound audiofile libgnomecanvas gail libgtkhtml libmng autoconf help2man p5-locale- gettext m4 automake lcms libtool librsvg libcroco libgsf libwmf poppler poppler-data py25-gtk py25-cairo py25-numpy fftw-3 py25- hashlib python25 py25-gobject libxslt Here is my output for 'installed' (after I tried to install gimp-app which also resulted in errors): (notice that the p5-getopt-long @2.37_0 is not active) aalib @1.4rc5_3 (active) atk @1.22.0_1 (active) cairo @1.6.4_1+macosx (active) curl @7.18.2_0 (active) expat @2.0.1_0 (active) fontconfig @2.6.0_0+macosx (active) freetype @2.3.7_1 (active) gettext @0.17_3 (active) glib2 @2.16.4_0+darwin_9 (active) gnome-icon-theme @2.22.0_0 (active) gperf @3.0.3_0 (active) hicolor-icon-theme @0.10_0 (active) icon-naming-utils @0.8.6_0 (active) jpeg @6b_2 (active) libart_lgpl @2.3.20_0 (active) libexif @0.6.16_1 (active) libiconv @1.12_0 (active) libpixman @0.10.0_0 (active) libpng @1.2.29_0 (active) libxml2 @2.6.32_1 (active) ncurses @5.6_0 (active) ncursesw @5.6_1 (active) p5-getopt-long @2.37_0 p5-pathtools @3.27_0 (active) p5-xml-namespacesupport @1.09_0 (active) p5-xml-parser @2.36_0 (active) p5-xml-sax @0.16_1 (active) p5-xml-simple @2.18_0 (active) pango @1.20.5_0 (active) perl5.8 @5.8.8_3+darwin_9 (active) pkgconfig @0.23_0 (active) render @0.9_1 (active) shared-mime-info @0.40_0 (active) tiff @3.8.2_2+darwin_9+macosx (active) Xft2 @2.1.12_0 (active) xorg-util-macros @1.1.5_0 (active) xorg-xproto @7.0.11_1 (active) xrender @0.9.0_2 (active) zlib @1.2.3_1 (active) From randall.h.wood at alexandriasoftware.com Tue Jul 8 15:32:49 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Tue, 8 Jul 2008 18:32:49 -0400 Subject: Nothing is working :( In-Reply-To: References: Message-ID: On Tue, Jul 8, 2008 at 5:53 PM, Lucite wrote: > Hi, > > I really thought I followed every guideline, but thus far all installs > are failing, from the complex gimp2 & gimp-app to the simple xgalaga. ... > Error: Target org.macports.activate returned: Image error: /opt/local/ > lib/perl5/5.8.8/Getopt/Long.pm is being used by the active perl5.8 > port. Please deactivate this port first, or use the -f flag to force > the activation. > Warning: the following items did not execute (for p5-getopt-long): > org.macports.activate This error indicates that two ports both want to install the file Long.pm The solution in this case is: sudo port -f install p5-getopt-long This is common problem with p5-* ports that update parts of the perl 5.8 installed by macports. When you encounter this kind of error, use the above command with the port in question, and then attempt to install gimp or xgalaga again. > Error: The following dependencies failed to build: libgnomeui gnome- > icon-theme icon-naming-utils p5-getopt-long p5-xml-simple p5-xml- > namespacesupport p5-xml-sax p5-xml-parser gnome-keyring gconf glib2 > gtk2 atk cairo fontconfig freetype libpixman libpng render xrender > jpeg pango Xft2 xorg-xproto xorg-util-macros shared-mime-info libxml2 > tiff intltool gnome-common orbit2 libidl libgcrypt libgpg-error > libtasn1 libbonoboui dbus dbus-glib gnome-vfs desktop-file-utils popt > gnome-mime-data openssl libbonobo libglade2 libgnome esound audiofile > libgnomecanvas gail libgtkhtml libmng autoconf help2man p5-locale- > gettext m4 automake lcms libtool librsvg libcroco libgsf libwmf > poppler poppler-data py25-gtk py25-cairo py25-numpy fftw-3 py25- > hashlib python25 py25-gobject libxslt This simply lists everything that port was attempting to install at this time. -- Randall Wood randall.h.wood at alexandriasoftware.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy." From ms at mac-specialist.com Tue Jul 8 16:17:48 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Tue, 8 Jul 2008 18:17:48 -0500 Subject: Calls to imagettftext cause fatal error in php In-Reply-To: <80725776-661E-41C7-BE75-B1E654628E49@macports.org> References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> <80725776-661E-41C7-BE75-B1E654628E49@macports.org> Message-ID: <16381992-CB37-452C-B556-ED4571DDA4C9@mac-specialist.com> Yesterday 'imagettftext' was working at the end of the day. It even worked with ZEND DEBUGGER, which shocked me. Today I tried running it, and I get : Safari can?t open the page. Safari can?t open the page ?http://localhost/vh_shared/databases/PgSQL/not_done/php_31/captcha_one/random_image_sample.php ?. The error was: ?Operation could not be completed. (kCFErrorDomainCFNetwork error 302.)? (kCFErrorDomainCFNetwork:302) Please choose Report Bugs to Apple from the Safari menu, note the error number, and describe what you did before you saw this message. When I look at the Apache error.log, it is once again filled with : The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__ () to debug. I began searching the web and found similar problems with others running Cold Fusion, and other applications, and also noticed that there was a new bug report at : ---------------------------------------------- http://trac.macports.org/ticket/15909 Ticket #15909 (new defect) freetype 2.3.7 / php5 5.2.6 - PHP imagettftext broken ---------------------------------------------- In the messages below I noticed : >> I modified my version of the Portfile (running from trunk) >> >> --with-fsspec=no >> --with-fsref=no >> --with-quickdraw-toolbox=no >> --with-quickdraw-carbon=no >> --with-old-mac-fonts=no //this one is for me, since I don't use >> old mac fonts ;-) >> >> and left --with-ats alone. >> >> Followed with >> >> sudo port configure freetype >> sudo port build freetype >> sudo port install -f freetype >> >> hand tested PHP, works as advertised. > Are there any detailed instructions on how to do this. I tried reading the manual, but came away scratching my head ? Appreciate any help solving this. Bill Hernandez Plano, Texas On Jul 7, 2008, at 3:56 PM, Ryan Schmidt wrote: > > On Jul 7, 2008, at 15:08, Chris Janton wrote: > >> On 2008-07-07 , at 11:53 , Ryan Schmidt wrote: >> >>>> The way I read things is that if one turns off quickdraw in >>>> freetype >>>> then the "problem" will not occur. >>> >>> What are the implications of turning off QuickDraw in FreeType? What >>> features will then not work? >> >> From what I can see? No more deprecated QuickDraw functions. The >> following configuration settings seem relevant... >> >> --with-old-mac-fonts allow Mac resource-based fonts to be used > > That configure switch was added to the portfile at the request of a > user: > > http://trac.macports.org/ticket/13045 > > >> --with-fsspec use obsolete FSSpec API of MacOS, if >> available >> (default=yes) >> --with-fsref use Carbon FSRef API of MacOS, if available >> (default=yes) >> --with-quickdraw-toolbox >> use MacOS QuickDraw in ToolBox, if available >> (default=yes) >> --with-quickdraw-carbon use MacOS QuickDraw in Carbon, if available >> (default=yes) >> --with-ats use AppleTypeService, if available >> (default=yes) >> >> I modified my version of the Portfile (running from trunk) >> >> --with-fsspec=no >> --with-fsref=no >> --with-quickdraw-toolbox=no >> --with-quickdraw-carbon=no >> --with-old-mac-fonts=no //this one is for me, since I don't use >> old mac fonts ;-) >> >> and left --with-ats alone. >> >> Followed with >> >> sudo port configure freetype >> sudo port build freetype >> sudo port install -f freetype >> >> hand tested PHP, works as advertised. >> >> sudo /opt/local/apache2/bin/apachectl graceful >> >> tested the same PHP code with web browser. I got an image with text >> on it as expected (the same image that gets produced by a running >> the PHP straight-up). >> >> From what I read the only "feature" that doesn't work anymore is >> the ability to use freetype with old-style Mac file specs and >> references. > > So I guess this would be a matter of some software that would want > to access fonts with old-style Mac file specs and references? But > disabling the QuickDraw and FSSpec and FSRef functions wouldn't > affect FreeType's ability to load old Mac fonts? > >> Anyway - I was just taking the opportunity to look into MacPorts in >> more depth. I don't have any attachment to a change or not change >> in the freetype port. > > Bill Hernandez ms at mac-specialist.com From sck at nogas.org Tue Jul 8 17:47:07 2008 From: sck at nogas.org (Scott C. Kennedy) Date: Tue, 8 Jul 2008 17:47:07 -0700 (PDT) Subject: Is gimp-app broken or am I un-lucky? In-Reply-To: <16381992-CB37-452C-B556-ED4571DDA4C9@mac-specialist.com> References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> <80725776-661E-41C7-BE75-B1E654628E49@macports.org> <16381992-CB37-452C-B556-ED4571DDA4C9@mac-specialist.com> Message-ID: <59161.69.3.14.138.1215564427.squirrel@email.powweb.com> On my newly re-installed 10.5.4 MBP, I deleted and re-installed /opt and still have the following error while compiling gimp-app. I compiled it previously with the iPhone SDK version installation of the compilers. But, I recently upgraded to the most recent iPhone SDK version. So, I'm not quite sure if this is an "I'm weird, cuz I use case-sensitive filesystem, and using the iPhone SDK version of the compilers" or it's a "no one has complained about this yet" type of problem. So, suggestions? Scott ------- Biko:~ sck$ sudo port clean gimp-app ---> Cleaning gimp-app Biko:~ sck$ sudo port -d install gimp-app DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/gimp-app DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/gimp-app DEBUG: Re-registering default for use_configure DEBUG: Re-registering default for build.cmd DEBUG: Re-registering default for build.pre_args DEBUG: Re-registering default for build.target DEBUG: Re-registering default for destroot.cmd DEBUG: Re-registering default for destroot.pre_args DEBUG: Re-registering default for destroot.target DEBUG: Re-registering default for destroot.destdir DEBUG: Requested variant darwin is not provided by port gimp-app. DEBUG: Requested variant i386 is not provided by port gimp-app. DEBUG: Requested variant macosx is not provided by port gimp-app. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/gimp2 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/gimp2 DEBUG: Requested variant darwin is not provided by port gimp2. DEBUG: Requested variant i386 is not provided by port gimp2. DEBUG: Requested variant macosx is not provided by port gimp2. DEBUG: Executing variant darwin_9 provides darwin_9 DEBUG: Searching for dependency: gimp2 DEBUG: Found Dependency: receipt exists for gimp2 DEBUG: Executing org.macports.main (gimp-app) ---> Fetching gimp-app DEBUG: Executing org.macports.fetch (gimp-app) ---> Verifying checksum(s) for gimp-app DEBUG: Executing org.macports.checksum (gimp-app) ---> Checksumming ScriptExec.tar.gz DEBUG: Correct (md5) checksum for ScriptExec.tar.gz ---> Checksumming gimp.app.skel.tar.gz DEBUG: Correct (md5) checksum for gimp.app.skel.tar.gz ---> Extracting gimp-app DEBUG: Executing org.macports.extract (gimp-app) ---> Extracting ScriptExec.tar.gz DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/gimp-app/ScriptExec.tar.gz DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work" && gzip -dc /opt/local/var/macports/distfiles/gimp-app/ScriptExec.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' ---> Extracting gimp.app.skel.tar.gz DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/gimp-app/gimp.app.skel.tar.gz DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work" && gzip -dc /opt/local/var/macports/distfiles/gimp-app/gimp.app.skel.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing proc-pre-org.macports.patch-patch-0 DEBUG: delete: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/Gimp.app/Contents/Info.plist xinstall: /opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/gimp-app/files/Info.plist -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/Gimp.app/Contents/Info.plist DEBUG: delete: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/Gimp.app/Contents/PkgInfo xinstall: /opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/gimp-app/files/PkgInfo -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/Gimp.app/Contents/PkgInfo DEBUG: Executing org.macports.patch (gimp-app) ---> Configuring gimp-app DEBUG: Executing org.macports.configure (gimp-app) DEBUG: Using compiler 'Mac OS X gcc 4.0' ---> Building gimp-app DEBUG: Executing proc-pre-org.macports.build-build-0 (NOTE: project ScriptExec was written by an older Xcode version (39) -- temporarily upgrading it (without modifying project file)) === CLEANING NATIVE TARGET ScriptExec OF PROJECT ScriptExec WITH THE DEFAULT CONFIGURATION (Default) === Checking Dependencies... Clean.Remove clean /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Default/ScriptExec.app /bin/rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Default/ScriptExec.app Clean.Remove clean /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-adqscuwdosvynmejjzloekfefngd/ScriptExec_Prefix.pch.gch /bin/rm -rf /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-adqscuwdosvynmejjzloekfefngd/ScriptExec_Prefix.pch.gch Clean.Remove clean /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Default/ScriptExec.build /bin/rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Default/ScriptExec.build ** CLEAN SUCCEEDED ** DEBUG: Executing org.macports.build (gimp-app) DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec" && xcodebuild -alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ ' (NOTE: project ScriptExec was written by an older Xcode version (39) -- temporarily upgrading it (without modifying project file)) === BUILDING NATIVE TARGET ScriptExec OF PROJECT ScriptExec WITH CONFIGURATION Deployment === Checking Dependencies... Processing /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Info.plist Info.plist mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec Info.plist -genpkginfo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/PkgInfo -expandbuildsettings -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Info.plist CopyStringsFile /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources/English.lproj/InfoPlist.strings English.lproj/InfoPlist.strings mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources/English.lproj cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings --validate --inputencoding UTF-16 --outputencoding UTF-16 English.lproj/InfoPlist.strings --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources/English.lproj CpResource build/Deployment/ScriptExec.app/Contents/Resources/script script cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols -resolve-src-symlinks /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/script /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources CpResource build/Deployment/ScriptExec.app/Contents/Resources/MenuBar.nib MenuBar.nib cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols -resolve-src-symlinks /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/MenuBar.nib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources CpResource build/Deployment/ScriptExec.app/Contents/Resources/openDoc openDoc cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols -resolve-src-symlinks /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/openDoc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources CompileC build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c normal i386 c com.apple.compilers.gcc.4_0 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec /Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -fvisibility=hidden -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/ScriptExec.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/DerivedSources -include /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-gntvlnquiqoqbabqjbipnrgwmzsc/ScriptExec_Prefix.pch -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o cc1: error: /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-gntvlnquiqoqbabqjbipnrgwmzsc/ScriptExec_Prefix.pch: No such file or directory cc1: error: one or more PCH files were found, but they were invalid cc1: error: use -Winvalid-pch for more information /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'FSMakePath': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:333: warning: 'FSpMakeFSRef' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7477) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:336: warning: pointer targets in passing argument 2 of 'FSRefMakePath' differ in signedness /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'AppOpenDocAEHandler': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:417: warning: pointer targets in passing argument 2 of 'FSMakePath' differ in signedness /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'AppOpenAppAEHandler': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:444: warning: no return statement in function returning non-void ** BUILD FAILED ** The following build commands failed: ScriptExec: CompileC build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c normal i386 c com.apple.compilers.gcc.4_0 (1 failure) Error: Target org.macports.build returned: shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec" && xcodebuild -alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ " returned error 1 Command output: /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols -resolve-src-symlinks /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/script /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources CpResource build/Deployment/ScriptExec.app/Contents/Resources/MenuBar.nib MenuBar.nib cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols -resolve-src-symlinks /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/MenuBar.nib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources CpResource build/Deployment/ScriptExec.app/Contents/Resources/openDoc openDoc cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols -resolve-src-symlinks /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/openDoc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources CompileC build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c normal i386 c com.apple.compilers.gcc.4_0 cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec /Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -fvisibility=hidden -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/ScriptExec.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/DerivedSources -include /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-gntvlnquiqoqbabqjbipnrgwmzsc/ScriptExec_Prefix.pch -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o cc1: error: /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-gntvlnquiqoqbabqjbipnrgwmzsc/ScriptExec_Prefix.pch: No such file or directory cc1: error: one or more PCH files were found, but they were invalid cc1: error: use -Winvalid-pch for more information /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'FSMakePath': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:333: warning: 'FSpMakeFSRef' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7477) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:336: warning: pointer targets in passing argument 2 of 'FSRefMakePath' differ in signedness /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'AppOpenDocAEHandler': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:417: warning: pointer targets in passing argument 2 of 'FSMakePath' differ in signedness /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'AppOpenAppAEHandler': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:444: warning: no return statement in function returning non-void ** BUILD FAILED ** The following build commands failed: ScriptExec: CompileC build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c normal i386 c com.apple.compilers.gcc.4_0 (1 failure) Warning: the following items did not execute (for gimp-app): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. Biko:~ sck$ From nb at saltybanana.com Wed Jul 9 19:53:54 2008 From: nb at saltybanana.com (Nathan Brazil) Date: Wed, 9 Jul 2008 19:53:54 -0700 Subject: Nothing is working :( In-Reply-To: References: Message-ID: <470451E7-2948-4354-8DC8-E5BBAFAC4A0F@saltybanana.com> You can also try the ready-to-use package available at http://gimp-app.sourceforge.net/ . -- On Jul 8, 2008, at 2:53 PM, Lucite wrote: > Hi, > > I really thought I followed every guideline, but thus far all installs > are failing, from the complex gimp2 & gimp-app to the simple xgalaga. > > Any help MUCH appreciated. > > 1/ > AFAIK I have Xcode 3.0 and X11. But perhaps I'm missing some part of > Xcode 3.0 (I'm not sure if I installed everything). > > 2/ > I installed the latest Leopard (Universal) macports via the .dmg > installer > > 3/ > sudo port -v selfupdate > > 4/ > I tried installing gimp2 with the following (sudo was necessary to > allow the creation of directories): > > sudo port install gimp2 +darwin_9 > > Which resulted in these errors: > > Error: Target org.macports.activate returned: Image error: /opt/local/ > lib/perl5/5.8.8/Getopt/Long.pm is being used by the active perl5.8 > port. Please deactivate this port first, or use the -f flag to force > the activation. > Warning: the following items did not execute (for p5-getopt-long): > org.macports.activate > Error: The following dependencies failed to build: libgnomeui gnome- > icon-theme icon-naming-utils p5-getopt-long p5-xml-simple p5-xml- > namespacesupport p5-xml-sax p5-xml-parser gnome-keyring gconf glib2 > gtk2 atk cairo fontconfig freetype libpixman libpng render xrender > jpeg pango Xft2 xorg-xproto xorg-util-macros shared-mime-info libxml2 > tiff intltool gnome-common orbit2 libidl libgcrypt libgpg-error > libtasn1 libbonoboui dbus dbus-glib gnome-vfs desktop-file-utils popt > gnome-mime-data openssl libbonobo libglade2 libgnome esound audiofile > libgnomecanvas gail libgtkhtml libmng autoconf help2man p5-locale- > gettext m4 automake lcms libtool librsvg libcroco libgsf libwmf > poppler poppler-data py25-gtk py25-cairo py25-numpy fftw-3 py25- > hashlib python25 py25-gobject libxslt > > > Here is my output for 'installed' (after I tried to install gimp-app > which also resulted in errors): > > (notice that the p5-getopt-long @2.37_0 is not active) > > aalib @1.4rc5_3 (active) > atk @1.22.0_1 (active) > cairo @1.6.4_1+macosx (active) > curl @7.18.2_0 (active) > expat @2.0.1_0 (active) > fontconfig @2.6.0_0+macosx (active) > freetype @2.3.7_1 (active) > gettext @0.17_3 (active) > glib2 @2.16.4_0+darwin_9 (active) > gnome-icon-theme @2.22.0_0 (active) > gperf @3.0.3_0 (active) > hicolor-icon-theme @0.10_0 (active) > icon-naming-utils @0.8.6_0 (active) > jpeg @6b_2 (active) > libart_lgpl @2.3.20_0 (active) > libexif @0.6.16_1 (active) > libiconv @1.12_0 (active) > libpixman @0.10.0_0 (active) > libpng @1.2.29_0 (active) > libxml2 @2.6.32_1 (active) > ncurses @5.6_0 (active) > ncursesw @5.6_1 (active) > p5-getopt-long @2.37_0 > p5-pathtools @3.27_0 (active) > p5-xml-namespacesupport @1.09_0 (active) > p5-xml-parser @2.36_0 (active) > p5-xml-sax @0.16_1 (active) > p5-xml-simple @2.18_0 (active) > pango @1.20.5_0 (active) > perl5.8 @5.8.8_3+darwin_9 (active) > pkgconfig @0.23_0 (active) > render @0.9_1 (active) > shared-mime-info @0.40_0 (active) > tiff @3.8.2_2+darwin_9+macosx (active) > Xft2 @2.1.12_0 (active) > xorg-util-macros @1.1.5_0 (active) > xorg-xproto @7.0.11_1 (active) > xrender @0.9.0_2 (active) > zlib @1.2.3_1 (active) > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From ms at mac-specialist.com Wed Jul 9 21:03:59 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Wed, 9 Jul 2008 23:03:59 -0500 Subject: Step by step Instructions to fix MacPorts 'freetype' problem Message-ID: <60842370-8233-45FA-B295-9766651955FD@mac-specialist.com> Ryan and Chris Janton posted a couple of messages that started me down the right path to fix 'freetype' so after a couple of days of working on this I thought I would post step by step instructions, along with a corrected really good demo of the captcha image verification. The original one I posted had some logic flaws that I did not find until I got 'freetype' fixed. Anyway its all here, it now works great for me. Hope it's helpful to somedy else... Bill Hernandez Plano, Texas This shows the STEP BY STEP METHOD to fix the MacPorts 'freetype' problem. The 'freetype' fix allows the PHP command 'imagettftext' to work correctly without going bonkers, and generating the myriad of errors, including the one below : The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__ () to debug. ------------------------------------ THIS FIXES THE PROBLEM : ------------------------------------ I use BBEdit as my editor of choice, so adjust this to reflect your editor : ------------------------------------ ( 1 ) SHUTDOWN APACHE ------------------------------------ $ sudo /opt/local/apache2/bin/apachectl stop ------------------------------------ ( 2 ) MAKE SURE APACHE HAS SHUTDOWN, there should only be one line as shown ------------------------------------ $ ps aux | grep httpd ---> roscoe 902 0.0 0.0 599740 388 s000 S+ 7:08PM 0:00.00 grep httpd ------------------------------------ ( 3 ) find the Portfile ------------------------------------ $ sudo find /opt/local -name Portfile | grep freetype ---> /opt/local/var/macports/sources/rsync.macports.org/release/ ports/print/freetype/Portfile ------------------------------------ ( 4 ) open the folder containing the Portfile optional step, you can drop the Portfile on top of BBEdit to open it, or do step ( 4 ) below ------------------------------------ $ open /opt/local/var/macports/sources/rsync.macports.org/release/ ports/print/freetype/ ------------------------------------ ( 5 ) OPEN the Portfile (skip this step if you did step ( 3 )) ------------------------------------ $ sudo open -a /Applications/BBEdit.app /opt/local/var/macports/ sources/rsync.macports.org/release/ports/print/freetype/Portfile ------------------------------------ ( 6 ) Once the document opens, find the lines that follow : FIND ------------------------------------ configure.args \ --with-old-mac-fonts ------------------------------------ ( 7 ) REPLACE '--with-old-mac-fonts' WITH When done, save the Portfile and close it. ------------------------------------ configure.args \ --with-fsspec=no \ --with-fsref=no \ --with-quickdraw-toolbox=no \ --with-quickdraw-carbon=no \ --with-old-mac-fonts=no ------------------------------------ ( 8 ) Find which version of freetype is '(active)', it will have to be DE-ACTIVATED ------------------------------------ $ sudo port installed | grep freetype ---> freetype @2.3.5_1 ---> freetype @2.3.7_1 (active) ------------------------------------ ( 9 ) DE-ACTIVATE the version of freetype that is '(active)' ------------------------------------ $ sudo port deactivate freetype @2.3.7_1 ---> Deactivating freetype 2.3.7_1 ------------------------------------ ( 10 ) UN-INSTALL the version of freetype that was '(active)', and has now been DE-ACTIVATED If there are dependencies, it will not want to uninstall unless it is FORCED using '-f' switch ------------------------------------ $ sudo port uninstall -f freetype @2.3.7_1 ---> Unable to uninstall freetype 2.3.7_1, the following ports depend on it: ---> fontconfig ---> gd2 ---> php5 ---> fontconfig ---> php5 Warning: Uninstall forced. Proceeding despite dependencies. ---> Uninstalling freetype 2.3.7_1 ------------------------------------ ( 11 ) CONFIGURE the version of freetype that is referred to by the modified 'Portfile' ------------------------------------ $ sudo port configure freetype ---> Fetching freetype ---> Verifying checksum(s) for freetype ---> Extracting freetype ---> Applying patches to freetype ---> Configuring freetype ------------------------------------ ( 12 ) BUILD the version of freetype that is referred to by the modified 'Portfile' ------------------------------------ $ sudo port build freetype ---> Building freetype with target all ------------------------------------ ( 13 ) INSTALL the version of freetype that is referred to by the modified 'Portfile' It will automatically be activated ------------------------------------ $ sudo port install -f freetype ---> Installing freetype 2.3.7_1 ---> Activating freetype 2.3.7_1 ---> Cleaning freetype ------------------------------------ ( 14 ) CHECK to see if the NEW freetype is now '(active)' ------------------------------------ $ sudo port installed | grep freetype ---> freetype @2.3.5_1 ---> freetype @2.3.7_1 (active) ------------------------------------ ( 15 ) STARTUP APACHE ------------------------------------ $ sudo /opt/local/apache2/bin/apachectl start ------------------------------------ ( 16 ) MAKE SURE APACHE IS RUNNING, there should now be several lines as shown ------------------------------------ $ ps aux | grep httpd ---> roscoe 5118 0.0 0.0 100780 716 ?? S 7:13PM 0:00.00 /opt/local/apache2/bin/httpd -k start ---> roscoe 5117 0.0 0.0 100780 716 ?? S 7:13PM 0:00.00 /opt/local/apache2/bin/httpd -k start ---> roscoe 5116 0.0 0.0 100780 716 ?? S 7:13PM 0:00.00 /opt/local/apache2/bin/httpd -k start ---> roscoe 5115 0.0 0.0 100780 716 ?? S 7:13PM 0:00.00 /opt/local/apache2/bin/httpd -k start ---> root 5114 0.0 0.0 100700 876 ?? S 7:13PM 0:00.00 /opt/local/apache2/bin/httpd -k start ---> root 5111 0.0 0.3 100780 6304 ?? Ss 7:13PM 0:00.02 /opt/local/apache2/bin/httpd -k start ---> roscoe 5121 0.0 0.0 599700 320 s000 R+ 7:13PM 0:00.00 grep httpd ---> roscoe 5119 0.0 0.0 100780 716 ?? S 7:13PM 0:00.00 /opt/local/apache2/bin/httpd -k start ALL DONE UPGRADING FREETYPE... # ---------------------------------------------------------------------------------- WORKING CAPTCHA DEMO TO TEST THE MacPorts 'freetype' problem # ---------------------------------------------------------------------------------- When I first ran into the 'imagettftext' problems associated with the MacPorts 'freetype' port, I had downloaded two different captcha demos from the web, but neither one worked due to logic problems, and I didn't catch the problems them until I got the 'freetype' issue resolved. Now that I had a chance to play with the demo's I fixed the logic problems, and this demo works very well, it is actually really good. PLEASE IGNORE any previous demo's I posted with the original email titled : 'Calls to imagettftext cause fatal error in php'. This demo works on its own, and in conjunction with ZEND DEBUGGER now that 'freetype' is fixed. # ---------------------------------------------------------------------------------- ( 1 ) This demo requires "images/noise.jpg", which can be downloaded from # ---------------------------------------------------------------------------------- http://www.reconn.us/images/noise.png # ---------------------------------------------------------------------------------- ( 2 ) The hierarchy of folders and fonts is as follows : # ---------------------------------------------------------------------------------- captcha_one // MAIN FOLDER (you create) image_loader.php // actually loads the image inc_random_image_one.php // included does the php imaging random_image_sample.php // main url fonts // FONTS FOLDER (you create) Andale Mono.ttf Arial.ttf Chalkboard.ttf Comic Sans MS Bold.ttf Courier New Bold.ttf Georgia.ttf Tahoma.ttf Times New Roman Bold.ttf Trebuchet MS.ttf Verdana.ttf images // IMAGES FOLDER (you create) noise.png # ---------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------- ( 3 ) shell script to copy the correct font files to the local fonts folder change the path to the fonts folder where it shows 'target=' # ---------------------------------------------------------------------------------- #!/bin/bash # name : captcha_copy_fonts.sh (call it whatever you want) # --------------------------------------------------------- # This shell script copies the ttf fonts I found. # Some fonts within the /Library/Fonts were not ttf in type. These worked very well for me... # --------------------------------------------------------- # copy ttf fonts from library source=/Library/Fonts target=/WebServer/path/to/project/folder/captcha_one/fonts/ sudo cp $source/Andale\ Mono.ttf $target sudo cp $source/Arial.ttf $target sudo cp $source/Chalkboard.ttf $target sudo cp $source/Comic\ Sans\ MS\ Bold.ttf $target sudo cp $source/Courier\ New\ Bold.ttf $target sudo cp $source/Georgia.ttf $target sudo cp $source/Tahoma.ttf $target sudo cp $source/Times\ New\ Roman\ Bold.ttf $target sudo cp $source/Trebuchet\ MS.ttf $target sudo cp $source/Verdana.ttf $target # ---------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------- ( 4 ) SAVE 'image_loader.php' BELOW TO A FILE AS SHOWN IN THE HIERARCHY ABOVE # ---------------------------------------------------------------------------------- // set the PNG header type for the request header("Content-Type: image/png"); $image_path = "/tmp/random_image.png"; if (file_exists($image_path)) { // send the cached image to the output buffer (browser) readfile($image_path); } // ?> # ---------------------------------------------------------------------------------- ( 5 ) SAVE 'inc_random_image_one.php' BELOW TO A FILE AS SHOWN IN THE HIERARCHY ABOVE # ---------------------------------------------------------------------------------- // This demo requires "images/noise.jpg", which can be downloaded from http://www.reconn.us/images/noise.png //start a session // session_start(); //this function is called recursivelly function random_string($len=5, $str='') { for($i=1; $i<=$len; $i++) { //generates a random number that will be the ASCII code of the character. We only want numbers (ascii code from 48 to 57) and caps letters. $ord=rand(48, 90); if((($ord >= 48) && ($ord <= 57)) || (($ord >= 65) && ($ord <= 90))) $str.=chr($ord); //If the number is not good we generate another one else $str.=random_string(1); } return $str; } function get_image() { global $_SESSION ; //create the random string using the upper function (if you want more than 5 characters just modify the parameter) $rand_str=random_string(5); //We memorize the md5 sum of the string into a session variable if($_SESSION['id'] == session_id()) { $_SESSION['image_value'] = md5($rand_str); } //Get each letter in one valiable, we will format all letters different $letter1=substr($rand_str,0,1); $letter2=substr($rand_str,1,1); $letter3=substr($rand_str,2,1); $letter4=substr($rand_str,3,1); $letter5=substr($rand_str,4,1); //Creates an image from a png file. If you want to use gif or jpg images, just use the coresponding functions: imagecreatefromjpeg and imagecreatefromgif. // You can download "noise.png" at http://www.reconn.us/images/noise.png $use_file = true ; if($use_file) { $image=imagecreatefrompng("images/noise.png"); } else { //Create an image $image=imagecreatetruecolor(160,80); //Create some colors $white=imagecolorallocate($image,255,255,255); $grey=imagecolorallocate($image,128,128,128); $black=imagecolorallocate($image,0,0,0); imagefilledrectangle($image,0,0,159,79,$white); } //Get a random angle for each letter to be rotated with. $angle1 = rand(-20, 20); $angle2 = rand(-20, 20); $angle3 = rand(-20, 20); $angle4 = rand(-20, 20); $angle5 = rand(-20, 20); $aFont = array( ) ; $aFont[1] = "Andale Mono.ttf" ; $aFont[2] = "Arial.ttf" ; $aFont[3] = "Chalkboard.ttf" ; $aFont[4] = "Comic Sans MS Bold.ttf" ; $aFont[5] = "Courier New Bold.ttf" ; $aFont[6] = "Georgia.ttf" ; $aFont[7] = "Tahoma.ttf" ; $aFont[8] = "Times New Roman Bold.ttf" ; $aFont[9] = "Trebuchet MS.ttf" ; $aFont[10] = "Verdana.ttf" ; // The easiest thing here is to copy 10 different named fonts from / Library/Fonts/ to ./fonts/ and rename them $font1 = "fonts/".$aFont[rand(1, 10)]; $font2 = "fonts/".$aFont[rand(1, 10)]; $font3 = "fonts/".$aFont[rand(1, 10)]; $font4 = "fonts/".$aFont[rand(1, 10)]; $font5 = "fonts/".$aFont[rand(1, 10)]; //Define a table with colors (the values are the RGB components for each color). $colors[0]=array(122,229,112); $colors[1]=array(85,178,85); $colors[2]=array(226,108,97); $colors[3]=array(141,214,210); $colors[4]=array(214,141,205); $colors[5]=array(100,138,204); //Get a random color for each letter. $color1=rand(0, 5); $color2=rand(0, 5); $color3=rand(0, 5); $color4=rand(0, 5); $color5=rand(0, 5); //Allocate colors for letters. $textColor1 = imagecolorallocate ($image, $colors[$color1][0], $colors[$color1][1], $colors[$color1][2]); $textColor2 = imagecolorallocate ($image, $colors[$color2][0], $colors[$color2][1], $colors[$color2][2]); $textColor3 = imagecolorallocate ($image, $colors[$color3][0], $colors[$color3][1], $colors[$color3][2]); $textColor4 = imagecolorallocate ($image, $colors[$color4][0], $colors[$color4][1], $colors[$color4][2]); $textColor5 = imagecolorallocate ($image, $colors[$color5][0], $colors[$color5][1], $colors[$color5][2]); // Write text to the image using TrueType fonts. $size = 20; // ZEND DEBUGGER NOW WORKS FINE WITH THE MODIFIED 'freetype' imagettftext($image, $size, $angle1, 10, $size+15, $textColor1, $font1, $letter1); imagettftext($image, $size, $angle2, 35, $size+15, $textColor2, $font2, $letter2); imagettftext($image, $size, $angle3, 60, $size+15, $textColor3, $font3, $letter3); imagettftext($image, $size, $angle4, 85, $size+15, $textColor4, $font4, $letter4); imagettftext($image, $size, $angle5, 110, $size+15, $textColor5, $font5, $letter5); return $image ; } // ?> # ---------------------------------------------------------------------------------- ( 6 ) SAVE 'random_image_sample.php' BELOW TO A FILE AS SHOWN IN THE HIERARCHY ABOVE # ---------------------------------------------------------------------------------- Captcha - Random Image Verification
\n" ; $hr = "
\n" ; $_SESSION['id'] = session_id() ; $show_debug = false ; if($show_debug) { echo "\$_SESSION['id'] = " . $_SESSION['id'] . $br ; echo "inc_random_image_one.php?" . SID . $br ; } $url = $_SERVER['PHP_SELF'] . '?' . SID ; $form =<<
Comments
Please enter the string shown in the image in the form.
The possible characters are letters from A to Z in capitalized form and the numbers from 0 to 9.
EOD; if(isset($_POST['Submit'])) { if($show_debug) { echo "\$_SESSION['image_value'] = " . $_SESSION['image_value'] . $br ; print "
" ;
		print_r($_POST) ;
		print "
" ; } $number = $_POST['number']; $image_value = md5($number) ; if($image_value !== $_SESSION['image_value']) { echo '

Validation string not valid! Please try again!

'; require_once("inc_random_image_one.php") ; imagepng(get_image(), "/tmp/random_image.png") ; echo $form ; } else { echo '

Your string is valid!

'; //do something with the data } } else { require_once("inc_random_image_one.php") ; imagepng(get_image(), "/tmp/random_image.png") ; echo $form ; } ?>
# ---------------------------------------------------------------------------------- Hope this is useful, Bill Hernandez Plano, Texas From face at CentosPrime.COM Wed Jul 9 21:18:30 2008 From: face at CentosPrime.COM (Chris Janton) Date: Wed, 09 Jul 2008 21:18:30 -0700 Subject: Step by step Instructions to fix MacPorts 'freetype' problem In-Reply-To: <60842370-8233-45FA-B295-9766651955FD@mac-specialist.com> References: <60842370-8233-45FA-B295-9766651955FD@mac-specialist.com> Message-ID: On 2008-07-09 , at 21:03 , Bill Hernandez wrote: > ( 5 ) OPEN the Portfile (skip this step if you did step ( 3 )) > ------------------------------------ > $ sudo open -a /Applications/BBEdit.app /opt/local/var/macports/ > sources/rsync.macports.org/release/ports/print/freetype/Portfile > ------------------------------------ Don't forget to add step 17 (17) Never do a port sync or port selfupdate If you sync or selfupdate you run the risk of a new version of Freetype portfile over-writing your changes. You should setup MacPorts to use local portfiles and make your own version of the freetype port. Or you can apply the changes to the Portfile every time it is updated. 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From jmr at macports.org Wed Jul 9 22:12:05 2008 From: jmr at macports.org (Joshua Root) Date: Thu, 10 Jul 2008 15:12:05 +1000 Subject: Is gimp-app broken or am I un-lucky? In-Reply-To: <59161.69.3.14.138.1215564427.squirrel@email.powweb.com> References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> <80725776-661E-41C7-BE75-B1E654628E49@macports.org> <16381992-CB37-452C-B556-ED4571DDA4C9@mac-specialist.com> <59161.69.3.14.138.1215564427.squirrel@email.powweb.com> Message-ID: <48759A25.9020003@macports.org> Scott C. Kennedy wrote: > On my newly re-installed 10.5.4 MBP, I deleted and re-installed /opt and > still have the following error while compiling gimp-app. I compiled it > previously with the iPhone SDK version installation of the compilers. But, > I recently upgraded to the most recent iPhone SDK version. So, I'm not > quite sure if this is an "I'm weird, cuz I use case-sensitive filesystem, > and using the iPhone SDK version of the compilers" or it's a "no one has > complained about this yet" type of problem. > > So, suggestions? This looks like your problem: > cc1: error: one or more PCH files were found, but they were invalid Your XCode precompiled header cache appears to be corrupt. I think you can safely delete it, /Library/Caches/com.apple.Xcode.${UID}. Actually, you probably want the one belonging to UID 0, if you're doing the usual thing and running MacPorts as root. - Josh From sck at nogas.org Wed Jul 9 22:14:58 2008 From: sck at nogas.org (Scott C. Kennedy) Date: Wed, 9 Jul 2008 22:14:58 -0700 (PDT) Subject: Is gimp-app broken or am I un-lucky? In-Reply-To: <59161.69.3.14.138.1215564427.squirrel@email.powweb.com> References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> <80725776-661E-41C7-BE75-B1E654628E49@macports.org> <16381992-CB37-452C-B556-ED4571DDA4C9@mac-specialist.com> <59161.69.3.14.138.1215564427.squirrel@email.powweb.com> Message-ID: <2585.75.80.159.157.1215666898.squirrel@email.powweb.com> Hmmm, no responses? So, am I the only one having this issue? Scott On Tue, July 8, 2008 5:47 pm, Scott C. Kennedy wrote: > On my newly re-installed 10.5.4 MBP, I deleted and re-installed /opt and > still have the following error while compiling gimp-app. I compiled it > previously with the iPhone SDK version installation of the compilers. But, > I recently upgraded to the most recent iPhone SDK version. So, I'm not > quite sure if this is an "I'm weird, cuz I use case-sensitive filesystem, > and using the iPhone SDK version of the compilers" or it's a "no one has > complained about this yet" type of problem. > > So, suggestions? > > Scott > ------- > Biko:~ sck$ sudo port clean gimp-app > ---> Cleaning gimp-app > Biko:~ sck$ sudo port -d install gimp-app > DEBUG: Found port in > file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/gimp-app > DEBUG: Changing to port directory: > /opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/gimp-app > DEBUG: Re-registering default for use_configure > DEBUG: Re-registering default for build.cmd > DEBUG: Re-registering default for build.pre_args > DEBUG: Re-registering default for build.target > DEBUG: Re-registering default for destroot.cmd > DEBUG: Re-registering default for destroot.pre_args > DEBUG: Re-registering default for destroot.target > DEBUG: Re-registering default for destroot.destdir > DEBUG: Requested variant darwin is not provided by port gimp-app. > DEBUG: Requested variant i386 is not provided by port gimp-app. > DEBUG: Requested variant macosx is not provided by port gimp-app. > DEBUG: Found port in > file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/gimp2 > DEBUG: Changing to port directory: > /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/gimp2 > DEBUG: Requested variant darwin is not provided by port gimp2. > DEBUG: Requested variant i386 is not provided by port gimp2. > DEBUG: Requested variant macosx is not provided by port gimp2. > DEBUG: Executing variant darwin_9 provides darwin_9 > DEBUG: Searching for dependency: gimp2 > DEBUG: Found Dependency: receipt exists for gimp2 > DEBUG: Executing org.macports.main (gimp-app) > ---> Fetching gimp-app > DEBUG: Executing org.macports.fetch (gimp-app) > ---> Verifying checksum(s) for gimp-app > DEBUG: Executing org.macports.checksum (gimp-app) > ---> Checksumming ScriptExec.tar.gz > DEBUG: Correct (md5) checksum for ScriptExec.tar.gz > ---> Checksumming gimp.app.skel.tar.gz > DEBUG: Correct (md5) checksum for gimp.app.skel.tar.gz > ---> Extracting gimp-app > DEBUG: Executing org.macports.extract (gimp-app) > ---> Extracting ScriptExec.tar.gz > DEBUG: setting option extract.args to > /opt/local/var/macports/distfiles/gimp-app/ScriptExec.tar.gz > DEBUG: Environment: > DEBUG: Assembled command: 'cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work" > && gzip -dc /opt/local/var/macports/distfiles/gimp-app/ScriptExec.tar.gz | > /usr/bin/gnutar --no-same-owner -xf -' > ---> Extracting gimp.app.skel.tar.gz > DEBUG: setting option extract.args to > /opt/local/var/macports/distfiles/gimp-app/gimp.app.skel.tar.gz > DEBUG: Environment: > DEBUG: Assembled command: 'cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work" > && gzip -dc > /opt/local/var/macports/distfiles/gimp-app/gimp.app.skel.tar.gz | > /usr/bin/gnutar --no-same-owner -xf -' > DEBUG: Executing proc-pre-org.macports.patch-patch-0 > DEBUG: delete: > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/Gimp.app/Contents/Info.plist > xinstall: > /opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/gimp-app/files/Info.plist > -> > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/Gimp.app/Contents/Info.plist > DEBUG: delete: > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/Gimp.app/Contents/PkgInfo > xinstall: > /opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/gimp-app/files/PkgInfo > -> > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/Gimp.app/Contents/PkgInfo > DEBUG: Executing org.macports.patch (gimp-app) > ---> Configuring gimp-app > DEBUG: Executing org.macports.configure (gimp-app) > DEBUG: Using compiler 'Mac OS X gcc 4.0' > ---> Building gimp-app > DEBUG: Executing proc-pre-org.macports.build-build-0 > (NOTE: project ScriptExec was written by an older Xcode version (39) -- > temporarily upgrading it (without modifying project file)) > > === CLEANING NATIVE TARGET ScriptExec OF PROJECT ScriptExec WITH THE > DEFAULT CONFIGURATION (Default) === > > Checking Dependencies... > > Clean.Remove clean > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Default/ScriptExec.app > /bin/rm -rf > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Default/ScriptExec.app > > Clean.Remove clean > /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-adqscuwdosvynmejjzloekfefngd/ScriptExec_Prefix.pch.gch > /bin/rm -rf > /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-adqscuwdosvynmejjzloekfefngd/ScriptExec_Prefix.pch.gch > > Clean.Remove clean > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Default/ScriptExec.build > /bin/rm -rf > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Default/ScriptExec.build > ** CLEAN SUCCEEDED ** > DEBUG: Executing org.macports.build (gimp-app) > DEBUG: Assembled command: 'cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec" > && xcodebuild -alltargets -configuration Deployment build OBJROOT=build/ > SYMROOT=build/ ' > (NOTE: project ScriptExec was written by an older Xcode version (39) -- > temporarily upgrading it (without modifying project file)) > > === BUILDING NATIVE TARGET ScriptExec OF PROJECT ScriptExec WITH > CONFIGURATION Deployment === > > Checking Dependencies... > > Processing > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Info.plist > Info.plist > mkdir > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents > cd > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec > Info.plist -genpkginfo > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/PkgInfo > -expandbuildsettings -o > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Info.plist > > CopyStringsFile > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources/English.lproj/InfoPlist.strings > English.lproj/InfoPlist.strings > mkdir > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources/English.lproj > cd > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec > /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings > --validate --inputencoding UTF-16 --outputencoding UTF-16 > English.lproj/InfoPlist.strings --outdir > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources/English.lproj > > CpResource build/Deployment/ScriptExec.app/Contents/Resources/script > script > cd > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec > /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp > -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols > -resolve-src-symlinks > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/script > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources > > CpResource build/Deployment/ScriptExec.app/Contents/Resources/MenuBar.nib > MenuBar.nib > cd > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec > /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp > -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols > -resolve-src-symlinks > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/MenuBar.nib > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources > > CpResource build/Deployment/ScriptExec.app/Contents/Resources/openDoc > openDoc > cd > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec > /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp > -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols > -resolve-src-symlinks > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/openDoc > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources > > CompileC > build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c > normal i386 c com.apple.compilers.gcc.4_0 > cd > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec > /Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe > -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic > -fvisibility=hidden > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/ScriptExec.hmap > -Wmost -Wno-four-char-constants -Wno-unknown-pragmas > -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/include > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/DerivedSources > -include > /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-gntvlnquiqoqbabqjbipnrgwmzsc/ScriptExec_Prefix.pch > -c > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c > -o > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o > cc1: error: > /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-gntvlnquiqoqbabqjbipnrgwmzsc/ScriptExec_Prefix.pch: > No such file or directory > cc1: error: one or more PCH files were found, but they were invalid > cc1: error: use -Winvalid-pch for more information > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: > In function 'FSMakePath': > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:333: > warning: 'FSpMakeFSRef' is deprecated (declared at > /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7477) > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:336: > warning: pointer targets in passing argument 2 of 'FSRefMakePath' differ > in signedness > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: > In function 'AppOpenDocAEHandler': > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:417: > warning: pointer targets in passing argument 2 of 'FSMakePath' differ in > signedness > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: > In function 'AppOpenAppAEHandler': > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:444: > warning: no return statement in function returning non-void > ** BUILD FAILED ** > > The following build commands failed: > ScriptExec: > CompileC > build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c > normal i386 c com.apple.compilers.gcc.4_0 > (1 failure) > > Error: Target org.macports.build returned: shell command "cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec" > && xcodebuild -alltargets -configuration Deployment build OBJROOT=build/ > SYMROOT=build/ " returned error 1 > Command output: > /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp > -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols > -resolve-src-symlinks > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/script > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources > > CpResource build/Deployment/ScriptExec.app/Contents/Resources/MenuBar.nib > MenuBar.nib > cd > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec > /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp > -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols > -resolve-src-symlinks > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/MenuBar.nib > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources > > CpResource build/Deployment/ScriptExec.app/Contents/Resources/openDoc > openDoc > cd > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec > /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp > -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols > -resolve-src-symlinks > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/openDoc > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/ScriptExec.app/Contents/Resources > > CompileC > build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c > normal i386 c com.apple.compilers.gcc.4_0 > cd > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec > /Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe > -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic > -fvisibility=hidden > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/ScriptExec.hmap > -Wmost -Wno-four-char-constants -Wno-unknown-pragmas > -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/include > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/DerivedSources > -include > /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-gntvlnquiqoqbabqjbipnrgwmzsc/ScriptExec_Prefix.pch > -c > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c > -o > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o > cc1: error: > /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-gntvlnquiqoqbabqjbipnrgwmzsc/ScriptExec_Prefix.pch: > No such file or directory > cc1: error: one or more PCH files were found, but they were invalid > cc1: error: use -Winvalid-pch for more information > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: > In function 'FSMakePath': > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:333: > warning: 'FSpMakeFSRef' is deprecated (declared at > /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:7477) > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:336: > warning: pointer targets in passing argument 2 of 'FSRefMakePath' differ > in signedness > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: > In function 'AppOpenDocAEHandler': > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:417: > warning: pointer targets in passing argument 2 of 'FSMakePath' differ in > signedness > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: > In function 'AppOpenAppAEHandler': > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:444: > warning: no return statement in function returning non-void > ** BUILD FAILED ** > > The following build commands failed: > ScriptExec: > CompileC > build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/i386/main.o > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c > normal i386 c com.apple.compilers.gcc.4_0 > (1 failure) > > > Warning: the following items did not execute (for gimp-app): > org.macports.activate org.macports.build org.macports.destroot > org.macports.install > Error: Status 1 encountered during processing. > Biko:~ sck$ > > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From kentozier at comcast.net Thu Jul 10 01:07:08 2008 From: kentozier at comcast.net (kentozier at comcast.net) Date: Thu, 10 Jul 2008 08:07:08 +0000 Subject: port install php5 fails on Leopard 10.5.4 Message-ID: <071020080807.25377.4875C32C000070620000632122073000339D0A0796019B020A05@comcast.net> Hi I just tried to install my first MacPorts using the following command sudo port install php5 +apache2 +mysql5 +mssql Things went well fetching/configuring/making until it got to mysql5 at which point it spit out the following errors ---> Fetching mysql5 ---> Attempting to fetch mysql-5.0.51a.tar.gz from http://mysql.mirrors.pair.com/Downloads/MySQL-5.0/ ---> Verifying checksum(s) for mysql5 ---> Extracting mysql5 ---> Configuring mysql5 ---> Building mysql5 with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/work/mysql-5.0.51a" && make all " returned error 2 Command output: /usr/bin/sed \ -e 's!@''AWK''@!!' \ makelist.sh > makelist-t /bin/mv makelist-t makelist sh ./makelist -h ./vi.c > vi.h.tmp && \ mv vi.h.tmp vi.h ./makelist: line 81: BEGIN { printf("/* Automatically generated file, do not edit */\n"); printf("#ifndef %s\n#define %s\n", "_h_vi_c", "_h_vi_c"); } /\(\):/ { pr = substr($2, 1, 2); if (pr == "vi" || pr == "em" || pr == "ed") { name = substr($2, 1, index($2,"(") - 1); # # XXX: need a space between name and prototype so that -fc and -fh # parsing is much easier # printf("protected el_action_t\t%s (EditLine *, int);\n", name); } } END { printf("#endif /* %s */\n", "_h_vi_c"); }: No such file or directory cat: stdout: Broken pipe make[3]: *** [vi.h] Error 127 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: The following dependencies failed to build: apache2 apr-util mysql5 sqlite3 gawk gettext ncurses ncursesw gmake readline pcre bzip2 curl pkgconfig freetds freetype gd2 fontconfig jpeg libpng libmcrypt libxml2 libxslt mhash tiff Error: Status 1 encountered during processing. I'm a complete dunce with this command line compile stuff, so how would I go about fixing this? Any help appreciated From grobmeier at gmail.com Thu Jul 10 05:38:48 2008 From: grobmeier at gmail.com (Christian Grobmeier) Date: Thu, 10 Jul 2008 14:38:48 +0200 Subject: port install git-core fails cause of dependency issue Message-ID: Hi there, root# port install git-core +svn +doc +bash_complete runs until it brings: ---> Fetching rsync ---> Attempting to fetch rsync-3.0.2.tar.gz from http://rsync.samba.org/ftp/rsync/ ---> Attempting to fetch rsync-3.0.2.tar.gz from http://svn.macports.org/repository/macports/distfiles/rsync ---> Attempting to fetch rsync-3.0.2.tar.gz from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch rsync-3.0.2.tar.gz from http://svn.macports.org/repository/macports/downloads/rsync Error: Target org.macports.fetch returned: fetch failed Error: The following dependencies failed to build: rsync Error: Status 1 encountered during processing. I tried: root# port selfupdate and this seems fine too: The MacPorts installation is not outdated and so was not updated selfupdate done! I checked the locations above, and rsync is only available in version 3.0.3 now. Can I somehow change the version number locally so that my build runs? Best regards and Thanks, Chris. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080710/e4c62fe3/attachment.html From ram at macports.org Thu Jul 10 08:11:53 2008 From: ram at macports.org (Adam Mercer) Date: Thu, 10 Jul 2008 10:11:53 -0500 Subject: port install git-core fails cause of dependency issue In-Reply-To: References: Message-ID: <799406d60807100811w5ca675a0p3f715c3c527d3939@mail.gmail.com> > I checked the locations above, and rsync is only available in version 3.0.3 > now. Can I somehow change the version number > locally so that my build runs? Are you sure you ran a selfupdate, as rsync-3.0.3 is in MacPorts: $ port info rsync rsync @3.0.3 (net) Variants: universal Rsync version 3.0.3 has been released. This is a security release that fixes a potential buffer-overflow issue. Related pages: http://rsync.samba.org/ftp/rsync/rsync-3.0.3-NEWS Homepage: http://samba.org/rsync/ Library Dependencies: popt, libiconv Platforms: darwin, freebsd, sunos Maintainers: simon at macports.org openmaintainer at macports.org $ Cheers Adam From protsman at mac.com Thu Jul 10 09:53:02 2008 From: protsman at mac.com (Shawn Protsman) Date: Thu, 10 Jul 2008 09:53:02 -0700 Subject: perl5.8 problem? Message-ID: I was using the OS X version of Perl and haven't had any issues. Then I installed git-core which has a perl5.8 dependency. Now that the Macport perl5.8 is on my system I cannot run some of my perl programs. Here is an example: @naiad ~/workspace/aestTest] ./aestTest --CbcDec Can't locate Mac/Files.pm in @INC (@INC contains: /opt/local/lib/ perl5/5.8.8/darwin-2level /opt/local/lib/perl5/5.8.8 /opt/local/lib/ perl5/site_perl/5.8.8/darwin-2level /opt/local/lib/perl5/site_perl/ 5.8.8 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/ 5.8.8/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.8 /opt/local/ lib/perl5/vendor_perl .) at /opt/local/lib/perl5/site_perl/5.8.8/File/ HomeDir/Darwin.pm line 34. Next, I try to start cpan to install Mac::Files: @naiad ~/workspace/aestTest] cpan CPAN: File::HomeDir loaded ok (v0.80) Can't locate Mac/Files.pm in @INC (@INC contains: /opt/local/lib/ perl5/5.8.8/darwin-2level /opt/local/lib/perl5/5.8.8 /opt/local/lib/ perl5/site_perl/5.8.8/darwin-2level /opt/local/lib/perl5/site_perl/ 5.8.8 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/ 5.8.8/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.8 /opt/local/ lib/perl5/vendor_perl /Users/sprotsman/workspace/aestTest) at /opt/ local/lib/perl5/site_perl/5.8.8/File/HomeDir/Darwin.pm line 58. Uhg! I'm running Mac OS 10.5.4 and Macports 1.6.0. Any help is much appreciated. From sck at nogas.org Thu Jul 10 10:20:19 2008 From: sck at nogas.org (Scott C. Kennedy) Date: Thu, 10 Jul 2008 10:20:19 -0700 (PDT) Subject: Is gimp-app broken or am I un-lucky? In-Reply-To: <48759A25.9020003@macports.org> References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> <80725776-661E-41C7-BE75-B1E654628E49@macports.org> <16381992-CB37-452C-B556-ED4571DDA4C9@mac-specialist.com> <59161.69.3.14.138.1215564427.squirrel@email.powweb.com> <48759A25.9020003@macports.org> Message-ID: <41132.198.151.12.15.1215710419.squirrel@email.powweb.com> Thanks for the feedback. I looked into this more, and the problem wasn't in /Library/Caches, but in /var/folders... I moved the contents out of the way, since they appeared to all be cached copies of things, and then the compile worked. This may have been a left over from the upgrade from beta6 to beta7 of the iPhone SDK. Thanks! Scott On Wed, July 9, 2008 10:12 pm, Joshua Root wrote: > Scott C. Kennedy wrote: >> On my newly re-installed 10.5.4 MBP, I deleted and re-installed /opt and >> still have the following error while compiling gimp-app. I compiled it >> previously with the iPhone SDK version installation of the compilers. >> But, >> I recently upgraded to the most recent iPhone SDK version. So, I'm not >> quite sure if this is an "I'm weird, cuz I use case-sensitive >> filesystem, >> and using the iPhone SDK version of the compilers" or it's a "no one has >> complained about this yet" type of problem. >> >> So, suggestions? > > This looks like your problem: >> cc1: error: one or more PCH files were found, but they were invalid > > Your XCode precompiled header cache appears to be corrupt. I think you > can safely delete it, /Library/Caches/com.apple.Xcode.${UID}. Actually, > you probably want the one belonging to UID 0, if you're doing the usual > thing and running MacPorts as root. > > - Josh > From khillig at umich.edu Thu Jul 10 10:21:44 2008 From: khillig at umich.edu (Kurt Hillig) Date: Thu, 10 Jul 2008 13:21:44 -0400 (EDT) Subject: perl5.8 problem? In-Reply-To: References: Message-ID: Perl uses '@INC' to hold the list of directories to be searched for modules that you might use; the default '@INC' in the MacOSX native Perl (on my 10.4 box) is: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 When you install the MacPorts Perl, you get a different @INC (as your messages shows); but Files.pm isn't in any of those locations. I'm no Perl expert, but one workaround is to do something like this to your code: use lib '/Library/Perl/5.8.6/darwin-thread-multi-2level/Mac'; use Files; (at least on my box, that's where I found Files.pm) Dr. Kurt Hillig UMNet Administration I always tell the Fax (734)763-4050 University of Michigan absolute truth, Phone (734)647-8778 Ann Arbor, MI 48105-3640 as I see it. EMail khillig(at)umich.edu > Computers were invented to help people waste more time faster < On Thu, 10 Jul 2008, Shawn Protsman wrote: > I was using the OS X version of Perl and haven't had any issues. Then > I installed git-core which has a perl5.8 dependency. Now that the > Macport perl5.8 is on my system I cannot run some of my perl programs. > Here is an example: > @naiad ~/workspace/aestTest] ./aestTest --CbcDec > Can't locate Mac/Files.pm in @INC (@INC contains: /opt/local/lib/ > perl5/5.8.8/darwin-2level /opt/local/lib/perl5/5.8.8 /opt/local/lib/ > perl5/site_perl/5.8.8/darwin-2level /opt/local/lib/perl5/site_perl/ > 5.8.8 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/ > 5.8.8/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.8 /opt/local/ > lib/perl5/vendor_perl .) at /opt/local/lib/perl5/site_perl/5.8.8/File/ > HomeDir/Darwin.pm line 34. > > Next, I try to start cpan to install Mac::Files: > > @naiad ~/workspace/aestTest] cpan > CPAN: File::HomeDir loaded ok (v0.80) > Can't locate Mac/Files.pm in @INC (@INC contains: /opt/local/lib/ > perl5/5.8.8/darwin-2level /opt/local/lib/perl5/5.8.8 /opt/local/lib/ > perl5/site_perl/5.8.8/darwin-2level /opt/local/lib/perl5/site_perl/ > 5.8.8 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/ > 5.8.8/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.8 /opt/local/ > lib/perl5/vendor_perl /Users/sprotsman/workspace/aestTest) at /opt/ > local/lib/perl5/site_perl/5.8.8/File/HomeDir/Darwin.pm line 58. > > Uhg! I'm running Mac OS 10.5.4 and Macports 1.6.0. Any help is much > appreciated. > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > !DSPAM:48763f32215491510311687! > > > > From 0x62_0x6c_0x62 at pobox.com Thu Jul 10 13:47:29 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Thu, 10 Jul 2008 14:47:29 -0600 Subject: port install php5 fails on Leopard 10.5.4 In-Reply-To: <071020080807.25377.4875C32C000070620000632122073000339D0A0796019B020A05@comcast.net> References: <071020080807.25377.4875C32C000070620000632122073000339D0A0796019B020A05@comcast.net> Message-ID: <2289280B-102E-49D5-99C7-4956D2990D72@pobox.com> On Jul 10, 2008, at 2:07 AM, kentozier at comcast.net wrote: > Hi > > I just tried to install my first MacPorts using the following command > > sudo port install php5 +apache2 +mysql5 +mssql > ... > Command output: /usr/bin/sed \ > -e 's!@''AWK''@!!' \ > makelist.sh > makelist-t > /bin/mv makelist-t makelist > sh ./makelist -h ./vi.c > vi.h.tmp && \ > mv vi.h.tmp vi.h > ./makelist: line 81: > BEGIN { > printf("/* Automatically generated file, do not edit */\n"); > printf("#ifndef %s\n#define %s\n", "_h_vi_c", "_h_vi_c"); > } > /\(\):/ { > pr = substr($2, 1, 2); > if (pr == "vi" || pr == "em" || pr == "ed") { > name = substr($2, 1, index($2,"(") - 1); > # > # XXX: need a space between name and prototype so that -fc and -fh > # parsing is much easier > # > printf("protected el_action_t\t%s (EditLine *, int);\n", name); > } > } > END { > printf("#endif /* %s */\n", "_h_vi_c"); > }: No such file or directory That's the really annoying Tcl environment bug [1]; do a 'sudo port clean --work mysql5' to clean mysql5 (the port which failed), then try your original port command again. It may occur again, so if you see another port fail to build, clean that one then try once again. Bryan [1] - From kentozier at comcast.net Thu Jul 10 14:04:48 2008 From: kentozier at comcast.net (Ken Tozier) Date: Thu, 10 Jul 2008 17:04:48 -0400 Subject: port install php5 fails on Leopard 10.5.4 In-Reply-To: <2289280B-102E-49D5-99C7-4956D2990D72@pobox.com> References: <071020080807.25377.4875C32C000070620000632122073000339D0A0796019B020A05@comcast.net> <2289280B-102E-49D5-99C7-4956D2990D72@pobox.com> Message-ID: On Jul 10, 2008, at 4:47 PM, Bryan Blackburn wrote: > On Jul 10, 2008, at 2:07 AM, kentozier at comcast.net wrote: > > That's the really annoying Tcl environment bug [1]; do a 'sudo port > clean --work mysql5' to clean mysql5 (the port which failed), then try > your original port command again. > > It may occur again, so if you see another port fail to build, clean > that one then try once again. > > Bryan > > [1] - LeopardProblems#environmentvariablesbecomeblankbetweenconfigureandbuil > dphases >> > Thanks Bryan. Ill try that. Related question. The MySQL 5.0.x version used in the port is kind of old. Is there any way for me to tweak the script or set a variable to use a newer version and still have all the other stuff work correctly? I'd also like to use the newest Apache. Ken From mark at dxradio.demon.co.uk Thu Jul 10 16:19:49 2008 From: mark at dxradio.demon.co.uk (Mark Hattam) Date: Fri, 11 Jul 2008 00:19:49 +0100 Subject: port install php5 fails on Leopard 10.5.4 In-Reply-To: References: <071020080807.25377.4875C32C000070620000632122073000339D0A0796019B020A05@c omcast.net> <2289280B-102E-49D5-99C7-4956D2990D72@pobox.com> Message-ID: At 17:04 -0400 10/7/08, Ken Tozier wrote: >On Jul 10, 2008, at 4:47 PM, Bryan Blackburn wrote: > >> On Jul 10, 2008, at 2:07 AM, kentozier at comcast.net wrote: >> >> That's the really annoying Tcl environment bug [1]; do a 'sudo port >> clean --work mysql5' to clean mysql5 (the port which failed), then try >> your original port command again. >> >> It may occur again, so if you see another port fail to build, clean >> that one then try once again. >> >> Bryan >> >> [1] - > LeopardProblems#environmentvariablesbecomeblankbetweenconfigureandbuil >> dphases >>> >> > >Thanks Bryan. Ill try that. > >Related question. The MySQL 5.0.x version used in the port is kind of >old. Is there any way for me to tweak the script or set a variable to >use a newer version and still have all the other stuff work >correctly? I'd also like to use the newest Apache. > >Ken Looks like MySQL 5.0.51b to me ... which is the current GA (Generally Available) release http://dev.mysql,com/downloads/mysql/5.0.html I'm sure than when version 5.1 emerges from being a "Release Candidate" to being the GA release, then the MySQL5 port will be updated to use this source instead. Mark From protsman at mac.com Thu Jul 10 15:35:50 2008 From: protsman at mac.com (Shawn Protsman) Date: Thu, 10 Jul 2008 15:35:50 -0700 Subject: perl5.8 problem? In-Reply-To: References: Message-ID: <989FCAD8-8A29-49DF-B20E-59BAE318C7B5@mac.com> That sounds like a reasonable suggestion. Unfortunately I still got an error. I added the following two lines to my perl script: use lib '/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/ Mac'; use Files; Running the script results in the following: @naiad ~/workspace/aestTest] ./aestTest --CbcDec Can't locate loadable object for module Mac::Files in @INC (@INC contains: /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level/ Mac /opt/local/lib/perl5/5.8.8/darwin-2level /opt/local/lib/ perl5/5.8.8 /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level /opt/ local/lib/perl5/site_perl/5.8.8 /opt/local/lib/perl5/site_perl /opt/ local/lib/perl5/vendor_perl/5.8.8/darwin-2level /opt/local/lib/perl5/ vendor_perl/5.8.8 /opt/local/lib/perl5/vendor_perl .) at ./aestTest line 17 Compilation failed in require at ./aestTest line 17, line 1. BEGIN failed--compilation aborted at ./aestTest line 17, line 1. Here is what is inside the directory: @naiad ~/workspace/aestTest] ls /System/Library/Perl/Extras/5.8.8/ darwin-thread-multi-2level/Mac AppleEvents.pm* Files.pod Memory.pod OSA.pod Sound.pod AppleEvents.pod Gestalt.pm MoreFiles.pm Processes.pm Speech.pm Carbon.pm Gestalt.pod MoreFiles.pod Processes.pod Speech.pod Components.pm InternetConfig.pm Notification.pm Resources.pm Types.pm Components.pod InternetConfig.pod Notification.pod Resources.pod Types.pod Files.pm Memory.pm OSA.pm Sound.pm On Jul 10, 2008, at 10:21 AM, Kurt Hillig wrote: > Perl uses '@INC' to hold the list of directories to be searched for > modules that you might use; the default '@INC' in the MacOSX native > Perl (on my 10.4 box) is: > > /System/Library/Perl/5.8.6/darwin-thread-multi-2level > /System/Library/Perl/5.8.6 > /Library/Perl/5.8.6/darwin-thread-multi-2level > /Library/Perl/5.8.6 > /Library/Perl > /Network/Library/Perl/5.8.6/darwin-thread-multi-2level > /Network/Library/Perl/5.8.6 > /Network/Library/Perl > /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level > /System/Library/Perl/Extras/5.8.6 > /Library/Perl/5.8.1/darwin-thread-multi-2level > /Library/Perl/5.8.1 > > When you install the MacPorts Perl, you get a different @INC (as > your messages shows); but Files.pm isn't in any of those locations. > > I'm no Perl expert, but one workaround is to do something like this > to your code: > > use lib '/Library/Perl/5.8.6/darwin-thread-multi-2level/Mac'; > use Files; > > (at least on my box, that's where I found Files.pm) > > Dr. Kurt Hillig > UMNet Administration I always tell the Fax (734)763-4050 > University of Michigan absolute truth, Phone (734)647-8778 > Ann Arbor, MI 48105-3640 as I see it. EMail khillig(at)umich.edu > > > Computers were invented to help people waste more time faster < > > On Thu, 10 Jul 2008, Shawn Protsman wrote: > >> I was using the OS X version of Perl and haven't had any issues. Then >> I installed git-core which has a perl5.8 dependency. Now that the >> Macport perl5.8 is on my system I cannot run some of my perl >> programs. >> Here is an example: >> @naiad ~/workspace/aestTest] ./aestTest --CbcDec >> Can't locate Mac/Files.pm in @INC (@INC contains: /opt/local/lib/ >> perl5/5.8.8/darwin-2level /opt/local/lib/perl5/5.8.8 /opt/local/lib/ >> perl5/site_perl/5.8.8/darwin-2level /opt/local/lib/perl5/site_perl/ >> 5.8.8 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ >> vendor_perl/ >> 5.8.8/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.8 /opt/ >> local/ >> lib/perl5/vendor_perl .) at /opt/local/lib/perl5/site_perl/5.8.8/ >> File/ >> HomeDir/Darwin.pm line 34. >> >> Next, I try to start cpan to install Mac::Files: >> >> @naiad ~/workspace/aestTest] cpan >> CPAN: File::HomeDir loaded ok (v0.80) >> Can't locate Mac/Files.pm in @INC (@INC contains: /opt/local/lib/ >> perl5/5.8.8/darwin-2level /opt/local/lib/perl5/5.8.8 /opt/local/lib/ >> perl5/site_perl/5.8.8/darwin-2level /opt/local/lib/perl5/site_perl/ >> 5.8.8 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ >> vendor_perl/ >> 5.8.8/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.8 /opt/ >> local/ >> lib/perl5/vendor_perl /Users/sprotsman/workspace/aestTest) at /opt/ >> local/lib/perl5/site_perl/5.8.8/File/HomeDir/Darwin.pm line 58. >> >> Uhg! I'm running Mac OS 10.5.4 and Macports 1.6.0. Any help is much >> appreciated. >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> >> !DSPAM:48763f32215491510311687! >> >> >> >> From kentozier at comcast.net Thu Jul 10 17:35:25 2008 From: kentozier at comcast.net (kentozier at comcast.net) Date: Fri, 11 Jul 2008 00:35:25 +0000 Subject: port install php5 fails on Leopard 10.5.4 Message-ID: <071120080035.20581.4876AACD00002D990000506522058861729D0A0796019B020A05@comcast.net> -------------- Original message ---------------------- From: Mark Hattam > Looks like MySQL 5.0.51b to me ... which is the current GA (Generally > Available) release > > http://dev.mysql,com/downloads/mysql/5.0.html > > I'm sure than when version 5.1 emerges from being a "Release > Candidate" to being the GA release, then the MySQL5 port will be > updated to use this source instead. > > Mark So it is. My mistake. I've been developing with 5.1 without reading the fine print so I thought that was the most recent GA Well I finally got everything to compile but now have run into the problem that PHP isn't running. I restarted the system but just see the following "phpinfo.php" script source from a browser. I know how to activate the default Leopard PHP by opening the /private/etc/apache2/httpd.conf file and uncommenting #LoadModule php5_module libexec/apache2/libphp5.so but MacPorts seems to blaze it's own trail regarding file layout/install locations so how do I get Apache to use my newly compiled PHP? From ms at mac-specialist.com Thu Jul 10 19:49:28 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Thu, 10 Jul 2008 21:49:28 -0500 Subject: port install php5 fails on Leopard 10.5.4 In-Reply-To: <071120080035.20581.4876AACD00002D990000506522058861729D0A0796019B020A05@comcast.net> References: <071120080035.20581.4876AACD00002D990000506522058861729D0A0796019B020A05@comcast.net> Message-ID: <9CFF19B7-3489-4078-88E2-5AA8652E4581@mac-specialist.com> On Jul 10, 2008, at 7:35 PM, kentozier at comcast.net wrote: > I know how to activate the default Leopard PHP by opening the / > private/etc/apache2/httpd.conf file and uncommenting > > #LoadModule php5_module libexec/apache2/libphp5.so > > but MacPorts seems to blaze it's own trail regarding file layout/ > install locations so how do I get Apache to use my newly compiled PHP? make sure you are running phpinfo.php within the DocumentRoot (check httpd.conf) ------------------------------------------------- APACHE ------------------------------------------------- /opt/local/apache2/conf/httpd.conf should show the three items below : LoadModule php5_module modules/libphp5.so Include conf/mod_php.conf DocumentRoot "/Web/path/to/your/www" ------------------------------------------------- PHP ------------------------------------------------- Check the path exists : /opt/local/apache2/modules/libphp5.so $ open /opt/local/apache2/modules/ if you don't find this you might have to re-install php, but first try : $ sudo find /opt/local -name libphp5.so ------------------------------------------------- Check the path exists : /opt/local/apache2/conf/mod_php.conf $ open /opt/local/apache2/conf/ if you don't have it you might have to do : $ sudo cp /opt/local/apache2/conf/extras-conf/mod_php.conf /opt/local/ apache2/conf/mod_php.conf ------------------------------------------------- Check the path exists : /opt/local/etc/php.ini if you don't have it you might have to do : $ sudo cp /opt/local/etc/php.ini-recommended /opt/local/etc/php.ini ------------------------------------------------- MYSQL ------------------------------------------------- Check the path exists : /opt/local/etc/my.cnf $ open /opt/local/etc/ if you don't have it you might have to do : $ sudo cp /opt/local/share/mysql5/mysql/my-medium.cnf /opt/local/etc/ my.cnf ------------------------------------------------- When you find { httpd.conf, mod_php.conf, php.ini, my.cnf } take a look at the changes you'll need to make. If you need any help, let me know... Bill Hernandez Plano, Texas From ms at mac-specialist.com Thu Jul 10 19:52:39 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Thu, 10 Jul 2008 21:52:39 -0500 Subject: port install php5 fails on Leopard 10.5.4 In-Reply-To: <071120080035.20581.4876AACD00002D990000506522058861729D0A0796019B020A05@comcast.net> References: <071120080035.20581.4876AACD00002D990000506522058861729D0A0796019B020A05@comcast.net> Message-ID: <713C7900-F34A-4FA9-8804-0040F7A87C3C@mac-specialist.com> On Jul 10, 2008, at 7:35 PM, kentozier at comcast.net wrote: > but MacPorts seems to blaze it's own trail regarding file layout/ > install locations so how do I get Apache to use my newly compiled PHP? This may help... $sudo find /opt/local -name whatever_you_are_looking_for Bill Hernandez Plano, Texas From ms at mac-specialist.com Thu Jul 10 20:21:38 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Thu, 10 Jul 2008 22:21:38 -0500 Subject: Calls to imagettftext cause fatal error in php ( SOLVED ) In-Reply-To: <13D920E3-8E76-47D0-A080-2173172469D8@mac-specialist.com> References: <45A1D84E-4EC1-4244-96D9-6E8768BBE233@macports.org> <46CE6B83-8D82-4CF6-98B7-2D8DF6C610A7@CentosPrime.COM> <80725776-661E-41C7-BE75-B1E654628E49@macports.org> <13D920E3-8E76-47D0-A080-2173172469D8@mac-specialist.com> Message-ID: FINALLY got the problem solved : I posted a new email outlining the steps required to fix the problem, and posted a corrected working demo of captcha image verification... SEE : Step by step Instructions to fix MacPorts 'freetype' problem Bill Hernandez Plano, Texas From tabithamc at gmail.com Thu Jul 10 21:50:17 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Thu, 10 Jul 2008 18:50:17 -1000 Subject: Dependencies relationship to default variants? Message-ID: <7fccb3000807102150p1ebd6190n3a1539b15b21b0c8@mail.gmail.com> Hi all -- Could someone help to clear up some confusion? I'm looking at this port specifically: cyrus-sasl2 > When I look at port dependencies for cyrus-sasl2 I get: $ port deps cyrus-sasl2 > cyrus-sasl2 has library dependencies on: > openssl > zlib > When I look at file dependencies for cyrus-sasl2 I get: $ port info --depends_lib cyrus-sasl2 @2.1.21_0 depends_lib: port:openssl, lib:libz:zlib and $ port info --depends_run cyrus-sasl2 @2.1.21_0 no info for 'depends_run' and $ port info --depends_build cyrus-sasl2 @2.1.21_0 no info for 'depends_build' but after installing cyrus-sasl2 (I never negate default variants), I discovered this default variant: $ port installed cyrus-sasl2 > The following ports are currently installed: > cyrus-sasl2 @2.1.21_0+kerberos (active) > Woah! Kerberos is a default variant? But there is no kerberos port, there is only a port named "*kerberos5*". And there is nothing regarding file dependencies about making use of a vendor's (e.g., Apple's) install of kerberos. I don't know how to interpret the meaning of the default variant in the context of dependencies, given this example above. Also, is there any way (before installing a port) to use the port command-line program to request a port's default variants information? Or is the only way to obtain this information to parse each port's Portfile and look for it that way? The reason I ask is that I've been working on a very robust system for tracking, maintaining and auditing MacPorts for use mostly on Xserves. It has turned out to be quite a complicated process due to the intertangling (graphs essentially) of dependencies, sequence of installations, etc. Thanks for any clarity on the above, T.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080710/a757650d/attachment.html From kentozier at comcast.net Thu Jul 10 23:09:30 2008 From: kentozier at comcast.net (Ken Tozier) Date: Fri, 11 Jul 2008 02:09:30 -0400 Subject: port install php5 fails on Leopard 10.5.4 In-Reply-To: <9CFF19B7-3489-4078-88E2-5AA8652E4581@mac-specialist.com> References: <071120080035.20581.4876AACD00002D990000506522058861729D0A0796019B020A05@comcast.net> <9CFF19B7-3489-4078-88E2-5AA8652E4581@mac-specialist.com> Message-ID: On Jul 10, 2008, at 10:49 PM, Bill Hernandez wrote: > /opt/local/apache2/conf/httpd.conf > should show the three items below : > > LoadModule php5_module modules/libphp5.so > > Include conf/mod_php.conf > > DocumentRoot "/Web/path/to/your/www" That must be part of the problem. /opt/local/apache2/conf/httpd.conf doesn't exist /opt/local/apache2/conf/httpd.conf.example does but the string "php" doesn't appear anywhere in it. There is an httpd.conf file one level deeper in the hierarchy (/opt/local/apache2/conf/ original/httpd.conf") but that doesn't contain "php" either. Another possible problem is that while both "httpd.conf.example" and "/ original/httpd.conf" contain t"DocumentRoot" the path points to "/opt/ local/apache2/htdocs" which, if I'm understanding how the "web sharing" checkbox works in the "Sharing prefs panel," puts it completely out of the normal web hosting framework. This is starting to get complicated... Do I really have to subvert the nice simple turn it on/turn it off mechanism of web sharing and hand tool a bunch of settings to get this to work? Or is the php Mac port not quite ready for prime time? Any help/insights appreciated. From raimue at macports.org Thu Jul 10 23:57:14 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Fri, 11 Jul 2008 08:57:14 +0200 Subject: port install php5 fails on Leopard 10.5.4 In-Reply-To: References: <071120080035.20581.4876AACD00002D990000506522058861729D0A0796019B020A05@comcast.net> <9CFF19B7-3489-4078-88E2-5AA8652E4581@mac-specialist.com> Message-ID: <4877044A.3000407@macports.org> Ken Tozier wrote: > That must be part of the problem. /opt/local/apache2/conf/httpd.conf > doesn't exist /opt/local/apache2/conf/httpd.conf.example does but the > string "php" doesn't appear anywhere in it. There is an httpd.conf > file one level deeper in the hierarchy (/opt/local/apache2/conf/ > original/httpd.conf") but that doesn't contain "php" either. Another > possible problem is that while both "httpd.conf.example" and "/ > original/httpd.conf" contain t"DocumentRoot" the path points to "/opt/ > local/apache2/htdocs" which, if I'm understanding how the "web > sharing" checkbox works in the "Sharing prefs panel," puts it > completely out of the normal web hosting framework. MacPorts apache2 has nothing to do with the Sharing Preferences in System Preferences. The settings there are for the Apple provided web server. You need to copy the config file from the example file and add the directives to load php5. See this HOWTO: > This is starting to get complicated... Do I really have to subvert > the nice simple turn it on/turn it off mechanism of web sharing and > hand tool a bunch of settings to get this to work? Or is the php Mac > port not quite ready for prime time? No, you can't use the Sharing Preferences for starting/stopping. But I wouldn't consider this a showstopper. Rainer From ryandesign at macports.org Fri Jul 11 01:02:34 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 11 Jul 2008 03:02:34 -0500 Subject: Dependencies relationship to default variants? In-Reply-To: <7fccb3000807102150p1ebd6190n3a1539b15b21b0c8@mail.gmail.com> References: <7fccb3000807102150p1ebd6190n3a1539b15b21b0c8@mail.gmail.com> Message-ID: <6600B2D9-CBB2-4B9C-8FEB-8E8030F0E08D@macports.org> On Jul 10, 2008, at 23:50, Tabitha McNerney wrote: > When I look at port dependencies for cyrus-sasl2 I get: > > $ port deps cyrus-sasl2 > cyrus-sasl2 has library dependencies on: > openssl > zlib > > When I look at file dependencies for cyrus-sasl2 I get: > > $ port info --depends_lib cyrus-sasl2 @2.1.21_0 > depends_lib: port:openssl, lib:libz:zlib > and > > $ port info --depends_run cyrus-sasl2 @2.1.21_0 > no info for 'depends_run' > > and > > $ port info --depends_build cyrus-sasl2 @2.1.21_0 > no info for 'depends_build' port info and port deps consider only the global definitions in the portfile, not any additions that might be made to the dependencies by any variant, even a variant that will be selected by default. > but after installing cyrus-sasl2 (I never negate default variants), > I discovered this default variant: > > $ port installed cyrus-sasl2 > The following ports are currently installed: > cyrus-sasl2 @2.1.21_0+kerberos (active) > > Woah! Kerberos is a default variant? But there is no kerberos port, > there is only a port named "kerberos5". And there is nothing > regarding file dependencies about making use of a vendor's (e.g., > Apple's) install of kerberos. > > I don't know how to interpret the meaning of the default variant in > the context of dependencies, given this example above. I see this in the cyrus-sasl2 portfile: default_variants +kerberos variant kerberos { if {[variant_isset darwin]} { configure.args-append --enable-gssapi --with- gss_impl=mit } if {[variant_isset freebsd]} { configure.args-append --enable-gssapi --with- gss_impl=heimdal } } So apparently Mac OS X includes the MIT GSS implementation, and FreeBSD includes the Heimdal GSS implementation, and cyrus-sasl2 makes use of those. It looks like on other platforms, the kerberos variant will still be selected, but it will have no effect. Perhaps one of the cyrus-sasl2 maintainers can comment further. > Also, is there any way (before installing a port) to use the port > command-line program to request a port's default variants > information? Or is the only way to obtain this information to parse > each port's Portfile and look for it that way? You would like a way to know that the kerberos variant will be selected by default for this port? I'm not sure if there is a port command that will tell you that. > The reason I ask is that I've been working on a very robust system > for tracking, maintaining and auditing MacPorts for use mostly on > Xserves. It has turned out to be quite a complicated process due to > the intertangling (graphs essentially) of dependencies, sequence of > installations, etc. From ryandesign at macports.org Fri Jul 11 01:12:24 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 11 Jul 2008 03:12:24 -0500 Subject: port install php5 fails on Leopard 10.5.4 In-Reply-To: References: <071120080035.20581.4876AACD00002D990000506522058861729D0A0796019B020A05@comcast.net> <9CFF19B7-3489-4078-88E2-5AA8652E4581@mac-specialist.com> Message-ID: <145F6DB7-8313-4569-BD65-301C7D6AE0AE@macports.org> On Jul 11, 2008, at 01:09, Ken Tozier wrote: > On Jul 10, 2008, at 10:49 PM, Bill Hernandez wrote: > >> /opt/local/apache2/conf/httpd.conf >> should show the three items below : >> >> LoadModule php5_module modules/libphp5.so >> >> Include conf/mod_php.conf >> >> DocumentRoot "/Web/path/to/your/www" > > That must be part of the problem. /opt/local/apache2/conf/httpd.conf > doesn't exist /opt/local/apache2/conf/httpd.conf.example does but the > string "php" doesn't appear anywhere in it. There is an httpd.conf > file one level deeper in the hierarchy (/opt/local/apache2/conf/ > original/httpd.conf") but that doesn't contain "php" either. Naturally. The apache2 port provides a sample configuration file that you can base your own real configuration file on. PHP is not mentioned in the example file because not all Apache users are PHP users. If you want PHP support, you add it to your configuration file. > Another > possible problem is that while both "httpd.conf.example" and "/ > original/httpd.conf" contain t"DocumentRoot" the path points to "/opt/ > local/apache2/htdocs" which, if I'm understanding how the "web > sharing" checkbox works in the "Sharing prefs panel," puts it > completely out of the normal web hosting framework. Of course. MacPorts deliberately is a separate environment from what Apple provides, with respect to Apache and PHP and everything else. But it's your configuration file, so you can define your DocumentRoot to be anything you want. You can point it back at /Library/WebServer/ Documents or wherever Apple has them in Leopard, or if you're developing in your Sites directory in your home directory then you can forget about the DocumentRoot and just use the user directory feature and access http://localhost/~yourname/ > This is starting to get complicated... Do I really have to subvert > the nice simple turn it on/turn it off mechanism of web sharing and > hand tool a bunch of settings to get this to work? Web Sharing is for Apple's Apache server and is not applicable to the MacPorts Apache servers. Daemons in MacPorts are controlled using launchd. You can execute the launchd commands on the command line to start and stop these daemons, or you can install a GUI like Lingon to give you a prettier interface to do it. > Or is the php Mac port not quite ready for prime time? I maintain the php ports in MacPorts and consider them completely usable. There are some outstanding issues which you can read about by searching the issue tracker for "php". If you have any suggestions for improving the ports please contact me or the list or file a ticket. From milosh at macports.org Fri Jul 11 01:13:11 2008 From: milosh at macports.org (Emmanuel Hainry) Date: Fri, 11 Jul 2008 10:13:11 +0200 Subject: Dependencies relationship to default variants? In-Reply-To: <6600B2D9-CBB2-4B9C-8FEB-8E8030F0E08D@macports.org> References: <7fccb3000807102150p1ebd6190n3a1539b15b21b0c8@mail.gmail.com> <6600B2D9-CBB2-4B9C-8FEB-8E8030F0E08D@macports.org> Message-ID: <20080711081311.GA3317@velsheda.lateralis.org> Citando Ryan Schmidt : > On Jul 10, 2008, at 23:50, Tabitha McNerney wrote: > > > Also, is there any way (before installing a port) to use the port > > command-line program to request a port's default variants > > information? Or is the only way to obtain this information to parse > > each port's Portfile and look for it that way? > > You would like a way to know that the kerberos variant will be > selected by default for this port? I'm not sure if there is a port > command that will tell you that. > Variants are supposed to have descriptions, it is good practice to explicit in the description if a variant is a default or no. So 'port variants gizmo' should inform you. I don't remember if the absence of a description is considered a bug, but it is always possible to file a RFE for cyrus-sasl2 for the addition of a description for variants. Best, Emmanuel From raimue at macports.org Fri Jul 11 02:13:53 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Fri, 11 Jul 2008 11:13:53 +0200 Subject: Dependencies relationship to default variants? In-Reply-To: <7fccb3000807102150p1ebd6190n3a1539b15b21b0c8@mail.gmail.com> References: <7fccb3000807102150p1ebd6190n3a1539b15b21b0c8@mail.gmail.com> Message-ID: <48772451.8020008@macports.org> Hi, Tabitha McNerney wrote: > [...] > but after installing cyrus-sasl2 (I never negate default variants), I > discovered this default variant: > > $ port installed cyrus-sasl2 > The following ports are currently installed: > cyrus-sasl2 @2.1.21_0+kerberos (active) > > Woah! Kerberos is a default variant? But there is no kerberos port, > there is only a port named "*kerberos5*". And there is nothing regarding > file dependencies about making use of a vendor's (e.g., Apple's) install > of kerberos. You are right, there is no dependency on kerberos5. And it is using the Kerberos framework provided by Apple. Our current policy is not to use system libraries, but add them to MacPorts and use it from there. I am CC'ing the maintainers of cyrus-sasl2. Juan, Landon, would it be possible to use kerberos5 here instead? Dependencies are mainly set on ports. There are also other dependency types, but dependencies on system stuff is currently not specified. For example we don't add a dependency on Xcode to each and every port :-) > I don't know how to interpret the meaning of the default variant in the > context of dependencies, given this example above. > > Also, is there any way (before installing a port) to use the port > command-line program to request a port's default variants information? > Or is the only way to obtain this information to parse each port's > Portfile and look for it that way? I agree with this problem, there is currently no way to see the default variants before installing. There is already a ticket tracking this [1]. Rainer [1] http://trac.macports.org/ticket/14178 From randall.h.wood at alexandriasoftware.com Fri Jul 11 02:30:44 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Fri, 11 Jul 2008 05:30:44 -0400 Subject: Dependencies relationship to default variants? In-Reply-To: <48772451.8020008@macports.org> References: <7fccb3000807102150p1ebd6190n3a1539b15b21b0c8@mail.gmail.com> <48772451.8020008@macports.org> Message-ID: On Fri, Jul 11, 2008 at 5:13 AM, Rainer M?ller wrote: > Hi, > > Tabitha McNerney wrote: >> [...] >> but after installing cyrus-sasl2 (I never negate default variants), I >> discovered this default variant: >> >> $ port installed cyrus-sasl2 >> The following ports are currently installed: >> cyrus-sasl2 @2.1.21_0+kerberos (active) >> >> Woah! Kerberos is a default variant? But there is no kerberos port, >> there is only a port named "*kerberos5*". And there is nothing regarding >> file dependencies about making use of a vendor's (e.g., Apple's) install >> of kerberos. > > You are right, there is no dependency on kerberos5. And it is using the > Kerberos framework provided by Apple. Our current policy is not to use > system libraries, but add them to MacPorts and use it from there. I am > CC'ing the maintainers of cyrus-sasl2. > > Juan, Landon, would it be possible to use kerberos5 here instead? Not using Apple's kerberos has been known to break expected behavior. Its not the standard Kerberos and hooks into Apple's authentication scheme in a way that the standard Kerberos does not. I think that authentication services needs to be one of those the-exception-to-the-rule-is-the-rule situations like X11. > Dependencies are mainly set on ports. There are also other dependency > types, but dependencies on system stuff is currently not specified. For > example we don't add a dependency on Xcode to each and every port :-) > >> I don't know how to interpret the meaning of the default variant in the >> context of dependencies, given this example above. >> >> Also, is there any way (before installing a port) to use the port >> command-line program to request a port's default variants information? >> Or is the only way to obtain this information to parse each port's >> Portfile and look for it that way? > > I agree with this problem, there is currently no way to see the default > variants before installing. There is already a ticket tracking this [1]. > > Rainer > > [1] http://trac.macports.org/ticket/14178 > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > -- Randall Wood randall.h.wood at alexandriasoftware.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy." From khillig at umich.edu Fri Jul 11 05:42:35 2008 From: khillig at umich.edu (Kurt Hillig) Date: Fri, 11 Jul 2008 08:42:35 -0400 (EDT) Subject: perl5.8 problem? In-Reply-To: <989FCAD8-8A29-49DF-B20E-59BAE318C7B5@mac.com> References: <989FCAD8-8A29-49DF-B20E-59BAE318C7B5@mac.com> Message-ID: After more testing it looks like I gave you some bad advice. On the one hand, it should be 'use Mac::Files;', not 'use Files;', but on the other I haven't been able to get this to work with either 'use lib ' or with '-I' on the command line. So it looks like something is needed when Perl is compiled that's missing in the Macports version - which makes sense, given the Macports philosophy of not using anyting that Macports didn't build. What does work (in my testing) is to use the native Perl rather than the Macports Perl - i.e. start your script with: #!/usr/bin/perl instead of #!/opt/local/bin/perl (or invoke it with '/usr/bin/perl