From mark at dxradio.demon.co.uk Fri Aug 1 03:28:00 2008 From: mark at dxradio.demon.co.uk (Mark Hattam) Date: Fri, 1 Aug 2008 11:28:00 +0100 Subject: more woes with php 5.2.6 In-Reply-To: <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> References: <04FFDB61-A70F-4D24-9D28-0B646DC969E3@macports.org> <53EBA556-7061-468A-A02C-26AD8ECCDDDA@macports.org> <7F8FA227-064D-4107-B726-751370A07970@macports.org> <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> Message-ID: At 00:23 -0500 1/8/08, Ryan Schmidt wrote: >Hi Mark, > > >On Jul 31, 2008, at 18:30, Mark Hattam wrote: > >>Hi Ryan >> >>Tried today to build it all from scratch ... >> >>I moved /opt to /opt_old >> >>Downloaded and installed MacPorts 1.6.pkg (previously I'd had 1.6 >>but via upgrading it from 1.4) >> >>Did a self-update >> >>Installed MySQL5 +server ... no problem >>sudo port install MySQL5 +server >> >>Installed Apache2 ... no problem >>sudo port install Apache2 >> >>But when I got to >>sudo port install php5 +apache2+macosx+mysql5 >> ... it started off fine. I noticed that it put in autoconf 2.62 >>and Perl 5.8 automatically, whereas I'd had to manually put in >>autoconf following your advice. > >Probably because I had recently added autoconf as a dependency of gd2; see: > >http://trac.macports.org/ticket/16119 > >>However it's just failed at this point (which is about 12 hours >>after I started all this today) >> >> >>---> Attempting to fetch gd-2.0.35.tar.bz2 from >>http://www.libgd.org/releases/ >>---> Verifying checksum(s) for gd2 >>---> Extracting gd2 >>---> Applying patches to gd2 >>---> Configuring gd2 >>Error: Target org.macports.configure returned: shell command "cd >>/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35 >>&& autoreconf" returned error 1 >>Command output: aclocal: configure.ac: 64: macro `AM_ICONV' not >>found in library >>autoreconf: aclocal failed with exit status: 1 > >I believe I have got this fixed now. See: > >http://trac.macports.org/ticket/16148 > >So wait 30 minutes, then "sudo port sync" and "sudo port clean >--work gd2" and try again. Yes, it's now put in automake and libtool before trying gd2 ... and it's installed php5 ... YEAH !!! Copied my old db's and htdocs and .conf's etc etc etc sudo cp -Rfp /opt_old/local/var/db/mysql5/* /opt/local/var/db/mysql5/ sudo cp -Rfp /opt_old/local/apache2/htdocs/* /opt/local/apache2/htdocs/ etc and it looks like it's all up and running ... even after shutdown & restarts of the laptop. The only thing I don't now see in "port installed" is db44 ... that was there as well as db46 ... but may have been some legacy item that's been superceded, but remained installed and active after the (many) port sync and port upgrade outdated sessions. Mark From ludwig at fh-worms.de Fri Aug 1 05:04:04 2008 From: ludwig at fh-worms.de (Christoph Ludwig) Date: Fri, 1 Aug 2008 14:04:04 +0200 Subject: sbcl 1.0.18_0 build error Message-ID: <20080801120404.GE27186@castellio.ztt.fh-worms.de> Hi, my attempt to upgrade the sbcl port to 1.0.18_0 on an Intel MacBook Pro, OS X 10.4.11, failed with some linker error: dyld: lazy symbol binding failed: Symbol not found: _kill$UNIX2003 I submitted ticket https://trac.macports.org/ticket/16160 and attached the full output of 'sudo port -v upgrade sbcl'. Regards Christoph -- FH Worms - University of Applied Sciences Fachbereich Informatik / Telekommunikation Erenburgerstr. 19, 67549 Worms, Germany From tabithamc at gmail.com Fri Aug 1 05:44:05 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Fri, 1 Aug 2008 02:44:05 -1000 Subject: more woes with php 5.2.6 In-Reply-To: References: <04FFDB61-A70F-4D24-9D28-0B646DC969E3@macports.org> <53EBA556-7061-468A-A02C-26AD8ECCDDDA@macports.org> <7F8FA227-064D-4107-B726-751370A07970@macports.org> <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> Message-ID: <7fccb3000808010544g82c573dkba25efcd115673d4@mail.gmail.com> Speaking of PHP5 (5.2.6), I added a postgresql81 variant to my Portfile (on an Intel Xserve) like this (since I still run postgresql81 not postgresql82 and the php5 Portfile by default only has a variant for postgresql82): variant *postgresql81* { depends_lib-append \ port:postgresql81 configure.args-append \ --with-pgsql=${prefix}/lib/postgresql81/bin \ --with-pdo-pgsql=${prefix}/lib/postgresql81/bin } I also add a build option for ldap and sasl in this section of the Portfile: platform macosx { configure.args-append \ --with-*ldap*=/usr \ --with-*ldap-**sasl*=/opt/local \ --with-kerberos=/usr \ --with-iodbc=/usr } So when I go to build like this: $ port -v install php5 +macosx+apache2+mysql5+postgresql81 I receive this error: *Error*: *Requested variants do not match original selection*. Please perform 'port clean php5' or specify the force option. Error: Status 1 encountered during processing. Indeed, if I rebuild with the force option like this: $ port -v -f install php5 +macosx+apache2+mysql5+postgresql81 Then everything builds and installs to expectation, no errors. I was wondering why the initial attempt (without the force) gives me the Error message? Just what is the "original selection" and why would the variants not match? Thanks, T.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080801/65339503/attachment.html From raimue at macports.org Fri Aug 1 05:59:48 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Fri, 01 Aug 2008 14:59:48 +0200 Subject: more woes with php 5.2.6 In-Reply-To: <7fccb3000808010544g82c573dkba25efcd115673d4@mail.gmail.com> References: <04FFDB61-A70F-4D24-9D28-0B646DC969E3@macports.org> <53EBA556-7061-468A-A02C-26AD8ECCDDDA@macports.org> <7F8FA227-064D-4107-B726-751370A07970@macports.org> <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> <7fccb3000808010544g82c573dkba25efcd115673d4@mail.gmail.com> Message-ID: <489308C4.5080200@macports.org> Tabitha McNerney wrote: > So when I go to build like this: > > $ port -v install php5 +macosx+apache2+mysql5+postgresql81 > > I receive this error: > > *Error*: *Requested variants do not match original selection*. > Please perform 'port clean php5' or specify the force option. > Error: Status 1 encountered during processing. When you have done something like 'port configure +foo +bar', you can't run 'port build +baz' because the variants did not match what you selected before (the "original selection"). Of course this was just an example and is also valid for all other phases. You either need to give the same set of variants or start from the beginning with 'port clean '. Rainer From ryandesign at macports.org Fri Aug 1 06:16:41 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 1 Aug 2008 08:16:41 -0500 Subject: more woes with php 5.2.6 In-Reply-To: References: <04FFDB61-A70F-4D24-9D28-0B646DC969E3@macports.org> <53EBA556-7061-468A-A02C-26AD8ECCDDDA@macports.org> <7F8FA227-064D-4107-B726-751370A07970@macports.org> <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> Message-ID: <6DA787B9-D0F2-4ABD-AA3B-8CEF28546A18@macports.org> On Aug 1, 2008, at 05:28, Mark Hattam wrote: >> I believe I have got this fixed now. See: >> >> http://trac.macports.org/ticket/16148 >> >> So wait 30 minutes, then "sudo port sync" and "sudo port clean -- >> work gd2" and try again. > > > Yes, it's now put in automake and libtool before trying gd2 ... > > and it's installed php5 ... YEAH !!! > > Copied my old db's and htdocs and .conf's etc etc etc > sudo cp -Rfp /opt_old/local/var/db/mysql5/* /opt/local/var/db/mysql5/ > sudo cp -Rfp /opt_old/local/apache2/htdocs/* /opt/local/apache2/ > htdocs/ > etc > > and it looks like it's all up and running ... even after shutdown & > restarts of the laptop. Fantastic! > The only thing I don't now see in "port installed" is db44 ... that > was there as well as db46 ... but may have been some legacy item > that's been superceded, but remained installed and active after the > (many) port sync and port upgrade outdated sessions. Yes, for example subversion used to depend on db44 and now depends on db46. db44 would not however have been uninstalled for you. You would have had to remove it yourself if you wanted it gone using sudo port uninstall db44. From ryandesign at macports.org Fri Aug 1 07:01:44 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 1 Aug 2008 09:01:44 -0500 Subject: more woes with php 5.2.6 In-Reply-To: References: <04FFDB61-A70F-4D24-9D28-0B646DC969E3@macports.org> <53EBA556-7061-468A-A02C-26AD8ECCDDDA@macports.org> <7F8FA227-064D-4107-B726-751370A07970@macports.org> <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> <6DA787B9-D0F2-4ABD-AA3B-8CEF28546A18@macports.org> Message-ID: <4E7BE4B7-F8DD-494D-9EC6-AF0AFC2697CE@macports.org> On Aug 1, 2008, at 08:50, Mark Hattam wrote: > oh and just to finish up, my > > Powerbook:~ markhattam$ ls -la /opt/local/lib/ > > now includes ... > > -rwxr-xr-x 2 root admin 1319504 Aug 1 09:36 > libxml2.2.6.32.dylib > lrwxr-xr-x 1 root admin 20 Aug 1 09:36 libxml2.2.dylib - > > libxml2.2.6.32.dylib > lrwxr-xr-x 1 root admin 20 Aug 1 09:36 libxml2.dylib -> > libxml2.2.6.32.dylib > -rwxr-xr-x 2 root admin 859 Aug 1 09:36 libxml2.la > > rather than the seemingly immutable > >> lrwxr-xr-x 1 root admin 9 Jul 25 22:33 libxml2 -> >> libxml2.2 >> -rwxr-xr-x 2 root admin 1319504 Jul 4 01:53 libxml2.2 >> lrwxr-xr-x 1 root admin 9 Jul 25 22:33 >> libxml2.2.6.32 -> libxml2.2 >> -rwxr-xr-x 2 root admin 835 Jul 4 01:53 libxml2.la I'm glad, though I wish I knew what caused the problem. Clearly something in your old MacPorts installation was amiss, but we may never know what. From ryandesign at macports.org Fri Aug 1 07:11:14 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 1 Aug 2008 09:11:14 -0500 Subject: more woes with php 5.2.6 In-Reply-To: References: <04FFDB61-A70F-4D24-9D28-0B646DC969E3@macports.org> <53EBA556-7061-468A-A02C-26AD8ECCDDDA@macports.org> <7F8FA227-064D-4107-B726-751370A07970@macports.org> <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> <6DA787B9-D0F2-4ABD-AA3B-8CEF28546A18@macports.org> Message-ID: <3EE8080B-5066-417D-A473-70344E994FA7@macports.org> On Aug 1, 2008, at 08:45, Mark Hattam wrote: >>> The only thing I don't now see in "port installed" is db44 ... >>> that was there as well as db46 ... but may have been some legacy >>> item that's been superceded, but remained installed and active >>> after the (many) port sync and port upgrade outdated sessions. >> >> Yes, for example subversion used to depend on db44 and now depends >> on db46. db44 would not however have been uninstalled for you. You >> would have had to remove it yourself if you wanted it gone using >> sudo port uninstall db44. > > db46 got installed before I got as far as subversion ... > > Powerbook:~ markhattam$ sudo port dependents db46 > apr-util depends on db46 > subversion depends on db46 > > and chasing back another step > > Powerbook:~ markhattam$ sudo port dependents apr-util > apache2 depends on apr-util > serf depends on apr-util > subversion depends on apr-util > > And I started off by building Apache2. Yes, the same upgrade happened to apr-util. > But how would I tell if db44 (or some other package) is no longer > needed though it remains installed and active? port uninstall db44 If db44 is still required, MacPorts will tell you so and will not uninstall db44. Or you could also use port dependents db44 If MacPorts says db44 has no dependents then you can uninstall it. > Lastly, this whole rebuild took nearly a day (including sleep time > between the error late last night and the resumption after > breakfast this morning. I couldn't have done this on dial-up while > on holiday due to the constant but sporadic need for an Internet > connection. You could have saved the distfiles which were in /opt/local/var/ macports/distfiles and moved them over to your new clean MacPorts installation. If the distfiles were corrupted, MacPorts would notice and tell you; that's why portfiles have distfile checksums. > If I want to install say apache2, why can't it run through and > download all the required packages at the outset, then go through > and install them one by one in the order it requires? If it takes > two hours to configure and build libxml (for instance) before > needing and therefore downloading the next package that it needs > (gd2 for instance), I can't leave a dial-up connection ($$$) active > that long, and most UK ISP's cut you off at two hours anyway. Or is > it assumed that all users are on a broadband or other always-on > connection? In the US, unlimited always-on broadband connections are the norm. I haven't heard of anyone here using dial-up in years, but if anyone did, local phone calls are free in the US. I understand it's not so in other parts of the world. Perhaps this part of MacPorts was developed by US residents. Anyway, yes, it could be nice to pre-fetch all distfiles of all dependencies before starting to build. Even better would be to spawn a new thread so that distfiles could be downloaded while other ports are already being built. I don't see a ticket for this but maybe I'm searching wrong. I know it has come up on the list multiple times. Someone may even have posted a script to at least do the pre-fetching part. Patches to MacPorts base to implement this behavior would be welcomed. > But thank you for fixing the various issues that befell me, and by > the look of it other users with similar problems installing other > packages. From ryandesign at macports.org Fri Aug 1 08:05:05 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 1 Aug 2008 10:05:05 -0500 Subject: transcode portfile In-Reply-To: <4892AADB.9060809@cogweb.net> References: <4892AADB.9060809@cogweb.net> Message-ID: On Aug 1, 2008, at 01:19, David Liontooth wrote: > I'm enclosing the portfile for transcode 1.1.0 beta, in which the > link to the new ImageMagick libraries has been fixed -- the port > may require a recent version of ImageMagick. > > The portfile works on Intel iMacs with 10.5.4 using > > port install transcode +a52dec +faac +freetype +imagemagick > +libdv +libogg +libsdl +libtheora +libvorbis +libxml2 +x264 +xvid I committed your new portfile in r38879, except that I also removed the "revision 1" line, since every new version of a port should begin at revision 0. May I also add "use_parallel_build yes" to the port? It appears to work fine with that option and makes it compile faster on multicore machines. From liontooth at cogweb.net Fri Aug 1 10:47:45 2008 From: liontooth at cogweb.net (David Liontooth) Date: Fri, 01 Aug 2008 10:47:45 -0700 Subject: transcode portfile In-Reply-To: References: <4892AADB.9060809@cogweb.net> Message-ID: <48934C41.5000404@cogweb.net> Ryan Schmidt wrote: > > On Aug 1, 2008, at 01:19, David Liontooth wrote: > >> I'm enclosing the portfile for transcode 1.1.0 beta0, in which the >> link to the new ImageMagick libraries has been fixed -- the port may >> require a recent version of ImageMagick. >> >> The portfile works on Intel iMacs with 10.5.4 using >> >> port install transcode +a52dec +faac +freetype +imagemagick +libdv >> +libogg +libsdl +libtheora +libvorbis +libxml2 +x264 +xvid > > I committed your new portfile in r38879, except that I also removed > the "revision 1" line, since every new version of a port should begin > at revision 0. Thanks. I did some further testing and it appears the ImageMagick libraries are still not linked correctly -- we still need this workaround: cd /opt/local/lib ln -s libMagickCore.1.dylib libMagick.dylib Older versions of ImageMagick work without the workaround; not sure which version introduces the change from "libMagick" to "libMagickCore". I've confirmed the beta0 version also builds on PPC, but it needs the workaround with recent versions of ImageMagick. I'm cc'ing upstream -- Francesco, I don't know what's happening here, but the linking is still not working for the new ImageMagick. > > May I also add "use_parallel_build yes" to the port? It appears to > work fine with that option and makes it compile faster on multicore > machines. > Excellent! My co-maintainer may have reservations on these changes; I regret we haven't been able to sort out the linking issues yet. David From kp.gores at web.de Fri Aug 1 11:14:25 2008 From: kp.gores at web.de (kpg) Date: Fri, 1 Aug 2008 11:14:25 -0700 (PDT) Subject: how to resume a interrupted install Message-ID: <18780019.post@talk.nabble.com> Hi, on my old dual G4 i installed macports nad then texlive. During texlive instalation I had to reboot. How can I "resum" the installation process? regards kp -- View this message in context: http://www.nabble.com/how-to-resume-a-interrupted-install-tp18780019p18780019.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From krischik at users.sourceforge.net Fri Aug 1 11:43:20 2008 From: krischik at users.sourceforge.net (Martin Krischik) Date: Fri, 1 Aug 2008 20:43:20 +0200 Subject: how to resume a interrupted install In-Reply-To: <18780019.post@talk.nabble.com> References: <18780019.post@talk.nabble.com> Message-ID: <68AFC223-3BD6-4FCF-8E5C-1121028A2A53@users.sourceforge.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 01.08.2008 um 20:14 schrieb kpg: > > > on my old dual G4 i installed macports nad then texlive. During > texlive > instalation I had to reboot. > How can I "resum" the installation process? I always just use: sudo port install whateverpackage and MacPort continues (almost) where it left of. Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iD8DBQFIk1lIijwKaHyem9cRApHyAKCPcvCPh4ytYdy1xsIhSiSRLds7GgCgh756 uAwg4JV0oklrjG9LnYs4Ja0= =Rwlj -----END PGP SIGNATURE----- From krischik at users.sourceforge.net Fri Aug 1 11:38:26 2008 From: krischik at users.sourceforge.net (Martin Krischik) Date: Fri, 1 Aug 2008 20:38:26 +0200 Subject: [KDE/Mac] kde4.1 MacPorts available In-Reply-To: <2d6596180808010011q1e7efd0fm22536c733de72865@mail.gmail.com> References: <09BAE1D1-96C6-4330-AFD6-045495DB3E00@theiggy.com> <32E338BD-FB9D-4321-B662-7547871898AE@users.sourceforge.net> <2d6596180808010011q1e7efd0fm22536c733de72865@mail.gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 01.08.2008 um 09:11 schrieb Scot Ballard: > Just curious but is this the first none beta OSX native kde that > doesn't require X11 ? Well, KDE 4 on any platform is more or less still beta quality. But KDE/Mac does not need X11 any more and all (user) applications are bundles. However - some 50% of the bundles come without on icon. What I consider a good thing is that the KDE/Mac team has switched to MacPorts for there packaging needs - I hope that gives better integration and a quicker release cycle as anybody can whip up a package using "port mpkg" or "port mdmg". Regards Martin > > > Thanks for the post !! > > > On Tue, Jul 29, 2008 at 10:07 PM, Martin Krischik > wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi everybody, >> >> I thought this might be for interest for you all as well: >> >> Anfang der weitergeleiteten E-Mail: >> >>> Von: Brian Jackson >>> Datum: 30. Juli 2008 05:08:19 GMT+02:00 >>> An: kde-mac at kde.org >>> Betreff: [KDE/Mac] kde4.1 MacPorts available >>> Antwort an: kde-mac at kde.org >>> >>> I've whipped up some macports Portfiles for kde 4.1. If anyone would >>> like to test them out and let me know, I'd appreciate it. >>> >>> http://www.theiggy.com/tmp/kde41-ports.tar.bz2 >>> >>> I give you fair warning that some of this takes a while to build. >>> Using port -d can help with knowing how far things are. >>> >>> --Brian Jackson >>> _______________________________________________ >>> kde-mac at kde.org >>> List Information: https://mail.kde.org/mailman/listinfo/kde-mac >>> KDE/Mac Information: http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.8 (Darwin) >> >> iD8DBQFIj/cOijwKaHyem9cRAtFuAJwJA3CXHC4tfTqYu7+fjVExx8KsswCeLs3+ >> FPccmqnS7/Qlbs/2OULSdkc= >> =ASvK >> -----END PGP SIGNATURE----- >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> > > > > -- > -Scot > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iD8DBQFIk1giijwKaHyem9cRAj/AAKDYqWULaGj++OyU8oA/ZVQZ7tefxwCfZ5q3 C5OKKoxXTrmLVgjpFgihAYA= =3FzI -----END PGP SIGNATURE----- From hvdwolf at gmail.com Fri Aug 1 13:13:59 2008 From: hvdwolf at gmail.com (Harry van der Wolf) Date: Fri, 1 Aug 2008 22:13:59 +0200 Subject: Dirty hack to get cairo compiled universally Message-ID: <8c242c590808011313gc09799dsd8aba623add2f59@mail.gmail.com> To get cairo compiled in macports using the correct SDK I used an extremely dirty hack (See attached Portfile). The reason for this is that enabling '-isysroot $SDK_path' treats all other includes as SDK relative path. I don't know how to get around that, so I used a dirty hack (copied from http://dev.ultravelours.com/ports/enblend/) and symlinked the '/opt' directory (default MacPorts installation prefix is the standard '/opt/local') from the SDK root directory (and deleted it later in the process). You can find that in the attached portfile. See for the explanation at: http://lists.apple.com/archives/darwin-dev/2006/Apr/msg00042.html The only other way to get cairo compiled universally is to change the one line in the Portfile. It's the line: set my_cflags "${configure.cflags} -isysroot ${sysroot} ${my_arch_flag}" to set my_cflags "${configure.cflags} ${my_arch_flag}" That works too and is much simpler, but it does not give you the possibility to choose your SDK (however when compiling i386 and ppc, the MacOSX10.4u.sdk is always used, or isn't it) Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080801/4aaac996/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Portfile Type: application/octet-stream Size: 6121 bytes Desc: not available Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080801/4aaac996/attachment.obj From hvdwolf at gmail.com Fri Aug 1 13:44:07 2008 From: hvdwolf at gmail.com (Harry van der Wolf) Date: Fri, 1 Aug 2008 22:44:07 +0200 Subject: Fwd: Dirty hack to get cairo compiled universally In-Reply-To: <8c242c590808011313gc09799dsd8aba623add2f59@mail.gmail.com> References: <8c242c590808011313gc09799dsd8aba623add2f59@mail.gmail.com> Message-ID: <8c242c590808011344k42a04efay7a8d6bae394cc99@mail.gmail.com> I made another change to the Portfile for the variant no_x11 (see attached renewed Portfile) variant no_x11 conflicts glitz description {Omit X11 support} { depends_lib-delete \ port:xrender \ port:render configure.args-delete \ --x-includes=${x11prefix}/include \ --x-libraries=${x11prefix}/lib \ --enable-xlib \ --enable-xlib-xrender \ --with-x configure.args-append \ --disable-xlib \ --disable-xlib-xrender \ --without-x \ --enable-atsui } I added "--enable-atsui" as the *ATSUI* font backend is primarily used to render text on Apple OS X systems. Especially in combination with no_x11 that one should(!) be enabled. I use "sudo port install +no_x11 +universal" to build Gtk applications with pango and gtk (both also with "--without-x" configure setting) that don't need X11 but run in native Quartz. As mentioned in one of the earlier mail threads: I always manually compiled cairo universally with: --enable-quartz --enable-atsui --without-x manually compiled pango universally with: --without-x manually compiled gtk universally with: --with-gdktarget=quartz --without-x As mentioned: This enables you to build Gtk-Quartz applications: Very nice! Harry ---------- Forwarded message ---------- From: Harry van der Wolf Date: 2008/8/1 Subject: Dirty hack to get cairo compiled universally To: MacPorts Users To get cairo compiled in macports using the correct SDK I used an extremely dirty hack (See attached Portfile). The reason for this is that enabling '-isysroot $SDK_path' treats all other includes as SDK relative path. I don't know how to get around that, so I used a dirty hack (copied from http://dev.ultravelours.com/ports/enblend/) and symlinked the '/opt' directory (default MacPorts installation prefix is the standard '/opt/local') from the SDK root directory (and deleted it later in the process). You can find that in the attached portfile. See for the explanation at: http://lists.apple.com/archives/darwin-dev/2006/Apr/msg00042.html The only other way to get cairo compiled universally is to change the one line in the Portfile. It's the line: set my_cflags "${configure.cflags} -isysroot ${sysroot} ${my_arch_flag}" to set my_cflags "${configure.cflags} ${my_arch_flag}" That works too and is much simpler, but it does not give you the possibility to choose your SDK (however when compiling i386 and ppc, the MacOSX10.4u.sdk is always used, or isn't it) Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080801/299ec568/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Portfile Type: application/octet-stream Size: 6146 bytes Desc: not available Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080801/299ec568/attachment.obj From kp.gores at web.de Fri Aug 1 14:33:07 2008 From: kp.gores at web.de (kpg) Date: Fri, 1 Aug 2008 14:33:07 -0700 (PDT) Subject: how to resume a interrupted install In-Reply-To: <68AFC223-3BD6-4FCF-8E5C-1121028A2A53@users.sourceforge.net> References: <18780019.post@talk.nabble.com> <68AFC223-3BD6-4FCF-8E5C-1121028A2A53@users.sourceforge.net> Message-ID: <18782964.post@talk.nabble.com> Martin Krischik wrote: > > I always just use: > > sudo port install whateverpackage > > and MacPort continues (almost) where it left of. > > > that does not work for me: sudo port install texlive Password: ---> Staging texlive_texmf-full into destroot Error: Target org.macports.destroot returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_texmf-full/work/texlive_texmf-full-2007g0/texmf" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_texmf-full/work/destroot/opt/local/share/texmf": file already exists Error: The following dependencies failed to build: texlive_texmf-full Error: Status 1 encountered during processing. As I am new to macports i do not want to mess up everything. The only option now is to remove macports (texlive wont uninstall -f) which will take looong on my old Mac. Any help apppreciated. regards kp -- View this message in context: http://www.nabble.com/how-to-resume-a-interrupted-install-tp18780019p18782964.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From ryandesign at macports.org Fri Aug 1 16:03:51 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 1 Aug 2008 18:03:51 -0500 Subject: transcode portfile In-Reply-To: <48934C41.5000404@cogweb.net> References: <4892AADB.9060809@cogweb.net> <48934C41.5000404@cogweb.net> Message-ID: <97BDC002-5FC1-479B-B0EE-6E190EB12C40@macports.org> On Aug 1, 2008, at 12:47, David Liontooth wrote: > Ryan Schmidt wrote: > >> On Aug 1, 2008, at 01:19, David Liontooth wrote: >> >>> I'm enclosing the portfile for transcode 1.1.0 beta0, in which >>> the link to the new ImageMagick libraries has been fixed -- the >>> port may require a recent version of ImageMagick. >>> >>> The portfile works on Intel iMacs with 10.5.4 using >>> >>> port install transcode +a52dec +faac +freetype +imagemagick >>> +libdv +libogg +libsdl +libtheora +libvorbis +libxml2 +x264 +xvid >> >> I committed your new portfile in r38879, except that I also >> removed the "revision 1" line, since every new version of a port >> should begin at revision 0. > > Thanks. I did some further testing and it appears the ImageMagick > libraries are still not linked correctly -- we still need this > workaround: > > cd /opt/local/lib > ln -s libMagickCore.1.dylib libMagick.dylib > > Older versions of ImageMagick work without the workaround; not sure > which version introduces the change from "libMagick" to > "libMagickCore". libMagick changed names to libMagickCore in ImageMagick 6.3.8-5. See the ImageMagick change log. Programs should not assume that the library is called libMagick or libMagickCore; they should use "Magick- config --libs" or "pkg-config ImageMagick --libs" to determine how to link with the library. > I've confirmed the beta0 version also builds on PPC, but it needs > the workaround with recent versions of ImageMagick. > > I'm cc'ing upstream -- Francesco, I don't know what's happening > here, but the linking is still not working for the new ImageMagick. > >> May I also add "use_parallel_build yes" to the port? It appears to >> work fine with that option and makes it compile faster on >> multicore machines. > > Excellent! > > My co-maintainer may have reservations on these changes; I regret > we haven't been able to sort out the linking issues yet. From ryandesign at macports.org Fri Aug 1 17:32:03 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 1 Aug 2008 19:32:03 -0500 Subject: how to resume a interrupted install In-Reply-To: <18782964.post@talk.nabble.com> References: <18780019.post@talk.nabble.com> <68AFC223-3BD6-4FCF-8E5C-1121028A2A53@users.sourceforge.net> <18782964.post@talk.nabble.com> Message-ID: <08398A8A-2D7B-4A7A-A77C-BCFC41742BEA@macports.org> On Aug 1, 2008, at 16:33, kpg wrote: > Martin Krischik wrote: > >> I always just use: >> >> sudo port install whateverpackage >> >> and MacPort continues (almost) where it left of. > > that does not work for me: > > sudo port install texlive > Password: > ---> Staging texlive_texmf-full into destroot > Error: Target org.macports.destroot returned: error copying > "/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_t > exlive_texmf-full/work/texlive_texmf-full-2007g0/texmf" > to > "/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_t > exlive_texmf-full/work/destroot/opt/local/share/texmf": > file already exists > Error: The following dependencies failed to build: texlive_texmf-full > Error: Status 1 encountered during processing. > > > > As I am new to macports i do not want to mess up everything. The > only option > now is to remove macports (texlive wont uninstall -f) which will > take looong > on my old Mac. Sure, texlive won't uninstall because it is not yet installed. MacPorts hasn't even begun to deal with the texlive port yet. It's still dealing with texlive's dependencies and is stuck at the staging phase of the texlive_texmf-full port. "sudo port -f install texlive_texmf-full" might work. But I would "sudo port clean --work texlive_texmf-full" and then "sudo port install texlive" again. From tabithamc at gmail.com Sat Aug 2 04:51:38 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Sat, 2 Aug 2008 01:51:38 -1000 Subject: more woes with php 5.2.6 In-Reply-To: <489308C4.5080200@macports.org> References: <53EBA556-7061-468A-A02C-26AD8ECCDDDA@macports.org> <7F8FA227-064D-4107-B726-751370A07970@macports.org> <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> <7fccb3000808010544g82c573dkba25efcd115673d4@mail.gmail.com> <489308C4.5080200@macports.org> Message-ID: <7fccb3000808020451q5f7f1107nd9b7f7be61ace37d@mail.gmail.com> On Fri, Aug 1, 2008 at 2:59 AM, Rainer M?ller wrote: > Tabitha McNerney wrote: > >> So when I go to build like this: >> >> $ port -v install php5 +macosx+apache2+mysql5+postgresql81 >> >> I receive this error: >> >> *Error*: *Requested variants do not match original selection*. >> Please perform 'port clean php5' or specify the force option. >> Error: Status 1 encountered during processing. >> > > When you have done something like 'port configure +foo +bar', > you can't run 'port build +baz' because the variants did not > match what you selected before (the "original selection"). Of course this > was just an example and is also valid for all other phases. Rainer and friends, What I find interesting is that I have never used, to the best of my knowledge, "port configure +foo +bar", etc. I only do an initial "port fetch" and then I edited the php5 Portfile to make my additions and then I ran port install +foo +bar ... so this is a wee bit confusing unless even the fetch phase should be conducted *after* I've my the additions to the php5 Portfile? It seems one can learn something really new every day about MacPorts :-) Thanks, T.M. > > > You either need to give the same set of variants or start from the > beginning with 'port clean '. > > Rainer > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080802/123f45c7/attachment.html From tabithamc at gmail.com Sat Aug 2 05:23:18 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Sat, 2 Aug 2008 02:23:18 -1000 Subject: py-epydoc problems remain Message-ID: <7fccb3000808020523h222a82c9k835a1cfe6291163e@mail.gmail.com> Hi all - I noticed that Ticket 34730 for py-epydoc states: Update to version 3.0.1, closes #14316 I indeed have py-epydoc version 3.0.1 on my system (Mac OS X Server 10.5.1) with the python24 port installed and activated beforehand, and I'm always getting this error at the tail end (from verbose output of "port -f install py-epydoc"): changing mode of /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-epydoc/work/destroot/opt/local/bin/epydocgui to 755 xinstall: chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-epydoc/work/epydoc-3.0.1) *Error*: Target org.macports.destroot returned: xinstall: *Cannot stat: LICENSE.TXT, No such file or directory* Warning: the following items did not execute (for py-epydoc): org.macports.activate org.macports.destroot org.macports.install *Error*: Status 1 encountered during processing. Has anyone else observed this problem? I have a copy of the entire verbose output and wouldn't midn posting it in the bugs section but I thought I'd double check first on the mailing list to see if there is something obvious I might be missing, before making a bugaboo for ticket 34730. Much thanks, T.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080802/3d8ce3c7/attachment.html From tabithamc at gmail.com Sat Aug 2 06:01:09 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Sat, 2 Aug 2008 03:01:09 -1000 Subject: Removing confusion around apr / apr-util and mod_python / mod_python25 (method to the madness?) Message-ID: <7fccb3000808020601t7205a3car592f6f62fb9fdca1@mail.gmail.com> Hi all -- I noticed that quite recently Ticket #15791was *closed*, regarding mod_python 3.3.1 experiencing build failure - compilation errors. For a while, it appeared that apr and apr-util were the scapegoats, but apparently not, from this excerpt: It appears to be a problem with apr/apr-util 1.3.2 > http://marc.info/?t=121484641500004&r=1&w=2...You may want to let the > maintainer of apr and apr-util know about the problems too. > On closer inspection, it seems it's a mod-python code problem after all and a change in apr has made it an issue, can't find any mention on mod_python mailing lists or much movement on the mod_python trunk so not sure when a fix will happen On my Xserve running Mac OS X Server 10.5.1, I have only apr and apr-util versions 1.2.12 but I noticed the maintainer (D. Luke) has upgraded to versions 1.3.2 ... is there any reason why I can't stick with 1.2.12 for both apr and apr-util, and then try to use the update to mod_python (apparently per commit 38757) for this fix? Also, I have a similar error with mod_python25. The mod_python25 fix seems rather difficult to follow also in the bugs tracking system because we have a page that points to: Ticket #13930 as well as Ticket #14840 which is now a duplicate of 13930 and the very recently re-opened Ticket #16153(which is more specific to a conflict beween mod_python25 and apr 1.3.2 but am not sure about apr 1.2.12). There must be a method to this (mod_python[25] / apr ) madness! Thanks, T.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080802/d8490750/attachment.html From macports.users at gmail.com Sat Aug 2 06:25:35 2008 From: macports.users at gmail.com (Charles Darwin) Date: Sat, 2 Aug 2008 09:25:35 -0400 Subject: configure.args Message-ID: How do I insert arguments to Configure phase? In particular for bash I want to have the following: ./configure --enable-bang-history --enable-brace-expansion --enable- command-timing --enable-cond-command --enable-alias --enable-arith-for- command --enable-extended-glob --enable-help-builtin --enable-history --enable-job-control --enable-multibyte --enable-process-substitution --enable-progcomp --enable-prompt-string-decoding --enable-readline -- enable-select --enable-separate-helpfiles --enable-single-help-strings Charles From raimue at macports.org Sat Aug 2 06:47:35 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sat, 02 Aug 2008 15:47:35 +0200 Subject: more woes with php 5.2.6 In-Reply-To: <7fccb3000808020451q5f7f1107nd9b7f7be61ace37d@mail.gmail.com> References: <53EBA556-7061-468A-A02C-26AD8ECCDDDA@macports.org> <7F8FA227-064D-4107-B726-751370A07970@macports.org> <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> <7fccb3000808010544g82c573dkba25efcd115673d4@mail.gmail.com> <489308C4.5080200@macports.org> <7fccb3000808020451q5f7f1107nd9b7f7be61ace37d@mail.gmail.com> Message-ID: <48946577.4010600@macports.org> Tabitha McNerney wrote: > What I find interesting is that I have never used, to the best of my > knowledge, "port configure +foo +bar", etc. I only do an > initial "port fetch" and then I edited the php5 Portfile to make my > additions and then I ran port install +foo +bar ... so this is a wee bit > confusing unless even the fetch phase should be conducted *after* I've > my the additions to the php5 Portfile? Once you realize that variants could change the files to be downloaded, it should be clear. 'port fetch +foo' could download additional files which would be left out otherwise. So you have to select the variants already at the fetch phase and keep it through the other phases. Rainer From hvdwolf at gmail.com Sat Aug 2 07:17:12 2008 From: hvdwolf at gmail.com (Harry van der Wolf) Date: Sat, 2 Aug 2008 16:17:12 +0200 Subject: Fwd: more woes with php 5.2.6 In-Reply-To: <8c242c590808020715n62a21ed2pbe5d968cd2220866@mail.gmail.com> References: <53EBA556-7061-468A-A02C-26AD8ECCDDDA@macports.org> <7F8FA227-064D-4107-B726-751370A07970@macports.org> <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> <7fccb3000808010544g82c573dkba25efcd115673d4@mail.gmail.com> <8c242c590808020715n62a21ed2pbe5d968cd2220866@mail.gmail.com> Message-ID: <8c242c590808020717q5b4355e4n7fcd275120931875@mail.gmail.com> Sorry, I can't get used to not directly hit reply instead of first selecting the macports-users...... mail address. ---------- Forwarded message ---------- From: Harry van der Wolf Date: 2008/8/2 Subject: Re: more woes with php 5.2.6 To: Tabitha McNerney $ port -v install php5 +macosx+apache2+mysql5+postgresql81 > > I receive this error: > > *Error*: *Requested variants do not match original selection*. > Please perform 'port clean php5' or specify the force option. > Error: Status 1 encountered during processing. > > Indeed, if I rebuild with the force option like this: > > $ port -v -f install php5 +macosx+apache2+mysql5+postgresql81 > > Then everything builds and installs to expectation, no errors. > > I was wondering why the initial attempt (without the force) gives me the > Error message? Just what is the "original selection" and why would the > variants not match? > You tried to build php5 before and it "broke" somewhere in the entire fetch, configure, build, destroot, install fases. It broke in such a way that MacPorts can't pick it up and that's why it is saying: Please perform 'port clean php5'. If you do a clean it will remove all fases (in this case: remove the mess) of the process. After the "sudo port clean ", you can do a normal, regular "port -v install php5 +macosx+apache2+mysql5+postgresql81" without the force setting. Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080802/3a1b8197/attachment.html From raimue at macports.org Sat Aug 2 12:20:09 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sat, 02 Aug 2008 21:20:09 +0200 Subject: configure.args In-Reply-To: References: Message-ID: <4894B369.8080307@macports.org> Charles Darwin wrote: > How do I insert arguments to Configure phase? In particular for bash > I want to have the following: There is no way to add arbitrary configure arguments. Usually, a variant is created if you want to use an optional feature. > ./configure --enable-bang-history --enable-brace-expansion --enable- > command-timing --enable-cond-command --enable-alias --enable-arith-for- > command --enable-extended-glob --enable-help-builtin --enable-history > --enable-job-control --enable-multibyte --enable-process-substitution > --enable-progcomp --enable-prompt-string-decoding --enable-readline -- > enable-select --enable-separate-helpfiles --enable-single-help-strings I am the maintainer of bash. These options are listed as optional in ./configure --help for bash, but some seem to be enabled by default (e.g. command timing, job control, help builtin). What are you missing from the default install? Rainer From macports.users at gmail.com Sat Aug 2 12:24:30 2008 From: macports.users at gmail.com (Charles Darwin) Date: Sat, 2 Aug 2008 15:24:30 -0400 Subject: configure.args In-Reply-To: <4894B369.8080307@macports.org> References: <4894B369.8080307@macports.org> Message-ID: <2CCB4718-EAB0-4463-887E-F8A0484F5F00@gmail.com> On 2-Aug-08, at 3:20 PM, Rainer M?ller wrote: > Charles Darwin wrote: >> How do I insert arguments to Configure phase? In particular for >> bash I want to have the following: > > There is no way to add arbitrary configure arguments. Usually, a > variant is created if you want to use an optional feature. > >> ./configure --enable-bang-history --enable-brace-expansion -- >> enable- command-timing --enable-cond-command --enable-alias -- >> enable-arith-for- command --enable-extended-glob --enable-help- >> builtin --enable-history --enable-job-control --enable-multibyte -- >> enable-process-substitution --enable-progcomp --enable-prompt- >> string-decoding --enable-readline -- enable-select --enable- >> separate-helpfiles --enable-single-help-strings > > I am the maintainer of bash. These options are listed as optional > in ./configure --help for bash, but some seem to be enabled by > default (e.g. command timing, job control, help builtin). What are > you missing from the default install? > > Rainer `help builtin' for one. These all point to the same page. $ man builtin $ man bash $ man history Is `--enable-progcomp' enabled by default too? How can I tell? [Makefile?] Charles From raimue at macports.org Sat Aug 2 12:33:44 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sat, 02 Aug 2008 21:33:44 +0200 Subject: configure.args In-Reply-To: <2CCB4718-EAB0-4463-887E-F8A0484F5F00@gmail.com> References: <4894B369.8080307@macports.org> <2CCB4718-EAB0-4463-887E-F8A0484F5F00@gmail.com> Message-ID: <4894B698.8060507@macports.org> Charles Darwin wrote: > `help builtin' for one. These all point to the same page. This is enabled by default and works for me. $ help builtin builtin: builtin [shell-builtin [arg ...]] Run a shell builtin. This is useful when you wish to rename a shell builtin to be a function, but need the functionality of the builtin within the function itself. > $ man builtin > $ man bash > $ man history > > Is `--enable-progcomp' enabled by default too? How can I tell? > [Makefile?] Yes, it is enabled by default. Run `sudo port configure bash` and have a look at the file '$(port work bash)/bash-3.2/config.h'. For example for --enable-progcomp there is '#define PROGRAMMABLE_COMPLETION 1'. The mapping from --enable-foo to FOO is done in configure.in. HTH, Rainer From macports.users at gmail.com Sat Aug 2 12:41:14 2008 From: macports.users at gmail.com (Charles Darwin) Date: Sat, 2 Aug 2008 15:41:14 -0400 Subject: configure.args In-Reply-To: <4894B698.8060507@macports.org> References: <4894B369.8080307@macports.org> <2CCB4718-EAB0-4463-887E-F8A0484F5F00@gmail.com> <4894B698.8060507@macports.org> Message-ID: <27F4DBC2-AC91-4F7E-B77D-70E80CFF75AC@gmail.com> On 2-Aug-08, at 3:33 PM, Rainer M?ller wrote: > Charles Darwin wrote: >> `help builtin' for one. These all point to the same page. > > This is enabled by default and works for me. > > $ help builtin > builtin: builtin [shell-builtin [arg ...]] > Run a shell builtin. This is useful when you wish to rename a > shell builtin to be a function, but need the functionality of the > builtin within the function itself. > >> $ man builtin >> $ man bash >> $ man history >> Is `--enable-progcomp' enabled by default too? How can I tell? >> [Makefile?] > > Yes, it is enabled by default. > > Run `sudo port configure bash` and have a look at the file > '$(port work bash)/bash-3.2/config.h'. > > For example for --enable-progcomp there is > '#define PROGRAMMABLE_COMPLETION 1'. The mapping from --enable-foo > to FOO is done in configure.in. > > HTH, Rainer > It does indeed. Thanks. Charles From tabithamc at gmail.com Sat Aug 2 16:34:08 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Sat, 2 Aug 2008 13:34:08 -1000 Subject: more woes with php 5.2.6 In-Reply-To: <48946577.4010600@macports.org> References: <7F8FA227-064D-4107-B726-751370A07970@macports.org> <617F0259-9203-4CF2-AFAE-7756B85C6FA1@macports.org> <7fccb3000808010544g82c573dkba25efcd115673d4@mail.gmail.com> <489308C4.5080200@macports.org> <7fccb3000808020451q5f7f1107nd9b7f7be61ace37d@mail.gmail.com> <48946577.4010600@macports.org> Message-ID: <7fccb3000808021634g1a2312b2n552a965b5c777ece@mail.gmail.com> On Sat, Aug 2, 2008 at 3:47 AM, Rainer M?ller wrote: > Tabitha McNerney wrote: > >> What I find interesting is that I have never used, to the best of my >> knowledge, "port configure +foo +bar", etc. I only do an initial >> "port fetch" and then I edited the php5 Portfile to make my additions and >> then I ran port install +foo +bar ... so this is a wee bit confusing unless >> even the fetch phase should be conducted *after* I've my the additions to >> the php5 Portfile? >> > > Once you realize that variants could change the files to be downloaded, it > should be clear. 'port fetch +foo' could download additional files which > would be left out otherwise. So you have to select the variants already at > the fetch phase and keep it through the other phases. Rainer, Harry, Ryan and friends, Thank you for clarifying this. I hadn't even realized that in the fetch phase one can specify variants. MacPorts is incredible flexible! This is really helpful! Thanks, T.M. > > > Rainer > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080802/6fed5fa2/attachment.html From ryandesign at macports.org Sat Aug 2 20:25:57 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 2 Aug 2008 22:25:57 -0500 Subject: py-epydoc problems remain In-Reply-To: <7fccb3000808020523h222a82c9k835a1cfe6291163e@mail.gmail.com> References: <7fccb3000808020523h222a82c9k835a1cfe6291163e@mail.gmail.com> Message-ID: <312BDB8E-8877-4B2D-A162-530769E36388@macports.org> On Aug 2, 2008, at 07:23, Tabitha McNerney wrote: > I noticed that Ticket 34730 for py-epydoc states: > > Update to version 3.0.1, closes #14316 > > > I indeed have py-epydoc version 3.0.1 on my system (Mac OS X Server > 10.5.1) with the python24 port installed and activated beforehand, > and I'm always getting this error at the tail end (from verbose > output of "port -f install py-epydoc"): > > changing mode of /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_pytho > n_py-epydoc/work/destroot/opt/local/bin/epydocgui to 755 > xinstall: chdir(/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_pytho > n_py-epydoc/work/epydoc-3.0.1) > Error: Target org.macports.destroot returned: xinstall: Cannot > stat: LICENSE.TXT, No such file or directory > Warning: the following items did not execute (for py-epydoc): > org.macports.activate org.macports.destroot org.macports.install > Error: Status 1 encountered during processing. > > Has anyone else observed this problem? I have a copy of the entire > verbose output and wouldn't midn posting it in the bugs section but > I thought I'd double check first on the mailing list to see if > there is something obvious I might be missing, before making a > bugaboo for ticket 34730. Someone fixed this for py25-epydoc but forgot to also fix it for py- epydoc. Fixed py-epydoc in r38937. Thanks for reporting the problem. From ryandesign at macports.org Sat Aug 2 22:35:02 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 3 Aug 2008 00:35:02 -0500 Subject: Dirty hack to get cairo compiled universally In-Reply-To: <8c242c590808011344k42a04efay7a8d6bae394cc99@mail.gmail.com> References: <8c242c590808011313gc09799dsd8aba623add2f59@mail.gmail.com> <8c242c590808011344k42a04efay7a8d6bae394cc99@mail.gmail.com> Message-ID: <20E105B9-C900-4764-9F8B-C25B9C3F0494@macports.org> I have not yet had a chance to evaluate your other message. But I wanted to note: On Aug 1, 2008, at 15:44, Harry van der Wolf wrote: > I made another change to the Portfile for the variant no_x11 (see > attached renewed Portfile) > > variant no_x11 conflicts glitz description {Omit X11 support} { > depends_lib-delete \ > port:xrender \ > port:render > configure.args-delete \ > --x-includes=${x11prefix}/include \ > --x-libraries=${x11prefix}/lib \ > --enable-xlib \ > --enable-xlib-xrender \ > --with-x > configure.args-append \ > --disable-xlib \ > --disable-xlib-xrender \ > --without-x \ > --enable-atsui > } > > I added "--enable-atsui" as the ATSUI font backend is primarily > used to render text on Apple OS X systems. Especially in > combination with no_x11 that one should(!) be enabled. I use "sudo > port install +no_x11 +universal" to build Gtk applications with > pango and gtk (both also with "--without-x" configure setting) > that don't need X11 but run in native Quartz. There is no option --enable-atsui anymore. There was in cairo 1.4.x, but as of cairo 1.6.0 I believe this option is now called --enable- quartz-font, and as you'll see in the "platform macosx" section, this is already added to the port. > As mentioned in one of the earlier mail threads: > I always manually compiled cairo universally with: --enable-quartz > --enable-atsui --without-x I am still trying to figure out how to compile cairo 1.6.x universally. How are you doing it? It breaks for me: http://trac.macports.org/ticket/15451 > manually compiled pango universally with: --without-x > manually compiled gtk universally with: --with-gdktarget=quartz -- > without-x > > As mentioned: This enables you to build Gtk-Quartz applications: > Very nice! Other than fixing cairo's universal build (how?), what do we need to change so that you can do this with MacPorts? From ryandesign at macports.org Sat Aug 2 22:44:28 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 3 Aug 2008 00:44:28 -0500 Subject: Dirty hack to get cairo compiled universally In-Reply-To: <8c242c590808011313gc09799dsd8aba623add2f59@mail.gmail.com> References: <8c242c590808011313gc09799dsd8aba623add2f59@mail.gmail.com> Message-ID: <46C94B50-10B6-4D46-B817-BEF3C2637EDD@macports.org> On Aug 1, 2008, at 15:13, Harry van der Wolf wrote: > To get cairo compiled in macports using the correct SDK I used an > extremely dirty hack (See attached Portfile). > The reason for this is that enabling '-isysroot $SDK_path' treats > all other includes as SDK relative path. I don't know how to get > around that, so I used a dirty hack (copied from http:// > dev.ultravelours.com/ports/enblend/) and symlinked the '/opt' > directory (default MacPorts installation prefix is the standard '/ > opt/local') from the SDK root directory (and deleted it later in > the process). You can find that in the attached portfile. > > See for the explanation at: http://lists.apple.com/archives/darwin- > dev/2006/Apr/msg00042.html It's not acceptable for me for a portfile to modify the SDK by installing a symlink into it so I'll pass on this. There are many tickets for many ports about the "all other includes treated as SDK-relative" issue. I spent hours the other night researching dozens of Google results. Seems like everyone has the problem, and either nobody solves it, or nobody posts the solution once they find it. It's very frustrating. > The only other way to get cairo compiled universally is to change > the one line in the Portfile. It's the line: > set my_cflags "${configure.cflags} -isysroot ${sysroot} $ > {my_arch_flag}" > > to > > set my_cflags "${configure.cflags} ${my_arch_flag}" > > That works too and is much simpler, but it does not give you the > possibility to choose your SDK (however when compiling i386 and > ppc, the MacOSX10.4u.sdk is always used, or isn't it) It's not acceptable to omit the sysroot either. We must tell it which SDK to use. Otherwise it won't use any SDK and will use the OS libraries. This will not work on 10.4 PPC, where the OS is PPC-only. Also, in MacPorts trunk, the user has the option to configure which SDK they want in macports.conf. We must respect that setting. From ryandesign at macports.org Sun Aug 3 00:31:13 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 3 Aug 2008 02:31:13 -0500 Subject: Dirty hack to get cairo compiled universally In-Reply-To: <8c242c590808030025k1c537d66w97a04b75af7aa294@mail.gmail.com> References: <8c242c590808011313gc09799dsd8aba623add2f59@mail.gmail.com> <46C94B50-10B6-4D46-B817-BEF3C2637EDD@macports.org> <8c242c590808030025k1c537d66w97a04b75af7aa294@mail.gmail.com> Message-ID: <75E42D70-5EE6-49CE-8CCC-EE3CBB9AC795@macports.org> On Aug 3, 2008, at 02:25, Harry van der Wolf wrote: > About the --enable-atsui option. I hadn't checked that since > enabling it in the 1.4 series, but you're right. > > I fully agree with you about not using the "dirty hack" for > MacPorts (that's also why I called it a dirty hack). I just hoped > that you as experienced developer/port maintainer whould know a > solution once I explained and showed what happened. I'm aware of the problem but can't find the solution. Though I have much experience as a port maintainer, I unfortunately have near zero experience as a developer of compiled software. > I'm currently looking into using something like -I/${sysroot}/$ > {prefix}/include for CFLAGS/CXXFLAGS and -L/${sysroot}/${prefix}/ > lib as LDFLAGS and PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:$ > {sysroot}/${prefix}/lib/pkgconfig, and apply these as extra flags. > That does not work yet, but that might be due to my limited > knowledge of creating/modifying Portfiles. I haven't seen Apple recommend that kind of setup, so I don't know if that can work. > Btw: I never see the CPPFLAGS setting being used to specify include > file paths like in CFLAGS/CXXFLAGS. I'm not sure what you mean. From hvdwolf at gmail.com Sun Aug 3 02:04:03 2008 From: hvdwolf at gmail.com (Harry van der Wolf) Date: Sun, 3 Aug 2008 11:04:03 +0200 Subject: Dirty hack to get cairo compiled universally In-Reply-To: <75E42D70-5EE6-49CE-8CCC-EE3CBB9AC795@macports.org> References: <8c242c590808011313gc09799dsd8aba623add2f59@mail.gmail.com> <46C94B50-10B6-4D46-B817-BEF3C2637EDD@macports.org> <8c242c590808030025k1c537d66w97a04b75af7aa294@mail.gmail.com> <75E42D70-5EE6-49CE-8CCC-EE3CBB9AC795@macports.org> Message-ID: <8c242c590808030204k6ae6f686s706b0a147e67aee5@mail.gmail.com> Well, I think I solved it in a clean way. See attached Portfile-rrdtool.diff file for the Portfile. It works fine on my system. Harry 2008/8/3 Ryan Schmidt > > On Aug 3, 2008, at 02:25, Harry van der Wolf wrote: > > About the --enable-atsui option. I hadn't checked that since enabling it >> in the 1.4 series, but you're right. >> >> I fully agree with you about not using the "dirty hack" for MacPorts >> (that's also why I called it a dirty hack). I just hoped that you as >> experienced developer/port maintainer whould know a solution once I >> explained and showed what happened. >> > > I'm aware of the problem but can't find the solution. Though I have much > experience as a port maintainer, I unfortunately have near zero experience > as a developer of compiled software. > > I'm currently looking into using something like >> -I/${sysroot}/${prefix}/include for CFLAGS/CXXFLAGS and >> -L/${sysroot}/${prefix}/lib as LDFLAGS and >> PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:${sysroot}/${prefix}/lib/pkgconfig, >> and apply these as extra flags. >> That does not work yet, but that might be due to my limited knowledge of >> creating/modifying Portfiles. >> > > I haven't seen Apple recommend that kind of setup, so I don't know if that > can work. > > Btw: I never see the CPPFLAGS setting being used to specify include file >> paths like in CFLAGS/CXXFLAGS. >> > > I'm not sure what you mean. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080803/732c24af/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Portfile-rrdtool.diff Type: application/octet-stream Size: 965 bytes Desc: not available Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080803/732c24af/attachment.obj From face at CentosPrime.COM Sun Aug 3 07:29:16 2008 From: face at CentosPrime.COM (Chris Janton) Date: Sun, 03 Aug 2008 07:29:16 -0700 Subject: adns 1.4 fails to build on 10.3.9 Message-ID: <549F9D80-58F9-4D11-8822-250394B52FE1@CentosPrime.COM> sudo port upgrade adns ---> Fetching adns ---> Attempting to fetch adns-1.4.tar.gz from ftp://ftp.chiark.greenend.org.uk/users/ian/adns/ ---> Verifying checksum(s) for adns ---> Extracting adns ---> Applying patches to adns ---> Configuring adns ---> Building adns 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_net_adns/work/adns-1.4" && make all " returned error 2 Command output: ar cqv libadns.a.new types.o event.o query.o reply.o general.o setup.o transmit.o parse.o poll.o check.o q - types.o q - event.o q - query.o q - reply.o q - general.o q - setup.o q - transmit.o q - parse.o q - poll.o q - check.o ranlib libadns.a.new mv -f libadns.a.new libadns.a /usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings - Wstrict-prototypes -Wcast-qual -Wpointer-arith -fPIC -I./../src -c - o types_p.o ../src/types.c /usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings - Wstrict-prototypes -Wcast-qual -Wpointer-arith -fPIC -I./../src -c - o event_p.o ../src/event.c /usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings - Wstrict-prototypes -Wcast-qual -Wpointer-arith -fPIC -I./../src -c - o query_p.o ../src/query.c /usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings - Wstrict-prototypes -Wcast-qual -Wpointer-arith -fPIC -I./../src -c - o reply_p.o ../src/reply.c /usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings - Wstrict-prototypes -Wcast-qual -Wpointer-arith -fPIC -I./../src -c - o general_p.o ../src/general.c /usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings - Wstrict-prototypes -Wcast-qual -Wpointer-arith -fPIC -I./../src -c - o setup_p.o ../src/setup.c /usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings - Wstrict-prototypes -Wcast-qual -Wpointer-arith -fPIC -I./../src -c - o transmit_p.o ../src/transmit.c /usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings - Wstrict-prototypes -Wcast-qual -Wpointer-arith -fPIC -I./../src -c - o parse_p.o ../src/parse.c /usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings - Wstrict-prototypes -Wcast-qual -Wpointer-arith -fPIC -I./../src -c - o poll_p.o ../src/poll.c /usr/bin/gcc-3.3 -O2 -Wall -Wmissing-prototypes -Wwrite-strings - Wstrict-prototypes -Wcast-qual -Wpointer-arith -fPIC -I./../src -c - o check_p.o ../src/check.c rm -f libadns.1.3.dylib /usr/bin/gcc-3.3 -L/opt/local/lib -dynamiclib -install_name /opt/ local/lib/libadns.1.dylib -o libadns.1.3.dylib -compatibility_version 1 -current_version 1.3 types_p.o event_p.o query_p.o reply_p.o general_p.o setup_p.o transmit_p.o parse_p.o poll_p.o check_p.o ld: common symbols not allowed with MH_DYLIB output format with the - multi_module option types_p.o definition of common _data (size 4) /usr/bin/libtool: internal link edit command failed make[1]: *** [libadns.1.3.dylib] Error 1 make: *** [all] Error 2 Error: Unable to upgrade port: 1 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From hvdwolf at gmail.com Sun Aug 3 08:52:09 2008 From: hvdwolf at gmail.com (Harry van der Wolf) Date: Sun, 3 Aug 2008 17:52:09 +0200 Subject: Portfile cached on repetitive builds?? Message-ID: <8c242c590808030852w1f7851ecmbe92e5cb6ba6d6e7@mail.gmail.com> I'm working on the pango Portfile to make it a real two-step Universal compilation. I modified the portfile and did a "sudo port clean pango" and even checked whether the "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/work/" had been removed (after some tries): It had deleted the work directory. However, on trying a new run it still seems to use the old version which I can see from the log. Just to make sure I already added the "configureccache no" to the macports.conf, even though it is by default "no". What is this behaviour?? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080803/a443ba33/attachment.html From untzkhan at gmail.com Sun Aug 3 14:36:42 2008 From: untzkhan at gmail.com (Unnsse Khan) Date: Sun, 3 Aug 2008 14:36:42 -0700 Subject: Problem with MacPorts on OS X Leopard Message-ID: Hello there, I am having problems installing ruby and readline using MacPorts 1.600 on OS X Leopard (10.5.4). When I run the following from the command line, this is the error I receive: sudo port install readline Password: ---> Activating readline 5.2.012_1 Error: Target org.macports.activate returned: Image error: Another version of this port (readline @5.0.005_0+darwin_8) is already active. Error: Status 1 encountered during processing. When I try to install ruby: sudo port install ruby Here's the error: ---> Activating readline 5.2.012_1 Error: Target org.macports.activate returned: Image error: Another version of this port (readline @5.0.005_0+darwin_8) is already active. Error: Status 1 encountered during processing. untz at Falcon:~$ sudo port install ruby ---> Building ruby 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_lang_ruby/work/ruby-1.8.7-p22" && make all " returned error 2 Command output: compiling etc make[1]: Nothing to be done for `all'. compiling fcntl make[1]: Nothing to be done for `all'. compiling gdbm make[1]: Nothing to be done for `all'. compiling iconv make[1]: Nothing to be done for `all'. compiling io/wait make[1]: Nothing to be done for `all'. compiling nkf cp ../.././ext/nkf/lib/kconv.rb ../../.ext/common compiling openssl cp ../.././ext/openssl/lib/openssl.rb ../../.ext/common compiling pty make[1]: Nothing to be done for `all'. compiling racc/cparse make[1]: Nothing to be done for `all'. compiling readline /usr/bin/gcc-4.0 -I. -I../.. -I../../. -I../.././ext/readline - DHAVE_READLINE_READLINE_H -DHAVE_READLINE_HISTORY_H - DHAVE_RL_DEPREP_TERM_FUNCTION -DHAVE_RL_COMPLETION_APPEND_CHARACTER - DHAVE_RL_BASIC_WORD_BREAK_CHARACTERS - DHAVE_RL_COMPLETER_WORD_BREAK_CHARACTERS - DHAVE_RL_BASIC_QUOTE_CHARACTERS -DHAVE_RL_COMPLETER_QUOTE_CHARACTERS - DHAVE_RL_FILENAME_QUOTE_CHARACTERS -DHAVE_RL_ATTEMPTED_COMPLETION_OVER -DHAVE_RL_LIBRARY_VERSION -DHAVE_RL_EVENT_HOOK - DHAVE_RL_CLEANUP_AFTER_SIGNAL -DHAVE_REPLACE_HISTORY_ENTRY - DHAVE_REMOVE_HISTORY -I/opt/local/include -D_XOPEN_SOURCE - D_DARWIN_C_SOURCE -I/opt/local/include -fno-common -O2 -fno-common - pipe -fno-common -c readline.c readline.c: In function 'filename_completion_proc_call': readline.c:703: error: 'filename_completion_function' undeclared (first use in this function) readline.c:703: error: (Each undeclared identifier is reported only once readline.c:703: error: for each function it appears in.) readline.c:703: warning: assignment makes pointer from integer without a cast readline.c: In function 'username_completion_proc_call': readline.c:730: error: 'username_completion_function' undeclared (first use in this function) readline.c:730: warning: assignment makes pointer from integer without a cast make[1]: *** [readline.o] Error 1 make: *** [all] Error 1 Error: Status 1 encountered during processing. Does anyone know what is possibly wrong with MacPorts? Happy programming, Unnsse From raimue at macports.org Sun Aug 3 15:18:56 2008 From: raimue at macports.org (=?UTF-8?B?UmFpbmVyIE3DvGxsZXI=?=) Date: Mon, 04 Aug 2008 00:18:56 +0200 Subject: Portfile cached on repetitive builds?? In-Reply-To: <8c242c590808030852w1f7851ecmbe92e5cb6ba6d6e7@mail.gmail.com> References: <8c242c590808030852w1f7851ecmbe92e5cb6ba6d6e7@mail.gmail.com> Message-ID: <48962ED0.7060105@macports.org> Harry van der Wolf wrote: > I'm working on the pango Portfile to make it a real two-step Universal > compilation. I modified the portfile and did a "sudo port clean pango" > and even checked whether the > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/work/" > had been removed (after some tries): It had deleted the work directory. > > However, on trying a new run it still seems to use the old version which > I can see from the log. Do you have a local ports tree which is used? Other than that I can't think how it could still use an older Portfile. Did you try port -d? Look for the porturl it is using. > Just to make sure I already added the "configureccache no" to the > macports.conf, even though it is by default "no". I doubt ccache has anything to do with this. It merely acts as a cache for the compiler and has nothing to do with Portfiles. Rainer From 0x62_0x6c_0x62 at pobox.com Sun Aug 3 15:19:14 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Sun, 3 Aug 2008 16:19:14 -0600 Subject: Portfile cached on repetitive builds?? In-Reply-To: <8c242c590808030852w1f7851ecmbe92e5cb6ba6d6e7@mail.gmail.com> References: <8c242c590808030852w1f7851ecmbe92e5cb6ba6d6e7@mail.gmail.com> Message-ID: <8EEB8C15-1BC8-428A-B603-55B912C2EF5D@pobox.com> On Aug 3, 2008, at 9:52 AM, Harry van der Wolf wrote: > I'm working on the pango Portfile to make it a real two-step > Universal compilation. I modified the portfile and did a "sudo port > clean pango" and even checked whether the "/opt/local/var/macports/ > build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_x11_pango/work/" had been removed > (after some tries): It had deleted the work directory. > How did you update the Portfile, using 'port edit' or something else? Bryan > However, on trying a new run it still seems to use the old version > which I can see from the log. > > Just to make sure I already added the "configureccache no" to the > macports.conf, even though it is by default "no". > > What is this behaviour?? From 0x62_0x6c_0x62 at pobox.com Sun Aug 3 15:22:06 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Sun, 3 Aug 2008 16:22:06 -0600 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: References: Message-ID: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> On Aug 3, 2008, at 3:36 PM, Unnsse Khan wrote: > Hello there, > > I am having problems installing ruby and readline using MacPorts 1.600 > on OS X Leopard (10.5.4). > > When I run the following from the command line, this is the error I > receive: > > sudo port install readline > Password: > ---> Activating readline 5.2.012_1 > Error: Target org.macports.activate returned: Image error: Another > version of this port (readline @5.0.005_0+darwin_8) is already active. > Error: Status 1 encountered during processing. > You have a MacPorts installation that was made during 10.4 then you upgraded your system to 10.5, and this configuration is not supported. Safest is just to move /opt/local aside (so you can keep config stuff around) then do a new install of MacPorts. Also, make sure your Xcode install is updated for 10.5. Bryan ... > > Does anyone know what is possibly wrong with MacPorts? > > Happy programming, > > Unnsse From untzkhan at gmail.com Sun Aug 3 15:31:41 2008 From: untzkhan at gmail.com (Unnsse Khan) Date: Sun, 3 Aug 2008 15:31:41 -0700 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> Message-ID: Hi Bryan, Thanks for the response! Question(s): (1) How do I move the /opt/local aside (do you mean move into a separate tmp dir)? (2) In addition, how would you suggest I install the new version of MacPorts (from source or dmg)? (3) How do I move / merge the config stuff back (from tmp, if my assumption for line item # 1 is correct)? Happy programming, Unnsse On Aug 3, 2008, at 3:22 PM, Bryan Blackburn wrote: > On Aug 3, 2008, at 3:36 PM, Unnsse Khan wrote: > >> Hello there, >> >> I am having problems installing ruby and readline using MacPorts >> 1.600 >> on OS X Leopard (10.5.4). >> >> When I run the following from the command line, this is the error I >> receive: >> >> sudo port install readline >> Password: >> ---> Activating readline 5.2.012_1 >> Error: Target org.macports.activate returned: Image error: Another >> version of this port (readline @5.0.005_0+darwin_8) is already >> active. >> Error: Status 1 encountered during processing. >> > > You have a MacPorts installation that was made during 10.4 then you > upgraded your system to 10.5, and this configuration is not > supported. Safest is just to move /opt/local aside (so you can keep > config stuff around) then do a new install of MacPorts. Also, make > sure your Xcode install is updated for 10.5. > > Bryan > > > ... >> >> Does anyone know what is possibly wrong with MacPorts? >> >> Happy programming, >> >> Unnsse > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From 0x62_0x6c_0x62 at pobox.com Sun Aug 3 15:48:07 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Sun, 3 Aug 2008 16:48:07 -0600 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> Message-ID: On Aug 3, 2008, at 4:31 PM, Unnsse Khan wrote: > Hi Bryan, > > Thanks for the response! > > Question(s): > > (1) How do I move the /opt/local aside (do you mean move into a > separate tmp dir)? > What I did was simply moved /opt/local to /opt/local.10.4 (/tmp is cleaned on reboot, hence not safe) so it is still there and obvious what's going on. > (2) In addition, how would you suggest I install the new version of > MacPorts (from source or dmg)? > Depends on your needs and whatnot, most still install from the DMG but many things have been fixed since the last release, if you're talking about running from trunk instead of 1.6.0. If you just mean building 1.6.0 vs. 1.6.0 DMG, shouldn't be any difference. > (3) How do I move / merge the config stuff back (from tmp, if my > assumption for line item # 1 is correct)? > Most config stuff should be in /opt/local/etc (or /opt/local.10.4 after move) so you'll want to review what's there for items needed for the new install. You can also look in /opt/local/var/macports/ receipts to see what ports you have installed for reference when doing the new install. Or, before moving things aside, use 'port installed' and keep the output someplace. If you have a database (mysql*, postgresql*, etc) you may have to export from it prior to the upgrade, especially if you will be installing a newer version of the DB when doing the MacPorts reinstall. Bryan > Happy programming, > > Unnsse > > On Aug 3, 2008, at 3:22 PM, Bryan Blackburn wrote: > >> On Aug 3, 2008, at 3:36 PM, Unnsse Khan wrote: >> >>> Hello there, >>> >>> I am having problems installing ruby and readline using MacPorts >>> 1.600 >>> on OS X Leopard (10.5.4). >>> >>> When I run the following from the command line, this is the error I >>> receive: >>> >>> sudo port install readline >>> Password: >>> ---> Activating readline 5.2.012_1 >>> Error: Target org.macports.activate returned: Image error: Another >>> version of this port (readline @5.0.005_0+darwin_8) is already >>> active. >>> Error: Status 1 encountered during processing. >>> >> >> You have a MacPorts installation that was made during 10.4 then you >> upgraded your system to 10.5, and this configuration is not >> supported. Safest is just to move /opt/local aside (so you can keep >> config stuff around) then do a new install of MacPorts. Also, make >> sure your Xcode install is updated for 10.5. >> >> Bryan >> >> >> ... >>> >>> Does anyone know what is possibly wrong with MacPorts? >>> >>> Happy programming, >>> >>> Unnsse >> From mark at dxradio.demon.co.uk Sun Aug 3 16:35:56 2008 From: mark at dxradio.demon.co.uk (Mark Hattam) Date: Mon, 4 Aug 2008 00:35:56 +0100 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> Message-ID: At 16:48 -0600 3/8/08, Bryan Blackburn wrote: >On Aug 3, 2008, at 4:31 PM, Unnsse Khan wrote: > > (2) In addition, how would you suggest I install the new version of >> MacPorts (from source or dmg)? >> > >Depends on your needs and whatnot, most still install from the DMG but >many things have been fixed since the last release, if you're talking >about running from trunk instead of 1.6.0. If you just mean building >1.6.0 vs. 1.6.0 DMG, shouldn't be any difference. So why doesn't MacPorts self-update itself with these "many" bug fixes when you do sudo port -v selfupdate or are these bug fixes not proven? Mark From raimue at macports.org Sun Aug 3 16:43:33 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 04 Aug 2008 01:43:33 +0200 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> Message-ID: <489642A5.3050806@macports.org> Mark Hattam wrote: > So why doesn't MacPorts self-update itself with these "many" bug > fixes when you do > > sudo port -v selfupdate > > or are these bug fixes not proven? 1.6.0 is the latest release, trunk is the unreleased development version. Rainer From untzkhan at gmail.com Sun Aug 3 17:16:06 2008 From: untzkhan at gmail.com (Unnsse Khan) Date: Sun, 3 Aug 2008 17:16:06 -0700 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: <489642A5.3050806@macports.org> References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> <489642A5.3050806@macports.org> Message-ID: <6807C2E2-A65F-449B-A06B-6F65495B4630@gmail.com> When I tried issuing "sudo port -v selfupdate" from the command line, it stated that I already had the most up to date version... Mr. Blackburn's suggestion worked like a charm (and I didn't have to replace the config files from local10.4 back up dir). readline and ruby are now installed correctly as a result of the fixed Mac Ports binary but when I tried installing subversion: sudo install subversion I received this error message: ---> 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: The following dependencies failed to build: apr-util sqlite3 cyrus-sasl2 neon serf Error: Status 1 encountered during processing. Thanks again, -Unnsse On Aug 3, 2008, at 4:43 PM, Rainer M?ller wrote: > Mark Hattam wrote: >> So why doesn't MacPorts self-update itself with these "many" bug >> fixes when you do >> >> sudo port -v selfupdate >> >> or are these bug fixes not proven? > > 1.6.0 is the latest release, trunk is the unreleased development > version. > > Rainer > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From raimue at macports.org Sun Aug 3 17:23:17 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 04 Aug 2008 02:23:17 +0200 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: <6807C2E2-A65F-449B-A06B-6F65495B4630@gmail.com> References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> <489642A5.3050806@macports.org> <6807C2E2-A65F-449B-A06B-6F65495B4630@gmail.com> Message-ID: <48964BF5.3010807@macports.org> Unnsse Khan wrote: > sudo install subversion > > I received this error message: > > ---> 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: The following dependencies failed to build: apr-util sqlite3 > cyrus-sasl2 neon serf > Error: Status 1 encountered during processing. This is a bug in Tcl on Leopard. See Workaround in this case: sudo port clean --work sqlite3 sudo port install subversion Rainer From 0x62_0x6c_0x62 at pobox.com Sun Aug 3 17:26:54 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Sun, 3 Aug 2008 18:26:54 -0600 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: <6807C2E2-A65F-449B-A06B-6F65495B4630@gmail.com> References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> <489642A5.3050806@macports.org> <6807C2E2-A65F-449B-A06B-6F65495B4630@gmail.com> Message-ID: <172391FC-BBE7-46AE-8F92-92FE681280B3@pobox.com> On Aug 3, 2008, at 6:16 PM, Unnsse Khan wrote: ... > > sudo install subversion > > I received this error message: > > ---> 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 ... > /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 > Welcome to 10.5, where the tclsh is buggy...that is a known issue: If you run 'sudo port clean --work sqlite3' then run your original port command again, it should finish (or at least get further). Bryan > Error: The following dependencies failed to build: apr-util sqlite3 > cyrus-sasl2 neon serf > Error: Status 1 encountered during processing. > > Thanks again, > > -Unnsse > From untzkhan at gmail.com Sun Aug 3 18:13:36 2008 From: untzkhan at gmail.com (Unnsse Khan) Date: Sun, 3 Aug 2008 18:13:36 -0700 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: <48964BF5.3010807@macports.org> References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> <489642A5.3050806@macports.org> <6807C2E2-A65F-449B-A06B-6F65495B4630@gmail.com> <48964BF5.3010807@macports.org> Message-ID: Yes, that worked... Thank you On Aug 3, 2008, at 5:23 PM, Rainer M?ller wrote: > Unnsse Khan wrote: >> sudo install subversion >> I received this error message: >> ---> 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: The following dependencies failed to build: apr-util >> sqlite3 cyrus-sasl2 neon serf >> Error: Status 1 encountered during processing. > > This is a bug in Tcl on Leopard. > See > > > Workaround in this case: > sudo port clean --work sqlite3 > sudo port install subversion > > Rainer From ryandesign at macports.org Sun Aug 3 19:35:57 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 3 Aug 2008 21:35:57 -0500 Subject: Portfile cached on repetitive builds?? In-Reply-To: <8c242c590808030852w1f7851ecmbe92e5cb6ba6d6e7@mail.gmail.com> References: <8c242c590808030852w1f7851ecmbe92e5cb6ba6d6e7@mail.gmail.com> Message-ID: <172ED80D-2BDB-4AE5-A81F-F3C942DC5707@macports.org> On Aug 3, 2008, at 10:52, Harry van der Wolf wrote: > I'm working on the pango Portfile to make it a real two-step > Universal compilation. What is the matter with pango +universal the way it works now? From ryandesign at macports.org Sun Aug 3 19:42:45 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 3 Aug 2008 21:42:45 -0500 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> Message-ID: <4C7752A7-F9C1-4DC0-88FD-6C99DF99DB30@macports.org> On Aug 3, 2008, at 18:35, Mark Hattam wrote: > At 16:48 -0600 3/8/08, Bryan Blackburn wrote: >> On Aug 3, 2008, at 4:31 PM, Unnsse Khan wrote: >>> (2) In addition, how would you suggest I install the new version of >>> MacPorts (from source or dmg)? >> >> Depends on your needs and whatnot, most still install from the DMG >> but >> many things have been fixed since the last release, if you're talking >> about running from trunk instead of 1.6.0. If you just mean building >> 1.6.0 vs. 1.6.0 DMG, shouldn't be any difference. > > So why doesn't MacPorts self-update itself with these "many" bug > fixes when you do > > sudo port -v selfupdate > > or are these bug fixes not proven? We do not have anyone managing MacPorts releases at this time, hence no new release of MacPorts has been made since 1.6.0, which was awhile ago (December 2007), so understandably many fixes have been made in trunk in that time. If you would like to try the latest development version of MacPorts, you can do so using these instructions: http://trac.macports.org/wiki/howto/RunningTrunk From grahamperks at mac.com Sun Aug 3 20:08:03 2008 From: grahamperks at mac.com (Graham Perks) Date: Sun, 3 Aug 2008 22:08:03 -0500 Subject: sqlite3 error Message-ID: I'm trying to install the "git-core" port with the svn variant to include the git-svn command. It depends on sqlite3, and it's sqlite3 that's giving compile errors. The compile errors can be seen at: http://paste.lisp.org/display/64656 OS X 10.5.4, Intel, Xcode 3.1. Nothing at /sw. Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080803/d11ce630/attachment.html From jmr at macports.org Sun Aug 3 20:20:51 2008 From: jmr at macports.org (Joshua Root) Date: Mon, 04 Aug 2008 13:20:51 +1000 Subject: sqlite3 error In-Reply-To: References: Message-ID: <48967593.1030103@macports.org> Graham Perks wrote: > I'm trying to install the "git-core" port with the svn variant to > include the git-svn command. It depends on sqlite3, and it's sqlite3 > that's giving compile errors. The compile errors can be seen at: http://paste.lisp.org/display/64656 > > OS X 10.5.4, Intel, Xcode 3.1. > > Nothing at /sw. > > Any ideas? See this ticket: Short version is it's another manifestation of a really annoying bug in Leopard's Tcl: and cleaning sqlite3 and trying again should make it work. - Josh From grahamperks at mac.com Sun Aug 3 20:50:18 2008 From: grahamperks at mac.com (Graham Perks) Date: Sun, 3 Aug 2008 22:50:18 -0500 Subject: sqlite3 error In-Reply-To: <48967593.1030103@macports.org> References: <48967593.1030103@macports.org> Message-ID: <427593D0-5313-428F-92FA-2886830CA4F4@mac.com> Thanks Joshua, cleaning sqlite3 worked. It's well past sqlite3 now; building subversion. Graham. On Aug 3, 2008, at 10:20 PM, Joshua Root wrote: > Graham Perks wrote: >> I'm trying to install the "git-core" port with the svn variant to >> include the git-svn command. It depends on sqlite3, and it's >> sqlite3 that's giving compile errors. The compile errors can be >> seen at: http://paste.lisp.org/display/64656 >> OS X 10.5.4, Intel, Xcode 3.1. >> Nothing at /sw. >> Any ideas? > > See this ticket: > > Short version is it's another manifestation of a really annoying bug > in Leopard's Tcl: > and cleaning sqlite3 and trying again should make it work. > > - Josh From hvdwolf at gmail.com Mon Aug 4 01:31:01 2008 From: hvdwolf at gmail.com (Harry van der Wolf) Date: Mon, 4 Aug 2008 10:31:01 +0200 Subject: Portfile cached on repetitive builds?? In-Reply-To: <172ED80D-2BDB-4AE5-A81F-F3C942DC5707@macports.org> References: <8c242c590808030852w1f7851ecmbe92e5cb6ba6d6e7@mail.gmail.com> <172ED80D-2BDB-4AE5-A81F-F3C942DC5707@macports.org> Message-ID: <8c242c590808040131w6267ba9agdd7ef302557e449f@mail.gmail.com> @Rainer and @Brian: Sorry for having waisted your precious time. I modified the Portfile. After (trying) to build I found that I had done something wrong and changed that on two places where I should have changed it on three places. It was all my error. Thanks for your suggestions anyway as I've again learned something. "port -d" is nice, did know that one, but not to use it interactively. (-v doesn't give you as much detail as -d does). didn't know "port edit" either. I always edit with vi and I just added the environment setting EDITOR=vi as it again saves some typing. 2008/8/4 Ryan Schmidt > > On Aug 3, 2008, at 10:52, Harry van der Wolf wrote: > > I'm working on the pango Portfile to make it a real two-step Universal >> compilation. >> > > What is the matter with pango +universal the way it works now? > > Pango is "ENDIAN" dependent and was built incorrectly within MacPorts (just as Gtk). Maybe it is now builing correctly as a universal librarary now that glib2 has been (apparently) solved. I decided to make it a two way ppc and i386 build and merge it with lipo to universal (like cairo is done). A universal build that is directly using "-arch ppc -arch i386" in one step is always using (AFAIK) the endianness of the build platform. A two-way step is (most of the time) doing that correct (especially now that glib2 is apparently fixed which was also a big problem). The plan was to build pango with "standard" Macports, use that in the avidemux application bundle. Then compile it again using my "two-step" compilation Portfile and make a second application bundle and let "my" ppc users test. If you are sure that pango is built correctly (e.g. little_endian for intel and big_endian for ppc), I will drop my attempts immediately. Pango was just on my way to test gtk for correct universal build (w.r.t. endianness) Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080804/f744fe41/attachment.html From dluke at geeklair.net Mon Aug 4 06:29:04 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Mon, 4 Aug 2008 09:29:04 -0400 Subject: Removing confusion around apr / apr-util and mod_python / mod_python25 (method to the madness?) In-Reply-To: <7fccb3000808020601t7205a3car592f6f62fb9fdca1@mail.gmail.com> References: <7fccb3000808020601t7205a3car592f6f62fb9fdca1@mail.gmail.com> Message-ID: On Aug 2, 2008, at 9:01 AM, Tabitha McNerney wrote: > I noticed that quite recently Ticket #15791 was closed, regarding > mod_python 3.3.1 experiencing build failure - compilation errors. yes, it looks like a patch was included to fix the mod_python problem. > On my Xserve running Mac OS X Server 10.5.1, I have only apr and apr- > util versions 1.2.12 but I noticed the maintainer (D. Luke) has > upgraded to versions 1.3.2 ... Macports tries to track the most recent stable releases from upstream, so I try to update the ports I maintain whenever there is a new stable release. > is there any reason why I can't stick with 1.2.12 for both apr and > apr-util, and then try to use the update to mod_python (apparently > per commit 38757) for this fix? I don't understand why you would want to use both the workaround (downgrading apr/apr-util) and the fixed mod_python which should work. Only you can determine what course of action is most appropriate for the systems you are running. > Also, I have a similar error with mod_python25. The mod_python25 fix > seems rather difficult to follow also in the bugs tracking system > because we have a page that points to: > > Ticket #13930 > > as well as Ticket #14840 which is now a duplicate of 13930 Those look like the environment variable bug (fixed in trunk - we really should make a new release if only for that fix). > and the very recently re-opened Ticket #16153 (which is more > specific to a conflict beween mod_python25 and apr 1.3.2 but am not > sure about apr 1.2.12). It looks like that ticket was re-opened for another reason (it installs a file that conflicts with mod_python). -- 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/20080804/9b400e94/attachment.bin From ryandesign at macports.org Mon Aug 4 07:07:36 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 4 Aug 2008 09:07:36 -0500 Subject: Portfile cached on repetitive builds?? In-Reply-To: <8c242c590808040131w6267ba9agdd7ef302557e449f@mail.gmail.com> References: <8c242c590808030852w1f7851ecmbe92e5cb6ba6d6e7@mail.gmail.com> <172ED80D-2BDB-4AE5-A81F-F3C942DC5707@macports.org> <8c242c590808040131w6267ba9agdd7ef302557e449f@mail.gmail.com> Message-ID: On Aug 4, 2008, at 03:31, Harry van der Wolf wrote: > Ryan Schmidt wrote: > >> On Aug 3, 2008, at 10:52, Harry van der Wolf wrote: >> >>> I'm working on the pango Portfile to make it a real two-step >>> Universal compilation. >> >> What is the matter with pango +universal the way it works now? > > Pango is "ENDIAN" dependent and was built incorrectly within > MacPorts (just as Gtk). How do you know pango was built incorrectly? What was the symptom? For gtk2, I recall the symptom was that gtk2 would not build at all on PowerPC Macs when glib2 2.16.4_0 or glib2-devel 2.17.3_0 was installed in its broken universal state. http://trac.macports.org/ticket/15816 > Maybe it is now builing correctly as a universal librarary now that > glib2 has been (apparently) solved. Yes, please make sure you are testing pango and gtk2 built against glib2 2.16.4_1 or later (or glib2-devel 2.17.3_1 or later). I hope the glib2 problem is not merely apparently solved but definitely solved. You can look at the changes that were made here and evaluate whether you believe they should fix the problem completely or not. http://trac.macports.org/changeset/38288 > I decided to make it a two way ppc and i386 build and merge it with > lipo to universal (like cairo is done). At this time, I believe only openssl and cairo use this technique, because they require it. But the vast majority of software should support the "normal" all-at-once universal build that MacPorts implements by default. Not sure what the story is with openssl. With cairo, it uses autoconf to detect endianness, and this did not work properly for an all-at-once universal build, as discussed in this thread: http://lists.cairographics.org/archives/cairo/2007-February/009523.html The developers of cairo elected not to make any changes to their source code in response to this, so a multi-step universal build was the only option. But see below regarding autoconf 2.62. MacPorts trunk has a "merge" procedure which should make multi-step universal builds easier. We cannot use that yet in released ports because MacPorts 1.7.0 has not yet been released, but you could use it for your testing if you want. > A universal build that is directly using "-arch ppc -arch i386" in > one step is always using (AFAIK) the endianness of the build platform. I cannot substantiate that claim. Software that checks endianness at configure time could have problems, yes; software developers are advised to check endianness at compile time instead. That's what the patch to glib2 fixed. But even for software that checks endianness at configure time (and I'm not sure if that applies to pango), I have been told (by the developers of libtiff) that autoconf 2.62 includes fixes for its endian detection that support all-at-once universal builds. It's possible pango and other software has already known how to deal with this even before autoconf 2.62. And if not (like cairo), it's possible that an autoreconf with autoconf 2.62 (which is already available in MacPorts) will fix the problem. However I may not use this for cairo even if it does work; see below regarding --enable- quartz-font. > A two-way step is (most of the time) doing that correct > (especially now that glib2 is apparently fixed which was also a big > problem). Yes, but multi-step builds take more time to do and I believe the end product may take more disk space. (Note that it's not always necessarily two steps; the user could set ${universal_archs} to up to four architectures.) There is one benefit to multi-step universal builds however: you can use different options for different architectures. This will be necessary in cairo, as the --enable-quartz-font option cannot be used on 64-bit architectures: http://trac.macports.org/ticket/16007 > The plan was to build pango with "standard" Macports, use that in > the avidemux application bundle. Then compile it again using my > "two-step" compilation Portfile and make a second application > bundle and let "my" ppc users test. It would certainly be good to get some real feedback on whether it works or not. If a standard MacPorts universal build of pango does not work, then please try running autoreconf with autoconf 2.62 first and see if that helps. > If you are sure that pango is built correctly (e.g. little_endian > for intel and big_endian for ppc), I will drop my attempts > immediately. Pango was just on my way to test gtk for correct > universal build (w.r.t. endianness) I'm not sure pango builds correctly universal, particularly because my cairo is not universal yet and pango depends on cairo. But with the tips I've gotten from you and others in the several open tickets relating to cairo universal builds (#15451, #15570, #16007, possibly #13971) I am fixing the cairo universal build so I will then be able to at least try to build pango universal. I do have both a PowerPC and an Intel Mac in this house so my ultimate goal is to build graphviz universal on each machine and then run it from the other to make sure it works. Of course this may not test all functions of pango or the other libraries. From ryandesign at macports.org Mon Aug 4 07:17:04 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 4 Aug 2008 09:17:04 -0500 Subject: Leopard environment variable bug In-Reply-To: References: <7fccb3000808020601t7205a3car592f6f62fb9fdca1@mail.gmail.com> Message-ID: <48AB8DE4-7C51-44FE-AC28-656AA8609D57@macports.org> On Aug 4, 2008, at 08:29, Daniel J. Luke wrote: > Those look like the environment variable bug (fixed in trunk - we > really should make a new release if only for that fix). I have experienced the Leopard environment variable bug several times even with trunk. I believe that it's better in trunk, but I don't believe it's 100% fixed. From raimue at macports.org Mon Aug 4 11:21:07 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 04 Aug 2008 20:21:07 +0200 Subject: [MacPorts] #16195: Trouble installing texlive In-Reply-To: <489712EF.1090708@bbri.org> References: <489712EF.1090708@bbri.org> Message-ID: <48974893.1090108@macports.org> Walter Stafford wrote: > Here's what I get ... another error ... now what should I do? > > $ sudo port clean texlive_base > Password: > ---> Cleaning texlive_base > $ sudo port install texlive > ---> Fetching texlive_base > ---> Verifying checksum(s) for texlive_base > ---> Extracting texlive_base > ---> Applying patches to texlive_base > ---> Configuring texlive_base > ---> Building texlive_base with target all > > [...snip...] > > mkdir .libs > /usr/bin/gcc-4.0 -o xdvi-xaw.bin browser.o dvi-draw.o dvi-init.o > dvisel.o encodings.o events.o filehist.o font-open.o gf.o hypertex.o > image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o > print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o > search-internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o > xserver-info.o x_util.o 1 -L/opt/local/lib ./gui/libgui.a > ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a > -L/usr/lib/ruby -L/usr/X11/lib -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext > -lXpm -lX11 -lXau -lXdmcp -liconv ../kpathsea/.libs/libkpathsea.a -lm > i686-apple-darwin9-gcc-4.0.1: 1: No such file or directory > make[2]: *** [xdvi-xaw.bin] Error 1 > make[1]: *** [all] Error 1 > make: *** [all] Error 1 Looks like you did not install Xcode on Leopard yet. You can't use your old Xcode from Tiger, you need at least Xcode 3.0 (Xcode 3.1 is also available as download from Apple). Rainer From raimue at macports.org Mon Aug 4 11:28:08 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 04 Aug 2008 20:28:08 +0200 Subject: Leopard environment variable bug In-Reply-To: <48AB8DE4-7C51-44FE-AC28-656AA8609D57@macports.org> References: <7fccb3000808020601t7205a3car592f6f62fb9fdca1@mail.gmail.com> <48AB8DE4-7C51-44FE-AC28-656AA8609D57@macports.org> Message-ID: <48974A38.7040907@macports.org> Ryan Schmidt wrote: > I have experienced the Leopard environment variable bug several times > even with trunk. I believe that it's better in trunk, but I don't > believe it's 100% fixed. Yes, there are still some cases which are not solved with the current workaround. See Rainer From kuepper.jochen at googlemail.com Mon Aug 4 02:36:11 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Mon, 4 Aug 2008 11:36:11 +0200 Subject: molden for mac - help please In-Reply-To: References: Message-ID: Hi, thank for your messages. I am glad you got it working. > One thing still strange: I still got a checksum inconsistency > problem, that is, checksums are different between the portfile and > the distfile fetched from the official molden website. I got around > this problem by editing the checksum codes in the portfile. This is due to a stealth maintainer upgrade of molden (sadly this is quite common for molden). If you encounter this problem again, please report it at trac.macports.org. I have now updated the Portfile for the latest molden version and it should work out of the box. However, I did nothing else than updating the checksums and bumping the revision, so there is no need for you to upgrade right now. Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert?, ?galit?, Fraternit? GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll From ryandesign at macports.org Mon Aug 4 14:32:29 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 4 Aug 2008 16:32:29 -0500 Subject: [MacPorts] #16195: Trouble installing texlive In-Reply-To: <48974893.1090108@macports.org> References: <489712EF.1090708@bbri.org> <48974893.1090108@macports.org> Message-ID: <30F6E0E5-07DC-4237-A08F-B5F731EC6C23@macports.org> On Aug 4, 2008, at 13:21, Rainer M?ller wrote: >> /usr/bin/gcc-4.0 -o xdvi-xaw.bin browser.o dvi-draw.o dvi-init.o >> dvisel.o encodings.o events.o filehist.o font-open.o gf.o hypertex.o >> image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o >> print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o >> search-internal.o special.o string-utils.o tfmload.o util.o vf.o >> xdvi.o >> xserver-info.o x_util.o 1 -L/opt/local/lib ./gui/libgui.a >> ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a >> -L/usr/lib/ruby -L/usr/X11/lib -lXaw -lXmu -lXt -lSM -lICE -lXp - >> lXext >> -lXpm -lX11 -lXau -lXdmcp -liconv ../kpathsea/.libs/libkpathsea.a -lm >> i686-apple-darwin9-gcc-4.0.1: 1: No such file or directory >> make[2]: *** [xdvi-xaw.bin] Error 1 >> make[1]: *** [all] Error 1 >> make: *** [all] Error 1 > > Looks like you did not install Xcode on Leopard yet. You can't use > your > old Xcode from Tiger, you need at least Xcode 3.0 (Xcode 3.1 is also > available as download from Apple). Nonono: it's not "i686-apple-darwin9-gcc-4.0.1" it can't find; it's "1" it can't find. So it looks like this error: http://trac.macports.org/wiki/ ProblemHotlist#a3.Aportfailedtobuildwithamessagereferringto1lib:Nosuchfi leordirectory From kw at codebykevin.com Mon Aug 4 16:10:44 2008 From: kw at codebykevin.com (Kevin Walzer) Date: Mon, 04 Aug 2008 19:10:44 -0400 Subject: PortAuthority 2.6 released Message-ID: <48978C74.9060407@codebykevin.com> PortAuthority 2.6, my GUI for MacPorts, is now out. PortAuthority provides a graphical user interface for the MacPorts package management system for Mac OS X. MacPorts is a powerful command-line tool for installing and updating a variety of Unix-based applications for the Mac. Its power, though, comes at the cost of some complexity; in the past the only way to utilize MacPorts was to type in various commands into the Mac's Terminal application, which can be intimidating for those users without a Unix background. PortAuthority aims to bring the power of MacPorts to the traditional Mac user by providing a user-friendly graphical interface to MacPorts. Using a familiar combination of windows, icons, and menus, PortAuthority users can search, install, update, and remove MacPorts programs and the MacPorts infrastructure itself. Among the features and improvements in this release: * Faster display of all MacPorts packages: only queries MacPorts database on startup and when package is installed or removed, not when "All" is selected from tree view. * Growl support: Now displays Growl notifications on systems with Growl installed. * Adds standard Mac "window" menu to better fit with system interface guidelines. * Preferences now update immediately on window close; no need to hit "save" button. Better compliance with system interface guidelines. * No longer connects to server on every startup to check for new version; user controls this process. * New "license" menu item displays user's serial number. * User help now online; eliminates use of OS X help viewer. PortAuthority is shareware; a license costs $24.95 and a 30-day demo is available. Mac OS X 10.4 is the minimum supported OS. PortAuthority is a universal binary. For more information about PortAuthority, including download links, see http://www.codebykevin.com/portauthority.html. -- Kevin Walzer Code by Kevin http://www.codebykevin.com From ryandesign at macports.org Mon Aug 4 17:21:42 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 4 Aug 2008 19:21:42 -0500 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> <4C7752A7-F9C1-4DC0-88FD-6C99DF99DB30@macports.org> Message-ID: <803CC08A-8128-4505-8B8B-0BD66502FC8F@macports.org> On Aug 4, 2008, at 18:02, Mark Hattam wrote: > Ryan Schmidt wrote: > >> We do not have anyone managing MacPorts releases at this time, >> hence no new release of MacPorts has been made since 1.6.0, which >> was awhile ago (December 2007), so understandably many fixes have >> been made in trunk in that time. If you would like to try the >> latest development version of MacPorts, you can do so using these >> instructions: >> >> http://trac.macports.org/wiki/howto/RunningTrunk > > I understand it as far as the section about .profile > > When I run up Terminal and do a ls -la I see (apart from the > obvious directories) > > drwxr-xr-x 26 markhatt markhatt 884 Aug 4 23:49 . > drwxrwxr-t 7 root admin 238 Nov 11 2005 .. > -rw-r--r-- 1 markhatt markhatt 3 Nov 11 > 2005 .CFUserTextEncoding > -rw-r--r-- 1 markhatt markhatt 15364 Jul 31 00:16 .DS_Store > drwx------ 2 markhatt markhatt 68 Aug 4 23:39 .Trash > -rw------- 1 markhatt markhatt 0 May 31 09:17 .Xauthority > -rw------- 1 markhatt markhatt 15879 Aug 4 23:52 .bash_history > -rw-r--r-- 1 markhatt markhatt 176 Aug 4 23:49 .bash_profile > drwxr-xr-x 4 markhatt markhatt 136 Nov 14 2005 .jIRC > drwxr-xr-x 2 root markhatt 68 May 8 2007 .macports > -rw------- 1 markhatt markhatt 264 Aug 1 10:53 .mysql_history > drwx------ 6 markhatt markhatt 204 Jul 26 22:20 .psi > drwxr-xr-x 8 markhatt markhatt 272 Nov 20 2005 .smartcvs > -rw------- 1 markhatt markhatt 223 May 14 12:10 .sqlite_history > drwx------ 3 markhatt markhatt 102 Nov 11 2005 .ssh > drwxr-xr-x 6 markhatt markhatt 204 Aug 27 2006 .subversion > -rw------- 1 markhatt markhatt 1114 Aug 4 23:49 .viminfo > > I've just recently done a move aside of my old /opt/local and re- > installed MacPorts from the 1.6 dmg package. > > So am I supposed to have a .profile file here? Or is it someplace > else? Even the extra ReadMe document http://guide.macports.org/ > #installing.shell says that the PostFlight installs a .profile, but > I don't see it. > > My .bash_profile has > > export CLICOLOR_FORCE=yes > alias mysql=/opt/local/bin/mysql5 > alias mysqladmin=/opt/local/bin/mysqladmin5 > export PHP_PEAR_PHP_BIN=/opt/local/bin/php > LANG=en_US.UTF-8 > export LANG > > and doing a env > > TERM_PROGRAM=Apple_Terminal > TERM=xterm-color > SHELL=/bin/bash > TERM_PROGRAM_VERSION=133-1 > USER=markhattam > PHP_PEAR_PHP_BIN=/opt/local/bin/php > __CF_USER_TEXT_ENCODING=0x1F5:0:0 > PATH=/bin:/sbin:/opt/local/bin:/usr/bin:/usr/sbin:~/bin:/usr/local/bin > PWD=/Users/markhattam > LANG=en_US.UTF-8 > SHLVL=1 > HOME=/Users/markhattam > LOGNAME=markhattam > CLICOLOR_FORCE=yes > SECURITYSESSIONID=b05a80 > _=/usr/bin/env > > > I'm using 10.4.11 on a 667 MHz G4Ti laptop at the moment. (won't > run 10.5.x) If you have .bash_profile, then modify .bash_profile (it takes precedence over .profile). For example, put /opt/local into your PATH by adding a line like: export PATH=/opt/local/bin:/opt/local/sbin:$PATH Although I see this is in your env: > PATH=/bin:/sbin:/opt/local/bin:/usr/bin:/usr/sbin:~/bin:/usr/local/bin So that means you already have a line somewhere else which is adding / opt/local/bin, though into the middle of your PATH. I prefer to add it at the beginning of PATH so that MacPorts-installed software takes precedence over Apple-provided software, as opposed to the reverse, but that's your choice. Also, I see you have /usr/local/bin in your PATH. Note that having software installed in /usr/local can be problematic for MacPorts and is therefore not recommended. There is a bug in the MacPorts 1.6.0 disk image installer which prevents it from creating the .profile for you. This is discussed in the FAQ: http://trac.macports.org/wiki/ProblemHotlist#a4..profilenotsetup But like I say .bash_profile takes precedence over .profile, so even running the postflight manually wan't set up your .bash_profile for you. Off-topic, but if you want to run Leopard on your PowerBook, Leopard Assist may help. I'm successfully running Leopard on a 466-MHz Power Mac G4 using it. http://leopardassist.sourceforge.net/ From normen.mueller at googlemail.com Mon Aug 4 17:55:41 2008 From: normen.mueller at googlemail.com (Normen Mueller) Date: Tue, 5 Aug 2008 02:55:41 +0200 Subject: texinfo configuration error Message-ID: <5F39E693-3EA7-4B5A-9FB9-AFA6A2B8253B@googlemail.com> Dear macport users, I have a fresh installation of macports and currently I am trying to install texinfo, but the configuration fails: ------------------------------------------------------------- brain:~ root# port install texinfo ---> Configuring texinfo 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_textproc_texinfo/work/texinfo-4.12" && ./ configure --prefix=/opt/local " returned error 1 Command output: sh: line 0: cd: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_textproc_texinfo/work/texinfo-4.12: No such file or directory Error: Status 1 encountered during processing. brain:~ root# ------------------------------------------------------------- Any suggestions what else I could do? Actually I am trying to install aspell, but this one depends on texinfo. Thanks for your help in advance, Cheers, /nm From vincent-opdarw at vinc17.org Mon Aug 4 18:24:15 2008 From: vincent-opdarw at vinc17.org (Vincent Lefevre) Date: Tue, 5 Aug 2008 03:24:15 +0200 Subject: texinfo configuration error In-Reply-To: <5F39E693-3EA7-4B5A-9FB9-AFA6A2B8253B@googlemail.com> References: <5F39E693-3EA7-4B5A-9FB9-AFA6A2B8253B@googlemail.com> Message-ID: <20080805012415.GJ1362@prunille.vinc17.org> Hi, On 2008-08-05 02:55:41 +0200, Normen Mueller wrote: > Any suggestions what else I could do? Actually I am trying to install > aspell, but this one depends on texinfo. Install lzmautils. I've updated the textinfo port to display an informational message, because MacPorts filters out the real error message (unless -v has been used). -- Vincent Lef?vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) From normen.mueller at googlemail.com Mon Aug 4 18:28:09 2008 From: normen.mueller at googlemail.com (Normen Mueller) Date: Tue, 5 Aug 2008 03:28:09 +0200 Subject: texinfo configuration error In-Reply-To: <20080805012415.GJ1362@prunille.vinc17.org> References: <5F39E693-3EA7-4B5A-9FB9-AFA6A2B8253B@googlemail.com> <20080805012415.GJ1362@prunille.vinc17.org> Message-ID: Alright, I installed lzmautils without any problems. Do I understand you right to install texinfo afterwards? /nm On Aug 5, 2008, at 3:24 AM, Vincent Lefevre wrote: > Hi, > > On 2008-08-05 02:55:41 +0200, Normen Mueller wrote: >> Any suggestions what else I could do? Actually I am trying to >> install >> aspell, but this one depends on texinfo. > > Install lzmautils. > > I've updated the textinfo port to display an informational message, > because MacPorts filters out the real error message (unless -v has > been used). > > -- > Vincent Lef?vre - Web: > 100% accessible validated (X)HTML - Blog: blog/> > Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS- > Lyon) > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From normen.mueller at googlemail.com Mon Aug 4 18:30:51 2008 From: normen.mueller at googlemail.com (Normen Mueller) Date: Tue, 5 Aug 2008 03:30:51 +0200 Subject: texinfo configuration error In-Reply-To: <20080805012415.GJ1362@prunille.vinc17.org> References: <5F39E693-3EA7-4B5A-9FB9-AFA6A2B8253B@googlemail.com> <20080805012415.GJ1362@prunille.vinc17.org> Message-ID: Thank you very much!!! brain:~ root# port clean texinfo ---> Cleaning texinfo brain:~ root# port sync brain:~ root# port livecheck texinfo brain:~ root# port install -v texinfo ---> Fetching texinfo ---> Verifying checksum(s) for texinfo ---> Extracting texinfo ---> Configuring texinfo ---> Building texinfo with target all ---> Staging texinfo into destroot ---> Installing texinfo 4.12_0 ---> Activating texinfo 4.12_0 ---> Cleaning texinfo brain:~ root# It worked just fine! Cheers, /nm On Aug 5, 2008, at 3:24 AM, Vincent Lefevre wrote: > Hi, > > On 2008-08-05 02:55:41 +0200, Normen Mueller wrote: >> Any suggestions what else I could do? Actually I am trying to >> install >> aspell, but this one depends on texinfo. > > Install lzmautils. > > I've updated the textinfo port to display an informational message, > because MacPorts filters out the real error message (unless -v has > been used). > > -- > Vincent Lef?vre - Web: > 100% accessible validated (X)HTML - Blog: blog/> > Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS- > Lyon) > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From vincent-opdarw at vinc17.org Mon Aug 4 19:00:51 2008 From: vincent-opdarw at vinc17.org (Vincent Lefevre) Date: Tue, 5 Aug 2008 04:00:51 +0200 Subject: texinfo configuration error In-Reply-To: References: <5F39E693-3EA7-4B5A-9FB9-AFA6A2B8253B@googlemail.com> <20080805012415.GJ1362@prunille.vinc17.org> Message-ID: <20080805020051.GK1362@prunille.vinc17.org> On 2008-08-05 03:28:09 +0200, Normen Mueller wrote: > Alright, I installed lzmautils without any problems. FYI, now it should be installed automatically (in most cases). [*] [*] http://trac.macports.org/ticket/16220 -- Vincent Lef?vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) From raimue at macports.org Mon Aug 4 19:24:36 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Tue, 05 Aug 2008 04:24:36 +0200 Subject: [MacPorts] #16195: Trouble installing texlive In-Reply-To: <30F6E0E5-07DC-4237-A08F-B5F731EC6C23@macports.org> References: <489712EF.1090708@bbri.org> <48974893.1090108@macports.org> <30F6E0E5-07DC-4237-A08F-B5F731EC6C23@macports.org> Message-ID: <4897B9E4.2060107@macports.org> Ryan Schmidt wrote: > On Aug 4, 2008, at 13:21, Rainer M?ller wrote: > >>> /usr/bin/gcc-4.0 -o xdvi-xaw.bin browser.o dvi-draw.o dvi-init.o >>> dvisel.o encodings.o events.o filehist.o font-open.o gf.o hypertex.o >>> image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o >>> print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o >>> search-internal.o special.o string-utils.o tfmload.o util.o vf.o >>> xdvi.o >>> xserver-info.o x_util.o 1 -L/opt/local/lib ./gui/libgui.a >>> ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a >>> -L/usr/lib/ruby -L/usr/X11/lib -lXaw -lXmu -lXt -lSM -lICE -lXp - >>> lXext >>> -lXpm -lX11 -lXau -lXdmcp -liconv ../kpathsea/.libs/libkpathsea.a -lm >>> i686-apple-darwin9-gcc-4.0.1: 1: No such file or directory >>> make[2]: *** [xdvi-xaw.bin] Error 1 >>> make[1]: *** [all] Error 1 >>> make: *** [all] Error 1 >> Looks like you did not install Xcode on Leopard yet. You can't use >> your >> old Xcode from Tiger, you need at least Xcode 3.0 (Xcode 3.1 is also >> available as download from Apple). > > Nonono: it's not "i686-apple-darwin9-gcc-4.0.1" it can't find; it's > "1" it can't find. So it looks like this error: Oh, thanks. I misread the error message, of course it's reporting i686-apple-darwin9-gcc-4.0.1 can't find "1". But I can't spot from the command output above there the "1" comes from. [...] xserver-info.o x_util.o 1 -L/opt/local/lib [...] The "1" is not meant to be part of any directory passed to -L, but instead appears in the middle of the command. Rainer From ryandesign at macports.org Mon Aug 4 22:34:59 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 5 Aug 2008 00:34:59 -0500 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> <4C7752A7-F9C1-4DC0-88FD-6C99DF99DB30@macports.org> <803CC08A-8128-4505-8B8B-0BD66502FC8F@macports.org> Message-ID: <9D3FA102-26ED-454F-889D-856052628623@macports.org> On Aug 4, 2008, at 20:19, Mark Hattam wrote: > Ryan Schmidt wrote: > >> On Aug 4, 2008, at 18:02, Mark Hattam wrote: >> >>> I'm using 10.4.11 on a 667 MHz G4Ti laptop at the moment. (won't >>> run 10.5.x) >> >> If you have .bash_profile, then modify .bash_profile (it takes >> precedence over .profile). For example, put /opt/local into your >> PATH by adding a line like: >> >> export PATH=/opt/local/bin:/opt/local/sbin:$PATH >> >> Although I see this is in your env: >> >>> PATH=/bin:/sbin:/opt/local/bin:/usr/bin:/usr/sbin:~/bin:/usr/ >>> local/bin >> >> So that means you already have a line somewhere else which is >> adding /opt/local/bin, though into the middle of your PATH. I >> prefer to add it at the beginning of PATH so that MacPorts- >> installed software takes precedence over Apple-provided software, >> as opposed to the reverse, but that's your choice. >> >> Also, I see you have /usr/local/bin in your PATH. Note that having >> software installed in /usr/local can be problematic for MacPorts >> and is therefore not recommended. >> >> >> There is a bug in the MacPorts 1.6.0 disk image installer which >> prevents it from creating the .profile for you. This is discussed >> in the FAQ: >> >> http://trac.macports.org/wiki/ProblemHotlist#a4..profilenotsetup >> >> But like I say .bash_profile takes precedence over .profile, so >> even running the postflight manually wan't set up >> your .bash_profile for you. >> >> >> Off-topic, but if you want to run Leopard on your PowerBook, >> Leopard Assist may help. I'm successfully running Leopard on a 466- >> MHz Power Mac G4 using it. >> >> http://leopardassist.sourceforge.net/ > > > Running the PostFlight command line doesn't work ... > > Powerbook:~ markhattam$ $ curl -O http://svn.macports.org/ > repository/macports/branches/release_1_6/base/portmgr/dmg/ > postflight && bash postflight > -bash: $: command not found > > I just tried it to see what it puts into .profile ... even if it'll > never use it. But still. You're not meant to type the dollar sign at the terminal. The dollar sign is meant to represent your terminal's prompt. Type (or copy/ paste) everything after the dollar sign. > /usr/local/bin doesn't exist, and I've never knowingly installed > anything in /usr/local > > Powerbook:~ markhattam$ cd /usr/local/bin/ > -bash: cd: /usr/local/bin/: No such file or directory Ah, ok, that's good then, from the MacPorts perspective. > Powerbook:~ markhattam$ cd /usr/local/ Powerbook:/usr/local > markhattam$ ls -la > total 0 > drwxr-xr-x 3 root wheel 102 Mar 20 23:15 . > drwxr-xr-x 11 root wheel 374 May 24 22:50 .. > drwxr-xr-x 4 root wheel 136 Mar 20 23:15 hermes > > But a little quick Googling tells me that hermes is Rogue Amoeba's > Instant Hijack code, which works fine for me. So that can stay > where it is. That's not a problem. As long as it's in a subdirectory of /usr/local it can't interfere. But if you have things in /usr/local/bin or /usr/ local/lib those can and do interfere in bad ways with some MacPorts ports. > I put the line you suggested into .bash_profile ... but now after > re-running Terminal, and doing "env" it shows me > > Powerbook:~ markhattam$ env > TERM_PROGRAM=Apple_Terminal > TERM=xterm-color > SHELL=/bin/bash > TERM_PROGRAM_VERSION=133-1 > USER=markhattam > PHP_PEAR_PHP_BIN=/opt/local/bin/php > __CF_USER_TEXT_ENCODING=0x1F5:0:0 > PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/opt/local/bin:/usr/ > bin:/usr/sbin:~/bin:/usr/local/bin > PWD=/Users/markhattam > LANG=en_US.UTF-8 > SHLVL=1 > HOME=/Users/markhattam > LOGNAME=markhattam > CLICOLOR_FORCE=yes > SECURITYSESSIONID=b05a80 > _=/usr/bin/env > > which looks like it pre-pended what was there before with the new > bits, so now I have /opt/local/bin twice. Exactly. That's what the command I gave does. It prepends the MacPorts paths to whatever might already be in your PATH. Usually that's what you want. In your case, you've already set the PATH from elsewhere, so you could go to that elsewhere, wherever it is, and change the PATH there instead if you want. > So I did it again, but with this line in .bash_profile > export PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/ > sbin:~/bin > > and now "env" shows me > > PATH=/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/ > Users/markhattam/bin > > which seems to have automatically converted the ~/bin to /Users/ > markhattam/bin > that is probably OK as I don't have a ~/bin directory anyway. Ok. ~/bin isn't usually in the PATH either, so somewhere you must have another bash configuration file which is getting used which is adding /opt/local/bin, /usr/local/bin and ~/bin to your PATH. Doesn't really matter now, since you're overwriting the PATH in the .bash_profile now. > As for 10.5 ... I can't see the G4Ti 667 MHz listed on that site at > all ... Huh, you're right. The LeopardAssist homepage doesn't seem to mention portable Macs at all. I filed a bug in their issue tracker, though they haven't touched the bug I filed a month ago so maybe they're not paying attention. http://sourceforge.net/tracker/index.php? func=detail&aid=2038397&group_id=220106&atid=1048555 > nor is it in the apple-history.com site that they reference for > model details. Looks like either the top-of-the-line "PowerBook G4 (Gigabit Ethernet)" model or the bottom-of-the-line "PowerBook G4 (DVI)" model: http://www.apple-history.com/? page=gallery&model=pg4_giga&performa=off&sort=date&order=ASC http://www.apple-history.com/? page=gallery&model=pg4_dvi&performa=off&sort=date&order=ASC If your computer has a DVI port, then it's the "DVI" model. If not, it's the "Gigabit Ethernet" model. > I'm not that desparate about 10.5 on this Mac. The screen's hinges > are both broken, the battery only lasts between 5 and 10 minutes, > it's getting old and sooner or later I'll get a new Powerbook and/ > or iMac which will run a lot faster ... just a case of when. > > I've tried before with "locked out" upgrades, eg running 9.2.2 > (IIRC) on my Umax S900 clone with G3 card ... it ran faster as more > code was PPC enabled, but it also tended to lock up more. So it's > back on 9.1 and is very stable. The Leopard installer's only determination for whether your computer will work is whether its processor speed is at least 867 MHz. So LeopardAssist fakes the installer out by telling your computer's OpenFirmware to lie about its processor speed during the installation and say it is 867 MHz, even if it's less. The PowerBook G4 (Gigabit Ethernet) was announced October 2001 and the PowerBook G4 (DVI) was announced April 2002. My Power Mac G4 (Digital Audio) was announced January 2001, and I have Leopard working on it. So since your PowerBook has newer technology in it than my Power Mac, I would expect Leopard to work on it. I did have horrible performance in the DVD Player until I copied the video driver for my G4's graphics card (an ATI Rage 128 Pro) from a Tiger installation. Leopard presumably no longer included that driver because no machine that officially supports Leopard ever came with that graphics card. So possibly you'll have to fish for some older drivers from your Tiger installation too to get decent video performance. From mike.thon at gmail.com Tue Aug 5 04:38:12 2008 From: mike.thon at gmail.com (Michael Thon) Date: Tue, 5 Aug 2008 13:38:12 +0200 Subject: port maintainers Message-ID: <569F104D-B63C-48F8-9BD9-935241EEE17F@gmail.com> I am listed as the maintainer for one port - ncbi_tools and I have a few other ports that I would like to submit to the repository. According to the macports guide, I should be using subversion to maintain my ports. You probably don't want me mucking about in your subversion repo until you are confident that I know what I'm doing. I should probably submit my port changes/updates through trac. In that case, should I still be listed as the maintainer, even though I don't have commit privileges? cheers Mike From ram at macports.org Tue Aug 5 06:48:10 2008 From: ram at macports.org (Adam Mercer) Date: Tue, 5 Aug 2008 08:48:10 -0500 Subject: port maintainers In-Reply-To: <569F104D-B63C-48F8-9BD9-935241EEE17F@gmail.com> References: <569F104D-B63C-48F8-9BD9-935241EEE17F@gmail.com> Message-ID: <799406d60808050648l20097af6x6a780b0f26261f1a@mail.gmail.com> On Tue, Aug 5, 2008 at 6:38 AM, Michael Thon wrote: > I am listed as the maintainer for one port - ncbi_tools and I have a > few other ports that I would like to submit to the repository. > According to the macports guide, I should be using subversion to > maintain my ports. You probably don't want me mucking about in your > subversion repo until you are confident that I know what I'm doing. I > should probably submit my port changes/updates through trac. In that > case, should I still be listed as the maintainer, even though I don't > have commit privileges? Yes, the maintainer field specifies who to contact regarding the port. Cheers Adam From mcpchen2 at gmail.com Tue Aug 5 11:10:06 2008 From: mcpchen2 at gmail.com (Peter Chen) Date: Tue, 5 Aug 2008 13:10:06 -0500 Subject: ATLAS 3.8.2 Message-ID: <4b7b6a3b0808051110g70ff8e83r79155e2ae8b620b@mail.gmail.com> Is ATLAS 3.8.2 available? I see it on the list, but I can not install it. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080805/cf72328b/attachment.html From 0x62_0x6c_0x62 at pobox.com Tue Aug 5 12:46:11 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Tue, 5 Aug 2008 13:46:11 -0600 Subject: ATLAS 3.8.2 In-Reply-To: <4b7b6a3b0808051110g70ff8e83r79155e2ae8b620b@mail.gmail.com> References: <4b7b6a3b0808051110g70ff8e83r79155e2ae8b620b@mail.gmail.com> Message-ID: <0927B998-8BFB-48FF-BEDA-3F6EE98A8D8F@pobox.com> On Aug 5, 2008, at 12:10 PM, Peter Chen wrote: > Is ATLAS 3.8.2 available? I see it on the list, but I can not > install it. What happens when you try? If you see "Error: Port atlas not found" you need to update your MacPorts installation first [1]. If some other error, what is it? Bryan [1] - From ryandesign at macports.org Tue Aug 5 21:39:32 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 5 Aug 2008 23:39:32 -0500 Subject: Problem with MacPorts on OS X Leopard In-Reply-To: References: <75BB27C9-5838-47E4-8F8C-88436DAE9B73@pobox.com> <4C7752A7-F9C1-4DC0-88FD-6C99DF99DB30@macports.org> <803CC08A-8128-4505-8B8B-0BD66502FC8F@macports.org> <9D3FA102-26ED-454F-889D-856052628623@macports.org> Message-ID: <1349F425-A230-4DDD-BBFF-01D28E4ED224@macports.org> On Aug 5, 2008, at 20:27, Mark Hattam wrote: > Ryan Schmidt wrote: > >> On Aug 4, 2008, at 20:19, Mark Hattam wrote: >> >>> Running the PostFlight command line doesn't work ... >>> >>> Powerbook:~ markhattam$ $ curl -O http://svn.macports.org/ >>> repository/macports/branches/release_1_6/base/portmgr/dmg/ >>> postflight && bash postflight >>> -bash: $: command not found >>> >>> I just tried it to see what it puts into .profile ... even if >>> it'll never use it. But still. >> >> You're not meant to type the dollar sign at the terminal. The >> dollar sign is meant to represent your terminal's prompt. Type (or >> copy/paste) everything after the dollar sign. > > Hmm ... I'd copied/pasted the contents of the text field from the > webpage by triple clicking to select the field. I'd suggest that > including the prompt in that field is misleading, and it's > inherently awkward to them step backwards and backspace delete it > in Terminal. Just put in the field, the exact text you expect the > user to use. Looks like in the Guide, we preface all commands which are to be typed in the terminal with "%%". Not sure why that was chosen. I've never seen a terminal issue "%%" as a prompt. But at least we explain it at the top of the Guide. In the FAQ wiki page, no prefix is used. In the ProblemHotlist wiki page, no prefix is used except where you encountered it, so I removed it there. I believe anyone can edit the wiki once they register, so in the future you can feel free to fix problems there yourself. > Anyway, tried it and got lots of errors. Tried it again with "sudo" > on the front, still got lots of errors ... Everything worked as it was supposed to: > Powerbook:~ markhattam$ curl -O http://svn.macports.org/repository/ > macports/branches/release_1_6/base/portmgr/dmg/postflight && bash > postflight > % Total % Received % Xferd Average Speed Time Time > Time Current > Dload Upload Total Spent > Left Speed > 100 7254 100 7254 0 0 6729 0 0:00:01 0:00:01 > --:--:-- 16200 > The MacPorts Project, postflight script version 1.6.1: checking the > shell environment for user "markhattam". > Detected the bash shell. > Your shell already has the right PATH environment variable for use > with MacPorts! It did not add statements to your .profile to modify your PATH because it detected your PATH already contained what it needed to, thanks to your manual modifications of .bash_profile. > Your shell already has the right MANPATH environment variable for > use with MacPorts! I was momentarily confused because the subject of this thread contains "Leopard" but then I recalled you were not the originator of the thread and you are running Tiger on a 667-MHz PowerBook G4. Tiger and earlier ship with an empty MANPATH variable, which causes the bash shell to make use of the paths in PATH to decide where to find manpages. So it is not necessary to set MANPATH to anything to make MacPorts manpages usable. Therefore the postflight script did nothing here. > An appropriate DISPLAY variable has been added to your shell > environment by the MacPorts installer. Apple sets the DISPLAY variable to the right value as of Leopard, but for Tiger and earlier it is unset which means you cannot use X11 programs from the normal terminal unless you set DISPLAY yourself. Therefore the postflight added the DISPLAY variable to your .profile. > Synchronizing the MacPorts installation with the project's rsync > server... > Synchronizing local ports tree from rsync://rsync.macports.org/ > release/ports/ > receiving file list ... done > rsync: failed to set times on "/opt/local/var/macports/sources/ > rsync.macports.org/release/ports/.": Permission denied (13) [snip] > An attempt to synchronize your recent MacPorts installation with > the project's rsync server failed! > Please run 'sudo port -d selfupdate' manually to find out the cause > of the error. It is expected that the postflight script cannot sync or selfupdate because it is not running as root. A few days ago the wiki page was changed to suggest using sudo. However this was found to cause other problems (the USER variable which the script requires to be set to your username gets set to "root" instead), so the change was reverted. I will update the wiki page to indicate that these errors are expected. > You have succesfully installed the MacPorts system, launch a > terminal and try it out! > Read the port(1) manual page and http://guide.macports.org for > help, http://www.macports.org/contact.php if you need to get in > touch with The MacPorts Project. > > > Doing a > sudo port -d selfupdate > as this suggested worked fine ... no problems. > > > The new .profile just has this > > # MacPorts Installer addition on 2008-08-06_at_02:13:40: adding an > appropriate DISPLAY variable for use with MacPorts. > export DISPLAY=:0 > # Finished adapting your DISPLAY environment variable for use with > MacPorts. By the way, please remember to Reply All so your reply goes to the list too, not just to me. From mike.thon at gmail.com Thu Aug 7 03:20:06 2008 From: mike.thon at gmail.com (Michael Thon) Date: Thu, 7 Aug 2008 12:20:06 +0200 Subject: couldn't change working directory to... Message-ID: I am writing a new portfile for a package but I keep getting errors during the installation step: ---> Staging hmmer into destroot ---> Installing hmmer 2.3.2_0 couldn't change working directory to "/opt/local/var/macports/build/ _Users_mike_macports_dports_science_hmmer/work/destroot": no such file or directory ---> Activating hmmer 2.3.2_0 Error: Target org.macports.activate returned: Image error: Source file /opt/local/var/macports/software/hmmer/2.3.2_0 does not appear to exist (cannot lstat it). Unable to activate port hmmer. Error: Status 1 encountered during processing. The package uses a standard configure script so I thought this one would be easy. I tried the usual 'sudo port clean' before I ran 'sudo port install' but it still won't go. Any ideas? I pasted the Portfile at the end of this message. Thanks Mike name hmmer version 2.3.2 description Biological sequence analysis using profile HMMs long_description \ Profile hidden Markov models (profile HMMs) can be used to do sensitive \ database searching using statistical descriptions of a sequence family's \ consensus. HMMER is a freely distributable implementation of profile HMM \ software for protein sequence analysis. maintainers mike.thon at gmail.com categories science platforms darwin homepage http://hmmer.janelia.org/ fetch.use_epsv no master_sites ftp://selab.janelia.org/pub/software/hmmer/CURRENT/ checksums md5 5f073340c0cf761288f961a73821228a From ryandesign at macports.org Thu Aug 7 03:51:50 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 7 Aug 2008 05:51:50 -0500 Subject: couldn't change working directory to... In-Reply-To: References: Message-ID: <13AE86DA-DC8D-4CF6-B2A5-87CF9C39328A@macports.org> On Aug 7, 2008, at 05:20, Michael Thon wrote: > > I am writing a new portfile for a package but I keep getting errors > during the installation step: > > ---> Staging hmmer into destroot > ---> Installing hmmer 2.3.2_0 > couldn't change working directory to "/opt/local/var/macports/build/ > _Users_mike_macports_dports_science_hmmer/work/destroot": no such file > or directory [snip] This means the port did not install any files into the destroot. Check /opt/local -- it probably installed the files directly there, bypassing the destroot. Probably the make install target does not respect the DESTDIR variable. You may have to retrofit this into the Makefile, or see if they support a destroot via a different variable (e.g. for some, you will want to set "destroot.destdir PREFIX=$ {destroot}${prefix}" instead of the default "destroot.destdir DESTDIR= ${destroot}"). From talklists at newgeo.com Fri Aug 8 19:31:25 2008 From: talklists at newgeo.com (Scott Haneda) Date: Fri, 8 Aug 2008 19:31:25 -0700 Subject: Having a pretty rough time getting php5 installed Message-ID: I am running PPC Dual G5 OS X 10.5 Leopard Downloaded and installed xcode today, so it should be as current as I can get. sudo port -v MacPorts 1.600 Ran the update and it seemed to update fine, or not need it: DEBUG: MacPorts base dir: /opt/local/var/macports/sources/ rsync.macports.org/release/base DEBUG: Setting user: root MacPorts base version 1.600 installed DEBUG: Updating using rsync receiving file list ... done ... ... The MacPorts installation is not outdated and so was not updated DEBUG: Setting ownership to root selfupdate done! And here is what I want to install: sudo port install php5 +apache2 +mysql5 +pear +imap +sqlite +tidy * As a side note, this is a test machine, an identical one is at a colo fascility, and I do not want to run ports on that machine, but take the install from this machine, to that machine, how would I do that, and how would I change the path and final location of php5 to something other than /opt ** In the future, if I need to add some other config option to php5, like maybe I want to add pspell or something, what would that process be to get it on the live server? ports runs, and then bails on me, here is what it says: Password: ---> Fetching apr ---> Attempting to fetch apr-1.3.2.tar.bz2 from http://www.apache.org/dist/apr ---> Verifying checksum(s) for apr ---> Extracting apr ---> Configuring apr ---> Building apr with target all ---> Staging apr into destroot ---> Installing apr 1.3.2_0+darwin_9 ---> Activating apr 1.3.2_0+darwin_9 ---> Cleaning apr ---> Fetching db46 ---> Attempting to fetch patch.4.6.21.1 from http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/ ---> Attempting to fetch db-4.6.21.tar.gz from http://download-west.oracle.com/berkeley-db/ ---> Verifying checksum(s) for db46 ---> Extracting db46 ---> Applying patches to db46 ---> Configuring db46 ---> Building db46 with target all ---> Staging db46 into destroot ---> Installing db46 4.6.21_1 ---> Activating db46 4.6.21_1 ---> Cleaning db46 ---> 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 zlib ---> Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.zlib.net/ ---> Verifying checksum(s) for zlib ---> Extracting zlib ---> Applying patches to zlib ---> Configuring zlib ---> Building zlib with target all ---> Staging zlib into destroot ---> Installing zlib 1.2.3_1 ---> Activating zlib 1.2.3_1 ---> Cleaning zlib ---> Fetching openssl ---> Attempting to fetch openssl-0.9.8h.tar.gz from http://www.openssl.org/source/ ---> Verifying checksum(s) for openssl ---> Extracting openssl ---> Applying patches to openssl ---> Configuring openssl ---> Building openssl with target all ---> Staging openssl into destroot ---> Installing openssl 0.9.8h_0 ---> Activating openssl 0.9.8h_0 ---> Cleaning openssl ---> Fetching mysql5 ---> Attempting to fetch mysql-5.0.51a.tar.gz from http://distfiles.macports.org/mysql5 ---> 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 cclient curl pkgconfig freetype gd2 XFree86 autoconf help2man p5- locale-gettext perl5.8 m4 automake fontconfig jpeg libpng libtool libmcrypt libxml2 libxslt mhash tidy tiff Error: Status 1 encountered during processing. my-username at my-username:/opt/local/lib/ $sudo port install php5 +apache2 +mysql5 Password: Error: Requested variants do not match original selection. Please perform 'port clean php5' or specify the force option. Error: Status 1 encountered during processing. my-username at my-username:/opt/local/lib/ $sudo port clean php5 ---> Cleaning php5 my-username at my-username:/opt/local/lib/ $sudo port install php5 +apache2 +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: Making all in Docs make[2]: Nothing to be done for `all'. Making all in cmd-line-utils Making all in libedit 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 freetype gd2 XFree86 autoconf help2man p5-locale- gettext perl5.8 m4 automake fontconfig jpeg libpng libtool libmcrypt libxml2 libxslt mhash tiff Error: Status 1 encountered during processing. -- Scott talklists at newgeo.com From jkorchok at hotmail.com Fri Aug 8 19:57:29 2008 From: jkorchok at hotmail.com (John Korchok) Date: Fri, 8 Aug 2008 22:57:29 -0400 Subject: Having a pretty rough time getting php5 installed In-Reply-To: References: Message-ID: Hi Scott, Try sudo port install mysql5 +server sudo port install apache2 sudo port install php5 +apache2 +mysql5 +whateverelse in that order. I work with colo machines, but my preferred work method is to install all the software using macports on the machine inhouse, test everything and then swap with the machine at the colo location. Near 0% downtime this way. If you want to add services in the future run sudo port install php5 +apache2 +mysql5 +whateverelse +newstuff but test it on the local machine first to work out any bugs. John Korchok > -----Original Message----- > From: macports-users-bounces at lists.macosforge.org > [mailto:macports-users-bounces at lists.macosforge.org] On > Behalf Of Scott Haneda > Sent: Friday, August 08, 2008 10:31 PM > To: macports-users at lists.macosforge.org > Subject: Having a pretty rough time getting php5 installed > > I am running PPC Dual G5 OS X 10.5 Leopard Downloaded and > installed xcode today, so it should be as current as I can get. > > sudo port -v > MacPorts 1.600 > > Ran the update and it seemed to update fine, or not need it: > DEBUG: MacPorts base dir: /opt/local/var/macports/sources/ > rsync.macports.org/release/base > DEBUG: Setting user: root > > MacPorts base version 1.600 installed > DEBUG: Updating using rsync > receiving file list ... done > ... ... > The MacPorts installation is not outdated and so was not updated > DEBUG: Setting ownership to root > selfupdate done! > > And here is what I want to install: > sudo port install php5 +apache2 +mysql5 +pear +imap +sqlite +tidy > > * As a side note, this is a test machine, an identical one is > at a colo fascility, and I do not want to run ports on that > machine, but take the install from this machine, to that > machine, how would I do that, and how would I change the path > and final location of php5 to something other than /opt > > ** In the future, if I need to add some other config option > to php5, like maybe I want to add pspell or something, what > would that process be to get it on the live server? > > ports runs, and then bails on me, here is what it says: > Password: > ---> Fetching apr > ---> Attempting to fetch apr-1.3.2.tar.bz2 from > ---> http://www.apache.org/dist/apr Verifying checksum(s) for apr > ---> Extracting apr Configuring apr Building apr with target all > ---> Staging apr into destroot Installing apr 1.3.2_0+darwin_9 > ---> Activating apr 1.3.2_0+darwin_9 Cleaning apr Fetching db46 > ---> Attempting to fetch patch.4.6.21.1 from > ---> > http://www.oracle.com/technology/products/berkeley-db/db/update/4.6 > ---> .21/ Attempting to fetch db-4.6.21.tar.gz from > ---> http://download-west.oracle.com/berkeley-db/ > ---> Verifying checksum(s) for db46 > ---> Extracting db46 > ---> Applying patches to db46 > ---> Configuring db46 > ---> Building db46 with target all > ---> Staging db46 into destroot > ---> Installing db46 4.6.21_1 > ---> Activating db46 4.6.21_1 > ---> Cleaning db46 > ---> 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 > ---> zlib Attempting to fetch zlib-1.2.3.tar.bz2 from > ---> http://www.zlib.net/ Verifying checksum(s) for zlib Extracting > ---> zlib Applying patches to zlib Configuring zlib Building zlib > ---> with target all Staging zlib into destroot Installing zlib > ---> 1.2.3_1 Activating zlib 1.2.3_1 Cleaning zlib > Fetching openssl > ---> Attempting to fetch openssl-0.9.8h.tar.gz from > ---> http://www.openssl.org/source/ Verifying checksum(s) > for openssl > ---> Extracting openssl Applying patches to openssl Configuring > ---> openssl Building openssl with target all Staging openssl into > ---> destroot Installing openssl 0.9.8h_0 Activating > openssl 0.9.8h_0 > ---> Cleaning openssl Fetching mysql5 Attempting to fetch > ---> mysql-5.0.51a.tar.gz from http://distfiles.macports.org/mysql5 > ---> 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.51 > a" && 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 cclient curl pkgconfig freetype gd2 XFree86 > autoconf help2man p5- locale-gettext perl5.8 m4 automake > fontconfig jpeg libpng libtool libmcrypt libxml2 libxslt > mhash tidy tiff > Error: Status 1 encountered during processing. > my-username at my-username:/opt/local/lib/ $sudo port install php5 > +apache2 +mysql5 > Password: > Error: Requested variants do not match original selection. > Please perform 'port clean php5' or specify the force option. > Error: Status 1 encountered during processing. > my-username at my-username:/opt/local/lib/ $sudo port clean php5 > ---> Cleaning php5 > my-username at my-username:/opt/local/lib/ $sudo port install php5 > +apache2 +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.51 > a" && make all " returned error 2 Command output: Making all in Docs > make[2]: Nothing to be done for `all'. > Making all in cmd-line-utils > Making all in libedit > 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 freetype gd2 XFree86 autoconf > help2man p5-locale- gettext perl5.8 m4 automake fontconfig > jpeg libpng libtool libmcrypt > libxml2 libxslt mhash tiff > Error: Status 1 encountered during processing. > > > -- > Scott > talklists at newgeo.com > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From 0x62_0x6c_0x62 at pobox.com Fri Aug 8 20:15:11 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Fri, 8 Aug 2008 21:15:11 -0600 Subject: Having a pretty rough time getting php5 installed In-Reply-To: References: Message-ID: <90253768-BE6C-41C5-9781-34AEE92F944F@pobox.com> On Aug 8, 2008, at 8:31 PM, Scott Haneda wrote: ... > And here is what I want to install: > sudo port install php5 +apache2 +mysql5 +pear +imap +sqlite +tidy > > * As a side note, this is a test machine, an identical one is at a > colo fascility, and I do not want to run ports on that machine, but > take the install from this machine, to that machine, how would I do > that, and how would I change the path and final location of php5 to > something other than /opt > The problem here is that Mac OS X records library path locations in executables and libraries. You could, I suppose, use install_name_tool to rewrite all of them, but that would be very, very tedious. Also, it would require everything built to have enough room in the binaries for the new paths, which means they need to be built with -headerpad_max_install_names when linking (and most probably aren't). > ** In the future, if I need to add some other config option to php5, > like maybe I want to add pspell or something, what would that process > be to get it on the live server? > You'd have to rebuild the port with the additional variant (if available), eg, 'sudo port install php5 +pspell' in this case. > ports runs, and then bails on me, here is what it says: > Password: ... > ---> Fetching mysql5 > ---> Attempting to fetch mysql-5.0.51a.tar.gz from http://distfiles.macports.org/mysql5 > ---> 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''@!!' \ Hmm, switching AWK with an empty string, smells a lot like the Tcl environment bug: Clean the affected port (sudo port clean --work mysql5) and continue with your original install command. ... > my-username at my-username:/opt/local/lib/ $sudo port install php5 > +apache2 +mysql5 > Password: > Error: Requested variants do not match original selection. > Please perform 'port clean php5' or specify the force option. > Error: Status 1 encountered during processing. You just changed the list of variants, so that's why it complained here. > > my-username at my-username:/opt/local/lib/ $sudo port clean php5 > ---> Cleaning php5 That's the proper way to clear out the build configuration. But mysql5 is the one that failed, so it's the one that needs the clean. After that, you can either clean php5 again and reuse the original list of variants, or not clean php5 and use this new set of variants for php5. Bryan ... > > -- > Scott > talklists at newgeo.com > From talklists at newgeo.com Fri Aug 8 20:16:30 2008 From: talklists at newgeo.com (Scott Haneda) Date: Fri, 8 Aug 2008 20:16:30 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: References: Message-ID: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> Maybe I'm not understanding this entirely. I already have mysql 5 installed from source and running. I also have apache 2 running as part if the built in os install. I don't need to have those installed. They are running and configured as I need them to be. I thought the +mysql5 meant php would gain support for mysql5. Same with the other +options. So if I only want php5 with certain built in features like works with apache 2 and mysql5 and sqllite etc. How do I do that? Then once I have the php working as I need it how do I pull those chunks to my live server? Maybe you can also explain a little about your colo test and migration system. I have little trouble installing mysql and a few others from source. Php5 on the other hand, in order to give it at least a little support for things like gd and the rest there are too many other little things to compile alongside,each needing other compiles as well. Trying to avoid that headache. Thanks. -- Scott Iphone says hello. On Aug 8, 2008, at 7:57 PM, "John Korchok" wrote: > Hi Scott, > > Try > sudo port install mysql5 +server > sudo port install apache2 > sudo port install php5 +apache2 +mysql5 +whateverelse > in that order. > > I work with colo machines, but my preferred work method is to > install all > the software using macports on the machine inhouse, test everything > and then > swap with the machine at the colo location. Near 0% downtime this way. > > If you want to add services in the future run > sudo port install php5 +apache2 +mysql5 +whateverelse +newstuff > but test it on the local machine first to work out any bugs. > > John Korchok > >> -----Original Message----- >> From: macports-users-bounces at lists.macosforge.org >> [mailto:macports-users-bounces at lists.macosforge.org] On >> Behalf Of Scott Haneda >> Sent: Friday, August 08, 2008 10:31 PM >> To: macports-users at lists.macosforge.org >> Subject: Having a pretty rough time getting php5 installed >> >> I am running PPC Dual G5 OS X 10.5 Leopard Downloaded and >> installed xcode today, so it should be as current as I can get. >> >> sudo port -v >> MacPorts 1.600 >> >> Ran the update and it seemed to update fine, or not need it: >> DEBUG: MacPorts base dir: /opt/local/var/macports/sources/ >> rsync.macports.org/release/base >> DEBUG: Setting user: root >> >> MacPorts base version 1.600 installed >> DEBUG: Updating using rsync >> receiving file list ... done >> ... ... >> The MacPorts installation is not outdated and so was not updated >> DEBUG: Setting ownership to root >> selfupdate done! >> >> And here is what I want to install: >> sudo port install php5 +apache2 +mysql5 +pear +imap +sqlite +tidy >> >> * As a side note, this is a test machine, an identical one is >> at a colo fascility, and I do not want to run ports on that >> machine, but take the install from this machine, to that >> machine, how would I do that, and how would I change the path >> and final location of php5 to something other than /opt >> >> ** In the future, if I need to add some other config option >> to php5, like maybe I want to add pspell or something, what >> would that process be to get it on the live server? >> >> ports runs, and then bails on me, here is what it says: >> Password: >> ---> Fetching apr >> ---> Attempting to fetch apr-1.3.2.tar.bz2 from >> ---> http://www.apache.org/dist/apr Verifying checksum(s) for apr >> ---> Extracting apr Configuring apr Building apr with target all >> ---> Staging apr into destroot Installing apr 1.3.2_0+darwin_9 >> ---> Activating apr 1.3.2_0+darwin_9 Cleaning apr Fetching db46 >> ---> Attempting to fetch patch.4.6.21.1 from >> ---> >> http://www.oracle.com/technology/products/berkeley-db/db/update/4.6 >> ---> .21/ Attempting to fetch db-4.6.21.tar.gz from >> ---> http://download-west.oracle.com/berkeley-db/ >> ---> Verifying checksum(s) for db46 >> ---> Extracting db46 >> ---> Applying patches to db46 >> ---> Configuring db46 >> ---> Building db46 with target all >> ---> Staging db46 into destroot >> ---> Installing db46 4.6.21_1 >> ---> Activating db46 4.6.21_1 >> ---> Cleaning db46 >> ---> 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 >> ---> zlib Attempting to fetch zlib-1.2.3.tar.bz2 from >> ---> http://www.zlib.net/ Verifying checksum(s) for zlib Extracting >> ---> zlib Applying patches to zlib Configuring zlib Building zlib >> ---> with target all Staging zlib into destroot Installing zlib >> ---> 1.2.3_1 Activating zlib 1.2.3_1 Cleaning zlib >> Fetching openssl >> ---> Attempting to fetch openssl-0.9.8h.tar.gz from >> ---> http://www.openssl.org/source/ Verifying checksum(s) >> for openssl >> ---> Extracting openssl Applying patches to openssl Configuring >> ---> openssl Building openssl with target all Staging openssl into >> ---> destroot Installing openssl 0.9.8h_0 Activating >> openssl 0.9.8h_0 >> ---> Cleaning openssl Fetching mysql5 Attempting to fetch >> ---> mysql-5.0.51a.tar.gz from http://distfiles.macports.org/mysql5 >> ---> 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.51 >> a" && 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 cclient curl pkgconfig freetype gd2 XFree86 >> autoconf help2man p5- locale-gettext perl5.8 m4 automake >> fontconfig jpeg libpng libtool libmcrypt libxml2 libxslt >> mhash tidy tiff >> Error: Status 1 encountered during processing. >> my-username at my-username:/opt/local/lib/ $sudo port install php5 >> +apache2 +mysql5 >> Password: >> Error: Requested variants do not match original selection. >> Please perform 'port clean php5' or specify the force option. >> Error: Status 1 encountered during processing. >> my-username at my-username:/opt/local/lib/ $sudo port clean php5 >> ---> Cleaning php5 >> my-username at my-username:/opt/local/lib/ $sudo port install php5 >> +apache2 +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.51 >> a" && make all " returned error 2 Command output: Making all in Docs >> make[2]: Nothing to be done for `all'. >> Making all in cmd-line-utils >> Making all in libedit >> 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 freetype gd2 XFree86 autoconf >> help2man p5-locale- gettext perl5.8 m4 automake fontconfig >> jpeg libpng libtool libmcrypt >> libxml2 libxslt mhash tiff >> Error: Status 1 encountered during processing. >> >> >> -- >> Scott >> talklists at newgeo.com >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> > From jkorchok at hotmail.com Fri Aug 8 20:44:52 2008 From: jkorchok at hotmail.com (John Korchok) Date: Fri, 8 Aug 2008 23:44:52 -0400 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> Message-ID: Hi, I'm not a MacPorts expert like many of the others on this list, but you'll make your life easier and longer if you install an entire MAMP setup in Macports rather than trying to tie it in bits and pieces with other software installed from source. PHP installed with MacPorts expects to find Apache and MySQL in the MacPorts locations. The +mysql5 parameter does prepare PHP for MySQL, but doesn't tell it that your particular copy is installed somewhere else. It is possible to do what you want, but you would probably spend more time getting it to work than if you built PHP from source. Yes, an earlier version of Apache is already installed on your system, but Macports will get you the current version. Most likely you only need to copy over your httpd.conf with minor tweaks from your old installation to get a Macports version of Apache 2 operating the same way. I've never tried duplicating an old installation of MySQL to a MacPorts version, so I can't help you there. You're on to the correct way of setting up PHP with the features that you want, using the +sqllite etc. parameters, but all those parameters will install to or be looking for the MacPorts version in /opt/local, not any earlier version you had installed elsewhere. Other more experienced hands might try copying your working installation to another machine, but I'm sure if I did it I would waste a lot of time getting it working. Installing and debugging locally, then shipping the hardware is most time-efficient in my experience. John Korchok > -----Original Message----- > From: Scott Haneda [mailto:talklists at newgeo.com] > Sent: Friday, August 08, 2008 11:17 PM > To: John Korchok > Cc: > Subject: Re: Having a pretty rough time getting php5 installed > > Maybe I'm not understanding this entirely. I already have > mysql 5 installed from source and running. I also have apache > 2 running as part if the built in os install. > > I don't need to have those installed. They are running and > configured as I need them to be. > > I thought the +mysql5 meant php would gain support for > mysql5. Same with the other +options. > > So if I only want php5 with certain built in features like > works with apache 2 and mysql5 and sqllite etc. How do I do that? > > Then once I have the php working as I need it how do I pull > those chunks to my live server? > > Maybe you can also explain a little about your colo test and > migration system. > > I have little trouble installing mysql and a few others from source. > Php5 on the other hand, in order to give it at least a little > support for things like gd and the rest there are too many > other little things to compile alongside,each needing other > compiles as well. Trying to avoid that headache. > > Thanks. > > -- > Scott > Iphone says hello. > > On Aug 8, 2008, at 7:57 PM, "John Korchok" > wrote: > > > Hi Scott, > > > > Try > > sudo port install mysql5 +server > > sudo port install apache2 > > sudo port install php5 +apache2 +mysql5 +whateverelse in that order. > > > > I work with colo machines, but my preferred work method is > to install > > all the software using macports on the machine inhouse, test > > everything and then swap with the machine at the colo > location. Near > > 0% downtime this way. > > > > If you want to add services in the future run sudo port > install php5 > > +apache2 +mysql5 +whateverelse +newstuff but test it on the local > > machine first to work out any bugs. > > > > John Korchok > > > >> -----Original Message----- > >> From: macports-users-bounces at lists.macosforge.org > >> [mailto:macports-users-bounces at lists.macosforge.org] On Behalf Of > >> Scott Haneda > >> Sent: Friday, August 08, 2008 10:31 PM > >> To: macports-users at lists.macosforge.org > >> Subject: Having a pretty rough time getting php5 installed > >> > >> I am running PPC Dual G5 OS X 10.5 Leopard Downloaded and > installed > >> xcode today, so it should be as current as I can get. > >> > >> sudo port -v > >> MacPorts 1.600 > >> > >> Ran the update and it seemed to update fine, or not need it: > >> DEBUG: MacPorts base dir: /opt/local/var/macports/sources/ > >> rsync.macports.org/release/base > >> DEBUG: Setting user: root > >> > >> MacPorts base version 1.600 installed > >> DEBUG: Updating using rsync > >> receiving file list ... done > >> ... ... > >> The MacPorts installation is not outdated and so was not updated > >> DEBUG: Setting ownership to root > >> selfupdate done! > >> > >> And here is what I want to install: > >> sudo port install php5 +apache2 +mysql5 +pear +imap +sqlite +tidy > >> > >> * As a side note, this is a test machine, an identical one is at a > >> colo fascility, and I do not want to run ports on that > machine, but > >> take the install from this machine, to that machine, how > would I do > >> that, and how would I change the path and final location > of php5 to > >> something other than /opt > >> > >> ** In the future, if I need to add some other config > option to php5, > >> like maybe I want to add pspell or something, what would > that process > >> be to get it on the live server? > >> > >> ports runs, and then bails on me, here is what it says: > >> Password: > >> ---> Fetching apr > >> ---> Attempting to fetch apr-1.3.2.tar.bz2 from > >> ---> http://www.apache.org/dist/apr Verifying checksum(s) for apr > >> ---> Extracting apr Configuring apr Building apr with target all > >> ---> Staging apr into destroot Installing apr 1.3.2_0+darwin_9 > >> ---> Activating apr 1.3.2_0+darwin_9 Cleaning apr Fetching db46 > >> ---> Attempting to fetch patch.4.6.21.1 from > >> ---> > >> http://www.oracle.com/technology/products/berkeley-db/db/update/4.6 > >> ---> .21/ Attempting to fetch db-4.6.21.tar.gz from > >> ---> http://download-west.oracle.com/berkeley-db/ > >> ---> Verifying checksum(s) for db46 > >> ---> Extracting db46 > >> ---> Applying patches to db46 > >> ---> Configuring db46 > >> ---> Building db46 with target all > >> ---> Staging db46 into destroot > >> ---> Installing db46 4.6.21_1 > >> ---> Activating db46 4.6.21_1 > >> ---> Cleaning db46 > >> ---> 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 > >> ---> zlib Attempting to fetch zlib-1.2.3.tar.bz2 from > >> ---> http://www.zlib.net/ Verifying checksum(s) for zlib > Extracting > >> ---> zlib Applying patches to zlib Configuring zlib > Building zlib > >> ---> with target all Staging zlib into destroot Installing zlib > >> ---> 1.2.3_1 Activating zlib 1.2.3_1 Cleaning zlib > >> Fetching openssl > >> ---> Attempting to fetch openssl-0.9.8h.tar.gz from > >> ---> http://www.openssl.org/source/ Verifying checksum(s) > >> for openssl > >> ---> Extracting openssl Applying patches to openssl Configuring > >> ---> openssl Building openssl with target all Staging > openssl into > >> ---> destroot Installing openssl 0.9.8h_0 Activating > >> openssl 0.9.8h_0 > >> ---> Cleaning openssl Fetching mysql5 Attempting to fetch > >> ---> mysql-5.0.51a.tar.gz from http://distfiles.macports.org/mysql5 > >> ---> 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.51 > >> a" && 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 cclient curl pkgconfig freetype gd2 XFree86 autoconf > help2man > >> p5- locale-gettext perl5.8 m4 automake fontconfig jpeg > libpng libtool > >> libmcrypt libxml2 libxslt mhash tidy tiff > >> Error: Status 1 encountered during processing. > >> my-username at my-username:/opt/local/lib/ $sudo port install php5 > >> +apache2 +mysql5 > >> Password: > >> Error: Requested variants do not match original selection. > >> Please perform 'port clean php5' or specify the force option. > >> Error: Status 1 encountered during processing. > >> my-username at my-username:/opt/local/lib/ $sudo port clean php5 > >> ---> Cleaning php5 > >> my-username at my-username:/opt/local/lib/ $sudo port install php5 > >> +apache2 +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.51 > >> a" && make all " returned error 2 Command output: Making > all in Docs > >> make[2]: Nothing to be done for `all'. > >> Making all in cmd-line-utils > >> Making all in libedit > >> 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 freetype gd2 XFree86 autoconf help2man > >> p5-locale- gettext perl5.8 m4 automake fontconfig jpeg > libpng libtool > >> libmcrypt > >> libxml2 libxslt mhash tiff > >> Error: Status 1 encountered during processing. > >> > >> > >> -- > >> Scott > >> talklists at newgeo.com > >> > >> _______________________________________________ > >> macports-users mailing list > >> macports-users at lists.macosforge.org > >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > >> > > > From raimue at macports.org Sat Aug 9 08:24:42 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sat, 09 Aug 2008 17:24:42 +0200 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> Message-ID: <489DB6BA.9050401@macports.org> Scott Haneda wrote: > Maybe I'm not understanding this entirely. I already have mysql 5 > installed from source and running. I also have apache 2 running as > part if the built in os install. > > I don't need to have those installed. They are running and configured > as I need them to be. First of all, MacPorts never depends on external installs of software. See our FAQ for this: It is not so easy to compile modules for the builtin apache2 in Leopard, because you would need to generate a 4-way universal binary. Otherwise apache2 from Leopard can't load it. I consider universal building in MacPorts as experimental as it does not work for every port. Also, with 1.6.0 it is only possible to build 2-way universal binaries, 4-way is only possible with trunk. I would recommend to use everything from MacPorts. We have a HOWTO for setting up Apache, MySQL and PHP: > I thought the +mysql5 meant php would gain support for mysql5. Same > with the other +options. > > So if I only want php5 with certain built in features like works with > apache 2 and mysql5 and sqllite etc. How do I do that? Yes, that's what variants are for. See 'port variants php5' to see what else you can select. > Then once I have the php working as I need it how do I pull those > chunks to my live server? Unfortunately, that's not so easy. If the system is exactly the same hardware, you can generate either packages by 'port pkg' (and also disk images with 'port dmg') or enable archive mode. But the files will always end up at the same prefix (/opt/local by default, can only be changed by installing from source). Archive mode is complicated, as it needs modification at the source and at the target machine before you start building. There are a few pointers in the guide, although it's hard to understand if you are unexperienced with MacPorts. I don't use such a setup, so I would leave it to others to comment on these a bit more. > Maybe you can also explain a little about your colo test and migration > system. > > I have little trouble installing mysql and a few others from source. > Php5 on the other hand, in order to give it at least a little support > for things like gd and the rest there are too many other little things > to compile alongside,each needing other compiles as well. Trying to > avoid that headache. Each software has it set of dependencies. You also need to build those to make the software work. Sorry, that's the way it is. Rainer From talklists at newgeo.com Sat Aug 9 11:37:21 2008 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 9 Aug 2008 11:37:21 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <489DB6BA.9050401@macports.org> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> Message-ID: > I would recommend to use everything from MacPorts. We have a HOWTO > for setting up Apache, MySQL and PHP: > Thanks, looks good, got apache2 in, now I am again, stuck. sudo port install mysql5 +server Password: ---> 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: Making all in Docs make[2]: Nothing to be done for `all'. Making all in cmd-line-utils Making all in libedit 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: Status 1 encountered during processing. -- Scott talklists at newgeo.com From talklists at newgeo.com Sat Aug 9 12:12:19 2008 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 9 Aug 2008 12:12:19 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <489DB6BA.9050401@macports.org> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> Message-ID: > I would recommend to use everything from MacPorts. We have a HOWTO > for setting up Apache, MySQL and PHP: > Not going to well, apache2 went in fine, mysql seems to now have gone in with a clean being done first. I ran the load of the launcd file, that was fine, then when I run: sudo mysql5 mysql_install_db5 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2) So, of course, I can not start it either me at me:/opt/local/bin/ $sudo /opt/local/bin/mysqld_safe5 & [1] 67824 me at me:/opt/local/bin/ $Starting mysqld daemon with databases from /opt/ local/var/db/mysql5 STOPPING server from pid file /opt/local/var/db/mysql5/me.local.pid 080809 12:10:06 mysqld ended So I move on, trying to get php5 going: sudo port clean php5 sudo port install php5 +apache2 +mysql5 +pear +imap +sqlite +tidy * How do I get sqlite support in php5? ... fetches most everything ... then ... Error: Target org.macports.fetch returned: You have an Apple X11 installation already. MacPorts will not overwrite it. If you wish to use Apple X11, install the X11SDK included with Xcode tools. If you really want to use XFree86 instead, please move it aside first : sudo mv /usr/X11R6 /usr/X11R6.apple Error: The following dependencies failed to build: gd2 XFree86 autoconf help2man p5-locale-gettext perl5.8 m4 automake fontconfig jpeg libpng libtool libmcrypt libxml2 libxslt mhash tidy tiff Error: Status 1 encountered during processing. -- Scott talklists at newgeo.com From randall.h.wood at alexandriasoftware.com Sat Aug 9 12:29:41 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Sat, 9 Aug 2008 15:29:41 -0400 Subject: Having a pretty rough time getting php5 installed In-Reply-To: References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> Message-ID: On Sat, Aug 9, 2008 at 3:12 PM, Scott Haneda wrote: >> I would recommend to use everything from MacPorts. We have a HOWTO >> for setting up Apache, MySQL and PHP: >> > > > Not going to well, apache2 went in fine, mysql seems to now have gone > in with a clean being done first. I ran the load of the launcd file, > that was fine, then when I run: > sudo mysql5 mysql_install_db5 > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/opt/local/var/run/mysql5/mysqld.sock' (2) Is it possible that this instance is conflicting the instance that you installed earlier? > So, of course, I can not start it either > me at me:/opt/local/bin/ $sudo /opt/local/bin/mysqld_safe5 & > [1] 67824 > me at me:/opt/local/bin/ $Starting mysqld daemon with databases from /opt/ > local/var/db/mysql5 > STOPPING server from pid file /opt/local/var/db/mysql5/me.local.pid > 080809 12:10:06 mysqld ended > So I move on, trying to get php5 going: > sudo port clean php5 > sudo port install php5 +apache2 +mysql5 +pear +imap +sqlite +tidy > * How do I get sqlite support in php5? > ... fetches most everything ... then ... > Error: Target org.macports.fetch returned: > > You have an Apple X11 installation already. > MacPorts will not overwrite it. > > If you wish to use Apple X11, > install the X11SDK included with Xcode tools. As it says, make sure the Apple X11SDK package included with Xcode is installed. > If you really want to use XFree86 instead, > please move it aside first : > > sudo mv /usr/X11R6 /usr/X11R6.apple > > Error: The following dependencies failed to build: gd2 XFree86 > autoconf help2man p5-locale-gettext perl5.8 m4 automake fontconfig > jpeg libpng libtool libmcrypt libxml2 libxslt mhash tidy tiff > Error: Status 1 encountered during processing. > > -- > Scott > talklists at newgeo.com > > _______________________________________________ > 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 talklists at newgeo.com Sat Aug 9 14:33:49 2008 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 9 Aug 2008 14:33:49 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> Message-ID: <5F2F36A5-4C6C-4090-8F1B-86E4FCC40C93@newgeo.com> >> Not going to well, apache2 went in fine, mysql seems to now have gone >> in with a clean being done first. I ran the load of the launcd file, >> that was fine, then when I run: >> sudo mysql5 mysql_install_db5 >> ERROR 2002 (HY000): Can't connect to local MySQL server through >> socket >> '/opt/local/var/run/mysql5/mysqld.sock' (2) > > Is it possible that this instance is conflicting the instance that you > installed earlier? That install was another machine, this is a test machine, or my local machine, and has not seen a mysql install. ls -la /opt/local/var/run/mysql5/ drwxr-xr-x 3 _mysql _mysql 102 Aug 9 12:10 . drwxr-xr-x 3 root admin 102 Aug 9 11:57 .. -rw-r--r-- 2 root _mysql 0 Aug 9 11:57 .turd_mysql5 Any other suggestions? >> So, of course, I can not start it either >> me at me:/opt/local/bin/ $sudo /opt/local/bin/mysqld_safe5 & >> [1] 67824 >> me at me:/opt/local/bin/ $Starting mysqld daemon with databases from / >> opt/ >> local/var/db/mysql5 >> STOPPING server from pid file /opt/local/var/db/mysql5/me.local.pid >> 080809 12:10:06 mysqld ended >> So I move on, trying to get php5 going: >> sudo port clean php5 >> sudo port install php5 +apache2 +mysql5 +pear +imap +sqlite +tidy >> * How do I get sqlite support in php5? >> ... fetches most everything ... then ... >> Error: Target org.macports.fetch returned: >> >> You have an Apple X11 installation already. >> MacPorts will not overwrite it. >> >> If you wish to use Apple X11, >> install the X11SDK included with Xcode tools. > > As it says, make sure the Apple X11SDK package included with Xcode > is installed. The first part says I have it already, the second part says to install it. I already did, and just did again, by digging into xcode, I found X11SDK.pkg and ran it. I am pretty sure it is installed, where would I look to prove it is or is not? Thanks -- Scott talklists at newgeo.com From raimue at macports.org Sat Aug 9 15:46:45 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sun, 10 Aug 2008 00:46:45 +0200 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <5F2F36A5-4C6C-4090-8F1B-86E4FCC40C93@newgeo.com> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <5F2F36A5-4C6C-4090-8F1B-86E4FCC40C93@newgeo.com> Message-ID: <489E1E55.20909@macports.org> Scott Haneda wrote: >>> Error: Target org.macports.fetch returned: >>> >>> You have an Apple X11 installation already. >>> MacPorts will not overwrite it. >>> >>> If you wish to use Apple X11, >>> install the X11SDK included with Xcode tools. >> As it says, make sure the Apple X11SDK package included with Xcode >> is installed. > > The first part says I have it already, the second part says to install > it. I already did, and just did again, by digging into xcode, I found > X11SDK.pkg and ran it. I am pretty sure it is installed, where would > I look to prove it is or is not? You have X11, but not the X11SDK. These a separate packages. X11 comes from your Leopard DVD and is installed by default, the X11SDK comes with Xcode. Check with the following: $ pkgutil --pkgs=X11 com.apple.pkg.X11User org.x.X11.pkg com.apple.pkg.X11SDKLeo com.apple.pkg.X11DocumentationLeo This is what I got on Leopard. Rainer From talklists at newgeo.com Sat Aug 9 15:49:05 2008 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 9 Aug 2008 15:49:05 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <489E1E55.20909@macports.org> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <5F2F36A5-4C6C-4090-8F1B-86E4FCC40C93@newgeo.com> <489E1E55.20909@macports.org> Message-ID: >>>> Error: Target org.macports.fetch returned: >>>> >>>> You have an Apple X11 installation already. >>>> MacPorts will not overwrite it. >>>> >>>> If you wish to use Apple X11, >>>> install the X11SDK included with Xcode tools. >>> As it says, make sure the Apple X11SDK package included with >>> Xcode is installed. >> The first part says I have it already, the second part says to >> install it. I already did, and just did again, by digging into >> xcode, I found X11SDK.pkg and ran it. I am pretty sure it is >> installed, where would I look to prove it is or is not? > > You have X11, but not the X11SDK. These a separate packages. X11 > comes from your Leopard DVD and is installed by default, the X11SDK > comes with Xcode. > > Check with the following: > > $ pkgutil --pkgs=X11 > com.apple.pkg.X11User > org.x.X11.pkg > com.apple.pkg.X11SDKLeo > com.apple.pkg.X11DocumentationLeo > > This is what I got on Leopard. Thanks, I got that too, and managed to get php and now apache installed, mysql5 is installed, but still the socket err. I removed it, as well as the db directory, and am installing it again, and will try again. -- Scott talklists at newgeo.com From zavpublic at mac.com Sat Aug 9 15:50:04 2008 From: zavpublic at mac.com (Zav Public) Date: Sat, 09 Aug 2008 17:50:04 -0500 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <489E1E55.20909@macports.org> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <5F2F36A5-4C6C-4090-8F1B-86E4FCC40C93@newgeo.com> <489E1E55.20909@macports.org> Message-ID: Pardon the stupid question but is there a reason why MAMP is not an option for you? From talklists at newgeo.com Sat Aug 9 16:14:29 2008 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 9 Aug 2008 16:14:29 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> Message-ID: <9D8ACD7F-FFE8-496B-A359-D6720F798E66@newgeo.com> >> Not going to well, apache2 went in fine, mysql seems to now have gone >> in with a clean being done first. I ran the load of the launcd file, >> that was fine, then when I run: >> sudo mysql5 mysql_install_db5 >> ERROR 2002 (HY000): Can't connect to local MySQL server through >> socket >> '/opt/local/var/run/mysql5/mysqld.sock' (2) > > Is it possible that this instance is conflicting the instance that you > installed earlier? port uninstall mysql5 and reinstall worked, but I have some comments, as the docs are a little off, which is why this was not working for me I think... Specifically this page http://trac.macports.org/wiki/howto/MAMP This will not work: sudo mysql5 mysql_install_db5 This will not work: sudo mysql_install_db5 Sending in the user of mysql will work, so the correct command is: sudo -u mysql mysql_install_db5 On my system I do not have local/var/log sudo chown -R mysql:mysql /opt/local/var/log/mysql5/ So that will error, maybe there should be a log dir, not sure, not sure what would make it. The docs here at least do tell you maybe try another set of permission commands * what are these poops all over the place? .turd_mysql5 All the docs use a strange "?", so copy and paste will fail, such as ps ?ax | grep mysql does not work, but of course ps -ax | grep mysql does work. Small detail, but to someone who does not know, they would get stuck on that. This command is going to need sudo, fixing of the dash, removal of the -p: mysqladmin5 ?u root ?p password So, the correct usage is: mysqladmin -u root password NEWPASSWORD I think that covers it, I will post a separate email about my.cnf -- Scott talklists at newgeo.com From talklists at newgeo.com Sat Aug 9 16:17:20 2008 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 9 Aug 2008 16:17:20 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <489DB6BA.9050401@macports.org> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> Message-ID: <49869613-32CB-4358-BD63-B452EDD9758F@newgeo.com> > I would recommend to use everything from MacPorts. We have a HOWTO > for setting up Apache, MySQL and PHP: > With this all up and running, where is my.cnf read from? I only find /local/var/macports/sources/rsync.macports.org/release/ports/databases/ mysql4/files/my.cnf That seems to be for mysql 4, not 5. I can find a copy of the version 5, but where do I put it? Or do I add a parameter to the launcd plist in the array and tell it to locate it where I want? -- Scott talklists at newgeo.com From talklists at newgeo.com Sat Aug 9 16:26:45 2008 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 9 Aug 2008 16:26:45 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <49869613-32CB-4358-BD63-B452EDD9758F@newgeo.com> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <49869613-32CB-4358-BD63-B452EDD9758F@newgeo.com> Message-ID: >> I would recommend to use everything from MacPorts. We have a HOWTO >> for setting up Apache, MySQL and PHP: >> > > > With this all up and running, where is my.cnf read from? I only find > > /local/var/macports/sources/rsync.macports.org/release/ports/ > databases/ > mysql4/files/my.cnf > > That seems to be for mysql 4, not 5. I can find a copy of the version > 5, but where do I put it? Or do I add a parameter to the launcd plist > in the array and tell it to locate it where I want? In case this helps anyone, i ran find . -name 'my*\.cnf' This showed me the locations of the conf files, reading them told me where to put them. Thanks to everyone for the help, I have Apache2, MySql5 and php5 running nice now. I will probably be back wondering about updates when new versions are released :) -- Scott talklists at newgeo.com From raimue at macports.org Sat Aug 9 16:38:31 2008 From: raimue at macports.org (=?windows-1252?Q?Rainer_M=FCller?=) Date: Sun, 10 Aug 2008 01:38:31 +0200 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <9D8ACD7F-FFE8-496B-A359-D6720F798E66@newgeo.com> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <9D8ACD7F-FFE8-496B-A359-D6720F798E66@newgeo.com> Message-ID: <489E2A77.4050405@macports.org> Scott Haneda wrote: > port uninstall mysql5 and reinstall worked, but I have some comments, > as the docs are a little off, which is why this was not working for me > I think... > > Specifically this page http://trac.macports.org/wiki/howto/MAMP > > This will not work: sudo mysql5 mysql_install_db5 > This will not work: sudo mysql_install_db5 > > Sending in the user of mysql will work, so the correct command is: > sudo -u mysql mysql_install_db5 Thanks for spotting this, I edited the wiki. > On my system I do not have local/var/log > sudo chown -R mysql:mysql /opt/local/var/log/mysql5/ > So that will error, maybe there should be a log dir, not sure, not > sure what would make it. The docs here at least do tell you maybe try > another set of permission commands Can't comment on this one, I don't know if mysql5 is supposed to create /opt/local/var/log/mysql5/. > * what are these poops all over the place? .turd_mysql5 This is a special file which prevents port from deleting this directory even if it is empty as the mysql5 port needs it. > All the docs use a strange "?", so copy and paste will fail, such as > ps ?ax | grep mysql does not work, but of course ps -ax | grep mysql > does work. Small detail, but to someone who does not know, they would > get stuck on that. Thanks again, replaced those on the wiki. > This command is going to need sudo, fixing of the dash, removal of the > -p: > mysqladmin5 ?u root ?p password > > So, the correct usage is: mysqladmin -u root password NEWPASSWORD I prefer: mysqladmin5 -u root password -p This will ask for the new password and prevents it to get saved in the shell history. Again, edited the wiki. Rainer From talklists at newgeo.com Sat Aug 9 17:19:28 2008 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 9 Aug 2008 17:19:28 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <489E2A77.4050405@macports.org> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <9D8ACD7F-FFE8-496B-A359-D6720F798E66@newgeo.com> <489E2A77.4050405@macports.org> Message-ID: > Thanks for spotting this, I edited the wiki. Thank you for all your help and everyone else as well, just glad I could return the favor in a small way. -- Scott talklists at newgeo.com From face at CentosPrime.COM Sun Aug 10 06:13:57 2008 From: face at CentosPrime.COM (Chris Janton) Date: Sun, 10 Aug 2008 06:13:57 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <489E2A77.4050405@macports.org> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <9D8ACD7F-FFE8-496B-A359-D6720F798E66@newgeo.com> <489E2A77.4050405@macports.org> Message-ID: <0A82A0FC-A541-4F0D-ABA4-231B02E2A319@centosprime.com> On 2008-08-09 , at 16:38 , Rainer M?ller wrote: >> On my system I do not have local/var/log >> sudo chown -R mysql:mysql /opt/local/var/log/mysql5/ >> So that will error, maybe there should be a log dir, not sure, not >> sure what would make it. The docs here at least do tell you maybe >> try >> another set of permission commands > > Can't comment on this one, I don't know if mysql5 is supposed to > create > /opt/local/var/log/mysql5/. > Why would it create it? It isn't needed to run mysql. The MySQL manual states "By default, all log files are created in the mysqld data directory." You can change the locations in my.cnf I found the best location (for my systems) is /etc/my.cnf - all the versions of mysql that I have used find the configuration there - built by Apple, built by MySQL, built by MacPorts. 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From raimue at macports.org Sun Aug 10 06:34:36 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sun, 10 Aug 2008 15:34:36 +0200 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <0A82A0FC-A541-4F0D-ABA4-231B02E2A319@centosprime.com> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <9D8ACD7F-FFE8-496B-A359-D6720F798E66@newgeo.com> <489E2A77.4050405@macports.org> <0A82A0FC-A541-4F0D-ABA4-231B02E2A319@centosprime.com> Message-ID: <489EEE6C.9070402@macports.org> Chris Janton wrote: > On 2008-08-09 , at 16:38 , Rainer M?ller wrote: >> Can't comment on this one, I don't know if mysql5 is supposed to >> create >> /opt/local/var/log/mysql5/. >> > > Why would it create it? It isn't needed to run mysql. The MySQL manual > states > > "By default, all log files are created in the mysqld data directory." > > You can change the locations in my.cnf > > I found the best location (for my systems) is /etc/my.cnf - all the > versions of mysql that I have > used find the configuration there - built by Apple, built by MySQL, > built by MacPorts. Yes, I am aware that the location can be changed. But why does the HOWTO about MAMP [1] in the wiki contain a reference to /opt/local/var/log/mysql5/ if it is not used? The information there is outdated or incorrect. Rainer [1] http://trac.macports.org/wiki/howto/MAMP From talklists at newgeo.com Sun Aug 10 17:17:00 2008 From: talklists at newgeo.com (Scott Haneda) Date: Sun, 10 Aug 2008 17:17:00 -0700 Subject: Possible bug in ports installer Message-ID: <07B952FC-690F-4C49-9CC3-264CDC3FD0F4@newgeo.com> 2.4.1. The Postflight Script in the docs In a test case, I had ~/.profile, it was not changed to mpsaved_ $timestamp nor was it edited In a second test case, I had no ~/.profile, it was not created. Adding the path and the manpath certainly fixes the issue, but the docs seem to either be wrong, or the ports installer is not doing what it is supposed to. -- Scott talklists at newgeo.com From raimue at macports.org Sun Aug 10 17:30:11 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 11 Aug 2008 02:30:11 +0200 Subject: Possible bug in ports installer In-Reply-To: <07B952FC-690F-4C49-9CC3-264CDC3FD0F4@newgeo.com> References: <07B952FC-690F-4C49-9CC3-264CDC3FD0F4@newgeo.com> Message-ID: <489F8813.5040206@macports.org> Scott Haneda wrote: > 2.4.1. The Postflight Script in the docs > > In a test case, I had ~/.profile, it was not changed to mpsaved_ > $timestamp nor was it edited > > In a second test case, I had no ~/.profile, it was not created. Yes, this is a known bug in 1.6.0. Rainer From ryandesign at macports.org Sun Aug 10 17:50:46 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 10 Aug 2008 19:50:46 -0500 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <49869613-32CB-4358-BD63-B452EDD9758F@newgeo.com> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <49869613-32CB-4358-BD63-B452EDD9758F@newgeo.com> Message-ID: <079C1EA3-2816-4A76-B2D0-BD88CC5574CC@macports.org> On Aug 9, 2008, at 18:17, Scott Haneda wrote: >> I would recommend to use everything from MacPorts. We have a HOWTO >> for setting up Apache, MySQL and PHP: >> > > With this all up and running, where is my.cnf read from? I only find > > /local/var/macports/sources/rsync.macports.org/release/ports/ > databases/ > mysql4/files/my.cnf > > That seems to be for mysql 4, not 5. I can find a copy of the version > 5, but where do I put it? Or do I add a parameter to the launcd plist > in the array and tell it to locate it where I want? The preferred location for my.cnf for MacPorts mysql5 is /opt/local/ etc/mysql5/my.cnf. Or it will read /etc/my.cnf if present. Sample configuration files are provided in /opt/local/share/mysql5/ mysql which you can copy to create your own config. From talklists at newgeo.com Sun Aug 10 20:02:37 2008 From: talklists at newgeo.com (Scott Haneda) Date: Sun, 10 Aug 2008 20:02:37 -0700 Subject: And.. failing again on the php5 install Message-ID: <65BD519E-D506-44A7-9D54-14DAE7B1B4E8@newgeo.com> I got it working on my local machine, PPC Dual 2.0, Leopard. At my colo, I have PPC 2.5 Dual, Leopard, clean install, brand new, developer tools, x11 and x11 sdk. Apache2 went in without too much trouble, mysql5 seems to have done the same. sudo port install php5 +apache2 +mysql5 First, it barfs at some point, says it can not find perl, so I remove perl, and install it again, and it gets a bit further. sudo port install php5 +apache2 +mysql5 ---> Installing perl5.8 5.8.8_3+darwin_9 ---> Activating perl5.8 5.8.8_3+darwin_9 ---> Cleaning perl5.8 ---> 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 fontconfig ---> Attempting to fetch fontconfig-2.6.0.tar.gz from http://fontconfig.org/release/ ---> Verifying checksum(s) for fontconfig ---> Extracting fontconfig ---> Configuring fontconfig ---> Building fontconfig with target all ---> Staging fontconfig into destroot ---> Installing fontconfig 2.6.0_0+macosx ---> Activating fontconfig 2.6.0_0+macosx ---> Cleaning fontconfig ---> 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 Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_graphics_jpeg/work/jpeg-6b" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./ wrrle.c -fno-common -DPIC -o .libs/wrrle.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrrle.c -o wrrle.o >/dev/null 2>&1 mv -f .libs/wrrle.lo wrrle.lo ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrbmp.c rm -f .libs/wrbmp.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrbmp.c -fno- common -DPIC -o .libs/wrbmp.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrbmp.c -o wrbmp.o >/dev/null 2>&1 mv -f .libs/wrbmp.lo wrbmp.lo ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdcolmap.c rm -f .libs/rdcolmap.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdcolmap.c -fno- common -DPIC -o .libs/rdcolmap.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdcolmap.c -o rdcolmap.o >/dev/null 2>&1 mv -f .libs/rdcolmap.lo rdcolmap.lo ./libtool --mode=link /usr/bin/gcc-4.0 -L/opt/local/lib -o djpeg djpeg.lo wrppm.lo wrgif.lo wrtarga.lo wrrle.lo wrbmp.lo rdcolmap.lo cdjpeg.lo libjpeg.la /usr/bin/gcc-4.0 -L/opt/local/lib -o .libs/djpeg djpeg.o wrppm.o wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o cdjpeg.o -L.libs -ljpeg creating djpeg ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./jpegtran.c rm -f .libs/jpegtran.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./jpegtran.c -fno- common -DPIC -o .libs/jpegtran.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./jpegtran.c -o jpegtran.o >/dev/null 2>&1 mv -f .libs/jpegtran.lo jpegtran.lo ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./transupp.c rm -f .libs/transupp.lo /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./transupp.c -fno- common -DPIC -o .libs/transupp.lo ./transupp.c: In function 'jtransform_execute_transform': ./transupp.c:1747: internal compiler error: Bus error Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [transupp.lo] Error 1 Error: The following dependencies failed to build: gd2 jpeg libpng libtool libmcrypt libxml2 libxslt mhash tiff Error: Status 1 encountered during processing. -- Scott talklists at newgeo.com From ryandesign at macports.org Sun Aug 10 22:03:49 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 11 Aug 2008 00:03:49 -0500 Subject: And.. failing again on the php5 install In-Reply-To: <65BD519E-D506-44A7-9D54-14DAE7B1B4E8@newgeo.com> References: <65BD519E-D506-44A7-9D54-14DAE7B1B4E8@newgeo.com> Message-ID: <2F72956F-B5F4-4A09-BBEE-0E2FC32FF68D@macports.org> On Aug 10, 2008, at 22:02, Scott Haneda wrote: > I got it working on my local machine, PPC Dual 2.0, Leopard. > At my colo, I have PPC 2.5 Dual, Leopard, clean install, brand new, > developer tools, x11 and x11 sdk. > > Apache2 went in without too much trouble, mysql5 seems to have done > the same. > > sudo port install php5 +apache2 +mysql5 > > First, it barfs at some point, says it can not find perl, so I remove > perl, and install it again, and it gets a bit further. Possibly again the Leopard environment variable bug; not sure since you didn't show the exact error. > sudo port install php5 +apache2 +mysql5 [snip] > ---> 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 > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_graphics_jpeg/work/jpeg-6b" && make all " > returned error 2 > Command output: /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./ > wrrle.c -fno-common -DPIC -o .libs/wrrle.lo > /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrrle.c -o wrrle.o >> /dev/null 2>&1 > mv -f .libs/wrrle.lo wrrle.lo > ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. > -c ./wrbmp.c > rm -f .libs/wrbmp.lo > /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrbmp.c -fno- > common -DPIC -o .libs/wrbmp.lo > /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrbmp.c -o wrbmp.o >> /dev/null 2>&1 > mv -f .libs/wrbmp.lo wrbmp.lo > ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. > -c ./rdcolmap.c > rm -f .libs/rdcolmap.lo > /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdcolmap.c -fno- > common -DPIC -o .libs/rdcolmap.lo > /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdcolmap.c -o > rdcolmap.o >/dev/null 2>&1 > mv -f .libs/rdcolmap.lo rdcolmap.lo > ./libtool --mode=link /usr/bin/gcc-4.0 -L/opt/local/lib -o djpeg > djpeg.lo wrppm.lo wrgif.lo wrtarga.lo wrrle.lo wrbmp.lo rdcolmap.lo > cdjpeg.lo libjpeg.la > /usr/bin/gcc-4.0 -L/opt/local/lib -o .libs/djpeg djpeg.o wrppm.o > wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o cdjpeg.o -L.libs -ljpeg > creating djpeg > ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. > -c ./jpegtran.c > rm -f .libs/jpegtran.lo > /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./jpegtran.c -fno- > common -DPIC -o .libs/jpegtran.lo > /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./jpegtran.c -o > jpegtran.o >/dev/null 2>&1 > mv -f .libs/jpegtran.lo jpegtran.lo > ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. > -c ./transupp.c > rm -f .libs/transupp.lo > /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./transupp.c -fno- > common -DPIC -o .libs/transupp.lo > ./transupp.c: In function 'jtransform_execute_transform': > ./transupp.c:1747: internal compiler error: Bus error > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > make: *** [transupp.lo] Error 1 > > Error: The following dependencies failed to build: gd2 jpeg libpng > libtool libmcrypt libxml2 libxslt mhash tiff > Error: Status 1 encountered during processing. So it's failing on the jpeg install, not on the php5 install. If you clean the jpeg work area ("sudo port clean --work jpeg") and try again, does it still fail? If so, you should file a bug report with Apple like it says. I haven't seen this problem before but dual-processor PowerPC systems probably aren't very well represented among MacPorts users / maintainers / developers. From rswwalker at hotmail.com Sun Aug 10 22:59:03 2008 From: rswwalker at hotmail.com (Ross Walker) Date: Mon, 11 Aug 2008 01:59:03 -0400 Subject: And.. failing again on the php5 install In-Reply-To: <2F72956F-B5F4-4A09-BBEE-0E2FC32FF68D@macports.org> Message-ID: On 8/11/08 1:03 AM, "Ryan Schmidt" wrote: > On Aug 10, 2008, at 22:02, Scott Haneda wrote: > >> I got it working on my local machine, PPC Dual 2.0, Leopard. >> At my colo, I have PPC 2.5 Dual, Leopard, clean install, brand new, >> developer tools, x11 and x11 sdk. >> >> Apache2 went in without too much trouble, mysql5 seems to have done >> the same. >> >> sudo port install php5 +apache2 +mysql5 >> >> First, it barfs at some point, says it can not find perl, so I remove >> perl, and install it again, and it gets a bit further. > > Possibly again the Leopard environment variable bug; not sure since > you didn't show the exact error. > >> sudo port install php5 +apache2 +mysql5 > > [snip] > >> ---> 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 >> Error: Target org.macports.build returned: shell command " cd "/opt/ >> local/var/macports/build/ >> _opt_local_var_macports_sources_rsync >> .macports.org_release_ports_graphics_jpeg/work/jpeg-6b" && make all " >> returned error 2 >> Command output: /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./ >> wrrle.c -fno-common -DPIC -o .libs/wrrle.lo >> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrrle.c -o wrrle.o >>> /dev/null 2>&1 >> mv -f .libs/wrrle.lo wrrle.lo >> ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. >> -c ./wrbmp.c >> rm -f .libs/wrbmp.lo >> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrbmp.c -fno- >> common -DPIC -o .libs/wrbmp.lo >> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrbmp.c -o wrbmp.o >>> /dev/null 2>&1 >> mv -f .libs/wrbmp.lo wrbmp.lo >> ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. >> -c ./rdcolmap.c >> rm -f .libs/rdcolmap.lo >> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdcolmap.c -fno- >> common -DPIC -o .libs/rdcolmap.lo >> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdcolmap.c -o >> rdcolmap.o >/dev/null 2>&1 >> mv -f .libs/rdcolmap.lo rdcolmap.lo >> ./libtool --mode=link /usr/bin/gcc-4.0 -L/opt/local/lib -o djpeg >> djpeg.lo wrppm.lo wrgif.lo wrtarga.lo wrrle.lo wrbmp.lo rdcolmap.lo >> cdjpeg.lo libjpeg.la >> /usr/bin/gcc-4.0 -L/opt/local/lib -o .libs/djpeg djpeg.o wrppm.o >> wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o cdjpeg.o -L.libs -ljpeg >> creating djpeg >> ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. >> -c ./jpegtran.c >> rm -f .libs/jpegtran.lo >> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./jpegtran.c -fno- >> common -DPIC -o .libs/jpegtran.lo >> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./jpegtran.c -o >> jpegtran.o >/dev/null 2>&1 >> mv -f .libs/jpegtran.lo jpegtran.lo >> ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. >> -c ./transupp.c >> rm -f .libs/transupp.lo >> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./transupp.c -fno- >> common -DPIC -o .libs/transupp.lo >> ./transupp.c: In function 'jtransform_execute_transform': >> ./transupp.c:1747: internal compiler error: Bus error >> Please submit a full bug report, >> with preprocessed source if appropriate. >> See for instructions. >> make: *** [transupp.lo] Error 1 >> >> Error: The following dependencies failed to build: gd2 jpeg libpng >> libtool libmcrypt libxml2 libxslt mhash tiff >> Error: Status 1 encountered during processing. > > > So it's failing on the jpeg install, not on the php5 install. > > If you clean the jpeg work area ("sudo port clean --work jpeg") and > try again, does it still fail? If so, you should file a bug report > with Apple like it says. > > I haven't seen this problem before but dual-processor PowerPC systems > probably aren't very well represented among MacPorts users / > maintainers / developers. I would also check the jpeg project's web site, there may be a known issue with their code and compiler options on big endian multi-processor systems (try a local jpeg macport that doesn't use the -O2 optimization option). -Ross From face at CentosPrime.COM Mon Aug 11 07:20:24 2008 From: face at CentosPrime.COM (Chris Janton) Date: Mon, 11 Aug 2008 07:20:24 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <079C1EA3-2816-4A76-B2D0-BD88CC5574CC@macports.org> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <49869613-32CB-4358-BD63-B452EDD9758F@newgeo.com> <079C1EA3-2816-4A76-B2D0-BD88CC5574CC@macports.org> Message-ID: <535A3E55-4597-49C4-BFD8-FDD48E17D3C3@centosprime.com> On 2008-08-10 , at 17:50 , Ryan Schmidt wrote: > The preferred location for my.cnf for MacPorts mysql5 is /opt/local/ > etc/mysql5/my.cnf. Or it will read /etc/my.cnf if present. > Sample configuration files are provided in /opt/local/share/mysql5/ > mysql which you can copy to create your own config. How is it "preferred" over any other location? By convention all MacPorts is in /opt/local. The MacPorts version of MySQL will look in /opt/local/etc for my.cnf By observation all versions of MySQL (Apple, MySQL, MacPorts, Fink, etc.) will also look in /etc/ for my.cnf. If you want to keep your my.cnf in a place that all versions will find, MacPorts installed or not, it is far easier to keep the configuration in /etc - you get "bit" a lot less that way ;-) 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From ben at cogs.com Mon Aug 11 07:25:54 2008 From: ben at cogs.com (Ben Greenfield) Date: Mon, 11 Aug 2008 10:25:54 -0400 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <535A3E55-4597-49C4-BFD8-FDD48E17D3C3@centosprime.com> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <49869613-32CB-4358-BD63-B452EDD9758F@newgeo.com> <079C1EA3-2816-4A76-B2D0-BD88CC5574CC@macports.org> <535A3E55-4597-49C4-BFD8-FDD48E17D3C3@centosprime.com> Message-ID: <80FBBE1B-8528-4D30-84CD-9601348D78FD@cogs.com> On Aug 11, 2008, at 10:20 AM, Chris Janton wrote: > On 2008-08-10 , at 17:50 , Ryan Schmidt wrote: > >> The preferred location for my.cnf for MacPorts mysql5 is /opt/local/ >> etc/mysql5/my.cnf. Or it will read /etc/my.cnf if present. >> Sample configuration files are provided in /opt/local/share/mysql5/ >> mysql which you can copy to create your own config. > > > How is it "preferred" over any other location? It's a question of style. If only Apple stores things in /etc/ then Apple can't stomp on your install. If everything MacPorts related is installed under /opt/, /opt/ can be blown-away without effecting other non MacPorts install. The idea is crisp clear lines of delineation to help one manage their computer. Thanks, Ben > > > By convention all MacPorts is in /opt/local. > The MacPorts version of MySQL will look in /opt/local/etc for my.cnf > > By observation all versions of MySQL (Apple, MySQL, MacPorts, Fink, > etc.) will also look in /etc/ for my.cnf. > > If you want to keep your my.cnf in a place that all versions will > find, MacPorts installed or not, it is far > easier to keep the configuration in /etc - you get "bit" a lot less > that way ;-) > > > 8) > ---------------------------------- > Chris Janton - face at CentosPrime dot COM > Netminder for Opus1.COM > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From face at CentosPrime.COM Mon Aug 11 07:56:30 2008 From: face at CentosPrime.COM (Chris Janton) Date: Mon, 11 Aug 2008 07:56:30 -0700 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <80FBBE1B-8528-4D30-84CD-9601348D78FD@cogs.com> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <49869613-32CB-4358-BD63-B452EDD9758F@newgeo.com> <079C1EA3-2816-4A76-B2D0-BD88CC5574CC@macports.org> <535A3E55-4597-49C4-BFD8-FDD48E17D3C3@centosprime.com> <80FBBE1B-8528-4D30-84CD-9601348D78FD@cogs.com> Message-ID: <71D41FCA-8EBF-4015-8B53-C768C6339116@CentosPrime.COM> On 2008-08-11 , at 07:25 , Ben Greenfield wrote: > It's a question of style. If only Apple stores things in /etc/ then > Apple can't stomp on your install. If everything MacPorts related is > installed under /opt/, /opt/ can be blown-away without effecting other > non MacPorts install. > > The idea is crisp clear lines of delineation to help one manage their > computer. I understand the style, and why it needs to be done that way. In this case none of the "providers" creates /etc/my.cnf, but they all will refer to it. It's a case where being able to manage a system and use it effectively trumps the ability to manage a software installation and update tool. I'm not saying that MacPorts should do things any differently. I'm sharing a technique that will make life easier for someone using a tool and possibly switching "vendors". With all of the MAMP, LAMP, etc. possibilities sanity may prevail if *you* decide where the configuration file will be. ;-) 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From ryandesign at macports.org Mon Aug 11 22:48:02 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 12 Aug 2008 00:48:02 -0500 Subject: Having a pretty rough time getting php5 installed In-Reply-To: <535A3E55-4597-49C4-BFD8-FDD48E17D3C3@centosprime.com> References: <32F52F08-A3FF-4759-93FB-E71BCE19F71D@newgeo.com> <489DB6BA.9050401@macports.org> <49869613-32CB-4358-BD63-B452EDD9758F@newgeo.com> <079C1EA3-2816-4A76-B2D0-BD88CC5574CC@macports.org> <535A3E55-4597-49C4-BFD8-FDD48E17D3C3@centosprime.com> Message-ID: <53CDD6F0-61DF-457A-93B6-8B0611EFC23B@macports.org> On Aug 11, 2008, at 09:20, Chris Janton wrote: > On 2008-08-10 , at 17:50 , Ryan Schmidt wrote: > >> The preferred location for my.cnf for MacPorts mysql5 is /opt/local/ >> etc/mysql5/my.cnf. Or it will read /etc/my.cnf if present. >> Sample configuration files are provided in /opt/local/share/mysql5/ >> mysql which you can copy to create your own config. > > How is it "preferred" over any other location? It is at least preferred by me, because I want a configuration file which only MacPorts MySQL, not any other MySQL, will read. Your needs may be different. > By convention all MacPorts is in /opt/local. > The MacPorts version of MySQL will look in /opt/local/etc for my.cnf > > By observation all versions of MySQL (Apple, MySQL, MacPorts, Fink, > etc.) will also look in /etc/ for my.cnf. > > If you want to keep your my.cnf in a place that all versions will > find, MacPorts installed or not, it is far > easier to keep the configuration in /etc - you get "bit" a lot less > that way ;-) From ryandesign at macports.org Mon Aug 11 23:11:28 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 12 Aug 2008 01:11:28 -0500 Subject: And.. failing again on the php5 install In-Reply-To: <91C3C6DD-8C02-483D-9B9F-F7D2AE39F06C@newgeo.com> References: <65BD519E-D506-44A7-9D54-14DAE7B1B4E8@newgeo.com> <2F72956F-B5F4-4A09-BBEE-0E2FC32FF68D@macports.org> <91C3C6DD-8C02-483D-9B9F-F7D2AE39F06C@newgeo.com> Message-ID: Please remember to Reply All so your reply goes to the list too, not just to me. On Aug 11, 2008, at 10:10, Scott Haneda wrote: >> So it's failing on the jpeg install, not on the php5 install. >> >> If you clean the jpeg work area ("sudo port clean --work jpeg") >> and try again, does it still fail? If so, you should file a bug >> report with Apple like it says. >> >> I haven't seen this problem before but dual-processor PowerPC >> systems probably aren't very well represented among MacPorts >> users / maintainers / developers. > > Each time I get a little further > sudo port install php5 +apache2 +mysql5 > ---> Building php5 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_p > hp5/work/php-5.2.6" && make all " returned error 2 > Command output: /bin/sh /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/libtool --silent --preserve-dup-deps -- > mode=compile /usr/bin/gcc-4.0 -Iext/date/lib -Iext/date/ -I/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/date/ -DPHP_ATOM_INC -I/opt/local/var/ > macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/include -I/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/main -I/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6 -I/opt/local/include/libxml2 -I/opt/local/ > include -I/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/date/lib -I/opt/local/include/freetype2 -I/ > opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/mbstring/oniguruma -I/opt/local/var/macports/ > build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/mbstring/libmbfl -I/opt/local/var/macports/ > build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/mbstring/libmbfl/mbfl -I/opt/local/var/ > macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/mysql5/include/mysql -I/opt/local/include/mysql5/mysql -I/ > opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/TSRM -I/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/Zend -I/opt/local/include -no-cpp-precomp -I/ > opt/local/include -O2 -c /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/date/lib/parse_date.c -o ext/date/lib/ > parse_date.lo > /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/date/lib/parse_date.c: In function > 'timelib_strtotime': > /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/date/lib/parse_date.c:22383: internal > compiler error: Bus error > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > make: *** [ext/date/lib/parse_date.lo] Error 1 > > Error: Status 1 encountered during processing. I tried searching Google for this error. Only 3 hits as of this writing. http://www.google.com/search?rls=en&q=parse_date.c+%22internal +compiler+error%22 This one matches my recommendation at this time: http://www.howtoforge.com/forums/showthread.php?p=131778 which is that you have bad hardware: bad RAM, bad processor, or bad hard drive. Run Apple Hardware Test, TechTool or any other diagnostic software you have. If you have multiple RAM sticks, test with single sticks to see if you can isolate the bad one (if AHT doesn't tell you). Try a different hard drive. Not sure how you test for a bad processor if you don't have a spare processor, though a favorite tech support strategy (for testing processor and RAM) is to run Graphing Calculator on demo mode overnight and see if it's crashed in the morning. Um, that was from the OS 9 days... I guess now we have Grapher in Mac OS X but I don't see a demo mode. > So then I run clean --work on php, and I get > ---> Fetching php5 > ---> Verifying checksum(s) for php5 > Error: Checksum (md5) mismatch for php-5.2.6.tar.bz2 > Error: Checksum (sha1) mismatch for php-5.2.6.tar.bz2 > Error: Checksum (rmd160) mismatch for php-5.2.6.tar.bz2 > Error: Target org.macports.checksum returned: Unable to verify file > checksums > Error: Status 1 encountered during processing. > powerstar:~ haneda$ Either you did not run "port clean --work" and instead ran "port clean --dist" or "port clean --all" which deletes the distfile, and then upon reinstallation you got a corrupt download for some reason... Or the checksum routines now decided that your previously- good distfile is bad. So either hard drive or RAM or processor aren't storing or reading them right. > I figured, try a clean --all on php5, for what it is worth.. > Got past extraction and passed the checksum test... > > I get a big mess, assuming this is that environment bug again... It isn't. The Leopard environment variable issue generally only occurs if you request to install one port, but in doing so this causes a different port (a dependency) to be installed first, and the environment variables are not reset properly before the next port. Not all ports care about this, but some do, which is why the issue occurs seemingly at random. > sudo port install php5 +apache2 +mysql5 > ---> Fetching php5 > ---> Attempting to fetch php-5.2.6.tar.bz2 from http://www.php.net/ > distributions/ > ---> Verifying checksum(s) for php5 > ---> Extracting php5 > ---> Configuring php5 > ---> Building php5 with target all [snip] > /bin/sh /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/libtool --silent --preserve-dup-deps -- > mode=compile /usr/bin/gcc-4.0 -Iext/date/lib -Iext/date/ -I/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/date/ -DPHP_ATOM_INC -I/opt/local/var/ > macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/include -I/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/main -I/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6 -I/opt/local/include/libxml2 -I/opt/local/ > include -I/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/date/lib -I/opt/local/include/freetype2 -I/ > opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/mbstring/oniguruma -I/opt/local/var/macports/ > build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/mbstring/libmbfl -I/opt/local/var/macports/ > build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/mbstring/libmbfl/mbfl -I/opt/local/var/ > macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/mysql5/include/mysql -I/opt/local/include/mysql5/mysql -I/ > opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/TSRM -I/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/Zend -I/opt/local/include -no-cpp-precomp -I/ > opt/local/include -O2 -c /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/date/lib/parse_date.c -o ext/date/lib/ > parse_date.lo > /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/date/lib/parse_date.c: In function > 'timelib_strtotime': > /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work/php-5.2.6/ext/date/lib/parse_date.c:22383: internal > compiler error: Bus error > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > make: *** [ext/date/lib/parse_date.lo] Error 1 Ok, same bug as reported initially. Bus error when compiling parse_date.c. > ran port clean --work php5 > > then try to install again, and I get > > ---> Fetching php5 > ---> Verifying checksum(s) for php5 > ---> Extracting php5 > Error: Target org.macports.extract returned: shell command " cd "/ > opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p > hp5/work" && /opt/local/bin/bzip2 -dc /opt/local/var/macports/ > distfiles/php5/php-5.2.6.tar.bz2 | /usr/bin/gnutar --no-same-owner - > xf - " returned error 2 > Command output: /usr/bin/gnutar: Skipping to next header > /usr/bin/gnutar: Archive contains obsolescent base-64 headers > > bzip2: Data integrity error when decompressing. > Input file = /opt/local/var/macports/distfiles/php5/ > php-5.2.6.tar.bz2, output file = (stdout) > > It is possible that the compressed file(s) have become corrupted. > You can use the -tvv option to test integrity of such files. > > You can use the `bzip2recover' program to attempt to recover > data from undamaged sections of corrupted files. > > /usr/bin/gnutar: Read 3560 bytes from - > /usr/bin/gnutar: Error exit delayed from previous errors > > Error: Status 1 encountered during processing. So again the distfile which was ok a moment ago is not ok now. tar is complaining that the archive contains obsolete base-64 headers and is skipping them, and so the data passed to bzip2 is not valid bzip2 data, so bzip2 says the data is corrupted, which it now is. Googling the error message: http://www.google.com/search?rls=en&q=%22Archive+contains+obsolescent +base-64+headers%22 I get this: http://www.linuxquestions.org/questions/linuxquestions.org-member- success-stories-23/tar-archive-contains-obsolescent-base-64- headers-85911/ One user suggests the problem may be lack of disk space, but another suggests hardware problems. In this message, the user experienced the error right before his RAID died: http://lists.freebsd.org/pipermail/freebsd-ports/2004-February/ 009401.html > So, probably not possible I suppose. I have no idea what to file > as a bug report at apple, and have a strong feeling they wont care > at this point, ppc being pretty long gone in their eyes. While it's true PowerPC is on its way out, and that Mac OS X 10.6 will probably exclude PowerPC systems, I would think they would still want to know about crashing bugs on PowerPC. However at this point I don't think there's a bug to report; I think there's a hardware fault. From dirk.schulz at kinzesberg.de Tue Aug 12 02:30:10 2008 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Tue, 12 Aug 2008 11:30:10 +0200 Subject: Nagios/Macports on PowerMac G5 Message-ID: <7A70E6BEB518D38CB47132B2@file.wkd-druck.org> Hi folks, I am running Nagios in several instances on Linux machines for a few years now, so I thought I give it a try on a Mac. I have installed Macports and with that nagios (3.03) on a PowerMac G5 Dual 1,8 GHz (2,5 GB RAM), have configured 3 hosts and around 100 services - which is not much. Now there is several problems that I do not find any way to get around: 1. Nagios uses 150 - 200 % of cpu (since it is a dual cpu system that makes sense) in normal operation. One of my other nagios instances on a linux box monitors 30 hosts with 400 services inside a virtual machine on a pentium III box without noticable cpu load. The rest of the machine (system, services) run on unimpressed with normal process behaviour (just a mailserver and the OS, nothing else). What is happening there? 2. Nagios simply stops every now and then; it is not launchd stopping nagios, but the nagios process itself seems to hang somehow. It simply does not do any checks any more. Or a sub process hangs while trying to send an email. These hangs are quite weird - top and other tools list these processes as normally working processes, but they stop in the middle of something and do not go on or never finish. launchd does not recognize nagios as failed then and does not restart it. I would be interested in looking very deep into this and spending quite some time, but I do not now where to look at. Any hint or help is appreciated. Dirk From dexter at ambidexter.com Tue Aug 12 06:25:33 2008 From: dexter at ambidexter.com (Michael Dexter) Date: Tue, 12 Aug 2008 16:25:33 +0300 Subject: Port request: wdg-validate Message-ID: <48A18F4D.7090302@ambidexter.com> Hello all, I have tried to build wdg-validate on Mac OS 10.4 and it fails. (http://htmlhelp.com/tools/validator/offline/index.html.en) A port would be greatly appreciated. Is anyone interested in porting this voluntarily or if necessary as a bounty? Appreciated, Michael. From kowalskm at cs.moravian.edu Tue Aug 12 07:20:55 2008 From: kowalskm at cs.moravian.edu (myron) Date: Tue, 12 Aug 2008 10:20:55 -0400 Subject: netcat won't install In-Reply-To: References: Message-ID: I tried installing netcat and the following problems came up. I couldn't find anything in the macports archvies on this issue. I'm new to macports (and really love it), but it looks like the checksum is wrong in Portfile. Should I just change it to what the target has? myron$ sudo port -dnv install netcat DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/net/netcat DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/net/netcat DEBUG: Requested variant darwin is not provided by port netcat. DEBUG: Requested variant i386 is not provided by port netcat. DEBUG: Requested variant macosx is not provided by port netcat. DEBUG: Executing org.macports.main (netcat) ---> Fetching netcat DEBUG: Executing org.macports.fetch (netcat) ---> Verifying checksum(s) for netcat DEBUG: Executing org.macports.checksum (netcat) ---> Checksumming nc110.tgz Error: Checksum (md5) mismatch for nc110.tgz Portfile checksum: nc110.tgz md5 402632f2fe01c169ff19a0ad6e9d608c Distfile checksum: nc110.tgz md5 13826ef466aeb862635f89688b8a74bc Error: Target org.macports.checksum returned: Unable to verify file checksums Warning: the following items did not execute (for netcat): org.macports.activate org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. --myron ================================= Myron Kowalski MoCoSIN Network/Systems Administrator Moravian College myron at cs.moravian.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080812/9a2a34da/attachment.html From markd at macports.org Tue Aug 12 09:54:43 2008 From: markd at macports.org (markd at macports.org) Date: Tue, 12 Aug 2008 09:54:43 -0700 Subject: Nagios/Macports on PowerMac G5 Message-ID: >Hi folks, > >I am running Nagios in several instances on Linux machines for a few years >now, so I thought I give it a try on a Mac. > >I have installed Macports and with that nagios (3.03) on a PowerMac G5 >Dual >1,8 GHz (2,5 GB RAM), have configured 3 hosts and around 100 services - >which is not much. > >Now there is several problems that I do not find any way to get around: >1. Nagios uses 150 - 200 % of cpu (since it is a dual cpu system that >makes >sense) in normal operation. One of my other nagios instances on a linux >box >monitors 30 hosts with 400 services inside a virtual machine on a pentium >III box without noticable cpu load. The rest of the machine (system, >services) run on unimpressed with normal process behaviour (just a >mailserver and the OS, nothing else). >What is happening there? >2. Nagios simply stops every now and then; it is not launchd stopping >nagios, but the nagios process itself seems to hang somehow. It simply >does >not do any checks any more. Or a sub process hangs while trying to send an >email. These hangs are quite weird - top and other tools list these >processes as normally working processes, but they stop in the middle of >something and do not go on or never finish. launchd does not recognize >nagios as failed then and does not restart it. > >I would be interested in looking very deep into this and spending quite >some time, but I do not now where to look at. Any hint or help is >appreciated. > >Dirk Hi Dirk, I maintain the nagios port, but I haven't used it for awhile, and not since version 3. In the past it was always very stable. Have you run Nagios v3 on Linux? It may be a bug in the source of v3. Could you ask the Nagios support list about this? I don't have a running installation of nagios right now so I couldn't answer any questions they might ask. Mark From 0x62_0x6c_0x62 at pobox.com Tue Aug 12 12:26:47 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Tue, 12 Aug 2008 13:26:47 -0600 Subject: netcat won't install In-Reply-To: References: Message-ID: On Aug 12, 2008, at 8:20 AM, myron wrote: > I tried installing netcat and the following problems came up. I > couldn't find anything in the macports archvies on this issue. > I'm new to macports (and really love it), but it looks like the > checksum is wrong in Portfile. Should I just change it to what the > target has? > > myron$ sudo port -dnv install netcat ... > Error: Checksum (md5) mismatch for nc110.tgz > Portfile checksum: nc110.tgz md5 402632f2fe01c169ff19a0ad6e9d608c > Distfile checksum: nc110.tgz md5 13826ef466aeb862635f89688b8a74bc One of two possibilities here, either the download became corrupted during transfer, or you happened to grab it from the third mirror listed, which returns an HTML page [1]. Try running sudo port clean --all netcat Then try your install again. If it still fails, do the clean again, then before you do the install, run sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/netcat port - v fetch netcat This will force port to grab from the MacPorts mirror first [2]. After that, the install should work. Bryan [1] - [2] - > > Error: Target org.macports.checksum returned: Unable to verify file > checksums > Warning: the following items did not execute (for netcat): > org.macports.activate org.macports.extract org.macports.checksum > org.macports.patch org.macports.configure org.macports.build > org.macports.destroot org.macports.install > Error: Status 1 encountered during processing. > > > --myron > ================================= > Myron Kowalski > MoCoSIN Network/Systems Administrator > Moravian College > myron at cs.moravian.edu From kowalskM at cs.moravian.edu Tue Aug 12 13:00:39 2008 From: kowalskM at cs.moravian.edu (myron) Date: Tue, 12 Aug 2008 16:00:39 -0400 Subject: netcat won't install In-Reply-To: References: Message-ID: <620D34E9-7A67-4A1F-ACFD-8D19CF20B235@cs.moravian.edu> On Aug 12, 2008, at 3:26 PM, Bryan Blackburn wrote: > On Aug 12, 2008, at 8:20 AM, myron wrote: > >> I tried installing netcat and the following problems came up. I >> couldn't find anything in the macports archvies on this issue. >> I'm new to macports (and really love it), but it looks like the >> checksum is wrong in Portfile. Should I just change it to what the >> target has? >> >> myron$ sudo port -dnv install netcat > ... >> Error: Checksum (md5) mismatch for nc110.tgz >> Portfile checksum: nc110.tgz md5 402632f2fe01c169ff19a0ad6e9d608c >> Distfile checksum: nc110.tgz md5 13826ef466aeb862635f89688b8a74bc > > One of two possibilities here, either the download became corrupted > during transfer, or you happened to grab it from the third mirror > listed, which returns an HTML page [1]. Try running > > sudo port clean --all netcat > > Then try your install again. If it still fails, do the clean again, > then before you do the install, run > sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/netcat port - > v fetch netcat > This will force port to grab from the MacPorts mirror first [2]. > After that, the install should work. Repeating the first step didn't work. However, the second step did work. It download, so then I installed. myron$ sudo port install netcat ---> Verifying checksum(s) for netcat ---> Extracting netcat ---> Configuring netcat ---> Building netcat with target generic ---> Staging netcat into destroot ---> Installing netcat 1.10_2 ---> Activating netcat 1.10_2 ---> Cleaning netcat But it doesn't seem to have installed anything in /opt/local/bin myron$ sudo find / -name netcat -print /opt/local/share/doc/netcat /opt/local/var/macports/distfiles/netcat /opt/local/var/macports/receipts/netcat /opt/local/var/macports/software/netcat /opt/local/var/macports/software/netcat/1.10_2/opt/local/share/doc/ netcat /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/ netcat port installed returns that netcat is installed, though ... netcat @1.10_2 (active) ... > > > Bryan > > [1] - > [2] - > > >> >> Error: Target org.macports.checksum returned: Unable to verify file >> checksums >> Warning: the following items did not execute (for netcat): >> org.macports.activate org.macports.extract org.macports.checksum >> org.macports.patch org.macports.configure org.macports.build >> org.macports.destroot org.macports.install >> Error: Status 1 encountered during processing. >> >> >> --myron >> ================================= >> Myron Kowalski >> MoCoSIN Network/Systems Administrator >> Moravian College >> myron at cs.moravian.edu > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From dirk.schulz at kinzesberg.de Tue Aug 12 13:14:42 2008 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Tue, 12 Aug 2008 22:14:42 +0200 Subject: Nagios/Macports on PowerMac G5 In-Reply-To: References: Message-ID: <2C3383B59DC15F92F24EC423@file.wkd-druck.org> Hi Mark, --On 12. August 2008 09:54:43 -0700 markd at macports.org wrote: - snip - > > I maintain the nagios port, but I haven't used it for awhile, and not > since version 3. In the past it was always very stable. Have you run > Nagios v3 on Linux? No, to be exact, these are still 2.x. >It may be a bug in the source of v3. Could you ask > the Nagios support list about this? Yes, of course. I will keep you informed with the outcome. > I don't have a running installation > of nagios right now so I couldn't answer any questions they might ask. Do you have any experience with tracing processes on MacOS X? That could be interesting, but I never looked into that. Dirk From 0x62_0x6c_0x62 at pobox.com Tue Aug 12 13:15:19 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Tue, 12 Aug 2008 14:15:19 -0600 Subject: netcat won't install In-Reply-To: <620D34E9-7A67-4A1F-ACFD-8D19CF20B235@cs.moravian.edu> References: <620D34E9-7A67-4A1F-ACFD-8D19CF20B235@cs.moravian.edu> Message-ID: <08E9E6CB-0EEC-4FF9-8611-BDA6449CFBF3@pobox.com> On Aug 12, 2008, at 2:00 PM, myron wrote: ... > > But it doesn't seem to have installed anything in /opt/local/bin > myron$ sudo find / -name netcat -print > /opt/local/share/doc/netcat > /opt/local/var/macports/distfiles/netcat > /opt/local/var/macports/receipts/netcat > /opt/local/var/macports/software/netcat > /opt/local/var/macports/software/netcat/1.10_2/opt/local/share/doc/ > netcat > /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/ > netcat > > port installed returns that netcat is installed, though > ... > netcat @1.10_2 (active) > ... > It should be /opt/local/bin/nc (called netcat, but the executable is just nc). If you ever want to know what a port installs, you can use port contents netcat That will list everything that comes with the port. Bryan From 0x62_0x6c_0x62 at pobox.com Tue Aug 12 13:32:30 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Tue, 12 Aug 2008 14:32:30 -0600 Subject: Nagios/Macports on PowerMac G5 In-Reply-To: <2C3383B59DC15F92F24EC423@file.wkd-druck.org> References: <2C3383B59DC15F92F24EC423@file.wkd-druck.org> Message-ID: <3E022EE4-60C1-4000-B26E-729C0F5FC590@pobox.com> On Aug 12, 2008, at 2:14 PM, Dirk H. Schulz wrote: > Hi Mark, > > --On 12. August 2008 09:54:43 -0700 markd at macports.org wrote: > ... > >> I don't have a running installation >> of nagios right now so I couldn't answer any questions they might >> ask. > > Do you have any experience with tracing processes on MacOS X? That > could be > interesting, but I never looked into that. > If you're running 10.5, you can try watching what it's doing with dtruss: Bryan > Dirk > From ryandesign at macports.org Tue Aug 12 18:38:42 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 12 Aug 2008 20:38:42 -0500 Subject: Port request: wdg-validate In-Reply-To: <48A18F4D.7090302@ambidexter.com> References: <48A18F4D.7090302@ambidexter.com> Message-ID: <6399F3BF-2FD7-4657-88C8-C9C770E4A277@macports.org> On Aug 12, 2008, at 08:25, Michael Dexter wrote: > I have tried to build wdg-validate on Mac OS 10.4 and it fails. > (http://htmlhelp.com/tools/validator/offline/index.html.en) A port > would > be greatly appreciated. Is anyone interested in porting this > voluntarily > or if necessary as a bounty? Well, the MacPorts project isn't about taking software that doesn't work on Mac OS X and making it work on Mac OS X ("porting" it to Mac OS X). Instead, it's about taking software which does work on Mac OS X and making it easier to install. So if wdg-validate does not build on Mac OS X, then you need to speak with the developers of wdg- validate to first make it work on Mac OS X. Then a MacPorts port can be created for it. From Janos.Angyan at lcm3b.uhp-nancy.fr Wed Aug 13 10:47:07 2008 From: Janos.Angyan at lcm3b.uhp-nancy.fr (Angyan Janos) Date: Wed, 13 Aug 2008 19:47:07 +0200 Subject: Checksum problem with molden Message-ID: <48A31E1B.7090608@lcm3b.uhp-nancy.fr> Hi, I would like to install "molden" via MacPorts 1.600. I had a first session, about a week ago. Then, after having installed a bunch of libraries and dependencies, MacPort hanged on instead of downloading the molden4.6.tar.gz file. I tried to finish the installation, but it seems to fail by a checksum error: ********************************************************** MacBook:~$ sudo port install molden Password: ---> Verifying checksum(s) for molden Error: Checksum (md5) mismatch for molden4.6.tar.gz Error: Checksum (sha1) mismatch for molden4.6.tar.gz Error: Checksum (rmd160) mismatch for molden4.6.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. *********************************************************** What is wrong? Janos From kuepper.jochen at googlemail.com Wed Aug 13 12:00:36 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Wed, 13 Aug 2008 21:00:36 +0200 Subject: Checksum problem with molden In-Reply-To: <48A31E1B.7090608@lcm3b.uhp-nancy.fr> References: <48A31E1B.7090608@lcm3b.uhp-nancy.fr> Message-ID: <26FB010F-CE55-442B-A7B9-1B178E4C9CEB@googlemail.com> On 13.08.2008, at 19:47, Angyan Janos wrote: > I would like to install "molden" via MacPorts 1.600. Do a sudo port selfupdate first Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert?, ?galit?, Fraternit? GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll -------------- 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/20080813/3eeff4c7/attachment.bin From chbrosso at gmail.com Wed Aug 13 13:44:03 2008 From: chbrosso at gmail.com (Charles Brossollet) Date: Wed, 13 Aug 2008 22:44:03 +0200 Subject: Building subversion : "f: command not found" Message-ID: Hello, A "port install subversion" failed with the following message: config: Leopard 10.5.4, Mac mini Intel, MacPorts 1.6 ---> 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.6.1" && gnumake all " returned error 2 Command output: sed -e s/--VERS--/3.6.1/ ./src/sqlite.h.in | \ sed -e s/--VERSION-NUMBER--/3006001/ >sqlite3.h /usr/bin/gcc-4.0 -O2 -o mkkeywordhash -DSQLITE_OMIT_LOAD_EXTENSION=1 ./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 -DSQLITE_OMIT_LOAD_EXTENSION=1 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 Thanks for your help! Charles From raimue at macports.org Wed Aug 13 13:58:00 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Wed, 13 Aug 2008 22:58:00 +0200 Subject: Building subversion : "f: command not found" In-Reply-To: References: Message-ID: <48A34AD8.4070407@macports.org> Charles Brossollet wrote: > Hello, > > A "port install subversion" failed with the following message: > > config: Leopard 10.5.4, Mac mini Intel, MacPorts 1.6 > > ---> 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.6.1" > && gnumake all " returned error 2 > Command output: sed -e s/--VERS--/3.6.1/ ./src/sqlite.h.in | \ > sed -e s/--VERSION-NUMBER--/3006001/ >sqlite3.h > /usr/bin/gcc-4.0 -O2 -o mkkeywordhash -DSQLITE_OMIT_LOAD_EXTENSION=1 > ./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 -DSQLITE_OMIT_LOAD_EXTENSION=1 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 This is a known problem with Tcl on Leopard: Please see Workaround: sudo port clean sqlite3 sudo port install subversion Rainer From 0x62_0x6c_0x62 at pobox.com Wed Aug 13 14:02:25 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Wed, 13 Aug 2008 15:02:25 -0600 Subject: Building subversion : "f: command not found" In-Reply-To: References: Message-ID: <93C46481-54C8-407B-AAE6-796ED781CD27@pobox.com> On Aug 13, 2008, at 2:44 PM, Charles Brossollet wrote: > Hello, > > A "port install subversion" failed with the following message: > > config: Leopard 10.5.4, Mac mini Intel, MacPorts 1.6 > > ---> Building sqlite3 with target all ... > f ./addopcodes.awk parse.h.temp >parse.h > /bin/sh: f: command not found This is a known issue: Run 'sudo port clean --work sqlite3' then run your install of subversion again. Bryan > > 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 > > Thanks for your help! > > Charles From fishfan at nyc.rr.com Wed Aug 13 17:04:35 2008 From: fishfan at nyc.rr.com (John) Date: Wed, 13 Aug 2008 20:04:35 -0400 Subject: Help getting kde started Message-ID: <48A37693.3050804@nyc.rr.com> I installed macports, ran self update, then installed sucessfully "kde". I put !/bin/sh /opt/local/bin/startkde into my .xinitrc file but when I try to start x11 to have kde run. It just hangs on a black screen. Is there something else I should put into the .xinitrc file or is there something else I need to install to have kde up and running? From Janos.Angyan at lcm3b.uhp-nancy.fr Thu Aug 14 00:29:18 2008 From: Janos.Angyan at lcm3b.uhp-nancy.fr (Angyan Janos) Date: Thu, 14 Aug 2008 09:29:18 +0200 Subject: Checksum problem with molden In-Reply-To: <26FB010F-CE55-442B-A7B9-1B178E4C9CEB@googlemail.com> References: <48A31E1B.7090608@lcm3b.uhp-nancy.fr> <26FB010F-CE55-442B-A7B9-1B178E4C9CEB@googlemail.com> Message-ID: <48A3DECE.5040603@lcm3b.uhp-nancy.fr> Jochen K?pper wrote: > On 13.08.2008, at 19:47, Angyan Janos wrote: > >> I would like to install "molden" via MacPorts 1.600. > > > Do a > sudo port selfupdate > first Hi Jochen, Thanks for the advice. My version seems to be up-to-date: ........................................ MacBook:~$ sudo port selfupdate Password: MacPorts base version 1.600 installed Downloaded MacPorts base version 1.600 The MacPorts installation is not outdated and so was not updated selfupdate done! ........................................ I wonder if this is not an inconsistency with the database itself. Although in a somewhat different context, a similar problem was reported in (as far as I understand): http://lists.macosforge.org/pipermail/macports-tickets/2008-July/011798.html Anyhow, I do not see what to do... Cheers Janos From 0x62_0x6c_0x62 at pobox.com Thu Aug 14 00:42:15 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Thu, 14 Aug 2008 01:42:15 -0600 Subject: Checksum problem with molden In-Reply-To: <48A3DECE.5040603@lcm3b.uhp-nancy.fr> References: <48A31E1B.7090608@lcm3b.uhp-nancy.fr> <26FB010F-CE55-442B-A7B9-1B178E4C9CEB@googlemail.com> <48A3DECE.5040603@lcm3b.uhp-nancy.fr> Message-ID: <50423845-526A-47DA-9160-5CE82F66853E@pobox.com> On Aug 14, 2008, at 1:29 AM, Angyan Janos wrote: ... > > I wonder if this is not an inconsistency with the database itself. > Although in a somewhat different context, a similar problem was > reported in (as far as I understand): > http://lists.macosforge.org/pipermail/macports-tickets/2008-July/011798.html > Anyhow, I do not see what to do... > Looks like molden has experienced a stealth update (from HISTORY): --- Tue Aug 12 - Fixed a bug when going up one directory (..) in the filemanager. This one managed to escape my attention for a long time. - Minor changes to scrolling --- Bryan > Cheers > Janos From Janos.Angyan at lcm3b.uhp-nancy.fr Thu Aug 14 00:59:09 2008 From: Janos.Angyan at lcm3b.uhp-nancy.fr (Angyan Janos) Date: Thu, 14 Aug 2008 09:59:09 +0200 Subject: Checksum problem with molden In-Reply-To: <50423845-526A-47DA-9160-5CE82F66853E@pobox.com> References: <48A31E1B.7090608@lcm3b.uhp-nancy.fr> <26FB010F-CE55-442B-A7B9-1B178E4C9CEB@googlemail.com> <48A3DECE.5040603@lcm3b.uhp-nancy.fr> <50423845-526A-47DA-9160-5CE82F66853E@pobox.com> Message-ID: <48A3E5CD.8070606@lcm3b.uhp-nancy.fr> Bryan Blackburn wrote: > Looks like molden has experienced a stealth update (from HISTORY): > > --- > Tue Aug 12 > > - Fixed a bug when going up one directory (..) in the filemanager. > This one managed to escape my attention for a long time. > > - Minor changes to scrolling > --- It is fine, and probably explains why my attempts of download remained unsuccessful on the 4th of August. However, I still do not see what am I supposed to do right now to have the program molden installed. The command selfupdate has no effect, what else could be done? Cheers Janos From ryandesign at macports.org Thu Aug 14 02:31:10 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 14 Aug 2008 04:31:10 -0500 Subject: Checksum problem with molden In-Reply-To: <48A3E5CD.8070606@lcm3b.uhp-nancy.fr> References: <48A31E1B.7090608@lcm3b.uhp-nancy.fr> <26FB010F-CE55-442B-A7B9-1B178E4C9CEB@googlemail.com> <48A3DECE.5040603@lcm3b.uhp-nancy.fr> <50423845-526A-47DA-9160-5CE82F66853E@pobox.com> <48A3E5CD.8070606@lcm3b.uhp-nancy.fr> Message-ID: <0C428439-B6C8-400B-9156-85D11E20AE95@macports.org> On Aug 14, 2008, at 02:59, Angyan Janos wrote: > Bryan Blackburn wrote: > >> Looks like molden has experienced a stealth update (from HISTORY): >> >> --- >> Tue Aug 12 >> >> - Fixed a bug when going up one directory (..) in the filemanager. >> This one managed to escape my attention for a long time. >> >> - Minor changes to scrolling >> --- > > It is fine, and probably explains why my attempts of download remained > unsuccessful on the 4th of August. > > However, I still do not see what am I supposed to do right now to have > the program molden installed. You are supposed to wait for the maintainer to update the Portfile to fix this problem. I'm Cc'ing him now. Or you can update the checksums in the Portfile in your local copy if you need it immediately. > The command selfupdate has no effect, what > else could be done? The selfupdate command did have an effect. Although your MacPorts base installation was not outdated, and therefore not updated, your ports most probably were outdated (because dozens of ports get updated every day), and they were updated for you, even though selfupdate did not say so. From kuepper.jochen at googlemail.com Thu Aug 14 05:20:48 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Thu, 14 Aug 2008 14:20:48 +0200 Subject: Checksum problem with molden In-Reply-To: <50423845-526A-47DA-9160-5CE82F66853E@pobox.com> References: <48A31E1B.7090608@lcm3b.uhp-nancy.fr> <26FB010F-CE55-442B-A7B9-1B178E4C9CEB@googlemail.com> <48A3DECE.5040603@lcm3b.uhp-nancy.fr> <50423845-526A-47DA-9160-5CE82F66853E@pobox.com> Message-ID: On 14.08.2008, at 09:42, Bryan Blackburn wrote: > Looks like molden has experienced a stealth update (from HISTORY): Fixed in r39252. Ryan, thanks for the livecheck entries Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert?, ?galit?, Fraternit? GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll -------------- 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/20080814/e98f4ebf/attachment.bin From kowalskM at cs.moravian.edu Thu Aug 14 06:47:33 2008 From: kowalskM at cs.moravian.edu (myron) Date: Thu, 14 Aug 2008 09:47:33 -0400 Subject: netcat won't install In-Reply-To: <08E9E6CB-0EEC-4FF9-8611-BDA6449CFBF3@pobox.com> References: <620D34E9-7A67-4A1F-ACFD-8D19CF20B235@cs.moravian.edu> <08E9E6CB-0EEC-4FF9-8611-BDA6449CFBF3@pobox.com> Message-ID: <6BD693E0-6927-463C-A2C0-C00B703153CF@cs.moravian.edu> Thanks for all the help. Everything is where it should be, and now I understand more about macports. --myron ================================= Myron Kowalski MoCoSIN Network/Systems Administrator Moravian College myron at cs.moravian.edu On Aug 12, 2008, at 4:15 PM, Bryan Blackburn wrote: > On Aug 12, 2008, at 2:00 PM, myron wrote: > ... >> >> But it doesn't seem to have installed anything in /opt/local/bin >> myron$ sudo find / -name netcat -print >> /opt/local/share/doc/netcat >> /opt/local/var/macports/distfiles/netcat >> /opt/local/var/macports/receipts/netcat >> /opt/local/var/macports/software/netcat >> /opt/local/var/macports/software/netcat/1.10_2/opt/local/share/doc/ >> netcat >> /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/ >> netcat >> >> port installed returns that netcat is installed, though >> ... >> netcat @1.10_2 (active) >> ... >> > > It should be /opt/local/bin/nc (called netcat, but the executable is > just nc). If you ever want to know what a port installs, you can use > > port contents netcat > > That will list everything that comes with the port. > > Bryan > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From chbrosso at gmail.com Thu Aug 14 09:44:04 2008 From: chbrosso at gmail.com (Charles Brossollet) Date: Thu, 14 Aug 2008 18:44:04 +0200 Subject: Building subversion : "f: command not found" In-Reply-To: <93C46481-54C8-407B-AAE6-796ED781CD27@pobox.com> References: <93C46481-54C8-407B-AAE6-796ED781CD27@pobox.com> Message-ID: Thanks Bryan and Rainer, it did worked! Cheers, Charles 2008/8/13 Bryan Blackburn <0x62_0x6c_0x62 at pobox.com>: > On Aug 13, 2008, at 2:44 PM, Charles Brossollet wrote: > >> Hello, >> >> A "port install subversion" failed with the following message: >> >> config: Leopard 10.5.4, Mac mini Intel, MacPorts 1.6 >> >> ---> Building sqlite3 with target all > ... >> f ./addopcodes.awk parse.h.temp >parse.h >> /bin/sh: f: command not found > > This is a known issue: > > > > > Run 'sudo port clean --work sqlite3' then run your install of > subversion again. > > Bryan > > >> >> 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 >> >> Thanks for your help! >> >> Charles > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From ryandesign at macports.org Thu Aug 14 12:50:31 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 14 Aug 2008 14:50:31 -0500 Subject: Checksum problem with molden In-Reply-To: References: <48A31E1B.7090608@lcm3b.uhp-nancy.fr> <26FB010F-CE55-442B-A7B9-1B178E4C9CEB@googlemail.com> <48A3DECE.5040603@lcm3b.uhp-nancy.fr> <50423845-526A-47DA-9160-5CE82F66853E@pobox.com> Message-ID: <3DA65067-B7BD-405D-87D2-0F4520E17206@macports.org> On Aug 14, 2008, at 07:20, Jochen K?pper wrote: > On 14.08.2008, at 09:42, Bryan Blackburn wrote: > >> Looks like molden has experienced a stealth update (from HISTORY): > > > Fixed in r39252. > > Ryan, thanks for the livecheck entries Yes, I'm hoping that'll let us detect stealth upgrades and fix portfiles before our users notice. I'll file a ticket and write up a proposal for how MacPorts base could be modified to better support this (without needing a custom PHP script like I wrote this time). From joelosco at frontiernet.net Thu Aug 14 13:20:40 2008 From: joelosco at frontiernet.net (Joseph W. Losco) Date: Thu, 14 Aug 2008 16:20:40 -0400 Subject: Python Framework Message-ID: <43A41402-4C04-4A42-9F69-82C83350794F@frontiernet.net> Hello all, My first post to the list, after reading for quite some time. I have been learning Python for a while now and was wondering if there is any reason to not use the Macports build of python instead of something like MacPython now that it can be installed as a Framework? Since there are pretty much most of the well known python packages available with the easy port install commands. I've looked online for a while now and can't seem to find any good recent information. Most is too old, and not really since it's been able to be a framework. I've been using MacPython for a while now, and have no issues other than just getting a different system up online quickly with the same builds of addons. Its a lot quicker to do the port install and then all of the packages later. Since its a framework, wxPython should look native on OSX? Thanks for the advice and comments, Joe Losco joelosco at frontiernet.net From zavpublic at mac.com Thu Aug 14 13:25:21 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Thu, 14 Aug 2008 15:25:21 -0500 Subject: Python Framework In-Reply-To: <43A41402-4C04-4A42-9F69-82C83350794F@frontiernet.net> References: <43A41402-4C04-4A42-9F69-82C83350794F@frontiernet.net> Message-ID: Looking for MacPython on Google points to a .nl page that lists python for OS X 10.3. Where are you installing MacPython from? What is the download URL? On Aug 14, 2008, at 3:20 PM, Joseph W. Losco wrote: > MacPython - Zav From joelosco at frontiernet.net Thu Aug 14 13:38:59 2008 From: joelosco at frontiernet.net (Joseph W. Losco) Date: Thu, 14 Aug 2008 16:38:59 -0400 Subject: Python Framework In-Reply-To: References: <43A41402-4C04-4A42-9F69-82C83350794F@frontiernet.net> Message-ID: On Aug 14, 2008, at 4:25 PM, Alex Zavatone wrote: > Looking for MacPython on Google points to a .nl page that lists > python for OS X 10.3. > > Where are you installing MacPython from? What is the download URL? > > On Aug 14, 2008, at 3:20 PM, Joseph W. Losco wrote: > >> MacPython > > - Zav > > > > http://www.pythonmac.org/packages/ Joe Losco joelosco at frontiernet.net From kw at codebykevin.com Thu Aug 14 13:49:47 2008 From: kw at codebykevin.com (Kevin Walzer) Date: Thu, 14 Aug 2008 16:49:47 -0400 Subject: Python Framework In-Reply-To: <43A41402-4C04-4A42-9F69-82C83350794F@frontiernet.net> References: <43A41402-4C04-4A42-9F69-82C83350794F@frontiernet.net> Message-ID: <48A49A6B.2090101@codebykevin.com> Joseph W. Losco wrote: > Hello all, > > My first post to the list, after reading for quite some time. > > I have been learning Python for a while now and was wondering if there > is any reason to not use the Macports build of python instead of > something like MacPython now that it can be installed as a Framework? > Since there are pretty much most of the well known python packages > available with the easy port install commands. I've looked online for > a while now and can't seem to find any good recent information. Most > is too old, and not really since it's been able to be a framework. Use MacPorts Python if you want your Python apps to run in the MacPorts sandbox. Use the standard binary installer from http://python.org if you want Python and Python packages to be independent of the MacPorts universe. > > I've been using MacPython for a while now, and have no issues other > than just getting a different system up online quickly with the same > builds of addons. Its a lot quicker to do the port install and then > all of the packages later. Since its a framework, wxPython should > look native on OSX? wxPython does look native on OS X. The binary installers from http://wxpython.org are designed to work with the Python.org build of Python--it won't work with MacPorts Python. If all you want is Python, it's easier to use the binary installers reference above. If you are using Python to hook into other MacPorts packages, use MacPorts Python. -- Kevin Walzer Code by Kevin http://www.codebykevin.com From william.damon at gmail.com Thu Aug 14 22:48:50 2008 From: william.damon at gmail.com (William Damon) Date: Thu, 14 Aug 2008 22:48:50 -0700 Subject: Fetch failing for ntfs-3g port Message-ID: Hi, First, nice job with macports - very cool idea and it appears that there's lots of tremendous work done behind it so far. I'm trying to install the ntfs-3g port, but it's been a bit tricky. First, I ran into the Ruby (1.8) issue in Leopard (10.5.4) while attempting to install the macfuse dependency. A quick google search popped up the solution here: https://trac.macports.org/ticket/15889 After hacking my Ruby framework with that patch, I was able to get macfuse installed cleanly. I thought I was in the clear until I hit this: wedamon-mbp:wedamon {~} sudo /opt/local/bin/port Password: MacPorts 1.600 Entering interactive mode... ("help" for help, "quit" to quit) [Users/wedamon] > install ntfs-3g ---> Fetching ntfs-3g ---> Attempting to fetch ntfs-3g-1.2412.tgz from http://www.ntfs-3g.org/ ---> Attempting to fetch ntfs-3g-1.2412.tgz from http://svn.macports.org/repository/macports/distfiles/ntfs-3g ---> Attempting to fetch ntfs-3g-1.2412.tgz from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch ntfs-3g-1.2412.tgz from http://svn.macports.org/repository/macports/downloads/ntfs-3g Error: Target org.macports.fetch returned: fetch failed Error: Status 1 encountered during processing. What's the trick to getting this package downloaded/installed? Many thanks, -wd From 0x62_0x6c_0x62 at pobox.com Thu Aug 14 23:10:25 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Fri, 15 Aug 2008 00:10:25 -0600 Subject: Fetch failing for ntfs-3g port In-Reply-To: References: Message-ID: <17B4B024-3AAC-408C-8FF7-863BBDEAFD59@pobox.com> On Aug 14, 2008, at 11:48 PM, William Damon wrote: > Hi, > ... > [Users/wedamon] > install ntfs-3g > ---> Fetching ntfs-3g > ---> Attempting to fetch ntfs-3g-1.2412.tgz from http://www.ntfs-3g.org/ > ---> Attempting to fetch ntfs-3g-1.2412.tgz from > http://svn.macports.org/repository/macports/distfiles/ntfs-3g > ---> Attempting to fetch ntfs-3g-1.2412.tgz from > http://svn.macports.org/repository/macports/distfiles/general/ > ---> Attempting to fetch ntfs-3g-1.2412.tgz from > http://svn.macports.org/repository/macports/downloads/ntfs-3g > Error: Target org.macports.fetch returned: fetch failed > Error: Status 1 encountered during processing. > Looks like that version is no longer available in the usual places, and the port needs to be updated [1]. Until that happens, you can install this version by telling port to grab the file from the MacPorts mirror [2] by running: sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/ntfs-3g port - v fetch ntfs-3g After that you should be able to install as usual. Bryan [1] - [2] - > What's the trick to getting this package downloaded/installed? > > Many thanks, > -wd From william.damon at gmail.com Thu Aug 14 23:33:37 2008 From: william.damon at gmail.com (William Damon) Date: Thu, 14 Aug 2008 23:33:37 -0700 Subject: Fetch failing for ntfs-3g port In-Reply-To: <17B4B024-3AAC-408C-8FF7-863BBDEAFD59@pobox.com> References: <17B4B024-3AAC-408C-8FF7-863BBDEAFD59@pobox.com> Message-ID: That did the trick - thank you very much! I don't know why google didn't pop up your references [1] or [2] in my searching, but I appreciate the pointers. Cheers! -wd On Thu, Aug 14, 2008 at 11:10 PM, Bryan Blackburn <0x62_0x6c_0x62 at pobox.com> wrote: > On Aug 14, 2008, at 11:48 PM, William Damon wrote: > >> Hi, >> > ... >> [Users/wedamon] > install ntfs-3g >> ---> Fetching ntfs-3g >> ---> Attempting to fetch ntfs-3g-1.2412.tgz from http://www.ntfs-3g.org/ >> ---> Attempting to fetch ntfs-3g-1.2412.tgz from >> http://svn.macports.org/repository/macports/distfiles/ntfs-3g >> ---> Attempting to fetch ntfs-3g-1.2412.tgz from >> http://svn.macports.org/repository/macports/distfiles/general/ >> ---> Attempting to fetch ntfs-3g-1.2412.tgz from >> http://svn.macports.org/repository/macports/downloads/ntfs-3g >> Error: Target org.macports.fetch returned: fetch failed >> Error: Status 1 encountered during processing. >> > > Looks like that version is no longer available in the usual places, > and the port needs to be updated [1]. Until that happens, you can > install this version by telling port to grab the file from the > MacPorts mirror [2] by running: > > sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/ntfs-3g port - > v fetch ntfs-3g > > After that you should be able to install as usual. > > Bryan > > [1] - > [2] - > > > >> What's the trick to getting this package downloaded/installed? >> >> Many thanks, >> -wd > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From tabithamc at gmail.com Fri Aug 15 00:07:40 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Thu, 14 Aug 2008 21:07:40 -1000 Subject: MacPorts that use dscl create group records with password keys -- is this an error? Message-ID: <7fccb3000808150007o652b43d3qd360228d1854ffae@mail.gmail.com> Hello all -- Recently I have been industrializing my company's use of MacPorts on Xserve, and I noticed something interesting today, namely, that password record are created by some MacPorts installations for Group record types. Do Groups need passwords? I'm not so sure they do and this could be a bug. As many here in the community already know, some MacPorts require daemons to be run with local directory domain usernames and groups. For example, the nagios and openldap ports. In the case of nagios, a user named nagios is created in the local directory domain when its port is installed. But also a *group* named nagios is created in the local directory domain. Similarly, for openldap, both a user named ldap and a *group* named ldap are created. Let's take the *nagios* example. When I look at the *group* named nagios which is most definitely created after a "port -v install nagios", I get this: $ dscl . -read /Groups/nagios AppleMetaNodeLocation: /Local/Default GeneratedUID: AAAAAFFF-F094-4DB8-ADD3-C7DD66B5A5A1 *Password: ** PrimaryGroupID: 502 RealName: nagios RecordName: nagios RecordType: dsRecTypeStandard:Groups I'm not sure that a Password key should exist at all (regardless of what the value is for the key, in this case an asterisk I think means its a "crypt" type of password). Interestingly enough, the user record also named nagios also has a Password key and value which is the same as the nagio group record: $ dscl . -read /Users/nagios AppleMetaNodeLocation: /Local/Default GeneratedUID: AAAAA715-6AB3-4E12-B608-BE91E78E46A6 NFSHomeDirectory: /dev/null *Password: ** PrimaryGroupID: -1 RealName: nagios RecordName: nagios RecordType: dsRecTypeStandard:Users UniqueID: 502 UserShell: /dev/null The Password key and its value for the user record is understandable, but I am not so sure about the Group. Is the inclusion of a Password key (with a value such as "*") merely a way to impose a password type on all users that become a member of that group? It could be a something as simple as that. Then again, maybe a group does not need a Password key after all? Thanks, T.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080814/2fe615dc/attachment.html From adambyrtek at gmail.com Fri Aug 15 07:43:54 2008 From: adambyrtek at gmail.com (Adam Byrtek) Date: Fri, 15 Aug 2008 16:43:54 +0200 Subject: User configuration file Message-ID: <670d23ff0808150743o11ea17cbkbae0d14593c540fe@mail.gmail.com> I tried to tweak a few configuration options for MacPorts in my home directory, but unfortunately when I run port I get the following error: sources_conf must be set in /opt/local/etc/macports/macports.conf or in your /Users/alpha/.macports/macports.conf file while executing "mportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize MacPorts, sources_conf must be set in /opt/local/etc/macports/macports.conf or in your /Users/alpha/.macports/macports.conf file This happens even when the file ~/.macports/macports.conf is completely empty, so my guess is that the options set in /etc are not inherited. This basically means I have to redefine all the defaults, which is not very intuitive. Moreover the error message states that sources_conf should be defined in /etc *or* in my home directory, so I would call this a bug. However before I report a ticket I want to consult the mailing list. Best regards, Adam From peter at pogma.com Fri Aug 15 09:58:06 2008 From: peter at pogma.com (Peter O'Gorman) Date: Fri, 15 Aug 2008 11:58:06 -0500 Subject: MacPorts that use dscl create group records with password keys -- is this an error? In-Reply-To: <7fccb3000808150007o652b43d3qd360228d1854ffae@mail.gmail.com> References: <7fccb3000808150007o652b43d3qd360228d1854ffae@mail.gmail.com> Message-ID: <48A5B59E.5040207@pogma.com> Tabitha McNerney wrote: > Hello all -- > > Recently I have been industrializing my company's use of MacPorts on > Xserve, and I noticed something interesting today, namely, that password > record are created by some MacPorts installations for Group record > types. Do Groups need passwords? I'm not so sure they do and this could > be a bug. It is simply following convention. For example, /etc/group has entries groupname:password:gid:members, my /etc/group file has: wheel:*:0:root and dscl . read /Groups/wheel (output abbreviated) GroupMembership: root Password: * PrimaryGroupID: 0 And the group(5) manpage says: The passwd field is an optional encrypted password. This field is rarely used and an asterisk is normally placed in it rather than leaving it blank. Peter -- Peter O'Gorman http://pogma.com From ryandesign at macports.org Fri Aug 15 15:52:34 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 15 Aug 2008 17:52:34 -0500 Subject: User configuration file In-Reply-To: <670d23ff0808150743o11ea17cbkbae0d14593c540fe@mail.gmail.com> References: <670d23ff0808150743o11ea17cbkbae0d14593c540fe@mail.gmail.com> Message-ID: <6BEC5486-8136-437C-B159-34D9DA2C0151@macports.org> On Aug 15, 2008, at 09:43, Adam Byrtek wrote: > I tried to tweak a few configuration options for MacPorts in my home > directory, but unfortunately when I run port I get the following > error: > > sources_conf must be set in /opt/local/etc/macports/macports.conf or > in your /Users/alpha/.macports/macports.conf file > while executing > "mportinit ui_options global_options global_variations" > Error: /opt/local/bin/port: Failed to initialize MacPorts, > sources_conf must be set in /opt/local/etc/macports/macports.conf or > in your /Users/alpha/.macports/macports.conf file > > This happens even when the file ~/.macports/macports.conf is > completely empty, so my guess is that the options set in /etc are not > inherited. This basically means I have to redefine all the defaults, > which is not very intuitive. Moreover the error message states that > sources_conf should be defined in /etc *or* in my home directory, so I > would call this a bug. However before I report a ticket I want to > consult the mailing list. We at least need to document that the settings from the default macports.conf are not inherited if you use a macports.conf in the .macports directory in your home directory. The Guide doesn't even mention the possibility of a .macports directory in your home directory at all. From adambyrtek at gmail.com Fri Aug 15 16:07:01 2008 From: adambyrtek at gmail.com (Adam Byrtek) Date: Sat, 16 Aug 2008 01:07:01 +0200 Subject: User configuration file In-Reply-To: <6BEC5486-8136-437C-B159-34D9DA2C0151@macports.org> References: <670d23ff0808150743o11ea17cbkbae0d14593c540fe@mail.gmail.com> <6BEC5486-8136-437C-B159-34D9DA2C0151@macports.org> Message-ID: <670d23ff0808151607r972876aid80646df39dd203e@mail.gmail.com> On Sat, Aug 16, 2008 at 12:52 AM, Ryan Schmidt wrote: > We at least need to document that the settings from the default > macports.conf are not inherited if you use a macports.conf in the .macports > directory in your home directory. Wouldn't it be better to change the behavior? I guess inheritance is what everybody expects. I can offer to work on this if such patch will be accepted. Regards, Adam From adambyrtek at gmail.com Fri Aug 15 16:08:36 2008 From: adambyrtek at gmail.com (Adam Byrtek) Date: Sat, 16 Aug 2008 01:08:36 +0200 Subject: User configuration file In-Reply-To: <6BEC5486-8136-437C-B159-34D9DA2C0151@macports.org> References: <670d23ff0808150743o11ea17cbkbae0d14593c540fe@mail.gmail.com> <6BEC5486-8136-437C-B159-34D9DA2C0151@macports.org> Message-ID: <670d23ff0808151608g7f209ed4k5796155c2dd717ce@mail.gmail.com> On Sat, Aug 16, 2008 at 12:52 AM, Ryan Schmidt wrote: > The Guide doesn't even mention the possibility of a .macports directory in your home directory at all. I knew about this file from the manual page: ~/.macports/macports.conf User configuration file for the MacPorts system. It overrides the global macports.conf file. Regards, Adam From ryandesign at macports.org Fri Aug 15 16:56:22 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 15 Aug 2008 18:56:22 -0500 Subject: User configuration file In-Reply-To: <670d23ff0808151608g7f209ed4k5796155c2dd717ce@mail.gmail.com> References: <670d23ff0808150743o11ea17cbkbae0d14593c540fe@mail.gmail.com> <6BEC5486-8136-437C-B159-34D9DA2C0151@macports.org> <670d23ff0808151608g7f209ed4k5796155c2dd717ce@mail.gmail.com> Message-ID: <82DB8580-3E26-422C-8DB9-479588505158@macports.org> On Aug 15, 2008, at 18:08, Adam Byrtek wrote: > On Sat, Aug 16, 2008 at 12:52 AM, Ryan Schmidt > wrote: >> The Guide doesn't even mention the possibility of a .macports >> directory in your home directory at all. > > I knew about this file from the manual page: > > ~/.macports/macports.conf > User configuration file for the MacPorts system. It > overrides the > global macports.conf file. On my system with MacPorts trunk, the FILES part of "man macports.conf" reads: FILES ${prefix}/etc/macports/macports.conf Standard system-wide MacPorts configuration file. ~/.macports/macports.conf User-specific configuration override. This file, if found, will be used instead of the default file at $ {prefix}/etc/mac- ports/macports.conf. Still, this should be in the Guide, since the Guide should contain everything. From ryandesign at macports.org Fri Aug 15 16:59:57 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 15 Aug 2008 18:59:57 -0500 Subject: User configuration file In-Reply-To: <670d23ff0808151607r972876aid80646df39dd203e@mail.gmail.com> References: <670d23ff0808150743o11ea17cbkbae0d14593c540fe@mail.gmail.com> <6BEC5486-8136-437C-B159-34D9DA2C0151@macports.org> <670d23ff0808151607r972876aid80646df39dd203e@mail.gmail.com> Message-ID: On Aug 15, 2008, at 18:07, Adam Byrtek wrote: > On Sat, Aug 16, 2008 at 12:52 AM, Ryan Schmidt > wrote: >> We at least need to document that the settings from the default >> macports.conf are not inherited if you use a macports.conf in >> the .macports >> directory in your home directory. > > Wouldn't it be better to change the behavior? I guess inheritance is > what everybody expects. I can offer to work on this if such patch will > be accepted. It seems like a good idea to me. At least a ticket should be filed for this enhancement. Of course, we also have the problem that once a conf file is installed by MacPorts, it's never touched or upgraded again, even if a new conf file would contain new options that aren't in the conf file already on the user's system. I guess that's a separate issue. From tabithamc at gmail.com Fri Aug 15 18:19:09 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Fri, 15 Aug 2008 15:19:09 -1000 Subject: MacPorts that use dscl create group records with password keys -- is this an error? In-Reply-To: <48A5B59E.5040207@pogma.com> References: <7fccb3000808150007o652b43d3qd360228d1854ffae@mail.gmail.com> <48A5B59E.5040207@pogma.com> Message-ID: <7fccb3000808151819s6145a154lbf4a5771e0efaa62@mail.gmail.com> On Fri, Aug 15, 2008 at 6:58 AM, Peter O'Gorman wrote: > Tabitha McNerney wrote: > > Hello all -- > > > > Recently I have been industrializing my company's use of MacPorts on > > Xserve, and I noticed something interesting today, namely, that password > > record are created by some MacPorts installations for Group record > > types. Do Groups need passwords? I'm not so sure they do and this could > > be a bug. > > It is simply following convention. For example, /etc/group has entries > groupname:password:gid:members, my /etc/group file has: > > wheel:*:0:root > > and dscl . read /Groups/wheel (output abbreviated) > GroupMembership: root > Password: * > PrimaryGroupID: 0 > > And the group(5) manpage says: > The passwd field is an optional encrypted password. This field is > rarely used and an asterisk is normally placed in it rather than leaving > it blank. Peter, thanks a ton for that explanation. Makes total sense, but I didn't realize it was convention to use an asterisk to mean blank! One of the problems I had with my Ruby script was that the asterisk was being expanded as a meta character on Unix (which is not surprising of course) and so I figured I have to enclose it with quotes to escape the asterisk to keep it from being interpreted on the command-line via my script as a meta character. Thank, T.M. > > > Peter > -- > Peter O'Gorman > http://pogma.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080815/c1954ca5/attachment.html From mbrethen at aim.com Fri Aug 15 19:04:11 2008 From: mbrethen at aim.com (mark brethen) Date: Fri, 15 Aug 2008 22:04:11 -0400 Subject: Macports selfupdates Message-ID: <2ccfdfdddb3e81c5c000ac4ccac0c9e9@aim.com> Hi folks, I'm currently at v1.440 of Macports, running OS 10.3.9. I will soon be updating the Mac OS to 10.4.11. Anything I should know about Macports before I install the new OS? Mark mailto:mbrethen at aim.com From ryandesign at macports.org Fri Aug 15 19:55:55 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 15 Aug 2008 21:55:55 -0500 Subject: Macports selfupdates In-Reply-To: <2ccfdfdddb3e81c5c000ac4ccac0c9e9@aim.com> References: <2ccfdfdddb3e81c5c000ac4ccac0c9e9@aim.com> Message-ID: On Aug 15, 2008, at 21:04, mark brethen wrote: > I'm currently at v1.440 of Macports, running OS 10.3.9. I will soon be > updating the Mac OS to 10.4.11. Anything I should know about Macports > before I install the new OS? Indeed there is some stuff you should know! Ports installed on one major version of Mac OS X won't necessarily work right on a different major version of Mac OS X. So my recommendation is really to make a note of which ports you've installed (see "port installed"), uninstall MacPorts, upgrade your OS, then reinstall MacPorts and the ports you want. Be sure to keep any config files you modified or any databases or web pages or other data that may be in your old MacPorts installation. You should probably: rename /opt/local to /opt/local-10.3 rename /Applications/MacPorts to /Applications/MacPorts-10.3 rename /Library/Tcl/macports1.0 to /Library/Tcl/macports1.0-10.3 Then update your OS to 10.4. (It's not a problem if you update your OS first, then rename those items.) In the Mac OS X installer, make sure you check the box for installing X11. Then install Xcode 2.5. You can't use the Xcode 1.x that you were using from Mac OS X 10.3.9, and you shouldn't use Xcode older than 2.4.1 on Mac OS X 10.4.x. If your Mac OS X DVD comes with an older version of Xcode 2, download Xcode 2.5 from http:// developer.apple.com and use that. When you install Xcode, make sure the box for the X11 SDK is checked. Then install the MacPorts 1.6.0 disk image for Mac OS X 10.4. Then you can install your ports again. Then you can move over any data or config files from /opt/local-10.3 From mbrethen at aim.com Fri Aug 15 21:39:38 2008 From: mbrethen at aim.com (mark brethen) Date: Sat, 16 Aug 2008 00:39:38 -0400 Subject: Macports selfupdates In-Reply-To: References: <2ccfdfdddb3e81c5c000ac4ccac0c9e9@aim.com> Message-ID: <302c225872eb204d4dd366bb81604b28@aim.com> Thanks for the heads-up Ryan! One thing puzzles me though: '/Applications/MacPorts' does not exist on my machine. Mark mailto:mbrethen at aim.com On Aug 15, 2008, at 10:55 PM, Ryan Schmidt wrote: > rename /Applications/MacPorts to /Applications/MacPorts-10.3 From ryandesign at macports.org Fri Aug 15 21:45:48 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 15 Aug 2008 23:45:48 -0500 Subject: Macports selfupdates In-Reply-To: <302c225872eb204d4dd366bb81604b28@aim.com> References: <2ccfdfdddb3e81c5c000ac4ccac0c9e9@aim.com> <302c225872eb204d4dd366bb81604b28@aim.com> Message-ID: <2749A6A9-0C04-4A90-923B-EAD05A20B6D9@macports.org> On Aug 15, 2008, at 23:39, mark brethen wrote: > On Aug 15, 2008, at 10:55 PM, Ryan Schmidt wrote: > >> rename /Applications/MacPorts to /Applications/MacPorts-10.3 > > Thanks for the heads-up Ryan! One thing puzzles me though: '/ > Applications/MacPorts' does not exist on my machine. No problem. Then you haven't installed any of the ports that put things there. Most don't. From mjijackson at gmail.com Fri Aug 15 22:19:37 2008 From: mjijackson at gmail.com (Michael J. I. Jackson) Date: Fri, 15 Aug 2008 23:19:37 -0600 Subject: Best way to install PHP ImageMagick wrapper? Message-ID: <79D8A704-246E-4789-BBD8-712B296DAB58@gmail.com> I'm looking for the best way to install the imagick (PECL package) PHP wrapper for ImageMagick on a MacPorts PHP install. Since there is currently no port for the package, I'm assuming the best way to do this would be to install PHP with the pear variant, therefore installing the pecl package manager as well. Then, I could use PECL to install imagick. Is there someone on this list who has had experience with this or can offer any advice? From brad.allison at gmail.com Sat Aug 16 05:37:53 2008 From: brad.allison at gmail.com (Brad Allison) Date: Sat, 16 Aug 2008 08:37:53 -0400 Subject: Request for Support: Evolution Message-ID: I really need evolution for macosx (with the Exchange plugin) to be able to connect to my work email and calendar. I see macports already have evolution-data-server... but no actual evolution client. Can we please get evolution (with the Exchange plugin) added to the supported software for mac ports? -b -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080816/188497ad/attachment.html From brad.allison at gmail.com Sat Aug 16 06:00:22 2008 From: brad.allison at gmail.com (Brad Allison) Date: Sat, 16 Aug 2008 09:00:22 -0400 Subject: py25-libxml2 fails to build Message-ID: ---> Building py25-libxml2 with target build Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-libxml2/work/libxml2-python-2.6.21" && /opt/local/bin/python2.5 setup.py build " returned error 1 Command output: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py:247: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) running build running build_py running build_ext building 'libxml2mod' extension -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_REENTRANT=1 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c libxml2-py.c -o build/temp.macosx-10.3-i386-2.5/libxml2-py.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1 Error: The following dependencies failed to build: gnome-platform-suite gtk-doc gnome-doc-utils py25-libxml2 py25-numeric libart_lgpl libbonoboui libglade2 libgnome libgnomecanvas libgnomeui gnome-icon-theme hicolor-icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml-simple p5-xml-namespacesupport p5-xml-sax libsoup gnutls lzo opencdk readline nspr nss Error: Status 1 encountered during processing. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080816/092becdd/attachment.html From mbrethen at aim.com Sat Aug 16 07:54:06 2008 From: mbrethen at aim.com (mark brethen) Date: Sat, 16 Aug 2008 10:54:06 -0400 Subject: failure building smpeg Message-ID: Need help troubleshooting this one: cpe-69-205-67-178:~ marbre$ sudo port install smpeg +darwin_7 ---> Fetching smpeg ---> Attempting to fetch smpeg-0.4.4.tar.gz from ftp://ftp.lokigames.com/pub/open-source/smpeg/ ---> Attempting to fetch smpeg-0.4.4.tar.gz from http://svn.macports.org/repository/macports/distfiles/smpeg ---> Attempting to fetch ltconfig13 from http://svn.macports.org/repository/macports/distfiles/lt ---> Attempting to fetch ltmain13 from http://svn.macports.org/repository/macports/distfiles/lt ---> Verifying checksum(s) for smpeg ---> Extracting smpeg ---> Applying patches to smpeg ---> Configuring smpeg ---> Building smpeg 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_multime dia_smpeg/work/smpeg-0.4.4" && make all " returned error 2 Command output: (cd .libs && rm -f libsmpeg.la && ln -s ../libsmpeg.la libsmpeg.la) /usr/bin/g++-3.3 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -Dsocklen_t=int -I. -I. -I/opt/local/include -O2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -c plaympeg.c /bin/sh ./libtool --mode=link /usr/bin/g++-3.3 -O2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -L/opt/local/lib -o plaympeg plaympeg.o libsmpeg.la -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa /usr/bin/g++-3.3 -O2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -L/opt/local/lib -o plaympeg plaympeg.o .libs/libsmpeg.a -lSDLmain -lSDL -lSDLmain -lSDL -lSDLmain -lSDL -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used symbol _acosl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _tanl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _tanhl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _asinl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _atan2l used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _atanl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _ceill used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _coshl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _cosl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _expl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _floorl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _fmodl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _frexpl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _hypotl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _ldexpl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _log10l used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _logl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _modfl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _powl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _sinhl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _sinl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) symbol _sqrtl used from dynamic library /usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o) ld: /usr/lib/gcc/darwin/3.3/libgcc.a(_fixunssfdi.o) illegal reference to symbol: ___cmpdi2 defined in indirectly referenced dynamic library /usr/lib/libgcc_s.1.dylib make[1]: *** [plaympeg] Error 1 make: *** [all-recursive] Error 1 Error: Status 1 encountered during processing. Thanks, Mark mailto:mbrethen at aim.com From dbueno at gmail.com Sat Aug 16 11:09:49 2008 From: dbueno at gmail.com (Denis Bueno) Date: Sat, 16 Aug 2008 12:09:49 -0600 Subject: Tk Aqua variant gone? Message-ID: <6dbd4d000808161109v577facbeo770d170dc3279c61@mail.gmail.com> I used (and loved) the Tk aqua variant until very recently, when I upgraded to Tk 8.5. I have scoured the mailing list and the bug tracker, but I can't find any reference to why the variant is gone. Perhaps it was superseded somewhere? Has it been moved to a different port? Denis From brad.allison at gmail.com Sat Aug 16 11:56:43 2008 From: brad.allison at gmail.com (Brad Allison) Date: Sat, 16 Aug 2008 14:56:43 -0400 Subject: Building Evolution-Data-Server with Openldap- NTLM support Message-ID: I'm trying to build Evoluton with Exchange support. To do that I must build evolution-data-server with Exchange support. When I ./configure evolution-data-server it's building with openldap support, but not with openldap-ntlm support which is required for Exchange support. The patch it says to apply actually is not in the package. Anyone know how/where to get openldap with NTLM support? The version I've installed was from "port install openldap". Here's what I get from ./configure of evolution-data-server: configure: creating ./config.status config.status: creating Makefile config.status: creating db_cxx.h config.status: creating db_int.h config.status: creating include.tcl config.status: creating db.h config.status: creating db_int_def.h config.status: creating db_config.h config.status: db_config.h is unchanged evolution-data-server has been configured as follows: Calendar: yes Mail Directory: /var/mail, writable by group mail LDAP support: /usr (dynamic) NNTP support: yes Kerberos 4/5: no/no Gnome Keyring: no/ SSL support: no SMIME support: no IPv6 support: yes Berkeley DB: statically linked to local copy Exchange support: no Dot Locking: yes File Locking: fcntl Large files: no Gtk Doc: no configure: WARNING: No NTLM support in OpenLDAP; Plaintext password authentication will be used when connecting to the Exchange Global Catalog server. Consider installing the evo-openldap package, or building OpenLDAP with the patch in servers/exchange/docs/openldap-ntlm.diff MacBook-Pro:evolution-data-server-2.22.3 jackal$ find . |grep openldap-ntlm MacBook-Pro:evolution-data-server-2.22.3 jackal$ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080816/849b503f/attachment.html From randall.h.wood at alexandriasoftware.com Sat Aug 16 12:43:55 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Sat, 16 Aug 2008 15:43:55 -0400 Subject: Request for Support: Evolution In-Reply-To: References: Message-ID: I tried at one point, and was eventually able to get it to build, but not to run. On Sat, Aug 16, 2008 at 8:37 AM, Brad Allison wrote: > I really need evolution for macosx (with the Exchange plugin) to be able to > connect to my work email and calendar. > > I see macports already have evolution-data-server... but no actual evolution > client. > > Can we please get evolution (with the Exchange plugin) added to the > supported software for mac ports? > > -b > > > > _______________________________________________ > 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 0x62_0x6c_0x62 at pobox.com Sat Aug 16 13:02:22 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Sat, 16 Aug 2008 14:02:22 -0600 Subject: py25-libxml2 fails to build In-Reply-To: References: Message-ID: <7E9D5A5E-E520-470D-9E7B-C6F3F773CB0E@pobox.com> On Aug 16, 2008, at 7:00 AM, Brad Allison wrote: > ---> Building py25-libxml2 with target build > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_python_py25-libxml2/work/libxml2- > python-2.6.21" && /opt/local/bin/python2.5 setup.py build " returned > error 1 > Command output: /opt/local/Library/Frameworks/Python.framework/ > Versions/2.5/lib/python2.5/distutils/dist.py:247: UserWarning: > 'licence' distribution option is deprecated; use 'license' > warnings.warn(msg) > running build > running build_py > running build_ext > building 'libxml2mod' extension > -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_REENTRANT=1 -I/ > opt/local/include/libxml2 -I/opt/local/include -I/opt/local/Library/ > Frameworks/Python.framework/Versions/2.5/include/python2.5 -c > libxml2-py.c -o build/temp.macosx-10.3-i386-2.5/libxml2-py.o > unable to execute -DNDEBUG: No such file or directory > error: command '-DNDEBUG' failed with exit status 1 > Looks like the Tcl env bug [1,2], run sudo port clean --work py25-libxml2 After that completes you can run your original port install again. It may crop up again, so if it does you'll need to do a clean on the particular port that fails before continuing. Bryan [1] - [2] - > Error: The following dependencies failed to build: gnome-platform- > suite gtk-doc gnome-doc-utils py25-libxml2 py25-numeric libart_lgpl > libbonoboui libglade2 libgnome libgnomecanvas libgnomeui gnome-icon- > theme hicolor-icon-theme icon-naming-utils p5-getopt-long p5- > pathtools p5-xml-simple p5-xml-namespacesupport p5-xml-sax libsoup > gnutls lzo opencdk readline nspr nss > Error: Status 1 encountered during processing. > From martin at siarp.de Sat Aug 16 15:12:01 2008 From: martin at siarp.de (Martin Stadler) Date: Sun, 17 Aug 2008 00:12:01 +0200 Subject: HTTrack: checksum mismatch Message-ID: <0270E093-98F9-4BC1-8BAF-560490ED022A@siarp.de> Hi! When I try to install httrack I get the following error: sudo port install httrack ---> Verifying checksum(s) for httrack Error: Checksum (md5) mismatch for httrack-3.42-2.tar.gz Error: Checksum (sha1) mismatch for httrack-3.42-2.tar.gz Error: Checksum (rmd160) mismatch for httrack-3.42-2.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. From brad.allison at gmail.com Sat Aug 16 17:19:51 2008 From: brad.allison at gmail.com (Brad Allison) Date: Sat, 16 Aug 2008 20:19:51 -0400 Subject: Request for Support: Evolution In-Reply-To: References: Message-ID: Well here's as far as I've gotten: 1- port install gnome-desktop-suite 2- port install libsoup 3- port install openldap 4- downloaded evolution-2.22.3.1 , evolution-data-server-2.22.3 , evolution-exchange-2.22.3 5- tried to configure evolution-data-server with exchange support and got the following error: # ./configure --with-openldap=yes --with-exchange=yes --prefix=/opt/local/evolution configure: creating ./config.status config.status: creating Makefile config.status: creating db_cxx.h config.status: creating db_int.h config.status: creating include.tcl config.status: creating db.h config.status: creating db_int_def.h config.status: creating db_config.h config.status: db_config.h is unchanged evolution-data-server has been configured as follows: Calendar: yes Mail Directory: /var/mail, writable by group mail LDAP support: /usr (dynamic) NNTP support: yes Kerberos 4/5: no/no Gnome Keyring: no/ SSL support: no SMIME support: no IPv6 support: yes Berkeley DB: statically linked to local copy Exchange support: no Dot Locking: yes File Locking: fcntl Large files: no Gtk Doc: no configure: WARNING: No NTLM support in OpenLDAP; Plaintext password authentication will be used when connecting to the Exchange Global Catalog server. Consider installing the evo-openldap package, or building OpenLDAP with the patch in servers/exchange/docs/openldap-ntlm.diff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080816/499ebe57/attachment.html From msavory1 at nzbox.com Sat Aug 16 17:19:58 2008 From: msavory1 at nzbox.com (Mike Savory) Date: Sat, 16 Aug 2008 17:19:58 -0700 Subject: HTTrack: checksum mismatch In-Reply-To: <0270E093-98F9-4BC1-8BAF-560490ED022A@siarp.de> References: <0270E093-98F9-4BC1-8BAF-560490ED022A@siarp.de> Message-ID: Hi Martin Looks like there was a version bump that broke the previous download Version 3.42-3 (07/28/2008) CC to the maintainer so he can hopefully update the port It looks like the file download location has moved.... DEBUG: Executing org.macports.fetch (httrack) ---> httrack-3.42-2.tar.gz doesn't seem to exist in /opt/local/var/ macports/distfiles/httrack ---> Attempting to fetch httrack-3.42-2.tar.gz from http://download.httrack.com/cserv.php3?File= The new download locations are http://download.httrack.com/cserv.php3?File=httrack.tar.gz http://www.httrack.com/httrack-3.42-3.tar.gz Changing the version, download location and Checksums checksums md5 b522c758601a974b3851907ad66801d1 \ sha1 6d4fae72290f8fdd424878e99ba4261741af1a8d \ rmd160 1e8df088ff0a2978715161b8f77f871bef3787e8 Builds OK for me (Leopard Intel) Regards Mike On Aug 16, 2008, at 3:12 PM, Martin Stadler wrote: > Hi! > > When I try to install httrack I get the following error: > > sudo port install httrack > ---> Verifying checksum(s) for httrack > Error: Checksum (md5) mismatch for httrack-3.42-2.tar.gz > Error: Checksum (sha1) mismatch for httrack-3.42-2.tar.gz > Error: Checksum (rmd160) mismatch for httrack-3.42-2.tar.gz > Error: Target org.macports.checksum returned: Unable to verify file > checksums > Error: Status 1 encountered during processing. > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From fishfan at nyc.rr.com Sat Aug 16 19:18:19 2008 From: fishfan at nyc.rr.com (Ralph Cramden) Date: Sat, 16 Aug 2008 22:18:19 -0400 Subject: Macports selfupdates In-Reply-To: <2749A6A9-0C04-4A90-923B-EAD05A20B6D9@macports.org> References: <2ccfdfdddb3e81c5c000ac4ccac0c9e9@aim.com> <302c225872eb204d4dd366bb81604b28@aim.com> <2749A6A9-0C04-4A90-923B-EAD05A20B6D9@macports.org> Message-ID: <200808162218.20997.fishfan@nyc.rr.com> On Saturday 16 August 2008 12:45:48 am Ryan Schmidt wrote: > On Aug 15, 2008, at 23:39, mark brethen wrote: > > On Aug 15, 2008, at 10:55 PM, Ryan Schmidt wrote: > >> rename /Applications/MacPorts to /Applications/MacPorts-10.3 > > > > Thanks for the heads-up Ryan! One thing puzzles me though: '/ > > Applications/MacPorts' does not exist on my machine. > > No problem. Then you haven't installed any of the ports that put > things there. Most don't. > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users Thanks you just answered a question I had about the macports folder that apeared in my applications folder. It indeed did put 2 applications I installed into the folder. John From mjijackson at gmail.com Sat Aug 16 22:16:25 2008 From: mjijackson at gmail.com (Michael J. I. Jackson) Date: Sat, 16 Aug 2008 23:16:25 -0600 Subject: Best way to install PHP ImageMagick wrapper? In-Reply-To: <79D8A704-246E-4789-BBD8-712B296DAB58@gmail.com> References: <79D8A704-246E-4789-BBD8-712B296DAB58@gmail.com> Message-ID: <58B9F243-B183-4372-8746-F5253F692B8A@gmail.com> For anyone who comes after me, the process was not really that difficult. Here's what I did (after installing the php5 and imagemagick ports normally): - installed PEAR (used go-pear). This could easily be done via the +pear php5 variant, but I like to keep my PEAR packages separate from the rest of my ports so I don't have to wipe them if I choose to wipe everything else. The only reason you need to perform this step is that you need pecl. - $ pecl config-set php_ini /opt/local/etc/php.ini - $ sudo pecl install imagick Then, during the imagick install, you'll be asked where ImageMagick is installed on your machine. Just use /opt/local and you should be good to go. On Aug 15, 2008, at 11:19 PM, Michael J. I. Jackson wrote: > I'm looking for the best way to install the imagick (PECL package) > PHP wrapper for ImageMagick on a MacPorts PHP install. Since there > is currently no port for the package, I'm assuming the best way to > do this would be to install PHP with the pear variant, therefore > installing the pecl package manager as well. Then, I could use PECL > to install imagick. > > Is there someone on this list who has had experience with this or > can offer any advice? From mjijackson at gmail.com Sat Aug 16 22:18:43 2008 From: mjijackson at gmail.com (Michael J. I. Jackson) Date: Sat, 16 Aug 2008 23:18:43 -0600 Subject: Update to php5-devel Message-ID: <5CDA6240-AAFC-4D96-8C6A-05F5A7AFCFBB@gmail.com> Is there an update in the works for the php5-devel port? 5.3 has been released in alpha1 now for a few weeks, and I'd like to start messing around with it. I understand that it's probably not a high priority for others, so I'm glad to do anything I can to help. Just not sure exactly how... Michael From mike.thon at gmail.com Sat Aug 16 23:05:03 2008 From: mike.thon at gmail.com (Michael Thon) Date: Sun, 17 Aug 2008 08:05:03 +0200 Subject: perl Build.PL Message-ID: I am writing a portfile for the perl module package bioperl. The package uses a Build.PL script instead of Makefile.PL. The script fixes dependencies by installing perl modules with CPAN, and even upgrades CPAN in Mac OS leopard. I know very little about these configuration and build systems but I assume that for macports, this automatic dependency resolution should be handled by macports and not the package's installer. Does anyone know if there is an easy way to disable the dependency checking, or do I have to patch the Build.PL script? From adambyrtek at gmail.com Sun Aug 17 13:05:41 2008 From: adambyrtek at gmail.com (Adam Byrtek) Date: Sun, 17 Aug 2008 22:05:41 +0200 Subject: User configuration file In-Reply-To: References: <670d23ff0808150743o11ea17cbkbae0d14593c540fe@mail.gmail.com> <6BEC5486-8136-437C-B159-34D9DA2C0151@macports.org> <670d23ff0808151607r972876aid80646df39dd203e@mail.gmail.com> Message-ID: <670d23ff0808171305u1ab6ea7aue413506825c28261@mail.gmail.com> On Sat, Aug 16, 2008 at 1:59 AM, Ryan Schmidt wrote: > It seems like a good idea to me. At least a ticket should be filed for this > enhancement. Done, actually this was easier than I thought. Please review the patch attached: http://trac.macports.org/ticket/16329 > Of course, we also have the problem that once a conf file is installed by > MacPorts, it's never touched or upgraded again, even if a new conf file > would contain new options that aren't in the conf file already on the user's > system. I guess that's a separate issue. Definitely a separate issue, sounds like a job for selfupdate? BTW Debian has a nice way to handle changes in configuration files. Regards, Adam From adambyrtek at gmail.com Sun Aug 17 13:10:47 2008 From: adambyrtek at gmail.com (Adam Byrtek) Date: Sun, 17 Aug 2008 22:10:47 +0200 Subject: User configuration file In-Reply-To: <670d23ff0808171305u1ab6ea7aue413506825c28261@mail.gmail.com> References: <670d23ff0808150743o11ea17cbkbae0d14593c540fe@mail.gmail.com> <6BEC5486-8136-437C-B159-34D9DA2C0151@macports.org> <670d23ff0808151607r972876aid80646df39dd203e@mail.gmail.com> <670d23ff0808171305u1ab6ea7aue413506825c28261@mail.gmail.com> Message-ID: <670d23ff0808171310u635bd801u3284ee526edb2f5e@mail.gmail.com> On Sun, Aug 17, 2008 at 10:05 PM, Adam Byrtek wrote: > Done, actually this was easier than I thought. Please review the patch attached: > http://trac.macports.org/ticket/16329 By the way, I've put my name into ChangeLog as this is common practice among open-source projects. If it is not a custom in MacPorts feel free to remove this fragment. Regards, Adam From ryandesign at macports.org Sun Aug 17 14:24:47 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 17 Aug 2008 16:24:47 -0500 Subject: perl Build.PL In-Reply-To: References: Message-ID: On Aug 17, 2008, at 01:05, Michael Thon wrote: > I am writing a portfile for the perl module package bioperl. The > package uses a Build.PL script instead of Makefile.PL. The script > fixes dependencies by installing perl modules with CPAN, and even > upgrades CPAN in Mac OS leopard. Yeah, that would be pretty bad. > I know very little about these > configuration and build systems but I assume that for macports, this > automatic dependency resolution should be handled by macports and not > the package's installer. Right. > Does anyone know if there is an easy way to > disable the dependency checking, or do I have to patch the Build.PL > script? You'll have to ask the authors of bioperl, or read the Build.PL to see if any such options are provided. One would hope that if the required dependencies are already present (e.g. through MacPorts) that Build.PL wouldn't try to install them again. But I have no idea if that's the case here. From ryandesign at macports.org Sun Aug 17 14:27:26 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 17 Aug 2008 16:27:26 -0500 Subject: Update to php5-devel In-Reply-To: <5CDA6240-AAFC-4D96-8C6A-05F5A7AFCFBB@gmail.com> References: <5CDA6240-AAFC-4D96-8C6A-05F5A7AFCFBB@gmail.com> Message-ID: <362B6F4E-FA00-4238-B8EC-CBD5E3FDC039@macports.org> On Aug 17, 2008, at 00:18, Michael J. I. Jackson wrote: > Is there an update in the works for the php5-devel port? 5.3 has been > released in alpha1 now for a few weeks, and I'd like to start messing > around with it. I understand that it's probably not a high priority > for others, so I'm glad to do anything I can to help. Just not sure > exactly how... The php5-devel port was already updated to 5.3 alpha 1 12 days ago :) http://trac.macports.org/changeset/38995 You should sync your ports to get this and all other portfile updates. sudo port sync From ryandesign at macports.org Sun Aug 17 14:34:33 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 17 Aug 2008 16:34:33 -0500 Subject: Tk Aqua variant gone? In-Reply-To: <6dbd4d000808161109v577facbeo770d170dc3279c61@mail.gmail.com> References: <6dbd4d000808161109v577facbeo770d170dc3279c61@mail.gmail.com> Message-ID: On Aug 16, 2008, at 13:09, Denis Bueno wrote: > I used (and loved) the Tk aqua variant until very recently, when I > upgraded to Tk 8.5. I have scoured the mailing list and the bug > tracker, but I can't find any reference to why the variant is gone. > Perhaps it was superseded somewhere? Has it been moved to a different > port? The aqua variant was apparently removed from the tk port when it was updated from 8.4.16 to 8.5.0. A new quartz variant was added which contains the same --enable-aqua configure argument that the aqua variant had, but the quartz variant was commented out, meaning it cannot be used. The quartz variant remains commented out to this day. Perhaps it doesn't work right. http://trac.macports.org/changeset/32235 Markus, can you explain what the issues are here? From yardcat at comcast.net Sun Aug 17 15:42:33 2008 From: yardcat at comcast.net (Arden) Date: Sun, 17 Aug 2008 15:42:33 -0700 Subject: gimp2 on leopard Message-ID: <88B0876E-9361-48AB-96BD-67447E57ED62@comcast.net> I have just started to use Macports on Leopard 10.5.4 (Intel), downloaded and installed the latest stable version, my aim is to use the GREYCstoration plugin for Gimp2. So lots of dependencies starting from scratch. Here is the error I get while it is building glib2: ld: in /usr/local/lib/libJPEG.dylib, file is not of required architecture collect2: ld returned 1 exit status make[2]: *** [libglib-2.0.la] Error 1 make[1]: *** [all-recursive] Error 1 Macports installs the GREYCstoration plugin on Tiger (PPC) fine without error but on my MacBook it seems to have a lot more difficulty. Is this common for Leopard? how do I fix? thanks, Arden From ryandesign at macports.org Sun Aug 17 15:50:00 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 17 Aug 2008 17:50:00 -0500 Subject: gimp2 on leopard In-Reply-To: <88B0876E-9361-48AB-96BD-67447E57ED62@comcast.net> References: <88B0876E-9361-48AB-96BD-67447E57ED62@comcast.net> Message-ID: <1EBE8EE5-B8DF-4F47-A18A-0650201E9E82@macports.org> On Aug 17, 2008, at 17:42, Arden wrote: > I have just started to use Macports on Leopard 10.5.4 (Intel), > downloaded and installed the latest stable version, my aim is to use > the GREYCstoration plugin for Gimp2. So lots of dependencies starting > from scratch. Here is the error I get while it is building glib2: > > ld: in /usr/local/lib/libJPEG.dylib, file is not of required > architecture > collect2: ld returned 1 exit status > make[2]: *** [libglib-2.0.la] Error 1 > make[1]: *** [all-recursive] Error 1 > > Macports installs the GREYCstoration plugin on Tiger (PPC) fine > without error but on my MacBook it seems to have a lot more > difficulty. Is this common for Leopard? how do I fix? > thanks, Arden You have an old (PowerPC) version of libjpeg in /usr/local/lib. Remove it, clean the affected port (sudo port clean --work glib2), then try again. Stuff in /usr/local/lib often interferes with things MacPorts wants to install. I recommend you remove everything in /usr/local/lib. From mjijackson at gmail.com Sun Aug 17 16:05:24 2008 From: mjijackson at gmail.com (Michael J. I. Jackson) Date: Sun, 17 Aug 2008 17:05:24 -0600 Subject: Update to php5-devel In-Reply-To: <362B6F4E-FA00-4238-B8EC-CBD5E3FDC039@macports.org> References: <5CDA6240-AAFC-4D96-8C6A-05F5A7AFCFBB@gmail.com> <362B6F4E-FA00-4238-B8EC-CBD5E3FDC039@macports.org> Message-ID: My bad! Thanks. On Aug 17, 2008, at 3:27 PM, Ryan Schmidt wrote: > > On Aug 17, 2008, at 00:18, Michael J. I. Jackson wrote: > >> Is there an update in the works for the php5-devel port? 5.3 has been >> released in alpha1 now for a few weeks, and I'd like to start messing >> around with it. I understand that it's probably not a high priority >> for others, so I'm glad to do anything I can to help. Just not sure >> exactly how... > > The php5-devel port was already updated to 5.3 alpha 1 12 days ago :) > > http://trac.macports.org/changeset/38995 > > You should sync your ports to get this and all other portfile updates. > > sudo port sync > > From mww at macports.org Mon Aug 18 04:37:30 2008 From: mww at macports.org (Markus Weissmann) Date: Mon, 18 Aug 2008 13:37:30 +0200 Subject: Tk Aqua variant gone? In-Reply-To: References: <6dbd4d000808161109v577facbeo770d170dc3279c61@mail.gmail.com> Message-ID: <0A03AC20-9711-480E-97C4-4493A8DC4498@macports.org> On 17 Aug 2008, at 23:34, Ryan Schmidt wrote: > On Aug 16, 2008, at 13:09, Denis Bueno wrote: > >> I used (and loved) the Tk aqua variant until very recently, when I >> upgraded to Tk 8.5. I have scoured the mailing list and the bug >> tracker, but I can't find any reference to why the variant is gone. >> Perhaps it was superseded somewhere? Has it been moved to a >> different >> port? > > The aqua variant was apparently removed from the tk port when it was > updated from 8.4.16 to 8.5.0. A new quartz variant was added which > contains the same --enable-aqua configure argument that the aqua > variant had, but the quartz variant was commented out, meaning it > cannot be used. The quartz variant remains commented out to this > day. Perhaps it doesn't work right. > > http://trac.macports.org/changeset/32235 > > Markus, can you explain what the issues are here? > I suppose it didn't compile with '--enable-aqua' back then; I just commited version 8.5.4 of tk and tcl and reintroduced the 'quartz' variant which just compiled happily here on my 10.5/i386 machine. Regards, -Markus -- Dipl. Inf. (FH) Markus W. Weissmann http://www.mweissmann.de/ From dbueno at gmail.com Mon Aug 18 06:53:11 2008 From: dbueno at gmail.com (Denis Bueno) Date: Mon, 18 Aug 2008 07:53:11 -0600 Subject: Tk Aqua variant gone? In-Reply-To: <0A03AC20-9711-480E-97C4-4493A8DC4498@macports.org> References: <6dbd4d000808161109v577facbeo770d170dc3279c61@mail.gmail.com> <0A03AC20-9711-480E-97C4-4493A8DC4498@macports.org> Message-ID: <6dbd4d000808180653y32ac6fdg80132c631137f694@mail.gmail.com> On Mon, Aug 18, 2008 at 05:37, Markus Weissmann wrote: > I suppose it didn't compile with '--enable-aqua' back then; > I just commited version 8.5.4 of tk and tcl and reintroduced the 'quartz' > variant which just compiled happily here on my 10.5/i386 machine. I just attempted to build the quartz variant on my Intel 10.4.11 machine and got the result following my signature. Using Macports 1.600. What should I do next? Denis [102] $ sudo port -v build tk @8.5.3_0 +quartz ---> Fetching tk ---> Verifying checksum(s) for tk ---> Checksumming tk8.5.4-src.tar.gz ---> Checksumming tcl8.5.4-src.tar.gz ---> Extracting tk ---> Extracting tk8.5.4-src.tar.gz ---> Extracting tcl8.5.4-src.tar.gz ---> Configuring tk checking for Tcl configuration... found /opt/local/lib/tclConfig.sh checking for existence of /opt/local/lib/tclConfig.sh... loading checking for tclsh... /opt/local/bin/tclsh8.5 checking for tclsh in Tcl build directory... /opt/local/lib/tclsh checking whether to use symlinks for manpages... no checking whether to compress the manpages... no checking whether to add a package name suffix for the manpages... no checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking if the compiler understands -pipe... yes checking for building with threads... no (default) checking how to build libraries... shared checking for ranlib... ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... yes checking system version... Darwin-8.11.1 checking for dlopen in -ldl... yes checking for ar... ar checking if ld accepts -single_module flag... yes checking if ld accepts -search_paths_first flag... yes checking whether to use CoreFoundation... yes checking for CoreFoundation.framework... yes checking for build with symbols... no checking for required early compiler flags... none checking for 64-bit integer type... long long checking for struct dirent64... no checking for struct stat64... no checking for open64... no checking for lseek64... no checking for off64_t... no checking whether byte ordering is bigendian... no checking for fd_set in sys/types... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for strtod... yes checking for Solaris2.4/Tru64 strtod bugs... ok checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for intptr_t... yes checking for uintptr_t... yes checking pw_gecos in struct pwd... yes checking whether to use Aqua... yes checking whether char is unsigned... no checking how to package libraries... shared library configure: creating ./config.status config.status: creating Tk-Info.plist config.status: creating Wish-Info.plist config.status: creating Makefile config.status: creating tkConfig.sh ---> Building tk with target all /usr/bin/gcc-4.0 -c -Os -O2 -pipe -fpascal-strings -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tcl8.5.4/generic -I/opt/local/include -I/usr/X11R6/include -Wall -Wno-implicit-int -fno-common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../bitmaps -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../../tcl8.5.4//generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../../tcl8.5.4//unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../macosx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../xlib -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DMAC_OSX_TK=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tk3d.c In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../macosx/tkMacOSXPort.h:73, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkPort.h:30, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkInt.h:27, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tk3d.c:16: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:669: error: conflicting types for 'XSetDashes' /usr/X11R6/include/X11/Xlib.h:3193: error: previous declaration of 'XSetDashes' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:715: error: conflicting types for 'XKeycodeToKeysym' /usr/X11R6/include/X11/Xlib.h:1687: error: previous declaration of 'XKeycodeToKeysym' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:740: error: conflicting types for 'XBell' /usr/X11R6/include/X11/Xlib.h:2005: error: previous declaration of 'XBell' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:747: error: conflicting types for 'XChangeProperty' /usr/X11R6/include/X11/Xlib.h:2069: error: previous declaration of 'XChangeProperty' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:753: error: conflicting types for 'XChangeWindowAttributes' /usr/X11R6/include/X11/Xlib.h:2082: error: previous declaration of 'XChangeWindowAttributes' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:759: error: conflicting types for 'XConfigureWindow' /usr/X11R6/include/X11/Xlib.h:2161: error: previous declaration of 'XConfigureWindow' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:766: error: conflicting types for 'XCopyArea' /usr/X11R6/include/X11/Xlib.h:2187: error: previous declaration of 'XCopyArea' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:774: error: conflicting types for 'XCopyPlane' /usr/X11R6/include/X11/Xlib.h:2208: error: previous declaration of 'XCopyPlane' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:786: error: conflicting types for 'XDefineCursor' /usr/X11R6/include/X11/Xlib.h:2227: error: previous declaration of 'XDefineCursor' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:791: error: conflicting types for 'XDestroyWindow' /usr/X11R6/include/X11/Xlib.h:2238: error: previous declaration of 'XDestroyWindow' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:798: error: conflicting types for 'XDrawArc' /usr/X11R6/include/X11/Xlib.h:2304: error: previous declaration of 'XDrawArc' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:804: error: conflicting types for 'XDrawLines' /usr/X11R6/include/X11/Xlib.h:2351: error: previous declaration of 'XDrawLines' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:811: error: conflicting types for 'XDrawRectangle' /usr/X11R6/include/X11/Xlib.h:2378: error: previous declaration of 'XDrawRectangle' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:818: error: conflicting types for 'XFillArc' /usr/X11R6/include/X11/Xlib.h:2461: error: previous declaration of 'XFillArc' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:824: error: conflicting types for 'XFillPolygon' /usr/X11R6/include/X11/Xlib.h:2479: error: previous declaration of 'XFillPolygon' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:830: error: conflicting types for 'XFillRectangles' /usr/X11R6/include/X11/Xlib.h:2497: error: previous declaration of 'XFillRectangles' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:835: error: conflicting types for 'XFreeColormap' /usr/X11R6/include/X11/Xlib.h:2515: error: previous declaration of 'XFreeColormap' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:841: error: conflicting types for 'XFreeColors' /usr/X11R6/include/X11/Xlib.h:2523: error: previous declaration of 'XFreeColors' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:846: error: conflicting types for 'XFreeModifiermap' /usr/X11R6/include/X11/Xlib.h:2560: error: previous declaration of 'XFreeModifiermap' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:885: error: conflicting types for 'XMapWindow' /usr/X11R6/include/X11/Xlib.h:2801: error: previous declaration of 'XMapWindow' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:891: error: conflicting types for 'XMoveResizeWindow' /usr/X11R6/include/X11/Xlib.h:2824: error: previous declaration of 'XMoveResizeWindow' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:896: error: conflicting types for 'XMoveWindow' /usr/X11R6/include/X11/Xlib.h:2831: error: previous declaration of 'XMoveWindow' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:908: error: conflicting types for 'XRaiseWindow' /usr/X11R6/include/X11/Xlib.h:3021: error: previous declaration of 'XRaiseWindow' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:913: error: conflicting types for 'XRefreshKeyboardMapping' /usr/X11R6/include/X11/Xlib.h:3061: error: previous declaration of 'XRefreshKeyboardMapping' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:919: error: conflicting types for 'XResizeWindow' /usr/X11R6/include/X11/Xlib.h:3096: error: previous declaration of 'XResizeWindow' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:924: error: conflicting types for 'XSelectInput' /usr/X11R6/include/X11/Xlib.h:3125: error: previous declaration of 'XSelectInput' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:936: error: conflicting types for 'XSetIconName' /usr/X11R6/include/X11/Xlib.h:3241: error: previous declaration of 'XSetIconName' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:941: error: conflicting types for 'XSetInputFocus' /usr/X11R6/include/X11/Xlib.h:3248: error: previous declaration of 'XSetInputFocus' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:947: error: conflicting types for 'XSetSelectionOwner' /usr/X11R6/include/X11/Xlib.h:3289: error: previous declaration of 'XSetSelectionOwner' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:953: error: conflicting types for 'XSetWindowBackground' /usr/X11R6/include/X11/Xlib.h:3329: error: previous declaration of 'XSetWindowBackground' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:959: error: conflicting types for 'XSetWindowBackgroundPixmap' /usr/X11R6/include/X11/Xlib.h:3335: error: previous declaration of 'XSetWindowBackgroundPixmap' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:965: error: conflicting types for 'XSetWindowBorder' /usr/X11R6/include/X11/Xlib.h:3341: error: previous declaration of 'XSetWindowBorder' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:971: error: conflicting types for 'XSetWindowBorderPixmap' /usr/X11R6/include/X11/Xlib.h:3347: error: previous declaration of 'XSetWindowBorderPixmap' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:977: error: conflicting types for 'XSetWindowBorderWidth' /usr/X11R6/include/X11/Xlib.h:3353: error: previous declaration of 'XSetWindowBorderWidth' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:983: error: conflicting types for 'XSetWindowColormap' /usr/X11R6/include/X11/Xlib.h:3359: error: previous declaration of 'XSetWindowColormap' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:988: error: conflicting types for 'XUngrabKeyboard' /usr/X11R6/include/X11/Xlib.h:3471: error: previous declaration of 'XUngrabKeyboard' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:993: error: conflicting types for 'XUngrabPointer' /usr/X11R6/include/X11/Xlib.h:3476: error: previous declaration of 'XUngrabPointer' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:998: error: conflicting types for 'XUnmapWindow' /usr/X11R6/include/X11/Xlib.h:3500: error: previous declaration of 'XUnmapWindow' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1024: error: conflicting types for 'XFreeGC' /usr/X11R6/include/X11/Xlib.h:2556: error: previous declaration of 'XFreeGC' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1037: error: conflicting types for 'XSetBackground' /usr/X11R6/include/X11/Xlib.h:3150: error: previous declaration of 'XSetBackground' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1043: error: conflicting types for 'XSetForeground' /usr/X11R6/include/X11/Xlib.h:3223: error: previous declaration of 'XSetForeground' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1049: error: conflicting types for 'XSetClipMask' /usr/X11R6/include/X11/Xlib.h:3156: error: previous declaration of 'XSetClipMask' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1055: error: conflicting types for 'XSetClipOrigin' /usr/X11R6/include/X11/Xlib.h:3163: error: previous declaration of 'XSetClipOrigin' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1061: error: conflicting types for 'XSetTSOrigin' /usr/X11R6/include/X11/Xlib.h:3317: error: previous declaration of 'XSetTSOrigin' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1067: error: conflicting types for 'XChangeGC' /usr/X11R6/include/X11/Xlib.h:2035: error: previous declaration of 'XChangeGC' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1072: error: conflicting types for 'XSetFont' /usr/X11R6/include/X11/Xlib.h:3211: error: previous declaration of 'XSetFont' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1077: error: conflicting types for 'XSetArcMode' /usr/X11R6/include/X11/Xlib.h:3144: error: previous declaration of 'XSetArcMode' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1083: error: conflicting types for 'XSetStipple' /usr/X11R6/include/X11/Xlib.h:3304: error: previous declaration of 'XSetStipple' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1089: error: conflicting types for 'XSetFillRule' /usr/X11R6/include/X11/Xlib.h:3199: error: previous declaration of 'XSetFillRule' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1095: error: conflicting types for 'XSetFillStyle' /usr/X11R6/include/X11/Xlib.h:3205: error: previous declaration of 'XSetFillStyle' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1100: error: conflicting types for 'XSetFunction' /usr/X11R6/include/X11/Xlib.h:3229: error: previous declaration of 'XSetFunction' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1107: error: conflicting types for 'XSetLineAttributes' /usr/X11R6/include/X11/Xlib.h:3257: error: previous declaration of 'XSetLineAttributes' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1117: error: conflicting types for 'XCreateIC' /usr/X11R6/include/X11/Xlib.h:3847: error: previous declaration of 'XCreateIC' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1142: error: conflicting types for 'XDrawSegments' /usr/X11R6/include/X11/Xlib.h:2394: error: previous declaration of 'XDrawSegments' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1147: error: conflicting types for 'XForceScreenSaver' /usr/X11R6/include/X11/Xlib.h:2506: error: previous declaration of 'XForceScreenSaver' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1153: error: conflicting types for 'XDrawLine' /usr/X11R6/include/X11/Xlib.h:2342: error: previous declaration of 'XDrawLine' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1160: error: conflicting types for 'XFillRectangle' /usr/X11R6/include/X11/Xlib.h:2489: error: previous declaration of 'XFillRectangle' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1165: error: conflicting types for 'XClearWindow' /usr/X11R6/include/X11/Xlib.h:2150: error: previous declaration of 'XClearWindow' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1171: error: conflicting types for 'XDrawPoint' /usr/X11R6/include/X11/Xlib.h:2359: error: previous declaration of 'XDrawPoint' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1177: error: conflicting types for 'XDrawPoints' /usr/X11R6/include/X11/Xlib.h:2368: error: previous declaration of 'XDrawPoints' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1186: error: conflicting types for 'XWarpPointer' /usr/X11R6/include/X11/Xlib.h:3516: error: previous declaration of 'XWarpPointer' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1192: error: conflicting types for 'XQueryColor' /usr/X11R6/include/X11/Xlib.h:2953: error: previous declaration of 'XQueryColor' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1198: error: conflicting types for 'XQueryColors' /usr/X11R6/include/X11/Xlib.h:2960: error: previous declaration of 'XQueryColors' was here make: *** [tk3d.o] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix" && make all " returned error 2 Command output: /usr/X11R6/include/X11/Xlib.h:3199: error: previous declaration of 'XSetFillRule' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1095: error: conflicting types for 'XSetFillStyle' /usr/X11R6/include/X11/Xlib.h:3205: error: previous declaration of 'XSetFillStyle' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1100: error: conflicting types for 'XSetFunction' /usr/X11R6/include/X11/Xlib.h:3229: error: previous declaration of 'XSetFunction' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1107: error: conflicting types for 'XSetLineAttributes' /usr/X11R6/include/X11/Xlib.h:3257: error: previous declaration of 'XSetLineAttributes' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1117: error: conflicting types for 'XCreateIC' /usr/X11R6/include/X11/Xlib.h:3847: error: previous declaration of 'XCreateIC' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1142: error: conflicting types for 'XDrawSegments' /usr/X11R6/include/X11/Xlib.h:2394: error: previous declaration of 'XDrawSegments' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1147: error: conflicting types for 'XForceScreenSaver' /usr/X11R6/include/X11/Xlib.h:2506: error: previous declaration of 'XForceScreenSaver' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1153: error: conflicting types for 'XDrawLine' /usr/X11R6/include/X11/Xlib.h:2342: error: previous declaration of 'XDrawLine' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1160: error: conflicting types for 'XFillRectangle' /usr/X11R6/include/X11/Xlib.h:2489: error: previous declaration of 'XFillRectangle' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1165: error: conflicting types for 'XClearWindow' /usr/X11R6/include/X11/Xlib.h:2150: error: previous declaration of 'XClearWindow' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1171: error: conflicting types for 'XDrawPoint' /usr/X11R6/include/X11/Xlib.h:2359: error: previous declaration of 'XDrawPoint' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1177: error: conflicting types for 'XDrawPoints' /usr/X11R6/include/X11/Xlib.h:2368: error: previous declaration of 'XDrawPoints' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1186: error: conflicting types for 'XWarpPointer' /usr/X11R6/include/X11/Xlib.h:3516: error: previous declaration of 'XWarpPointer' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1192: error: conflicting types for 'XQueryColor' /usr/X11R6/include/X11/Xlib.h:2953: error: previous declaration of 'XQueryColor' was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.4/unix/../generic/tkIntXlibDecls.h:1198: error: conflicting types for 'XQueryColors' /usr/X11R6/include/X11/Xlib.h:2960: error: previous declaration of 'XQueryColors' was here make: *** [tk3d.o] Error 1 Warning: the following items did not execute (for tk): org.macports.build Error: Status 1 encountered during processing. From gary.law at gmail.com Tue Aug 19 14:35:28 2008 From: gary.law at gmail.com (Gary Law) Date: Tue, 19 Aug 2008 22:35:28 +0100 Subject: help with Bzip2 Message-ID: <336A142E-DCBC-41E9-9696-566EC9938F1B@gmail.com> Hi Got a brand new machine, patched it to latest version of leopard, plus security update. Then downloaded and installed Xcode tools and Macports. And my very first port install blows up! Last login: Sun Aug 17 11:00:43 on console glaw at MB01:~ $ sudo port install bzip2 Password: ---> Building bzip2 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_archivers_bzip2/work/bzip2-1.0.5" && make all PREFIX="/opt/local" " returned error 2 Command output: rm -f libbz2.dylib gcc -dynamiclib blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o -o libbz2.1.0.4.dylib \ -install_name /opt/local/lib/libbz2.1.0.dylib \ -compatibility_version 1.0 -current_version 1.0.4 /usr/bin/libtool: for architecture ppc7400 object: /usr/lib/gcc/i686- apple-darwin8/4.0.1/../../../libSystem.dylib malformed object (unknown load command 4) /usr/bin/libtool: for architecture: (null) file: -lSystem is not an object file (not allowed in a library) /usr/bin/libtool: for architecture ppc64 object: /usr/lib/gcc/i686- apple-darwin8/4.0.1/../../../libSystem.dylib malformed object (unknown load command 4) make: *** [libbz2.dylib] Error 1 Error: Status 1 encountered during processing. glaw at MB01:~ $ Anyone seen this before? -- Gary Law From 0x62_0x6c_0x62 at pobox.com Tue Aug 19 15:21:38 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Tue, 19 Aug 2008 16:21:38 -0600 Subject: help with Bzip2 In-Reply-To: <336A142E-DCBC-41E9-9696-566EC9938F1B@gmail.com> References: <336A142E-DCBC-41E9-9696-566EC9938F1B@gmail.com> Message-ID: <57BDD3C6-4DE5-4936-B73B-57D6A4802BF3@pobox.com> On Aug 19, 2008, at 3:35 PM, Gary Law wrote: > Hi > > Got a brand new machine, patched it to latest version of leopard, plus > security update. > > Then downloaded and installed Xcode tools and Macports. And my very > first port install blows up! > > Last login: Sun Aug 17 11:00:43 on console > glaw at MB01:~ $ sudo port install bzip2 > Password: > ---> Building bzip2 with target all ... > /usr/bin/libtool: for architecture ppc64 object: /usr/lib/gcc/i686- > apple-darwin8/4.0.1/../../../libSystem.dylib malformed object (unknown > load command 4) > make: *** [libbz2.dylib] Error 1 > This usually happens when an older version of Xcode is being used. Which version did you install? For 10.5, 3.0 or 3.1 would be the ones to use. Bryan > Error: Status 1 encountered during processing. > glaw at MB01:~ $ > > Anyone seen this before? > > -- > Gary Law From gary.law at gmail.com Tue Aug 19 15:28:04 2008 From: gary.law at gmail.com (Gary Law) Date: Tue, 19 Aug 2008 23:28:04 +0100 Subject: help with Bzip2 In-Reply-To: <57BDD3C6-4DE5-4936-B73B-57D6A4802BF3@pobox.com> References: <336A142E-DCBC-41E9-9696-566EC9938F1B@gmail.com> <57BDD3C6-4DE5-4936-B73B-57D6A4802BF3@pobox.com> Message-ID: On 19 Aug 2008, at 23:21, Bryan Blackburn wrote: > On Aug 19, 2008, at 3:35 PM, Gary Law wrote: > >> Hi >> >> Got a brand new machine, patched it to latest version of leopard, >> plus >> security update. >> >> Then downloaded and installed Xcode tools and Macports. And my very >> first port install blows up! >> >> Last login: Sun Aug 17 11:00:43 on console >> glaw at MB01:~ $ sudo port install bzip2 >> Password: >> ---> Building bzip2 with target all > ... >> /usr/bin/libtool: for architecture ppc64 object: /usr/lib/gcc/i686- >> apple-darwin8/4.0.1/../../../libSystem.dylib malformed object >> (unknown >> load command 4) >> make: *** [libbz2.dylib] Error 1 >> > > This usually happens when an older version of Xcode is being used. > Which version did you install? For 10.5, 3.0 or 3.1 would be the ones > to use. That might be it. The first listed version on developer connection downloads is 2.1, so I may have pulled the wrong version down. I'll try again now... Gary From ryandesign at macports.org Tue Aug 19 17:31:11 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 19 Aug 2008 19:31:11 -0500 Subject: help with Bzip2 In-Reply-To: References: <336A142E-DCBC-41E9-9696-566EC9938F1B@gmail.com> <57BDD3C6-4DE5-4936-B73B-57D6A4802BF3@pobox.com> Message-ID: <2E0EBED1-5EFB-491D-8DA8-AFCA112A03C4@macports.org> On Aug 19, 2008, at 17:28, Gary Law wrote: > On 19 Aug 2008, at 23:21, Bryan Blackburn wrote: > >> On Aug 19, 2008, at 3:35 PM, Gary Law wrote: >> >>> Got a brand new machine, patched it to latest version of leopard, >>> plus security update. >>> >>> Then downloaded and installed Xcode tools and Macports. And my very >>> first port install blows up! >>> >>> Last login: Sun Aug 17 11:00:43 on console >>> glaw at MB01:~ $ sudo port install bzip2 >>> Password: >>> ---> Building bzip2 with target all >> ... >>> /usr/bin/libtool: for architecture ppc64 object: /usr/lib/gcc/i686- >>> apple-darwin8/4.0.1/../../../libSystem.dylib malformed object >>> (unknown >>> load command 4) >>> make: *** [libbz2.dylib] Error 1 >> >> This usually happens when an older version of Xcode is being used. >> Which version did you install? For 10.5, 3.0 or 3.1 would be the >> ones >> to use. > > That might be it. The first listed version on developer connection > downloads is 2.1, so I may have pulled the wrong version down. I'll > try again now... The first version of Xcode I see listed on ADC: Downloads: Developer Tools is 3.1. Xcode 3.0 is the earliest version that can be used with Leopard. Xcode 3.1 is available here: http://developer.apple.com/technology/xcode.html From deliverable at gmail.com Tue Aug 19 21:56:49 2008 From: deliverable at gmail.com (Alexy Khrabrov) Date: Wed, 20 Aug 2008 00:56:49 -0400 Subject: moving port from a 32-bit box to 64-bit one Message-ID: <63964191-7262-4BD2-A08E-97FDE090458C@gmail.com> I've migrated from a 32-bit MacBook Core Duo to MBP Core 2 Duo, and the Migration Assistant happily brought over my macports which look like they work. Except when I start one zsh inside another I get some deallocate failures... Which makes me think, will selfupdate notice I am on 64 bits now and reinstall stuff, or do I have to reinstall it all myself -- and then, is there an automatic way to redo all the ports which are 64 bit-aware and capable? Cheers, Alexy From randall.h.wood at alexandriasoftware.com Wed Aug 20 03:02:17 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Wed, 20 Aug 2008 06:02:17 -0400 Subject: moving port from a 32-bit box to 64-bit one In-Reply-To: <63964191-7262-4BD2-A08E-97FDE090458C@gmail.com> References: <63964191-7262-4BD2-A08E-97FDE090458C@gmail.com> Message-ID: You will have to reinstall your ports. Here's I deal with a large reinstallation: port installed > ~/installed.txt sudo php -f ~/install-list-ports ~/installed.txt install-listed-ports is a php script that is attached and should work in 10.4 or 10.5 out of the box. Just copy it to your home directory for this to work. On Wed, Aug 20, 2008 at 12:56 AM, Alexy Khrabrov wrote: > I've migrated from a 32-bit MacBook Core Duo to MBP Core 2 Duo, and > the Migration Assistant happily brought over my macports which look > like they work. Except when I start one zsh inside another I get some > deallocate failures... Which makes me think, will selfupdate notice I > am on 64 bits now and reinstall stuff, or do I have to reinstall it > all myself -- and then, is there an automatic way to redo all the > ports which are 64 bit-aware and capable? > > Cheers, > Alexy > _______________________________________________ > 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." -------------- next part -------------- A non-text attachment was scrubbed... Name: install-listed-ports Type: application/octet-stream Size: 381 bytes Desc: not available Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080820/67676117/attachment.obj From gary.law at gmail.com Wed Aug 20 05:02:02 2008 From: gary.law at gmail.com (Gary Law) Date: Wed, 20 Aug 2008 13:02:02 +0100 Subject: help with Bzip2 In-Reply-To: <2E0EBED1-5EFB-491D-8DA8-AFCA112A03C4@macports.org> References: <336A142E-DCBC-41E9-9696-566EC9938F1B@gmail.com> <57BDD3C6-4DE5-4936-B73B-57D6A4802BF3@pobox.com> <2E0EBED1-5EFB-491D-8DA8-AFCA112A03C4@macports.org> Message-ID: > The first version of Xcode I see listed on ADC: Downloads: Developer Tools > is 3.1. Indeed, but if you look under ADC: Downloads: Mac OS X: the first listed one is 2.1. Gary From dave.evans55 at googlemail.com Wed Aug 20 07:01:24 2008 From: dave.evans55 at googlemail.com (Dave Evans) Date: Wed, 20 Aug 2008 15:01:24 +0100 Subject: tclsh eats all available memory (port -d upgrade installed) Message-ID: I have 317 ports installed. None require upgrading. Starting sudo port -d upgrade installed and monitoring the memory usage with Activity Monitor, after a few seconds tclsh RSIZE is up to 300 MB. After a couple of minutes the RSIZE is up to 1.5GB and the free memory is down to 8 MB. They stay at these values for another couple of minutes when tclsh gives up with an out of memory error. DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/r elease/ports/gnome/gnome-icon-theme tclsh(34820,0xa0592fa0) malloc: *** mmap(size=1884160) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug unable to alloc 1882835 bytes Abort trap Does any one know why tclsh is using so much memory? The only message in this mailing list referring to the problem was a couple of months ago. See http://tinyurl.com/5vn3qu and (on another mailing list) http://tinyurl.com/6s7sxh My configuration: 2GB memory, OSX 10.5.4, Xcode 3.1, 500 GB of free disk space (so swap space cannot be a problem) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080820/52e1864a/attachment.html From ryandesign at macports.org Wed Aug 20 12:58:28 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 20 Aug 2008 14:58:28 -0500 Subject: help with Bzip2 In-Reply-To: References: <336A142E-DCBC-41E9-9696-566EC9938F1B@gmail.com> <57BDD3C6-4DE5-4936-B73B-57D6A4802BF3@pobox.com> <2E0EBED1-5EFB-491D-8DA8-AFCA112A03C4@macports.org> Message-ID: On Aug 20, 2008, at 07:02, Gary Law wrote: >> The first version of Xcode I see listed on ADC: Downloads: >> Developer Tools >> is 3.1. > > Indeed, but if you look under > ADC: Downloads: Mac OS X: > the first listed one is 2.1. I've added a note to our install document listing the latest versions of Xcode currently available (which should appear whenever the guide is regenerated -- daily?), so hopefully that will alleviate some confusion. http://guide.macports.org/#installing.xcode From ryandesign at macports.org Wed Aug 20 13:02:18 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 20 Aug 2008 15:02:18 -0500 Subject: moving port from a 32-bit box to 64-bit one In-Reply-To: References: <63964191-7262-4BD2-A08E-97FDE090458C@gmail.com> Message-ID: On Aug 20, 2008, at 05:02, Randall Wood wrote: > On Wed, Aug 20, 2008 at 12:56 AM, Alexy Khrabrov wrote: > >> I've migrated from a 32-bit MacBook Core Duo to MBP Core 2 Duo, and >> the Migration Assistant happily brought over my macports which look >> like they work. Except when I start one zsh inside another I get >> some >> deallocate failures... Which makes me think, will selfupdate >> notice I >> am on 64 bits now and reinstall stuff, or do I have to reinstall it >> all myself -- and then, is there an automatic way to redo all the >> ports which are 64 bit-aware and capable? > > You will have to reinstall your ports. Here's I deal with a large > reinstallation: > > port installed > ~/installed.txt > sudo php -f ~/install-list-ports ~/installed.txt > > install-listed-ports is a php script that is attached and should work > in 10.4 or 10.5 out of the box. Just copy it to your home directory > for this to work. Actually, if both machines were running the same major version of Mac OS X, I wouldn't have thought anything would need to be reinstalled, since MacPorts will build 32-bit software by default, even on a 64- bit machine. And even so, 32-bit software should work fine on 64-bit machines. port selfupdate never updates ports; it only updates MacPorts base if a newer version is available, and it updates your port definitions. port outdated only shows a port as outdated if a newer version of it is available. It might be nice if it were possible for port outdated to know for example when your ports were built with an older version of Mac OS X or Xcode or on a different processor architecture (e.g. PowerPC vs. Intel) and to flag these as needing a rebuild too, but that capability does not exist in MacPorts at this time. From dave.evans55 at googlemail.com Wed Aug 20 16:51:01 2008 From: dave.evans55 at googlemail.com (David Evans) Date: Thu, 21 Aug 2008 00:51:01 +0100 Subject: tclsh eats all available memory (port -d upgrade installed) In-Reply-To: References: Message-ID: <48ACADE5.5030509@googlemail.com> Dave Evans wrote: > I have 317 ports installed. None require upgrading. > > Starting sudo port -d upgrade installed and monitoring > the memory usage with Activity Monitor, after a few seconds > tclsh RSIZE is up to 300 MB. After a couple of minutes > the RSIZE is up to 1.5GB and the free memory is down > to 8 MB. They stay at these values for another couple of minutes > when tclsh gives up with an out of memory error. > > DEBUG: Found port in file:///opt/local/var/macports/sources/ > rsync.macports.org/r > elease/ports/gnome/gnome-icon-theme > tclsh(34820,0xa0592fa0) malloc: *** mmap(size=1884160) failed (error > code=12) > *** error: can't allocate region > *** set a breakpoint in malloc_error_break to debug > unable to alloc 1882835 bytes > Abort trap > > Does any one know why tclsh is using so much memory? The only > message in this mailing list referring to the problem was a couple of > months ago. See http://tinyurl.com/5vn3qu and > (on another mailing list) http://tinyurl.com/6s7sxh > > My configuration: 2GB memory, OSX 10.5.4, Xcode 3.1, > 500 GB of free disk space (so swap space cannot be a problem) > > I've now installed tcl 8.5.4 from Macports and modified port to use it. I then rerun sudo port -d upgrade installed It ran right through to the end. It still used up nearly all of the free memory though, even though it did not need to upgrade any ports. Apologies for the html text in the previous message. I've now installed Thunderbird which should avoid this - I hope. From gary.law at gmail.com Thu Aug 21 03:18:56 2008 From: gary.law at gmail.com (Gary Law) Date: Thu, 21 Aug 2008 11:18:56 +0100 Subject: help with Bzip2 In-Reply-To: References: <336A142E-DCBC-41E9-9696-566EC9938F1B@gmail.com> <57BDD3C6-4DE5-4936-B73B-57D6A4802BF3@pobox.com> <2E0EBED1-5EFB-491D-8DA8-AFCA112A03C4@macports.org> Message-ID: 2008/8/20 Ryan Schmidt : > > On Aug 20, 2008, at 07:02, Gary Law wrote: > >>> The first version of Xcode I see listed on ADC: Downloads: Developer >>> Tools >>> is 3.1. >> >> Indeed, but if you look under >> ADC: Downloads: Mac OS X: >> the first listed one is 2.1. > > I've added a note to our install document listing the latest versions of > Xcode currently available (which should appear whenever the guide is > regenerated -- daily?), so hopefully that will alleviate some confusion. > > http://guide.macports.org/#installing.xcode ... and as suspected, a download of 3.1 has solved my building issues. Thanks Gary -- Gary From joelosco at frontiernet.net Thu Aug 21 08:20:47 2008 From: joelosco at frontiernet.net (Joseph W. Losco) Date: Thu, 21 Aug 2008 11:20:47 -0400 Subject: glib2 Message-ID: <62550B2E-6AAB-4EA0-85D0-E8C8EF07E548@frontiernet.net> I'm trying to get glib2 in and I'm running into some issues. First background info OSX 10.5.4 Macports version 1.6 I'm using port install glib2 and I get this error during the configure. I've tried downloading and installing gcc43 and then used gcc_select to choose mp-gcc43. If I do gcc -v I get what I believe to be gcc43 from macports (as it shows version 4.3.1. I checked into the config.log from glib2 and I think its showing that its still using gcc 4.0.1 from apple. Is there anything else I need to do besides the gcc_select? or is it not really related to that what so ever? Thanks for any and all help: ---> Fetching glib2 ---> Verifying checksum(s) for glib2 ---> Extracting glib2 ---> Applying patches to glib2 ---> Configuring glib2 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_devel_glib2/work/glib-2.16.5" && ./ configure --prefix=/opt/local --enable-static --mandir=/opt/local/ share/man " returned error 1 Command output: checking for extra flags to get ANSI library prototypes... configure: WARNING: No ANSI prototypes found in library. (-std1 didn't work.) checking for extra flags for POSIX compliance... none needed checking for ANSI C header files... (cached) no checking for vprintf... yes checking for _doprnt... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking for working alloca.h... yes checking for alloca... yes checking for posix_memalign... no checking for memalign... no checking for valloc... yes checking for atexit... yes checking for on_exit... no checking for timegm... yes checking for gmtime_r... yes checking size of char... 0 checking size of short... 0 checking size of long... 0 checking size of int... 0 checking size of void *... 0 checking size of long long... 0 checking size of __int64... 0 configure: error: *** GLib requires a 64 bit type. You might want to consider *** using the GNU C compiler. Error: Status 1 encountered during processing. Joe Losco joelosco at frontiernet.net From raimue at macports.org Thu Aug 21 08:48:36 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Thu, 21 Aug 2008 17:48:36 +0200 Subject: glib2 In-Reply-To: <62550B2E-6AAB-4EA0-85D0-E8C8EF07E548@frontiernet.net> References: <62550B2E-6AAB-4EA0-85D0-E8C8EF07E548@frontiernet.net> Message-ID: <48AD8E54.4040407@macports.org> Joseph W. Losco wrote: > I'm using port install glib2 > and I get this error during the configure. I've tried downloading and > installing gcc43 and then used gcc_select to choose mp-gcc43. If I do > gcc -v I get what I believe to be gcc43 from macports (as it shows > version 4.3.1. I checked into the config.log from glib2 and I think > its showing that its still using gcc 4.0.1 from apple. Is there > anything else I need to do besides the gcc_select? or is it not > really related to that what so ever? MacPorts does not use the compiler selected by gcc_select, but decides on its own which compiler to use. By default, this is the one provided by Xcode, gcc 4.0. At the moment, there is no configuration variable for it. But it is possible to overwrite it from the command line using 'configure.compiler'. But usually this is not necessary. > ---> Fetching glib2 > ---> Verifying checksum(s) for glib2 > ---> Extracting glib2 > ---> Applying patches to glib2 > ---> Configuring glib2 > 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_devel_glib2/work/glib-2.16.5" && ./ > configure --prefix=/opt/local --enable-static --mandir=/opt/local/ > share/man " returned error 1 > Command output: checking for extra flags to get ANSI library > prototypes... > configure: WARNING: No ANSI prototypes found in library. (-std1 didn't > work.) > checking for extra flags for POSIX compliance... none needed > checking for ANSI C header files... (cached) no It looks like files are missing from /usr/include/. Please reinstall Xcode 3.1 and make sure to include the 'UNIX Development Support'. Rainer From joelosco at frontiernet.net Thu Aug 21 08:57:54 2008 From: joelosco at frontiernet.net (Joseph W. Losco) Date: Thu, 21 Aug 2008 11:57:54 -0400 Subject: glib2 In-Reply-To: <48AD8E54.4040407@macports.org> References: <62550B2E-6AAB-4EA0-85D0-E8C8EF07E548@frontiernet.net> <48AD8E54.4040407@macports.org> Message-ID: ah.. that might be why.. I only have Xcode 3 installed.. I thought I put unix services in in 3 though.. I'll have to double check.. Thanks, gives me a great place to start looking. Joe Losco joelosco at frontiernet.net On Aug 21, 2008, at 11:48 AM, Rainer M?ller wrote: > Joseph W. Losco wrote: >> I'm using port install glib2 >> and I get this error during the configure. I've tried downloading >> and >> installing gcc43 and then used gcc_select to choose mp-gcc43. If I >> do >> gcc -v I get what I believe to be gcc43 from macports (as it shows >> version 4.3.1. I checked into the config.log from glib2 and I think >> its showing that its still using gcc 4.0.1 from apple. Is there >> anything else I need to do besides the gcc_select? or is it not >> really related to that what so ever? > > MacPorts does not use the compiler selected by gcc_select, but decides > on its own which compiler to use. By default, this is the one provided > by Xcode, gcc 4.0. > > At the moment, there is no configuration variable for it. But it is > possible to overwrite it from the command line using > 'configure.compiler'. But usually this is not necessary. > >> ---> Fetching glib2 >> ---> Verifying checksum(s) for glib2 >> ---> Extracting glib2 >> ---> Applying patches to glib2 >> ---> Configuring glib2 >> 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_devel_glib2/work/glib-2.16.5" && ./ >> configure --prefix=/opt/local --enable-static --mandir=/opt/local/ >> share/man " returned error 1 >> Command output: checking for extra flags to get ANSI library >> prototypes... >> configure: WARNING: No ANSI prototypes found in library. (-std1 >> didn't >> work.) >> checking for extra flags for POSIX compliance... none needed >> checking for ANSI C header files... (cached) no > > It looks like files are missing from /usr/include/. Please reinstall > Xcode 3.1 and make sure to include the 'UNIX Development Support'. > > Rainer > From raimue at macports.org Thu Aug 21 09:12:49 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Thu, 21 Aug 2008 18:12:49 +0200 Subject: tclsh eats all available memory (port -d upgrade installed) In-Reply-To: <48ACADE5.5030509@googlemail.com> References: <48ACADE5.5030509@googlemail.com> Message-ID: <48AD9401.1030505@macports.org> David Evans wrote: > [...] >> Does any one know why tclsh is using so much memory? The only >> message in this mailing list referring to the problem was a couple of >> months ago. See http://tinyurl.com/5vn3qu and >> (on another mailing list) http://tinyurl.com/6s7sxh >> >> My configuration: 2GB memory, OSX 10.5.4, Xcode 3.1, >> 500 GB of free disk space (so swap space cannot be a problem) >> >> > I've now installed tcl 8.5.4 from Macports and modified > port to use it. I then rerun > sudo port -d upgrade installed > > It ran right through to the end. It still used up nearly all > of the free memory though, even though it did not > need to upgrade any ports. Not sure why calculating outdated packages takes so much memory. Does the same happen with 'port outdated'? Basically this should be the same calculation. I experience something like this, but only when port does (de)activate. I was not able to track it down further, but tclsh often takes up to 350-400 MB of RAM for me. I don't know if it has something to do with the number of ports installed, as I can't reproduce it with a clean install. In this installation, I have >600 ports installed. Rainer From imustflee at gmail.com Thu Aug 21 10:59:27 2008 From: imustflee at gmail.com (Andrew Carlberg) Date: Thu, 21 Aug 2008 12:59:27 -0500 Subject: Wine refuses to install Fontforge Errors Message-ID: <48ADACFF.5030807@gmail.com> Hey guys I'm trying to install wine through macports but I can't get it to work a few dependcies won't build I can't figure out how to fix it. here's the output from the wine install (it includes the output from fontforge showing the errors): sudo port install wine ---> Fetching fontforge ---> Verifying checksum(s) for fontforge ---> Extracting fontforge ---> Applying patches to fontforge ---> Configuring fontforge ---> Building fontforge 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_graphics_fontforge/work/fontforge-20080110" && make all " returned error 2 Command output: /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c autowidth.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c autowidth.c -fno-common -DPIC -o .libs/autowidth.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c bezctx_ff.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c bezctx_ff.c -fno-common -DPIC -o .libs/bezctx_ff.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c bitmapchar.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c bitmapchar.c -fno-common -DPIC -o .libs/bitmapchar.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c bitmapcontrol.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c bitmapcontrol.c -fno-common -DPIC -o .libs/bitmapcontrol.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c bvedit.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c bvedit.c -fno-common -DPIC -o .libs/bvedit.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c clipnoui.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c clipnoui.c -fno-common -DPIC -o .libs/clipnoui.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c crctab.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c crctab.c -fno-common -DPIC -o .libs/crctab.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c cvexport.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c cvexport.c -fno-common -DPIC -o .libs/cvexport.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c cvimages.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c cvimages.c -fno-common -DPIC -o .libs/cvimages.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c cvundoes.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c cvundoes.c -fno-common -DPIC -o .libs/cvundoes.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c dumpbdf.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c dumpbdf.c -fno-common -DPIC -o .libs/dumpbdf.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c dumppfa.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c dumppfa.c -fno-common -DPIC -o .libs/dumppfa.o /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H '-DSHAREDIR="/opt/local/share/fontforge"' -DLIBDIR='"/opt/local/lib"' -I/opt/local/include -I/opt/local/include '-DPREFIX="/opt/local"' -c effects.c /usr/bin/gcc-4.0 -O2 -I/opt/local/include/freetype2/ -I/opt/local/include -I/opt/local/include/libxml2/ -I../inc -I. -I. -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts -DHAVE_CONFIG_H -DSHAREDIR=\"/opt/local/share/fontforge\" -DLIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/opt/local/include -DPREFIX=\"/opt/local\" -c effects.c -fno-common -DPIC -o .libs/effects.o In file included from effects.c:29: ../inc/gkeysym.h:5:24: error: X11/keysym.h: No such file or directory make[1]: *** [effects.lo] Error 1 make: *** [fontforge] Error 2 Error: The following dependencies failed to build: fontforge libxslt xrender Error: Status 1 encountered during processing. Hope you guys can help me! Appreciate it! From zavpublic at mac.com Thu Aug 21 14:02:18 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Thu, 21 Aug 2008 16:02:18 -0500 Subject: Install of MP 1.6 on a Quad G5 under 10.5.4 Message-ID: <54FE1821-A418-4F21-8E38-C43FFC814BED@mac.com> Hi. I just downloaded the image of MP 1.6 on the newly created Admin account of my G5 and ran the install. Then in the Terminal, I typed: sudo port selfupdate To which I get: sudo: Command not found. This is a fresh account, created recently to make sure I am not always running with admin privs. I've had several system deaths because of this. Anyone know why installing MacPorts 1.6 doesn't completely install MacPorts on a freshly created admin account? - Zav From ryandesign at macports.org Thu Aug 21 14:08:25 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 21 Aug 2008 16:08:25 -0500 Subject: Install of MP 1.6 on a Quad G5 under 10.5.4 In-Reply-To: <54FE1821-A418-4F21-8E38-C43FFC814BED@mac.com> References: <54FE1821-A418-4F21-8E38-C43FFC814BED@mac.com> Message-ID: <35A51E39-6A28-4D21-8BEA-6AC893E4B92D@macports.org> On Aug 21, 2008, at 16:02, Alex Zavatone wrote: > Hi. I just downloaded the image of MP 1.6 on the newly created Admin > account of my G5 and ran the install. > > Then in the Terminal, I typed: > sudo port selfupdate > > To which I get: > sudo: Command not found. > > > This is a fresh account, created recently to make sure I am not always > running with admin privs. I've had several system deaths because of > this. > > Anyone know why installing MacPorts 1.6 doesn't completely install > MacPorts on a freshly created admin account? Yes, unfortunately there is a bug. Follow these instructions: http://trac.macports.org/wiki/ProblemHotlist#a.profilenotsetup It will be fixed in the next release of MacPorts. From ryandesign at macports.org Thu Aug 21 14:13:05 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 21 Aug 2008 16:13:05 -0500 Subject: Wine refuses to install Fontforge Errors In-Reply-To: <48ADACFF.5030807@gmail.com> References: <48ADACFF.5030807@gmail.com> Message-ID: On Aug 21, 2008, at 12:59, Andrew Carlberg wrote: > Hey guys I'm trying to install wine through macports but I can't > get it > to work a few dependcies won't build I can't figure out how to fix it. > > here's the output from the wine install (it includes the output from > fontforge showing the errors): > > sudo port install wine > ---> Fetching fontforge > ---> Verifying checksum(s) for fontforge > ---> Extracting fontforge > ---> Applying patches to fontforge > ---> Configuring fontforge > ---> Building fontforge with target all [snip] > In file included from effects.c:29: > ../inc/gkeysym.h:5:24: error: X11/keysym.h: No such file or directory Ok, so fontforge can't find X11/keysym.h. keysym.h exists on my Tiger system in /usr/X11R6/include/X11 and on my Leopard system in /usr/X11/include/X11. Does it exist on your system? If not, I suspect you are missing the X11 SDK. Check /Library/ Receipts. If you're missing the X11 SDK, install it from the Xcode installer. From imustflee at gmail.com Thu Aug 21 15:04:25 2008 From: imustflee at gmail.com (Andrew Carlberg) Date: Thu, 21 Aug 2008 17:04:25 -0500 Subject: Wine refuses to install Fontforge Errors In-Reply-To: References: <48ADACFF.5030807@gmail.com> Message-ID: <48ADE669.6060904@gmail.com> Ok I installed the X11 SDK and sure enough that did it. Thanks for the help! Unfortunately now it won't install libxslt or xrender here's the output: sudo port install wine Password: ---> Building fontforge with target all ---> Staging fontforge into destroot ---> Installing fontforge 20080110_0 ---> Activating fontforge 20080110_0 ---> Cleaning fontforge ---> Configuring libxslt Error: Target org.macports.configure returned: autoconf failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libxslt/work/libxslt-1.1.23" && autoreconf " returned error 1 Command output: autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. configure.in:106: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from... aclocal.m4:1425: AC_LIBTOOL_LINKER_OPTION is expanded from... aclocal.m4:3271: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:3270: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:909: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:889: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:854: AC_PROG_LIBTOOL is expanded from... aclocal.m4:6635: AM_PROG_LIBTOOL is expanded from... configure.in:106: the top level configure.in:106: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:1383: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:5317: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... configure.in:106: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3417: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:3416: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:2415: _LT_AC_TAGCONFIG is expanded from... configure.in:106: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:4444: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:4443: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.in:106: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:4543: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:4542: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.in: required file `./mkinstalldirs' not found tests/plugins/Makefile.am: required file `./compile' not found autoreconf: automake failed with exit status: 1 Error: The following dependencies failed to build: libxslt xrender Error: Status 1 encountered during processing. I'll look through this but I figured I might as well post it in case someone already knows the answer... again appreciate the help! Ryan Schmidt wrote: > > On Aug 21, 2008, at 12:59, Andrew Carlberg wrote: > >> Hey guys I'm trying to install wine through macports but I can't get it >> to work a few dependcies won't build I can't figure out how to fix it. >> >> here's the output from the wine install (it includes the output from >> fontforge showing the errors): >> >> sudo port install wine >> ---> Fetching fontforge >> ---> Verifying checksum(s) for fontforge >> ---> Extracting fontforge >> ---> Applying patches to fontforge >> ---> Configuring fontforge >> ---> Building fontforge with target all > > [snip] > >> In file included from effects.c:29: >> ../inc/gkeysym.h:5:24: error: X11/keysym.h: No such file or directory > > Ok, so fontforge can't find X11/keysym.h. > > keysym.h exists on my Tiger system in /usr/X11R6/include/X11 and on my > Leopard system in /usr/X11/include/X11. Does it exist on your system? > If not, I suspect you are missing the X11 SDK. Check > /Library/Receipts. If you're missing the X11 SDK, install it from the > Xcode installer. > > From ryandesign at macports.org Thu Aug 21 15:27:58 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 21 Aug 2008 17:27:58 -0500 Subject: Wine refuses to install Fontforge Errors In-Reply-To: <48ADE669.6060904@gmail.com> References: <48ADACFF.5030807@gmail.com> <48ADE669.6060904@gmail.com> Message-ID: On Aug 21, 2008, at 17:04, Andrew Carlberg wrote: > Ok I installed the X11 SDK and sure enough that did it. Thanks for > the help! > > Unfortunately now it won't install libxslt or xrender [snip] > ---> Configuring libxslt [snip] > configure.in: required file `./mkinstalldirs' not found > tests/plugins/Makefile.am: required file `./compile' not found > autoreconf: automake failed with exit status: 1 > > Error: The following dependencies failed to build: libxslt xrender > Error: Status 1 encountered during processing. It hasn't gotten to xrender yet, but the libxslt issue is possibly related to this change I just made a few days ago: http://trac.macports.org/changeset/39326 autoconf is rather black magic to me; I don't quite understand it. Can you please send all the debug info so I can see what it's doing: sudo port clean --work libxslt sudo port -d install libxslt 2>&1 | tee ~/Desktop/libxslt.txt Then attach libxslt.txt from your Desktop to your email and I'll compare it to what my system does. From ryandesign at macports.org Thu Aug 21 15:31:35 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 21 Aug 2008 17:31:35 -0500 Subject: Wine refuses to install Fontforge Errors In-Reply-To: References: <48ADACFF.5030807@gmail.com> <48ADE669.6060904@gmail.com> Message-ID: <03E86947-FFF1-4DA5-80DA-9D8B26ED4422@macports.org> On Aug 21, 2008, at 17:27, Ryan Schmidt wrote: > On Aug 21, 2008, at 17:04, Andrew Carlberg wrote: > >> Ok I installed the X11 SDK and sure enough that did it. Thanks for >> the help! >> >> Unfortunately now it won't install libxslt or xrender > > [snip] > >> ---> Configuring libxslt > > [snip] > >> configure.in: required file `./mkinstalldirs' not found >> tests/plugins/Makefile.am: required file `./compile' not found >> autoreconf: automake failed with exit status: 1 >> >> Error: The following dependencies failed to build: libxslt xrender >> Error: Status 1 encountered during processing. > > It hasn't gotten to xrender yet, but the libxslt issue is possibly > related to this change I just made a few days ago: > > http://trac.macports.org/changeset/39326 > > autoconf is rather black magic to me; I don't quite understand it. > Can you please send all the debug info so I can see what it's doing: > > sudo port clean --work libxslt > sudo port -d install libxslt 2>&1 | tee ~/Desktop/libxslt.txt > > Then attach libxslt.txt from your Desktop to your email and I'll > compare it to what my system does. I just reread your output again: it complained about automake... Could you please "sudo port install automake" and then "sudo port clean --work libxslt" and then try installing libxslt again? If that works, I will add a dependency on automake to the libxslt port. From ryandesign at macports.org Thu Aug 21 15:48:23 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 21 Aug 2008 17:48:23 -0500 Subject: Wine refuses to install Fontforge Errors In-Reply-To: <48ADED87.7020806@gmail.com> References: <48ADACFF.5030807@gmail.com> <48ADE669.6060904@gmail.com> <03E86947-FFF1-4DA5-80DA-9D8B26ED4422@macports.org> <48ADED87.7020806@gmail.com> Message-ID: <1B846451-D3E7-4FD6-B03D-351F0E5952C6@macports.org> Ok, then libtool is needed too. I recall we had the same issues with libxml2 when we added autoreconf to that port. I've added these dependencies now. If you "sudo port sync" in 30 minutes, then "sudo port clean --work libxslt" and try again, it should work. Or to get it sooner than 30 minutes, "sudo port install libtool" first. On Aug 21, 2008, at 17:34, Andrew Carlberg wrote: > Alright ran those last two commands and it errored differently: > > sudo port install libxslt > ---> Fetching libxslt > ---> Verifying checksum(s) for libxslt > ---> Extracting libxslt > ---> Configuring libxslt > Error: Target org.macports.configure returned: autoconf failure: > shell command " cd "/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_textp > roc_libxslt/work/libxslt-1.1.23" && autoreconf " returned error 1 > Command output: configure.in:106: warning: macro `AM_PROG_LIBTOOL' > not found in library > configure.in:106: error: possibly undefined macro: AM_PROG_LIBTOOL > If this token and others are legitimate, please use > m4_pattern_allow. > See the Autoconf documentation. > autoreconf: /opt/local/bin/autoconf failed with exit status: 1 > > Error: Status 1 encountered during processing. > > Ryan Schmidt wrote: >> >> On Aug 21, 2008, at 17:27, Ryan Schmidt wrote: >> >>> On Aug 21, 2008, at 17:04, Andrew Carlberg wrote: >>> >>>> Ok I installed the X11 SDK and sure enough that did it. Thanks for >>>> the help! >>>> >>>> Unfortunately now it won't install libxslt or xrender >>> >>> [snip] >>> >>>> ---> Configuring libxslt >>> >>> [snip] >>> >>>> configure.in: required file `./mkinstalldirs' not found >>>> tests/plugins/Makefile.am: required file `./compile' not found >>>> autoreconf: automake failed with exit status: 1 >>>> >>>> Error: The following dependencies failed to build: libxslt xrender >>>> Error: Status 1 encountered during processing. >>> >>> It hasn't gotten to xrender yet, but the libxslt issue is possibly >>> related to this change I just made a few days ago: >>> >>> http://trac.macports.org/changeset/39326 >>> >>> autoconf is rather black magic to me; I don't quite understand it. >>> Can you please send all the debug info so I can see what it's doing: >>> >>> sudo port clean --work libxslt >>> sudo port -d install libxslt 2>&1 | tee ~/Desktop/libxslt.txt >>> >>> Then attach libxslt.txt from your Desktop to your email and I'll >>> compare it to what my system does. >> >> I just reread your output again: it complained about automake... >> Could you please "sudo port install automake" and then "sudo port >> clean --work libxslt" and then try installing libxslt again? If >> that works, I will add a dependency on automake to the libxslt port. >> >> >> > From hvdwolf at gmail.com Fri Aug 22 01:40:52 2008 From: hvdwolf at gmail.com (Harry van der Wolf) Date: Fri, 22 Aug 2008 10:40:52 +0200 Subject: set deployment target from macports.conf Message-ID: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> Hi, I'm currently on Tiger but I'm planning to move to Leopard. I build bundles for 2 open source projects currently by "hand compiling" almost every library as universal. I'm trying to move to MacPorts as that's much simpler and MacPorts has much improved in the Universal section. If I build an application bundle on Leopard using macports, it will crash on Tiger with a bus error. Most possibly due to the default deployment target and mmacosx-version-min which are default set to 10.5 on Leopard 10.5 (I assume?) So, is it possible to set the macosx_deployment_target and CFLAG/CXXFLAG setting -mmacosx-version-min to 10.4 also on Leopard as a default in macports.conf or another configuration file? Or to make it specific: Can I add "configure.macosx_deployment_target 10.4" "configure.fcflags-append -mmacosx-version-min=10.4" in macports.conf to be able to also build for Tiger on Leopard? - Or should I "patch" one of the scripts/files in /opt/local/var/macports/sources/rsync.macports.org/release/base to do this. - Or should I build macports from source specifying some parameter? If you know a much better way how to achieve my goal than please tell me. Kind regards, Harry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080822/cfa5b707/attachment.html From ryandesign at macports.org Fri Aug 22 01:57:19 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 22 Aug 2008 03:57:19 -0500 Subject: set deployment target from macports.conf In-Reply-To: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> References: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> Message-ID: <875B8CF7-7354-4C97-9BF8-C02351EC158B@macports.org> On Aug 22, 2008, at 03:40, Harry van der Wolf wrote: > I'm currently on Tiger but I'm planning to move to Leopard. I build > bundles for 2 open source projects currently by "hand compiling" > almost every library as universal. I'm trying to move to MacPorts > as that's much simpler and MacPorts has much improved in the > Universal section. > If I build an application bundle on Leopard using macports, it will > crash on Tiger with a bus error. Most possibly due to the default > deployment target and mmacosx-version-min which are default set to > 10.5 on Leopard 10.5 (I assume?) > > So, is it possible to set the macosx_deployment_target and CFLAG/ > CXXFLAG setting -mmacosx-version-min to 10.4 also on Leopard as a > default in macports.conf or another configuration file? > > Or to make it specific: > Can I add > "configure.macosx_deployment_target 10.4" > "configure.fcflags-append -mmacosx-version-min=10.4" > > in macports.conf to be able to also build for Tiger on Leopard? > > - Or should I "patch" one of the scripts/files in /opt/local/var/ > macports/sources/rsync.macports.org/release/base to do this. > - Or should I build macports from source specifying some parameter? > > > If you know a much better way how to achieve my goal than please > tell me. Yes, you can set this in macports.conf, if you're running MacPorts from trunk. (This feature is not in MacPorts 1.6.0.) You will need to set a number of settings: universal_target 10.4 universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk x11prefix /usr/X11R6 You can also set universal_archs, but setting it to anything other than "ppc i386" is not guaranteed to work with all ports. Heck, universal variants are not guaranteed to work with all ports. That's all the settings I know of, but even so, it may not work. Using these settings, I was unable to build software on Leopard and run it on Tiger. (It still used /usr/X11 as the X11 path, which is where X11 is on Leopard but not on Tiger.) I gave up at that point so I don't know how to solve it. If your software doesn't use X11 then it might work for you. From afb at macports.org Fri Aug 22 01:59:40 2008 From: afb at macports.org (=?ISO-8859-1?Q?Anders_F_Bj=F6rklund?=) Date: Fri, 22 Aug 2008 10:59:40 +0200 Subject: set deployment target from macports.conf In-Reply-To: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> References: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> Message-ID: Harry van der Wolf wrote: > I'm currently on Tiger but I'm planning to move to Leopard. I build > bundles for 2 open source projects currently by "hand compiling" > almost every library as universal. I'm trying to move to MacPorts > as that's much simpler and MacPorts has much improved in the > Universal section. > If I build an application bundle on Leopard using macports, it will > crash on Tiger with a bus error. Most possibly due to the default > deployment target and mmacosx-version-min which are default set to > 10.5 on Leopard 10.5 (I assume?) > > So, is it possible to set the macosx_deployment_target and CFLAG/ > CXXFLAG setting -mmacosx-version-min to 10.4 also on Leopard as a > default in macports.conf or another configuration file? I don't think that will be enough, in the general case. To build for Tiger, you need to use MacOSX10.4u.sdk... Theoretically +universal should be able to handle this, but cross-compiling isn't really supported in MacPorts. --anders From ryandesign at macports.org Fri Aug 22 02:05:00 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 22 Aug 2008 04:05:00 -0500 Subject: set deployment target from macports.conf In-Reply-To: References: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> Message-ID: <314DD926-5DA6-4E01-821D-2D02BCE23647@macports.org> On Aug 22, 2008, at 03:59, Anders F Bj?rklund wrote: > Harry van der Wolf wrote: > >> I'm currently on Tiger but I'm planning to move to Leopard. I build >> bundles for 2 open source projects currently by "hand compiling" >> almost every library as universal. I'm trying to move to MacPorts >> as that's much simpler and MacPorts has much improved in the >> Universal section. >> If I build an application bundle on Leopard using macports, it will >> crash on Tiger with a bus error. Most possibly due to the default >> deployment target and mmacosx-version-min which are default set to >> 10.5 on Leopard 10.5 (I assume?) >> >> So, is it possible to set the macosx_deployment_target and CFLAG/ >> CXXFLAG setting -mmacosx-version-min to 10.4 also on Leopard as a >> default in macports.conf or another configuration file? > > I don't think that will be enough, in the general case. > To build for Tiger, you need to use MacOSX10.4u.sdk... > > Theoretically +universal should be able to handle this, > but cross-compiling isn't really supported in MacPorts. Yeah. So why did we expose the options in macports.conf again? :) From afb at macports.org Fri Aug 22 02:34:04 2008 From: afb at macports.org (=?ISO-8859-1?Q?Anders_F_Bj=F6rklund?=) Date: Fri, 22 Aug 2008 11:34:04 +0200 Subject: set deployment target from macports.conf In-Reply-To: <314DD926-5DA6-4E01-821D-2D02BCE23647@macports.org> References: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> <314DD926-5DA6-4E01-821D-2D02BCE23647@macports.org> Message-ID: <5F4014B4-F969-4A8E-81D5-8308B3DA9077@macports.org> Ryan Schmidt wrote: >> Theoretically +universal should be able to handle this, >> but cross-compiling isn't really supported in MacPorts. > > Yeah. So why did we expose the options in macports.conf again? :) We were trying some stuff out in trunk, when somebody (ehrm) said you can't do things in code only but it needs to be in conf too ;-) Seriously, "binary packages" and "cross-compiling" are both rather neat features but MacPorts in its current state isn't up to them... That doesn't mean that it could be made to support them with some effort, only thing is whether that would be worth-while or not ? "Doctor, it hurts when I do this!" --anders From afb at macports.org Fri Aug 22 02:39:13 2008 From: afb at macports.org (=?ISO-8859-1?Q?Anders_F_Bj=F6rklund?=) Date: Fri, 22 Aug 2008 11:39:13 +0200 Subject: set deployment target from macports.conf In-Reply-To: <314DD926-5DA6-4E01-821D-2D02BCE23647@macports.org> References: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> <314DD926-5DA6-4E01-821D-2D02BCE23647@macports.org> Message-ID: <2DF9E665-AB8E-4A15-A584-9A7F0EFC0694@macports.org> Ryan Schmidt wrote: >> Theoretically +universal should be able to handle this, >> but cross-compiling isn't really supported in MacPorts. > > Yeah. So why did we expose the options in macports.conf again? :) Note that macports.conf in trunk has some more features... (which still isn't "supported", but rather "experimental") universal_target 10.4 universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk universal_archs ppc i386 That has a somewhat better chance of making the right thing than hacking macosx_deployment_target or flags. --anders From ryandesign at macports.org Fri Aug 22 02:47:22 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 22 Aug 2008 04:47:22 -0500 Subject: set deployment target from macports.conf In-Reply-To: <2DF9E665-AB8E-4A15-A584-9A7F0EFC0694@macports.org> References: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> <314DD926-5DA6-4E01-821D-2D02BCE23647@macports.org> <2DF9E665-AB8E-4A15-A584-9A7F0EFC0694@macports.org> Message-ID: On Aug 22, 2008, at 04:39, Anders F Bj?rklund wrote: > Ryan Schmidt wrote: > >>> Theoretically +universal should be able to handle this, >>> but cross-compiling isn't really supported in MacPorts. >> >> Yeah. So why did we expose the options in macports.conf again? :) > > Note that macports.conf in trunk has some more features... > (which still isn't "supported", but rather "experimental") > > universal_target 10.4 > universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk Right, those are the options I was referring to. > universal_archs ppc i386 > > That has a somewhat better chance of making the right > thing than hacking macosx_deployment_target or flags. From hvdwolf at gmail.com Fri Aug 22 02:52:54 2008 From: hvdwolf at gmail.com (Harry van der Wolf) Date: Fri, 22 Aug 2008 11:52:54 +0200 Subject: set deployment target from macports.conf In-Reply-To: <8c242c590808220248l6bae6e22j31b110132f2b874c@mail.gmail.com> References: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> <314DD926-5DA6-4E01-821D-2D02BCE23647@macports.org> <2DF9E665-AB8E-4A15-A584-9A7F0EFC0694@macports.org> <8c242c590808220248l6bae6e22j31b110132f2b874c@mail.gmail.com> Message-ID: <8c242c590808220252q72497961u324060335e0025de@mail.gmail.com> !#@$ I can't get used to click reply all instead of just reply. I'm on a couple of other mailing lists. The mail server of these lists set the reply address automatically to the macports-users at lists.macosforge.orgaddress. It prevents mistakes like I made and keeps the mailing list structured. This is also nice for mail clients that do automatic threading. Is that an option here? Harry 2008/8/22 Harry van der Wolf > Thanks for the hints and the fast response. The options > universal_target 10.4 > universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk > universal_archs ppc i386 > > are exactly what I was looking for. > > > It seems that I have an exciting (or frustrating) weekend coming up. I will > install/build from trunk and compile the first ports with -d to see whether > it does what I want them to do. > > I will let you know about my experiences. > > Harry > > 2008/8/22 Ryan Schmidt > > >> On Aug 22, 2008, at 04:39, Anders F Bj?rklund wrote: >> >> Ryan Schmidt wrote: >>> >>> Theoretically +universal should be able to handle this, >>>>> but cross-compiling isn't really supported in MacPorts. >>>>> >>>> >>>> Yeah. So why did we expose the options in macports.conf again? :) >>>> >>> >>> Note that macports.conf in trunk has some more features... >>> (which still isn't "supported", but rather "experimental") >>> >>> universal_target 10.4 >>> universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk >>> >> >> Right, those are the options I was referring to. >> >> >> universal_archs ppc i386 >>> >>> That has a somewhat better chance of making the right >>> thing than hacking macosx_deployment_target or flags. >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080822/2a627681/attachment.html From ryandesign at macports.org Fri Aug 22 02:56:18 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 22 Aug 2008 04:56:18 -0500 Subject: Reply-To (was: Re: set deployment target from macports.conf) In-Reply-To: <8c242c590808220252q72497961u324060335e0025de@mail.gmail.com> References: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> <314DD926-5DA6-4E01-821D-2D02BCE23647@macports.org> <2DF9E665-AB8E-4A15-A584-9A7F0EFC0694@macports.org> <8c242c590808220248l6bae6e22j31b110132f2b874c@mail.gmail.com> <8c242c590808220252q72497961u324060335e0025de@mail.gmail.com> Message-ID: On Aug 22, 2008, at 04:52, Harry van der Wolf wrote: > !#@$ > > I can't get used to click reply all instead of just reply. > I'm on a couple of other mailing lists. The mail server of these > lists set the reply address automatically to the macports- > users at lists.macosforge.org address. It prevents mistakes like I > made and keeps the mailing list structured. This is also nice for > mail clients that do automatic threading. > > Is that an option here? There doesn't seem to be a document from the MacPorts project explaining why we have Reply-To set the way we do. On another list I'm on, this is their explanation: http://subversion.tigris.org/mailing-lists.html#reply-to From joelosco at frontiernet.net Fri Aug 22 05:15:01 2008 From: joelosco at frontiernet.net (Joseph W. Losco) Date: Fri, 22 Aug 2008 08:15:01 -0400 Subject: glib2 In-Reply-To: References: <62550B2E-6AAB-4EA0-85D0-E8C8EF07E548@frontiernet.net> <48AD8E54.4040407@macports.org> Message-ID: <2821AFF8-13FD-4300-8EB1-257B168437E4@frontiernet.net> Installed 3.1 and still had the issues. Then after some tinkering I got it installed.. I think what was happening was I was running macports as a port install without admin rights.. and It must not have had read access to the xcode libraries. Thanks again for the info about macports and the compiler and all. Joe Losco joelosco at frontiernet.net On Aug 21, 2008, at 11:57 AM, Joseph W. Losco wrote: > ah.. that might be why.. I only have Xcode 3 installed.. > > I thought I put unix services in in 3 though.. I'll have to double > check.. > > Thanks, gives me a great place to start looking. > > Joe Losco > joelosco at frontiernet.net > > > > On Aug 21, 2008, at 11:48 AM, Rainer M?ller wrote: > >> Joseph W. Losco wrote: >>> I'm using port install glib2 >>> and I get this error during the configure. I've tried downloading >>> and >>> installing gcc43 and then used gcc_select to choose mp-gcc43. If I >>> do >>> gcc -v I get what I believe to be gcc43 from macports (as it shows >>> version 4.3.1. I checked into the config.log from glib2 and I think >>> its showing that its still using gcc 4.0.1 from apple. Is there >>> anything else I need to do besides the gcc_select? or is it not >>> really related to that what so ever? >> >> MacPorts does not use the compiler selected by gcc_select, but >> decides >> on its own which compiler to use. By default, this is the one >> provided >> by Xcode, gcc 4.0. >> >> At the moment, there is no configuration variable for it. But it is >> possible to overwrite it from the command line using >> 'configure.compiler'. But usually this is not necessary. >> >>> ---> Fetching glib2 >>> ---> Verifying checksum(s) for glib2 >>> ---> Extracting glib2 >>> ---> Applying patches to glib2 >>> ---> Configuring glib2 >>> 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_devel_glib2/work/glib-2.16.5" && ./ >>> configure --prefix=/opt/local --enable-static --mandir=/opt/local/ >>> share/man " returned error 1 >>> Command output: checking for extra flags to get ANSI library >>> prototypes... >>> configure: WARNING: No ANSI prototypes found in library. (-std1 >>> didn't >>> work.) >>> checking for extra flags for POSIX compliance... none needed >>> checking for ANSI C header files... (cached) no >> >> It looks like files are missing from /usr/include/. Please reinstall >> Xcode 3.1 and make sure to include the 'UNIX Development Support'. >> >> Rainer >> > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From adambyrtek at gmail.com Fri Aug 22 06:32:10 2008 From: adambyrtek at gmail.com (Adam Byrtek) Date: Fri, 22 Aug 2008 15:32:10 +0200 Subject: set deployment target from macports.conf In-Reply-To: <8c242c590808220252q72497961u324060335e0025de@mail.gmail.com> References: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> <314DD926-5DA6-4E01-821D-2D02BCE23647@macports.org> <2DF9E665-AB8E-4A15-A584-9A7F0EFC0694@macports.org> <8c242c590808220248l6bae6e22j31b110132f2b874c@mail.gmail.com> <8c242c590808220252q72497961u324060335e0025de@mail.gmail.com> Message-ID: <670d23ff0808220632s7d6512cci71e67152ec043804@mail.gmail.com> On Fri, Aug 22, 2008 at 11:52 AM, Harry van der Wolf wrote: > I can't get used to click reply all instead of just reply. > I'm on a couple of other mailing lists. The mail server of these lists set > the reply address automatically to the macports-users at lists.macosforge.org > address. It prevents mistakes like I made and keeps the mailing list > structured. This is also nice for mail clients that do automatic threading. This is a repeating subject on many mailing list, and there are valid arguments on both sides. Please read this first: http://producingoss.com/en/mailing-lists.html#reply-to Regards, Adam From railsfid at gmail.com Fri Aug 22 16:25:30 2008 From: railsfid at gmail.com (RailsFid) Date: Fri, 22 Aug 2008 16:25:30 -0700 Subject: remove existing applications? Message-ID: <99D9EB38-1DA3-4BBF-9C32-1395D3295035@gmail.com> I am new to MacPort and just installed it. But I haven't tried to download any applications yet. I have installed MacPort because I was having trouble installing MySQL and got fed up with it. My question is: Do I need to remove mysql, ruby, rails and any other applications FIRST that I now want to start installing with MacPort? From jkorchok at hotmail.com Fri Aug 22 17:15:56 2008 From: jkorchok at hotmail.com (John Korchok) Date: Fri, 22 Aug 2008 20:15:56 -0400 Subject: remove existing applications? In-Reply-To: <99D9EB38-1DA3-4BBF-9C32-1395D3295035@gmail.com> References: <99D9EB38-1DA3-4BBF-9C32-1395D3295035@gmail.com> Message-ID: You don't have to remove anything. The MacPorts versions are separate from the others you may or may not have installed and you can use them independently. By the same token, all the software that you want to use with MacPorts MySQL should also be installed with MacPorts: Apache, PHP, ruby, etc. John Korchok > -----Original Message----- > From: macports-users-bounces at lists.macosforge.org > [mailto:macports-users-bounces at lists.macosforge.org] On > Behalf Of RailsFid > Sent: Friday, August 22, 2008 7:26 PM > To: macports-users at lists.macosforge.org > Subject: remove existing applications? > > I am new to MacPort and just installed it. But I haven't > tried to download any applications yet. I have installed > MacPort because I was having trouble installing MySQL and > got fed up with it. My question > is: Do I need to remove mysql, ruby, rails and any other > applications FIRST that I now want to start installing with MacPort? > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From liontooth at cogweb.net Sat Aug 23 00:05:08 2008 From: liontooth at cogweb.net (David Liontooth) Date: Sat, 23 Aug 2008 00:05:08 -0700 Subject: [Fwd: Re: transcode 1.1.0 beta 0 fails to configure ImageMagick on OSX PPC] Message-ID: <48AFB6A4.2020906@cogweb.net> Hi Chuck and Ryan, There's a new release of transcode, and the developer suggests a solution to the ImageMagick build problem. I enclose an updated portfile -- could you look at how the ImageMagick path should be given? I also include the fix in #15547. Cheers, Dave -------- Original Message -------- Subject: Re: transcode 1.1.0 beta 0 fails to configure ImageMagick on OSX PPC Date: Sun, 10 Aug 2008 09:56:51 +0200 From: Francesco Romani To: David Liontooth References: <1208371591.3586.12.camel at azafuse.rokugan.lan> <4862B902.80605 at cogweb.net> <1214508147.26544.3.camel at samurai4.rokugan.lan> <4865196B.2060609 at cogweb.net> On Fri, 2008-06-27 at 09:46 -0700, David Liontooth wrote: > Francesco Romani wrote: > > On Wed, 2008-06-25 at 14:30 -0700, David Liontooth wrote: > > > > [...] > > > >> Do you want the full configure log? > >> > > > > yes please. > > > Enclosed. > > Thanks! Hi, Sorry for being so late. I found some time to investigate this issue. No symlink should be needed; just run configure with --with-imagemagick-includes=/opt/local/include/ImageMagick The root problem is that configure can't find wand/magick-wand.h (it's a header layout problem - unfortunately this isn't easy to catch without aid in ./configure because I've seen two-three differente layouts, and everyone has to be supported!); the linking problem You've seen isn't a problem. The configure is just trying to catch (yet another) ImageMagick oddity, the sudden rename of libMagick to libMagickCore (Note that ./configure tests both libraries above before to give up). If manually specifying the headers doesn't work, please let me know (enclosing the full configure.log again, please). Thanks for the patience, -- Francesco Romani // Ikitt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Portfile-transcode-1.1.0-beta1 Url: http://lists.macosforge.org/pipermail/macports-users/attachments/20080823/450c857c/attachment.ksh From frstan at bellsouth.net Sat Aug 23 11:45:28 2008 From: frstan at bellsouth.net (William Davis) Date: Sat, 23 Aug 2008 14:45:28 -0400 Subject: Performance wont build on Leopard Message-ID: <2010E3C3-A72F-4B10-9647-EB01BE00E3E9@bellsouth.net> Trying to upgrade Performance under Leopard gives these errors: /snip/ ld warning: duplicate dylib /opt/local/lib/gcc42/libgcc_s.1.dylib Making all for doc Performance... autogsdoc -Project Performance -DocumentationDirectory Performance - MakeDependencies Performance/dependencies GSCache.h GSThroughput.h GSTicker.h GSSkipMutableArray.h gnumake[1]: *** No rule to make target `Performance/dependencies', needed by `internal-doc-all_'. Stop. gnumake: *** [Performance.all.doc.variables] Error 2 Warning: the following items did not execute (for Performance): org.macports.destroot org.macports.build William Davis frstanATbellsouthDOTnet Mac OS X.5.4 Darwin 9.4.0 XQuartz 2.3.1 (xorg-server 1.4.2-apple9) Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non From zhengda1936 at gmail.com Sat Aug 23 15:50:48 2008 From: zhengda1936 at gmail.com (Da Zheng) Date: Sun, 24 Aug 2008 00:50:48 +0200 Subject: I cannot build gcc3.3 or 3.4 Message-ID: <48B09448.1030706@gmail.com> Hello, I try to install gcc3.x because I want to install qemu. but I cannot install gcc3.3 or 3.4. I use Mac OS X v10.5.4, and I have gcc v4.0.1. When I tried to install gcc3.4, I got the error as follow: da-zhengs-macbook:opt dazheng$ sudo port install gcc34 ---> Fetching gcc34 ---> Attempting to fetch gcc-3.4.6.tar.bz2 from http://ftp.gnu.org/gnu//gcc/gcc-3.4.6 ---> Verifying checksum(s) for gcc34 ---> Extracting gcc34 ---> Configuring gcc34 ---> Building gcc34 with target bootstrap-lean Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/build" && make bootstrap-lean " returned error 2 Command output: > tmp-mlib.h; \ else \ /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/genmultilib '' '' '' '' '' '' '' no \ > tmp-mlib.h; \ fi /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/move-if-change tmp-mlib.h multilib.h echo timestamp > s-mlib lsf="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/cp/lang-specs.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/f/lang-specs.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/java/lang-specs.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h"; for f in $lsf; do \ echo "#include \"$f\""; \ done | sed 's|/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/||' > tmp-specs.h /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/move-if-change tmp-specs.h specs.h echo timestamp > s-specs (SHLIB_LINK='' \ SHLIB_MULTILIB=''; \ /usr/bin/gcc-4.0 -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-error -DHAVE_CONFIG_H -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/../include \ -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/opt/local/lib/gcc-3.4/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/opt/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"3.4.6\" -DDEFAULT_TARGET_MACHINE=\"i686-apple-darwin9.4.0\" -DSTANDARD_BINDIR_PREFIX=\"/opt/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \ -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c -o gcc.o) /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:716: warning: string length '2483' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:723: warning: string length '636' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:906: warning: string length '529' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:924: warning: string length '608' is greater than the length '509' ISO C89 compilers are required to support In file included from ./specs.h:4, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:957: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h:27: warning: string length '603' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h:42: warning: string length '783' is greater than the length '509' ISO C89 compilers are required to support /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:1095: error: syntax error before ',' token /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:1506: warning: string length '833' is greater than the length '509' ISO C89 compilers are required to support make[2]: *** [gcc.o] Error 1 make[1]: *** [stage1_build] Error 2 make: *** [bootstrap-lean] Error 2 Error: Status 1 encountered during processing. When I installed gcc3.3, I got the error: da-zhengs-macbook:var dazheng$ sudo port install gcc33 Password: ---> Fetching gcc33 ---> Attempting to fetch gcc-core-3.3.6.tar.bz2 from http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 ---> Attempting to fetch gcc-g77-3.3.6.tar.bz2 from http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 ---> Attempting to fetch gcc-g++-3.3.6.tar.bz2 from http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 ---> Attempting to fetch gcc-objc-3.3.6.tar.bz2 from http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 ---> Verifying checksum(s) for gcc33 ---> Extracting gcc33 ---> Configuring gcc33 ---> Building gcc33 with target bootstrap-lean Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/build" && make bootstrap-lean " returned error 2 Command output: mv: rename cc1obj to stage1/cc1obj: No such file or directory make[2]: [objc.stage1] Error 1 (ignored) echo timestamp > stage1_copy echo stage2_build > stage_last (cd stage1 && rm -f `echo main.o libbackend.a alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgrtl.o combine.o conflict.o convert.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o doloop.o dominance.o dwarf2asm.o dwarf2out.o dwarfout.o emit-rtl.o except.o explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hashtable.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o langhooks.o lcm.o lists.o local-alloc.o loop.o mbchar.o optabs.o params.o predict.o print-rtl.o print-tree.o profile.o ra.o ra-build.o ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o ssa.o ssa-ccp.o ssa-dce.o stmt.o stor-layout.o stringpool.o timevar.o toplev.o tracer.o tree.o tree-dump.o tree-inline.o unroll.o varasm.o varray.o version.o vmsdbgout.o xcoffout.o et-forest.o ggc-page.o i386.o darwin.o c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a darwin-c.o cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o cpptrad.o cpphash.o cpperror.o cppinit.o cppdefault.o cppmain.o hashtable.o line-map.o mkdeps.o prefix.o mbchar.o *.c *.h gen*`) echo timestamp > clean_s1 make CC=" stage1/xgcc -Bstage1/ -B/opt/local/i686-apple-darwin9.4.0/bin/" \ STAGE_PREFIX=stage1/ \ ADAC="\$(CC)" AR_FOR_TARGET="ar" RANLIB_FOR_TARGET="ranlib" CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" libdir=/opt/local/lib/gcc-3.3 LANGUAGES="c gcov c++ f77 objc" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" stage1/xgcc -Bstage1/ -B/opt/local/i686-apple-darwin9.4.0/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/config -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/../include /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/gengenrtl.c -o gengenrtl.o /var/tmp//ccImCiva.s:3020:indirect jmp without `*' /var/tmp//ccImCiva.s:3037:indirect jmp without `*' /var/tmp//ccImCiva.s:3054:indirect jmp without `*' /var/tmp//ccImCiva.s:3071:indirect jmp without `*' /var/tmp//ccImCiva.s:3088:indirect jmp without `*' /var/tmp//ccImCiva.s:3105:indirect jmp without `*' /var/tmp//ccImCiva.s:3122:indirect jmp without `*' /var/tmp//ccImCiva.s:3139:indirect jmp without `*' /var/tmp//ccImCiva.s:3156:indirect jmp without `*' /var/tmp//ccImCiva.s:3173:indirect jmp without `*' stage1/xgcc -Bstage1/ -B/opt/local/i686-apple-darwin9.4.0/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl \ gengenrtl.o ../libiberty/libiberty.a Undefined symbols: "__init_keymgr", referenced from: ___darwin_gcc3_preregister_frame_info in crt2.o ld: symbol(s) not found for inferred architecture i386 collect2: ld returned 1 exit status make[2]: *** [gengenrtl] Error 1 make[1]: *** [stage2_build] Error 2 make: *** [bootstrap-lean] Error 2 Error: Status 1 encountered during processing. Where is the problem? What should I do to install gcc 3.x? Does anyone compile gcc 3.x in Leopard with or without macports? Best, Zheng Da From vivacarlie at gmail.com Sat Aug 23 19:40:05 2008 From: vivacarlie at gmail.com (Nehemiah Dacres) Date: Sat, 23 Aug 2008 21:40:05 -0500 Subject: designated compiler Message-ID: <65fadfc30808231940r17e999f8y4d042ee31bae510f@mail.gmail.com> does the leopard compiler use llvm or clang? will xcode even use it? -- "lalalalala! it's not broken because I can use it" http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080823/1f5dec97/attachment.html From vivacarlie at gmail.com Sat Aug 23 21:43:47 2008 From: vivacarlie at gmail.com (Nehemiah Dacres) Date: Sat, 23 Aug 2008 23:43:47 -0500 Subject: problem installing Psycopg2 Message-ID: <65fadfc30808232143y126d39cax8f5d22c5e76322be@mail.gmail.com> it failed to install after resolving all dependancies. It seems to be an error in the portfile, like a flag being missparsed as a command but I dont know Tcl enough to efficiently deliver a patch. here's the message " creating build/temp.macosx-10.3-ppc-2.5/psycopg -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=5 -DHAVE_PYBOOL=1 -DHAVE_DECIMAL=1 -DHAVE_PYDATETIME=1 -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.0.5.1 (dec dt ext pq3)" -DPG_MAJOR_VERSION=8 -DPG_MINOR_VERSION=3 -DPG_PATCH_VERSION=1 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_DISPLAY_SIZE=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DHAVE_PQPROTOCOL3=1 -I/opt/local/include/python2.5 -I. -I/opt/local/include/postgresql83 -I/opt/local/include/postgresql83/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.3-ppc-2.5/psycopg/psycopgmodule.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1 Error: Status 1 encountered during processing. " I hope you can make sense of this or fix it . -- "lalalalala! it's not broken because I can use it" http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080823/35869a6b/attachment.html From vivacarlie at gmail.com Sat Aug 23 23:01:41 2008 From: vivacarlie at gmail.com (Nehemiah Dacres) Date: Sun, 24 Aug 2008 01:01:41 -0500 Subject: was there any way to make Psycopg2 compile against python2.5 instead of 2.4? In-Reply-To: <65fadfc30808232258g7116823bj443b66de6770a8fe@mail.gmail.com> References: <65fadfc30808232258g7116823bj443b66de6770a8fe@mail.gmail.com> Message-ID: <65fadfc30808232301q4b9750f9xf17d73775727591e@mail.gmail.com> I ask because its' bad enough that I'll have 2 versions of 2.5 but to have 24 taking up space also is kind of annoying. plus I have a feeling that the program that is using this postgres adaptor is mostly written in 2.5 should I go directly to the package maintainer about this? -- "lalalalala! it's not broken because I can use it" http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080824/4e99c6d6/attachment.html From 0x62_0x6c_0x62 at pobox.com Sat Aug 23 23:15:51 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Sun, 24 Aug 2008 00:15:51 -0600 Subject: problem installing Psycopg2 In-Reply-To: <65fadfc30808232143y126d39cax8f5d22c5e76322be@mail.gmail.com> References: <65fadfc30808232143y126d39cax8f5d22c5e76322be@mail.gmail.com> Message-ID: <007926C4-A84A-40DE-90A0-BE02309FCB87@pobox.com> On Aug 23, 2008, at 10:43 PM, Nehemiah Dacres wrote: > it failed to install after resolving all dependancies. It seems to > be an error in the portfile, like a flag being missparsed as a > command but I dont know Tcl enough to efficiently deliver a patch. > > here's the message > " > creating build/temp.macosx-10.3-ppc-2.5/psycopg > -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes - > DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=5 -DHAVE_PYBOOL=1 - > DHAVE_DECIMAL=1 -DHAVE_PYDATETIME=1 -DPSYCOPG_DEFAULT_PYDATETIME=1 - > DPSYCOPG_VERSION="2.0.5.1 (dec dt ext pq3)" -DPG_MAJOR_VERSION=8 - > DPG_MINOR_VERSION=3 -DPG_PATCH_VERSION=1 -DPSYCOPG_EXTENSIONS=1 - > DPSYCOPG_DISPLAY_SIZE=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 - > DHAVE_PQPROTOCOL3=1 -I/opt/local/include/python2.5 -I. -I/opt/local/ > include/postgresql83 -I/opt/local/include/postgresql83/server -c > psycopg/psycopgmodule.c -o build/temp.macosx-10.3-ppc-2.5/psycopg/ > psycopgmodule.o > unable to execute -DNDEBUG: No such file or directory > error: command '-DNDEBUG' failed with exit status 1 > That's the Tcl environment bug, as documented on the 10.5 problems page: Do a clean of the port that failed (sudo port clean ), and run your original port install command again. Bryan > Error: Status 1 encountered during processing. > " > > I hope you can make sense of this or fix it > . > -- > > "lalalalala! it's not broken because I can use it" > > http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703 From 0x62_0x6c_0x62 at pobox.com Sat Aug 23 23:25:34 2008 From: 0x62_0x6c_0x62 at pobox.com (Bryan Blackburn) Date: Sun, 24 Aug 2008 00:25:34 -0600 Subject: was there any way to make Psycopg2 compile against python2.5 instead of 2.4? In-Reply-To: <65fadfc30808232301q4b9750f9xf17d73775727591e@mail.gmail.com> References: <65fadfc30808232258g7116823bj443b66de6770a8fe@mail.gmail.com> <65fadfc30808232301q4b9750f9xf17d73775727591e@mail.gmail.com> Message-ID: On Aug 24, 2008, at 12:01 AM, Nehemiah Dacres wrote: > I ask because its' bad enough that I'll have 2 versions of 2.5 but > to have 24 taking up space also is kind of annoying. plus I have a > feeling that the program that is using this postgres adaptor is > mostly written in 2.5 > should I go directly to the package maintainer about this? A search shows both a py-psycopg2 and py25-psycopg2 so if you want the one that goes with python 2.5, use the latter. Generally, the py- prefixed ports are for python 2.4, the rest should indicate which version of python is used. Bryan > > -- > > "lalalalala! it's not broken because I can use it" > > http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703 From zhengda1936 at gmail.com Sun Aug 24 07:12:32 2008 From: zhengda1936 at gmail.com (Da Zheng) Date: Sun, 24 Aug 2008 16:12:32 +0200 Subject: I cannot build gcc3.3 or 3.4 In-Reply-To: <8c242c590808240640s4a531069g8610a6fbda32ec2@mail.gmail.com> References: <48B09448.1030706@gmail.com> <8c242c590808240640s4a531069g8610a6fbda32ec2@mail.gmail.com> Message-ID: <48B16C50.4040001@gmail.com> Hi, I tried to install qemu with macports, and it suggested me to install gcc 3.x first. da-zhengs-macbook:gcc-3.3 dazheng$ sudo port install qemu ---> Configuring qemu 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_emulators_qemu/work/qemu-0.9.0" && ./configure --prefix=/opt/local --enable-coreaudio --enable-cocoa " returned error 1 Command output: WARNING: "gcc" looks like gcc 4.x Looking for gcc 3.x gcc 3.x not found! QEMU is known to have problems when compiled with gcc 4.x It is recommended that you use gcc 3.x to build QEMU To use this compiler anyway, configure with --disable-gcc-check Error: Status 1 encountered during processing. Zheng Da Harry van der Wolf wrote: > Why do you need gcc 3.3? > If you are on Leopard and you have macports, you can install qemu from > macports. > macports has a qemu and a qemu-usermode port. Did you already try these? > > Hary > > > 2008/8/24 Da Zheng > > > Hello, > > I try to install gcc3.x because I want to install qemu. > but I cannot install gcc3.3 or 3.4. > I use Mac OS X v10.5.4, and I have gcc v4.0.1. > > When I tried to install gcc3.4, I got the error as follow: > > da-zhengs-macbook:opt dazheng$ sudo port install gcc34 > ---> Fetching gcc34 > ---> Attempting to fetch gcc-3.4.6.tar.bz2 from > http://ftp.gnu.org/gnu//gcc/gcc-3.4.6 > ---> Verifying checksum(s) for gcc34 > ---> Extracting gcc34 > ---> Configuring gcc34 > ---> Building gcc34 with target bootstrap-lean > Error: Target org.macports.build returned: shell command " cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/build" > && make bootstrap-lean " returned error 2 > Command output: > tmp-mlib.h; \ > else \ > /bin/sh > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/genmultilib > '' '' '' '' '' '' '' no \ > > tmp-mlib.h; \ > fi > /bin/sh > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/move-if-change > tmp-mlib.h multilib.h > echo timestamp > s-mlib > lsf="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/cp/lang-specs.h > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/f/lang-specs.h > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/java/lang-specs.h > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h"; > for f in $lsf; do \ > echo "#include \"$f\""; \ > done | sed > 's|/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/||' > > tmp-specs.h > /bin/sh > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/move-if-change > tmp-specs.h specs.h > echo timestamp > s-specs > (SHLIB_LINK='' \ > SHLIB_MULTILIB=''; \ > /usr/bin/gcc-4.0 -g -DIN_GCC -W -Wall -Wwrite-strings > -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long > -Wno-error -DHAVE_CONFIG_H -I. -I. > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/. > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/../include > \ > -DSTANDARD_STARTFILE_PREFIX=\"../../../\" > -DSTANDARD_EXEC_PREFIX=\"/opt/local/lib/gcc-3.4/gcc/\" > -DSTANDARD_LIBEXEC_PREFIX=\"/opt/local/libexec/gcc/\" > -DDEFAULT_TARGET_VERSION=\"3.4.6\" > -DDEFAULT_TARGET_MACHINE=\"i686-apple-darwin9.4.0\" > -DSTANDARD_BINDIR_PREFIX=\"/opt/local/bin/\" > -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = > "X" || > test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test > "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \ > -c > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c > -o gcc.o) > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:716: > warning: string length '2483' is greater than the length '509' ISO C89 > compilers are required to support > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:723: > warning: string length '636' is greater than the length '509' ISO C89 > compilers are required to support > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:906: > warning: string length '529' is greater than the length '509' ISO C89 > compilers are required to support > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:924: > warning: string length '608' is greater than the length '509' ISO C89 > compilers are required to support > In file included from ./specs.h:4, > from > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:957: > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h:27: > warning: string length '603' is greater than the length '509' ISO C89 > compilers are required to support > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h:42: > warning: string length '783' is greater than the length '509' ISO C89 > compilers are required to support > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:1095: > error: syntax error before ',' token > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:1506: > warning: string length '833' is greater than the length '509' ISO C89 > compilers are required to support > make[2]: *** [gcc.o] Error 1 > make[1]: *** [stage1_build] Error 2 > make: *** [bootstrap-lean] Error 2 > > Error: Status 1 encountered during processing. > > > When I installed gcc3.3, I got the error: > > da-zhengs-macbook:var dazheng$ sudo port install gcc33 > Password: > ---> Fetching gcc33 > ---> Attempting to fetch gcc-core-3.3.6.tar.bz2 from > http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 > ---> Attempting to fetch gcc-g77-3.3.6.tar.bz2 from > http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 > ---> Attempting to fetch gcc-g++-3.3.6.tar.bz2 from > http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 > ---> Attempting to fetch gcc-objc-3.3.6.tar.bz2 from > http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 > ---> Verifying checksum(s) for gcc33 > ---> Extracting gcc33 > ---> Configuring gcc33 > ---> Building gcc33 with target bootstrap-lean > Error: Target org.macports.build returned: shell command " cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/build" > && make bootstrap-lean " returned error 2 > Command output: mv: rename cc1obj to stage1/cc1obj: No such file or > directory > make[2]: [objc.stage1] Error 1 (ignored) > echo timestamp > stage1_copy > echo stage2_build > stage_last > (cd stage1 && rm -f `echo main.o libbackend.a alias.o bb-reorder.o > bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o > cfgcleanup.o cfglayout.o cfgloop.o cfgrtl.o combine.o conflict.o > convert.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o doloop.o > dominance.o dwarf2asm.o dwarf2out.o dwarfout.o emit-rtl.o except.o > explow.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o > genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o > hashtable.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-extract.o > insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o > intl.o > jump.o langhooks.o lcm.o lists.o local-alloc.o loop.o mbchar.o > optabs.o > params.o predict.o print-rtl.o print-tree.o profile.o ra.o ra-build.o > ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o reg-stack.o > regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o > rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o > sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o ssa.o > ssa-ccp.o ssa-dce.o stmt.o stor-layout.o stringpool.o timevar.o > toplev.o > tracer.o tree.o tree-dump.o tree-inline.o unroll.o varasm.o varray.o > version.o vmsdbgout.o xcoffout.o et-forest.o ggc-page.o i386.o > darwin.o > c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o c-lex.o > c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o > c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o libcpp.a > darwin-c.o cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o cpptrad.o > cpphash.o cpperror.o cppinit.o cppdefault.o cppmain.o hashtable.o > line-map.o mkdeps.o prefix.o mbchar.o *.c *.h gen*`) > echo timestamp > clean_s1 > make CC=" stage1/xgcc -Bstage1/ > -B/opt/local/i686-apple-darwin9.4.0/bin/" \ > STAGE_PREFIX=stage1/ \ > ADAC="\$(CC)" AR_FOR_TARGET="ar" RANLIB_FOR_TARGET="ranlib" > CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" > STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" > libdir=/opt/local/lib/gcc-3.3 LANGUAGES="c gcov c++ f77 objc" > MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" > stage1/xgcc -Bstage1/ -B/opt/local/i686-apple-darwin9.4.0/bin/ -c -g > -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long > -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/. > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/config > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/../include > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/gengenrtl.c > -o gengenrtl.o > /var/tmp//ccImCiva.s:3020:indirect jmp without `*' > /var/tmp//ccImCiva.s:3037:indirect jmp without `*' > /var/tmp//ccImCiva.s:3054:indirect jmp without `*' > /var/tmp//ccImCiva.s:3071:indirect jmp without `*' > /var/tmp//ccImCiva.s:3088:indirect jmp without `*' > /var/tmp//ccImCiva.s:3105:indirect jmp without `*' > /var/tmp//ccImCiva.s:3122:indirect jmp without `*' > /var/tmp//ccImCiva.s:3139:indirect jmp without `*' > /var/tmp//ccImCiva.s:3156:indirect jmp without `*' > /var/tmp//ccImCiva.s:3173:indirect jmp without `*' > stage1/xgcc -Bstage1/ -B/opt/local/i686-apple-darwin9.4.0/bin/ > -g -O2 > -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long > -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl \ > gengenrtl.o ../libiberty/libiberty.a > Undefined symbols: > "__init_keymgr", referenced from: > ___darwin_gcc3_preregister_frame_info in crt2.o > ld: symbol(s) not found for inferred architecture i386 > collect2: ld returned 1 exit status > make[2]: *** [gengenrtl] Error 1 > make[1]: *** [stage2_build] Error 2 > make: *** [bootstrap-lean] Error 2 > > Error: Status 1 encountered during processing. > > > Where is the problem? What should I do to install gcc 3.x? > Does anyone compile gcc 3.x in Leopard with or without macports? > > Best, > Zheng Da > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > From zhengda1936 at gmail.com Sun Aug 24 11:10:27 2008 From: zhengda1936 at gmail.com (Da Zheng) Date: Sun, 24 Aug 2008 20:10:27 +0200 Subject: I cannot build gcc3.3 or 3.4 In-Reply-To: <8c242c590808241025p686c8ee3ife3dabdb2191953b@mail.gmail.com> References: <48B09448.1030706@gmail.com> <8c242c590808240640s4a531069g8610a6fbda32ec2@mail.gmail.com> <48B16C50.4040001@gmail.com> <8c242c590808241025p686c8ee3ife3dabdb2191953b@mail.gmail.com> Message-ID: <48B1A413.9060309@gmail.com> I run "sudo port install apple-gcc33", but get another error: /usr/bin/gcc-4.0 tclAppInit.o -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc33/work/build/tcl/unix -ltcl8.0 -lc \ -o tclsh make[1]: *** No rule to make target `all'. Stop. make: *** [all-expect] Error 2 It's too bad if gcc 3.x cannot be built in Leopard. Actually what I really want is to build qemu. Does anyone know how to install qemu in Leopard? I installed Q, a port of qemu for Leopard, but it doesn't work well. Any ideas? Zheng Da Harry van der Wolf wrote: > I see. > Can you try to install apple-gcc33 instead of gcc34 or gcc33, so "sudo > port install apple-gcc33"? > > I'm affraid though it won't work. Tiger came with 4.01 for Intel and > 3.3 for PPC. On Leopard both ppc and i386 are now 4.x. I'm affraid > Apple dropped support for 3.3 on Leopard. > > Harry > > > 2008/8/24 Da Zheng > > > Hi, > > I tried to install qemu with macports, and it suggested me to > install gcc 3.x first. > > da-zhengs-macbook:gcc-3.3 dazheng$ sudo port install qemu > ---> Configuring qemu > 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_emulators_qemu/work/qemu-0.9.0" > && ./configure --prefix=/opt/local --enable-coreaudio > --enable-cocoa " returned error 1 > Command output: WARNING: "gcc" looks like gcc 4.x > Looking for gcc 3.x > gcc 3.x not found! > QEMU is known to have problems when compiled with gcc 4.x > It is recommended that you use gcc 3.x to build QEMU > To use this compiler anyway, configure with --disable-gcc-check > > > Error: Status 1 encountered during processing. > > Zheng Da > > > > Harry van der Wolf wrote: > > Why do you need gcc 3.3? > If you are on Leopard and you have macports, you can install > qemu from macports. macports has a qemu and a qemu-usermode > port. Did you already try these? > > Hary > > > 2008/8/24 Da Zheng >> > > > Hello, > > I try to install gcc3.x because I want to install qemu. > but I cannot install gcc3.3 or 3.4. > I use Mac OS X v10.5.4, and I have gcc v4.0.1. > > When I tried to install gcc3.4, I got the error as follow: > > da-zhengs-macbook:opt dazheng$ sudo port install gcc34 > ---> Fetching gcc34 > ---> Attempting to fetch gcc-3.4.6.tar.bz2 from > http://ftp.gnu.org/gnu//gcc/gcc-3.4.6 > ---> Verifying checksum(s) for gcc34 > ---> Extracting gcc34 > ---> Configuring gcc34 > ---> Building gcc34 with target bootstrap-lean > Error: Target org.macports.build returned: shell command " cd > > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/build" > && make bootstrap-lean " returned error 2 > Command output: > tmp-mlib.h; \ > else \ > /bin/sh > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/genmultilib > '' '' '' '' '' '' '' no \ > > tmp-mlib.h; \ > fi > /bin/sh > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/move-if-change > tmp-mlib.h multilib.h > echo timestamp > s-mlib > > lsf="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/cp/lang-specs.h > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/f/lang-specs.h > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/java/lang-specs.h > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h"; > for f in $lsf; do \ > echo "#include \"$f\""; \ > done | sed > > 's|/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/||' > > tmp-specs.h > /bin/sh > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/move-if-change > tmp-specs.h specs.h > echo timestamp > s-specs > (SHLIB_LINK='' \ > SHLIB_MULTILIB=''; \ > /usr/bin/gcc-4.0 -g -DIN_GCC -W -Wall -Wwrite-strings > -Wstrict-prototypes -Wmissing-prototypes -pedantic > -Wno-long-long > -Wno-error -DHAVE_CONFIG_H -I. -I. > > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc > > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/. > > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/../include > \ > -DSTANDARD_STARTFILE_PREFIX=\"../../../\" > -DSTANDARD_EXEC_PREFIX=\"/opt/local/lib/gcc-3.4/gcc/\" > -DSTANDARD_LIBEXEC_PREFIX=\"/opt/local/libexec/gcc/\" > -DDEFAULT_TARGET_VERSION=\"3.4.6\" > -DDEFAULT_TARGET_MACHINE=\"i686-apple-darwin9.4.0\" > -DSTANDARD_BINDIR_PREFIX=\"/opt/local/bin/\" > -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test > "X${SHLIB_LINK}" = > "X" || > test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test > "X${SHLIB_MULTILIB}" = "X" || echo > "-DNO_SHARED_LIBGCC_MULTILIB"` \ > -c > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c > -o gcc.o) > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:716: > warning: string length '2483' is greater than the length > '509' ISO C89 > compilers are required to support > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:723: > warning: string length '636' is greater than the length > '509' ISO C89 > compilers are required to support > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:906: > warning: string length '529' is greater than the length > '509' ISO C89 > compilers are required to support > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:924: > warning: string length '608' is greater than the length > '509' ISO C89 > compilers are required to support > In file included from ./specs.h:4, > from > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:957: > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h:27: > warning: string length '603' is greater than the length > '509' ISO C89 > compilers are required to support > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/objc/lang-specs.h:42: > warning: string length '783' is greater than the length > '509' ISO C89 > compilers are required to support > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:1095: > error: syntax error before ',' token > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc34/work/gcc-3.4.6/gcc/gcc.c:1506: > warning: string length '833' is greater than the length > '509' ISO C89 > compilers are required to support > make[2]: *** [gcc.o] Error 1 > make[1]: *** [stage1_build] Error 2 > make: *** [bootstrap-lean] Error 2 > > Error: Status 1 encountered during processing. > > > When I installed gcc3.3, I got the error: > > da-zhengs-macbook:var dazheng$ sudo port install gcc33 > Password: > ---> Fetching gcc33 > ---> Attempting to fetch gcc-core-3.3.6.tar.bz2 from > http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 > ---> Attempting to fetch gcc-g77-3.3.6.tar.bz2 from > http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 > ---> Attempting to fetch gcc-g++-3.3.6.tar.bz2 from > http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 > ---> Attempting to fetch gcc-objc-3.3.6.tar.bz2 from > http://ftp.gnu.org/gnu//gcc/gcc-3.3.6 > ---> Verifying checksum(s) for gcc33 > ---> Extracting gcc33 > ---> Configuring gcc33 > ---> Building gcc33 with target bootstrap-lean > Error: Target org.macports.build returned: shell command " cd > > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/build" > && make bootstrap-lean " returned error 2 > Command output: mv: rename cc1obj to stage1/cc1obj: No such > file or > directory > make[2]: [objc.stage1] Error 1 (ignored) > echo timestamp > stage1_copy > echo stage2_build > stage_last > (cd stage1 && rm -f `echo main.o libbackend.a alias.o > bb-reorder.o > bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o > cfgbuild.o > cfgcleanup.o cfglayout.o cfgloop.o cfgrtl.o combine.o > conflict.o > convert.o cse.o cselib.o dbxout.o debug.o df.o diagnostic.o > doloop.o > dominance.o dwarf2asm.o dwarf2out.o dwarfout.o emit-rtl.o > except.o > explow.o expmed.o expr.o final.o flow.o fold-const.o > function.o gcse.o > genrtl.o ggc-common.o global.o graph.o gtype-desc.o > haifa-sched.o > hashtable.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o > insn-extract.o > insn-opinit.o insn-output.o insn-peep.o insn-recog.o > integrate.o > intl.o > jump.o langhooks.o lcm.o lists.o local-alloc.o loop.o mbchar.o > optabs.o > params.o predict.o print-rtl.o print-tree.o profile.o ra.o > ra-build.o > ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o > reg-stack.o > regclass.o regmove.o regrename.o reload.o reload1.o reorg.o > resource.o > rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o > sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o ssa.o > ssa-ccp.o ssa-dce.o stmt.o stor-layout.o stringpool.o timevar.o > toplev.o > tracer.o tree.o tree-dump.o tree-inline.o unroll.o varasm.o > varray.o > version.o vmsdbgout.o xcoffout.o et-forest.o ggc-page.o i386.o > darwin.o > c-parse.o c-lang.o c-pretty-print.o attribs.o c-errors.o > c-lex.o > c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o > c-common.o > c-opts.o c-format.o c-semantics.o c-objc-common.o c-dump.o > libcpp.a > darwin-c.o cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o > cpptrad.o > cpphash.o cpperror.o cppinit.o cppdefault.o cppmain.o > hashtable.o > line-map.o mkdeps.o prefix.o mbchar.o *.c *.h gen*`) > echo timestamp > clean_s1 > make CC=" stage1/xgcc -Bstage1/ > -B/opt/local/i686-apple-darwin9.4.0/bin/" \ > STAGE_PREFIX=stage1/ \ > ADAC="\$(CC)" AR_FOR_TARGET="ar" > RANLIB_FOR_TARGET="ranlib" > CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" > STRICT_WARN="-Wtraditional -pedantic -Wno-long-long" > libdir=/opt/local/lib/gcc-3.3 LANGUAGES="c gcov c++ f77 objc" > MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" > stage1/xgcc -Bstage1/ > -B/opt/local/i686-apple-darwin9.4.0/bin/ -c -g > -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long > -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. > > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc > > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/. > > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/config > > -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/../include > > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc33/work/gcc-3.3.6/gcc/gengenrtl.c > -o gengenrtl.o > /var/tmp//ccImCiva.s:3020:indirect jmp without `*' > /var/tmp//ccImCiva.s:3037:indirect jmp without `*' > /var/tmp//ccImCiva.s:3054:indirect jmp without `*' > /var/tmp//ccImCiva.s:3071:indirect jmp without `*' > /var/tmp//ccImCiva.s:3088:indirect jmp without `*' > /var/tmp//ccImCiva.s:3105:indirect jmp without `*' > /var/tmp//ccImCiva.s:3122:indirect jmp without `*' > /var/tmp//ccImCiva.s:3139:indirect jmp without `*' > /var/tmp//ccImCiva.s:3156:indirect jmp without `*' > /var/tmp//ccImCiva.s:3173:indirect jmp without `*' > stage1/xgcc -Bstage1/ > -B/opt/local/i686-apple-darwin9.4.0/bin/ -g -O2 > -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes > -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long > -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl \ > gengenrtl.o ../libiberty/libiberty.a > Undefined symbols: > "__init_keymgr", referenced from: > ___darwin_gcc3_preregister_frame_info in crt2.o > ld: symbol(s) not found for inferred architecture i386 > collect2: ld returned 1 exit status > make[2]: *** [gengenrtl] Error 1 > make[1]: *** [stage2_build] Error 2 > make: *** [bootstrap-lean] Error 2 > > Error: Status 1 encountered during processing. > > > Where is the problem? What should I do to install gcc 3.x? > Does anyone compile gcc 3.x in Leopard with or without > macports? > > Best, > Zheng Da > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > > > > > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > > > From ryandesign at macports.org Sun Aug 24 20:59:54 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 24 Aug 2008 22:59:54 -0500 Subject: I cannot build gcc3.3 or 3.4 In-Reply-To: <48B1A413.9060309@gmail.com> References: <48B09448.1030706@gmail.com> <8c242c590808240640s4a531069g8610a6fbda32ec2@mail.gmail.com> <48B16C50.4040001@gmail.com> <8c242c590808241025p686c8ee3ife3dabdb2191953b@mail.gmail.com> <48B1A413.9060309@gmail.com> Message-ID: <0C45CE98-828C-46DC-A6CB-883C15E1FA21@macports.org> On Aug 24, 2008, at 13:10, Da Zheng wrote: > I run "sudo port install apple-gcc33", but get another error: > > /usr/bin/gcc-4.0 tclAppInit.o > -L/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ > apple-gcc33/work/build/tcl/unix > -ltcl8.0 -lc \ > -o tclsh > make[1]: *** No rule to make target `all'. Stop. > make: *** [all-expect] Error 2 > > It's too bad if gcc 3.x cannot be built in Leopard. It's not really too bad; GCC 3 is obsolete and shouldn't really be used anymore. > Actually what I really want is to build qemu. Right. So qemu should be made to work with GCC 4. And the qemu port already has tons of patches to make it use GCC 4, though they're only used on Intel on Leopard and Tiger. It still uses GCC 3 on PowerPC on Leopard and Tiger. Are you on PowerPC or Intel? I don't have Leopard with me at the moment but I can test on some Leopard systems in a few days. Unfortunately the qemu port has no maintainer. Someone who is interested in the qemu software should adopt the port and fix any issues. > Does anyone know how to install qemu in Leopard? > I installed Q, a port of qemu for Leopard, but it doesn't work well. > Any ideas? > > Zheng Da > > > Harry van der Wolf wrote: >> I see. >> Can you try to install apple-gcc33 instead of gcc34 or gcc33, so >> "sudo >> port install apple-gcc33"? >> >> I'm affraid though it won't work. Tiger came with 4.01 for Intel and >> 3.3 for PPC. On Leopard both ppc and i386 are now 4.x. I'm affraid >> Apple dropped support for 3.3 on Leopard. >> >> Harry >> >> >> 2008/8/24 Da Zheng > > >> >> Hi, >> >> I tried to install qemu with macports, and it suggested me to >> install gcc 3.x first. >> >> da-zhengs-macbook:gcc-3.3 dazheng$ sudo port install qemu >> ---> Configuring qemu >> 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_emul >> ators_qemu/work/qemu-0.9.0" >> && ./configure --prefix=/opt/local --enable-coreaudio >> --enable-cocoa " returned error 1 >> Command output: WARNING: "gcc" looks like gcc 4.x >> Looking for gcc 3.x >> gcc 3.x not found! >> QEMU is known to have problems when compiled with gcc 4.x >> It is recommended that you use gcc 3.x to build QEMU >> To use this compiler anyway, configure with --disable-gcc-check >> >> >> Error: Status 1 encountered during processing. >> >> Zheng Da >> >> >> >> Harry van der Wolf wrote: >> >> Why do you need gcc 3.3? >> If you are on Leopard and you have macports, you can install >> qemu from macports. macports has a qemu and a qemu-usermode >> port. Did you already try these? >> >> Hary >> >> >> 2008/8/24 Da Zheng > > >> >> >> >> Hello, >> >> I try to install gcc3.x because I want to install qemu. >> but I cannot install gcc3.3 or 3.4. >> I use Mac OS X v10.5.4, and I have gcc v4.0.1. From ryandesign at macports.org Sun Aug 24 21:04:01 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 24 Aug 2008 23:04:01 -0500 Subject: designated compiler In-Reply-To: <65fadfc30808231940r17e999f8y4d042ee31bae510f@mail.gmail.com> References: <65fadfc30808231940r17e999f8y4d042ee31bae510f@mail.gmail.com> Message-ID: <9B949E05-AF5C-4F42-B005-D513F89CFA81@macports.org> On Aug 23, 2008, at 21:40, Nehemiah Dacres wrote: > does the leopard compiler use llvm or clang? will xcode even use it? Not that I'm aware of. The default compiler on Leopard is gcc 4.0.1, just like it is on Tiger. From ryandesign at macports.org Sun Aug 24 22:18:55 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 25 Aug 2008 00:18:55 -0500 Subject: Performance wont build on Leopard In-Reply-To: <2010E3C3-A72F-4B10-9647-EB01BE00E3E9@bellsouth.net> References: <2010E3C3-A72F-4B10-9647-EB01BE00E3E9@bellsouth.net> Message-ID: <12EE5DBC-5DB7-40F1-9C31-D7F1D6B71A63@macports.org> On Aug 23, 2008, at 13:45, William Davis wrote: > Trying to upgrade Performance under Leopard gives these errors: > /snip/ > ld warning: duplicate dylib /opt/local/lib/gcc42/libgcc_s.1.dylib > Making all for doc Performance... > autogsdoc -Project Performance -DocumentationDirectory Performance - > MakeDependencies Performance/dependencies GSCache.h GSThroughput.h > GSTicker.h GSSkipMutableArray.h > gnumake[1]: *** No rule to make target `Performance/dependencies', > needed by `internal-doc-all_'. Stop. > gnumake: *** [Performance.all.doc.variables] Error 2 > > Warning: the following items did not execute (for Performance): > org.macports.destroot org.macports.build I updated Performance to 0.2.5 just now. It builds on Tiger at least. Wait 30 minutes, then "sudo port sync" and try again. If it still doesn't work, let me know and I'll test on Leopard in a day or two. From zhengda1936 at gmail.com Sun Aug 24 23:44:06 2008 From: zhengda1936 at gmail.com (Da Zheng) Date: Mon, 25 Aug 2008 08:44:06 +0200 Subject: I cannot build gcc3.3 or 3.4 In-Reply-To: <0C45CE98-828C-46DC-A6CB-883C15E1FA21@macports.org> References: <48B09448.1030706@gmail.com> <8c242c590808240640s4a531069g8610a6fbda32ec2@mail.gmail.com> <48B16C50.4040001@gmail.com> <8c242c590808241025p686c8ee3ife3dabdb2191953b@mail.gmail.com> <48B1A413.9060309@gmail.com> <0C45CE98-828C-46DC-A6CB-883C15E1FA21@macports.org> Message-ID: <48B254B6.7070909@gmail.com> Ryan Schmidt wrote: > On Aug 24, 2008, at 13:10, Da Zheng wrote: > >> I run "sudo port install apple-gcc33", but get another error: >> >> /usr/bin/gcc-4.0 tclAppInit.o >> -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_apple-gcc33/work/build/tcl/unix >> >> -ltcl8.0 -lc \ >> -o tclsh >> make[1]: *** No rule to make target `all'. Stop. >> make: *** [all-expect] Error 2 >> >> It's too bad if gcc 3.x cannot be built in Leopard. > > It's not really too bad; GCC 3 is obsolete and shouldn't really be > used anymore. > >> Actually what I really want is to build qemu. > > Right. So qemu should be made to work with GCC 4. And the qemu port > already has tons of patches to make it use GCC 4, though they're only > used on Intel on Leopard and Tiger. It still uses GCC 3 on PowerPC on > Leopard and Tiger. Are you on PowerPC or Intel? > > I don't have Leopard with me at the moment but I can test on some > Leopard systems in a few days. > > Unfortunately the qemu port has no maintainer. Someone who is > interested in the qemu software should adopt the port and fix any issues. > I use Intel. Could you tell where I can get the patches? I find a website, but it has only the patch for the old qemu. I tried Q, a Mac port of qemu, but Hurd doesn't work well in it. Zheng Da From frstan at bellsouth.net Mon Aug 25 08:20:58 2008 From: frstan at bellsouth.net (William Davis) Date: Mon, 25 Aug 2008 11:20:58 -0400 Subject: Performance wont build on Leopard In-Reply-To: <12EE5DBC-5DB7-40F1-9C31-D7F1D6B71A63@macports.org> References: <2010E3C3-A72F-4B10-9647-EB01BE00E3E9@bellsouth.net> <12EE5DBC-5DB7-40F1-9C31-D7F1D6B71A63@macports.org> Message-ID: <66CC0EBF-E6EA-4A85-9CC4-387F12858707@bellsouth.net> sorry Ryan but it appears 0.2.5 gives the same error thanks for the effort. WD On Aug 25, 2008, at 1:18 AM, Ryan Schmidt wrote: > > On Aug 23, 2008, at 13:45, William Davis wrote: > >> Trying to upgrade Performance under Leopard gives these errors: >> /snip/ >> ld warning: duplicate dylib /opt/local/lib/gcc42/libgcc_s.1.dylib >> Making all for doc Performance... >> autogsdoc -Project Performance -DocumentationDirectory Performance - >> MakeDependencies Performance/dependencies GSCache.h GSThroughput.h >> GSTicker.h GSSkipMutableArray.h >> gnumake[1]: *** No rule to make target `Performance/dependencies', >> needed by `internal-doc-all_'. Stop. >> gnumake: *** [Performance.all.doc.variables] Error 2 >> >> Warning: the following items did not execute (for Performance): >> org.macports.destroot org.macports.build > > I updated Performance to 0.2.5 just now. It builds on Tiger at > least. Wait 30 minutes, then "sudo port sync" and try again. If it > still doesn't work, let me know and I'll test on Leopard in a day or > two. > > William Davis frstanATbellsouthDOTnet Mac OS X.5.4 Darwin 9.4.0 XQuartz 2.3.1 (xorg-server 1.4.2-apple9) Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non From ryandesign at macports.org Mon Aug 25 09:45:12 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 25 Aug 2008 11:45:12 -0500 Subject: I cannot build gcc3.3 or 3.4 In-Reply-To: <48B254B6.7070909@gmail.com> References: <48B09448.1030706@gmail.com> <8c242c590808240640s4a531069g8610a6fbda32ec2@mail.gmail.com> <48B16C50.4040001@gmail.com> <8c242c590808241025p686c8ee3ife3dabdb2191953b@mail.gmail.com> <48B1A413.9060309@gmail.com> <0C45CE98-828C-46DC-A6CB-883C15E1FA21@macports.org> <48B254B6.7070909@gmail.com> Message-ID: <6E561F87-A2BF-4160-B10A-401F1DA4FB37@macports.org> On Aug 25, 2008, at 01:44, Da Zheng wrote: > Ryan Schmidt wrote: > >> On Aug 24, 2008, at 13:10, Da Zheng wrote: >> >>> I run "sudo port install apple-gcc33", but get another error: >>> >>> /usr/bin/gcc-4.0 tclAppInit.o >>> -L/opt/local/var/macports/build/ >>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lan >>> g_apple-gcc33/work/build/tcl/unix >>> -ltcl8.0 -lc \ >>> -o tclsh >>> make[1]: *** No rule to make target `all'. Stop. >>> make: *** [all-expect] Error 2 >>> >>> It's too bad if gcc 3.x cannot be built in Leopard. >> >> It's not really too bad; GCC 3 is obsolete and shouldn't really be >> used anymore. >> >>> Actually what I really want is to build qemu. >> >> Right. So qemu should be made to work with GCC 4. And the qemu >> port already has tons of patches to make it use GCC 4, though >> they're only used on Intel on Leopard and Tiger. It still uses GCC >> 3 on PowerPC on Leopard and Tiger. Are you on PowerPC or Intel? >> >> I don't have Leopard with me at the moment but I can test on some >> Leopard systems in a few days. >> >> Unfortunately the qemu port has no maintainer. Someone who is >> interested in the qemu software should adopt the port and fix any >> issues. > > I use Intel. Could you tell where I can get the patches? > I find a website, but it has only the patch for the old qemu. > I tried Q, a Mac port of qemu, but Hurd doesn't work well in it. The patches are in the port. Typing "sudo port install qemu" is all you should need to do to get them to be used. So I don't know why it's not working for you. I will test with Leopard on Intel later and let you know what I find. From zhengda1936 at gmail.com Mon Aug 25 10:36:41 2008 From: zhengda1936 at gmail.com (Da Zheng) Date: Mon, 25 Aug 2008 19:36:41 +0200 Subject: I cannot build gcc3.3 or 3.4 In-Reply-To: <1CEAE0F0-91AF-45FD-8E90-CA7E7B895FD2@gmail.com> References: <48B09448.1030706@gmail.com> <8c242c590808240640s4a531069g8610a6fbda32ec2@mail.gmail.com> <48B16C50.4040001@gmail.com> <8c242c590808241025p686c8ee3ife3dabdb2191953b@mail.gmail.com> <48B1A413.9060309@gmail.com> <0C45CE98-828C-46DC-A6CB-883C15E1FA21@macports.org> <48B254B6.7070909@gmail.com> <6E561F87-A2BF-4160-B10A-401F1DA4FB37@macports.org> <1CEAE0F0-91AF-45FD-8E90-CA7E7B895FD2@gmail.com> Message-ID: <48B2EDA9.2040802@gmail.com> Thank you. I like to give a try. As long as I can install Hurd in the virtual machine, I don't care which one I use:-) Zheng Da Anthony Agelastos wrote: > Hello, > > Not to veer off-topic, but if you were willing to try Q, why don't you > give VirtualBox a try; it is available at the following website. > > http://www.virtualbox.org/ > > I've never used it, but I've heard good things about it. > > On Aug 25, 2008, at 12:45 PM, Ryan Schmidt wrote: > >> >> On Aug 25, 2008, at 01:44, Da Zheng wrote: >> >>> Ryan Schmidt wrote: >>> >>>> On Aug 24, 2008, at 13:10, Da Zheng wrote: >>>> >>>>> I run "sudo port install apple-gcc33", but get another error: >>>>> >>>>> /usr/bin/gcc-4.0 tclAppInit.o >>>>> -L/opt/local/var/macports/build/ >>>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lan >>>>> g_apple-gcc33/work/build/tcl/unix >>>>> -ltcl8.0 -lc \ >>>>> -o tclsh >>>>> make[1]: *** No rule to make target `all'. Stop. >>>>> make: *** [all-expect] Error 2 >>>>> >>>>> It's too bad if gcc 3.x cannot be built in Leopard. >>>> >>>> It's not really too bad; GCC 3 is obsolete and shouldn't really be >>>> used anymore. >>>> >>>>> Actually what I really want is to build qemu. >>>> >>>> Right. So qemu should be made to work with GCC 4. And the qemu >>>> port already has tons of patches to make it use GCC 4, though >>>> they're only used on Intel on Leopard and Tiger. It still uses GCC >>>> 3 on PowerPC on Leopard and Tiger. Are you on PowerPC or Intel? >>>> >>>> I don't have Leopard with me at the moment but I can test on some >>>> Leopard systems in a few days. >>>> >>>> Unfortunately the qemu port has no maintainer. Someone who is >>>> interested in the qemu software should adopt the port and fix any >>>> issues. >>> >>> I use Intel. Could you tell where I can get the patches? >>> I find a website, but it has only the patch for the old qemu. >>> I tried Q, a Mac port of qemu, but Hurd doesn't work well in it. >> >> The patches are in the port. Typing "sudo port install qemu" is all >> you should need to do to get them to be used. So I don't know why >> it's not working for you. I will test with Leopard on Intel later and >> let you know what I find. >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From ryandesign at macports.org Mon Aug 25 20:10:01 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 25 Aug 2008 22:10:01 -0500 Subject: Performance wont build on Leopard In-Reply-To: <66CC0EBF-E6EA-4A85-9CC4-387F12858707@bellsouth.net> References: <2010E3C3-A72F-4B10-9647-EB01BE00E3E9@bellsouth.net> <12EE5DBC-5DB7-40F1-9C31-D7F1D6B71A63@macports.org> <66CC0EBF-E6EA-4A85-9CC4-387F12858707@bellsouth.net> Message-ID: <33662BA2-2B76-48DF-ADD8-9D9157EB5D98@macports.org> On Aug 25, 2008, at 10:20, William Davis wrote: > On Aug 25, 2008, at 1:18 AM, Ryan Schmidt wrote: > >> On Aug 23, 2008, at 13:45, William Davis wrote: >> >>> Trying to upgrade Performance under Leopard gives these errors: >>> /snip/ >>> ld warning: duplicate dylib /opt/local/lib/gcc42/libgcc_s.1.dylib >>> Making all for doc Performance... >>> autogsdoc -Project Performance -DocumentationDirectory >>> Performance - >>> MakeDependencies Performance/dependencies GSCache.h GSThroughput.h >>> GSTicker.h GSSkipMutableArray.h >>> gnumake[1]: *** No rule to make target `Performance/dependencies', >>> needed by `internal-doc-all_'. Stop. >>> gnumake: *** [Performance.all.doc.variables] Error 2 >>> >>> Warning: the following items did not execute (for Performance): >>> org.macports.destroot org.macports.build >> >> I updated Performance to 0.2.5 just now. It builds on Tiger at >> least. Wait 30 minutes, then "sudo port sync" and try again. If it >> still doesn't work, let me know and I'll test on Leopard in a day or >> two. > > sorry Ryan but it appears 0.2.5 gives the same error > thanks for the effort. I can confirm the error. I'm still looking into the problem, and I filed a ticket so we don't forget: http://trac.macports.org/ticket/16385 From ludwig at fh-worms.de Tue Aug 26 00:02:34 2008 From: ludwig at fh-worms.de (Christoph Ludwig) Date: Tue, 26 Aug 2008 09:02:34 +0200 Subject: ghc installation failure on Mac OS 10.4 / PowerPC Message-ID: <20080826070233.GB1096@castellio.ztt.fh-worms.de> Hi, a colleague of mine is unable to install darcs on his 10.4.11 / PowerBook G4 due to a problem with the required ghc port (currently in revision 6.8.3_0). Some Lisp library we rely on uses darcs as its only distribution method (for reasonably recent revisions, at least), so this is a blocking issue for us. Apparently, the bootstrapping fails because the bootstrapping complier / linker fails on this OS / architecture combination, cf. the error message below. The problem seems to be related to both https://trac.macports.org/ticket/15923 and a ticket in ghc's bug tracking system http://www.nabble.com/-GHC---2380%3A-Adjustor.o-crash-compiling-ghc-6.8.3-on-iBook-G4-10.4.11-td17993124.html#a17993124. Regards Christoph sudo port -v install darcs ---> Fetching ghc ---> Verifying checksum(s) for ghc ---> Checksumming ghc-6.8.3-src.tar.bz2 ---> Checksumming ghc-6.8.3-src-extralibs.tar.bz2 ---> Checksumming ghc-6.6.1-darwin-ppc-tiger-bootstrap.tar.bz2 ---> Extracting ghc ---> Extracting ghc-6.8.3-src.tar.bz2 ---> Extracting ghc-6.8.3-src-extralibs.tar.bz2 ---> Extracting ghc-6.6.1-darwin-ppc-tiger-bootstrap.tar.bz2 ---> Applying patches to ghc [...] == make all -r; in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work/ghc-6.8.3/rts ------------------------------------------------------------------------ ../compiler/ghc-inplace -optc-O -optc-I/opt/local/include -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-I/opt/local/include -optc-I../gmp/gmpbuild -optc-fno-strict-aliasing -H16m -O -I/opt/local/include -L/opt/local/lib -optc-O2 -package-name rts -static -I/opt/local/include -I../gmp/gmpbuild -I. -#include HCIncludes.h -dcmm-lint -c Adjustor.c -o Adjustor.o make[1]: *** [Adjustor.o] Bus error make: *** [stage1] Error 1 -- FH Worms - University of Applied Sciences Fachbereich Informatik / Telekommunikation Erenburgerstr. 19, 67549 Worms, Germany From ryandesign at macports.org Tue Aug 26 00:38:57 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 26 Aug 2008 02:38:57 -0500 Subject: ghc installation failure on Mac OS 10.4 / PowerPC In-Reply-To: <20080826070233.GB1096@castellio.ztt.fh-worms.de> References: <20080826070233.GB1096@castellio.ztt.fh-worms.de> Message-ID: <6D1970CD-5C67-410B-B18E-B3ECE5AF3FC7@macports.org> On Aug 26, 2008, at 02:02, Christoph Ludwig wrote: > a colleague of mine is unable to install darcs on his 10.4.11 / > PowerBook G4 > due to a problem with the required ghc port (currently in revision > 6.8.3_0). > Some Lisp library we rely on uses darcs as its only distribution > method (for > reasonably recent revisions, at least), so this is a blocking issue > for us. > > Apparently, the bootstrapping fails because the bootstrapping > complier / > linker fails on this OS / architecture combination, cf. the error > message > below. The problem seems to be related to both > https://trac.macports.org/ticket/15923 and a ticket in ghc's bug > tracking > system > http://www.nabble.com/-GHC---2380%3A-Adjustor.o-crash-compiling- > ghc-6.8.3-on-iBook-G4-10.4.11-td17993124.html#a17993124. > == make all -r; > in > /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ > ghc/work/ghc-6.8.3/rts > ---------------------------------------------------------------------- > -- > ../compiler/ghc-inplace -optc-O -optc-I/opt/local/include -optc-Wall > -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes > -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return > -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism > -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-I/opt/local/ > include > -optc-I../gmp/gmpbuild -optc-fno-strict-aliasing -H16m -O > -I/opt/local/include -L/opt/local/lib -optc-O2 -package-name rts - > static > -I/opt/local/include -I../gmp/gmpbuild -I. -#include HCIncludes.h > -dcmm-lint -c Adjustor.c -o Adjustor.o > make[1]: *** [Adjustor.o] Bus error > make: *** [stage1] Error 1 Yes, this appears to be a ghc bug. http://hackage.haskell.org/trac/ghc/ticket/2380 You will have to discuss the issue with the developers of ghc; they are the ones who need to fix the problem. From ryandesign at macports.org Tue Aug 26 00:44:01 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 26 Aug 2008 02:44:01 -0500 Subject: ghc installation failure on Mac OS 10.4 / PowerPC In-Reply-To: <6D1970CD-5C67-410B-B18E-B3ECE5AF3FC7@macports.org> References: <20080826070233.GB1096@castellio.ztt.fh-worms.de> <6D1970CD-5C67-410B-B18E-B3ECE5AF3FC7@macports.org> Message-ID: <0E3FA21D-9B97-43E3-889E-B2B5A91A09BE@macports.org> On Aug 26, 2008, at 02:38, Ryan Schmidt wrote: > On Aug 26, 2008, at 02:02, Christoph Ludwig wrote: > >> == make all -r; >> in >> /opt/local/var/macports/build/ >> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang >> _ >> ghc/work/ghc-6.8.3/rts >> --------------------------------------------------------------------- >> - >> -- >> ../compiler/ghc-inplace -optc-O -optc-I/opt/local/include -optc-Wall >> -optc-W -optc-Wstrict-prototypes -optc-Wmissing-prototypes >> -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return >> -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism >> -optc-DCOMPILING_RTS -optc-fomit-frame-pointer -optc-I/opt/local/ >> include >> -optc-I../gmp/gmpbuild -optc-fno-strict-aliasing -H16m -O >> -I/opt/local/include -L/opt/local/lib -optc-O2 -package-name rts - >> static >> -I/opt/local/include -I../gmp/gmpbuild -I. -#include HCIncludes.h >> -dcmm-lint -c Adjustor.c -o Adjustor.o >> make[1]: *** [Adjustor.o] Bus error >> make: *** [stage1] Error 1 > > > Yes, this appears to be a ghc bug. > > http://hackage.haskell.org/trac/ghc/ticket/2380 > > You will have to discuss the issue with the developers of ghc; they > are the ones who need to fix the problem. I should add that I'm trying to build ghc now on my Power Mac G4 running Tiger, but it will take hours so I'll report back later. If you're running a version of Xcode earlier than 2.4.1, please update to 2.4.1 or 2.5 and try again. Earlier versions are not supported by MacPorts on Tiger. From febeling at macports.org Tue Aug 26 14:16:20 2008 From: febeling at macports.org (Caspar Florian Ebeling) Date: Tue, 26 Aug 2008 23:16:20 +0200 Subject: openvpn2: "Cannot allocate TUN/TAP dev dynamically" Message-ID: <5cbbe4ae0808261416u3f46c8adka7d4f8bae199c551@mail.gmail.com> Is anyone using openvpn2 sucessfully? After all that I was able to google up, there is an additional driver necessary for /dev/tun or tap, which is said to be included in Tunnelblick, a Cocoa UI over openvpn. Florian -- Florian Ebeling florian.ebeling at gmail.com From pmq at macports.org Wed Aug 27 00:05:47 2008 From: pmq at macports.org (Pierre Queinnec) Date: Wed, 27 Aug 2008 09:05:47 +0200 Subject: openvpn2: "Cannot allocate TUN/TAP dev dynamically" In-Reply-To: <5cbbe4ae0808261416u3f46c8adka7d4f8bae199c551@mail.gmail.com> References: <5cbbe4ae0808261416u3f46c8adka7d4f8bae199c551@mail.gmail.com> Message-ID: <48B4FCCB.9030907@macports.org> The tun/tap modules are available at: http://tuntaposx.sourceforge.net -- Pierre Caspar Florian Ebeling wrote: > Is anyone using openvpn2 sucessfully? After all that I was able > to google up, there is an additional driver necessary for /dev/tun > or tap, which is said to be included in Tunnelblick, a Cocoa UI > over openvpn. > > Florian > > From florian.ebeling at gmail.com Wed Aug 27 04:36:32 2008 From: florian.ebeling at gmail.com (Caspar Florian Ebeling) Date: Wed, 27 Aug 2008 13:36:32 +0200 Subject: openvpn2: "Cannot allocate TUN/TAP dev dynamically" In-Reply-To: <48B4FCCB.9030907@macports.org> References: <5cbbe4ae0808261416u3f46c8adka7d4f8bae199c551@mail.gmail.com> <48B4FCCB.9030907@macports.org> Message-ID: <5cbbe4ae0808270436o19b3a1c6h1930cf1749ee33aa@mail.gmail.com> On Wed, Aug 27, 2008 at 9:05 AM, Pierre Queinnec wrote: > The tun/tap modules are available at: http://tuntaposx.sourceforge.net Cool, thanks for the pointer! Florian > -- Pierre > > > Caspar Florian Ebeling wrote: >> Is anyone using openvpn2 sucessfully? After all that I was able >> to google up, there is an additional driver necessary for /dev/tun >> or tap, which is said to be included in Tunnelblick, a Cocoa UI >> over openvpn. -- Florian Ebeling florian.ebeling at gmail.com From informatique at thibaut-cousin.net Thu Aug 28 07:29:38 2008 From: informatique at thibaut-cousin.net (Thibaut Cousin) Date: Thu, 28 Aug 2008 16:29:38 +0200 Subject: [macports-users] KMyMoney 0.8.9 fails to compile Message-ID: <1EE76405-6757-4164-B0C9-031DE5211D13@thibaut-cousin.net> Hello, I'm using Macports 1.6.0 (selfupdate was made) on Leopard 10.5.4 Intel. Installing the rest of KDE, and other KDE applications, went fine but KMyMoney is an exception. Downloading and configuring is OK, but building fails with: Making install in pics make[3]: Nothing to be done for `install-exec-am'. test -z "/opt/local/share/apps/kmymoney2/pics/" || ../../admin/install- sh -c -d "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_kde_kmymoney/work/destroot/opt/local/share/ apps/kmymoney2/pics/" mkdir: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_kde_kmymoney/work/destroot/opt/local/share/ apps/kmymoney2/pics/: File exists make[3]: *** [install-kmymoneyDATA] Error 1 make[2]: *** [install-am] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 I met the same problem a few weeks ago, when I was using Fink. I could solve it by changing something in the Makefile : replacing install -c -d by mkdir -p. But: 1) This was an ugly hack. 2) I don't know how to make a change inside the source tarball with Macports. 3) Maybe there's a better solution, or this new problem isn't really related to the previous one. Any advice would be appreciated. Thank you. :-) -- Thibaut Cousin http://www.thibaut-cousin.net From smibrahim at gmail.com Thu Aug 28 09:32:04 2008 From: smibrahim at gmail.com (S. M. Ibrahim (Lavlu)) Date: Thu, 28 Aug 2008 22:32:04 +0600 Subject: login problem in gdm Message-ID: <4997275b0808280932k72b830a7k84857fac1fa8a5be@mail.gmail.com> i successfully installed gnome with www and graphics variants. and also created ~/.xintrc from http://trac.macports.org/wiki/GNOME when i type sudo gdm on terminal, i am getting the gdm screen. but my username and pass ar not working. should i need to make new user ? if , how ? thanks -- S. M. Ibrahim (Lavlu) Web Application Developer somewherein... Blog: http://lavluda.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080828/da22549e/attachment.html From banshee at banshee.com Thu Aug 28 10:37:22 2008 From: banshee at banshee.com (James Moore) Date: Thu, 28 Aug 2008 10:37:22 -0700 Subject: How do you install a distribution file (not a port name)? Message-ID: How do you use the port command to install a distribution file? I've got a bunch of things downloaded and I'd like to just copy the files over to another machine and do something like: sudo port install /opt/local/var/macports/distfiles/git-core/git-1.5.6.3.tar.bz2 But that looks like it's taking the entire string as the name of a port. I haven't seen anything on the man page or the mailing list archives that's helping figure this out. I'm running 1.6000. -- James Moore james at restphone.com blog.restphone.com From raimue at macports.org Thu Aug 28 10:50:08 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Thu, 28 Aug 2008 19:50:08 +0200 Subject: How do you install a distribution file (not a port name)? In-Reply-To: References: Message-ID: <48B6E550.7020602@macports.org> James Moore wrote: [...] > But that looks like it's taking the entire string as the name of a > port. I haven't seen anything on the man page or the mailing list > archives that's helping figure this out. You can't do this in this way. It's fine to copy the distfiles over, but you will still need to do a normal install by port name. In this case 'git-core'. Rainer From milosh at macports.org Fri Aug 29 12:56:35 2008 From: milosh at macports.org (Emmanuel Hainry) Date: Fri, 29 Aug 2008 21:56:35 +0200 Subject: How do you install a distribution file (not a port name)? In-Reply-To: References: Message-ID: <20080829195635.GA3236@velsheda.lateralis.org> Citando James Moore : > How do you use the port command to install a distribution file? I've > got a bunch of things downloaded and I'd like to just copy the files > over to another machine and do something like: You have the options when you install a port of creating an archive (it is in a config file, I don't remember which). Then you will have a /opt/local/var/macports/packages/system/arch/ directory in which the package will be stored. Duplicating the archive to the good place on the other machine makes 'port install git-core' able to use those ports that have been precompiled by your other machine. > > sudo port install /opt/local/var/macports/distfiles/git-core/git-1.5.6.3.tar.bz2 > The argument can only be the name of a port, a meta-name of a port ("outdated" or "category:tex" for example). Best, Emmanuel -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080829/ad156ba8/attachment.bin From liontooth at cogweb.net Fri Aug 29 22:30:59 2008 From: liontooth at cogweb.net (David Liontooth) Date: Fri, 29 Aug 2008 22:30:59 -0700 Subject: transcode 1.1.0 beta1 portfile with quicktime and lzo In-Reply-To: <48AFB6A4.2020906@cogweb.net> References: <48AFB6A4.2020906@cogweb.net> Message-ID: <48B8DB13.8090402@cogweb.net> Transcode 1.1.0 beta1 builds successfully with lzo2 and quicktime, the latter adding among other things the mov import module, which enables transcode to process mp4 files. I still haven't found an elegant solution to transcode's inability to locate the renamed ImageMagick libraries; upstream is looking at config.log of the latest failure. In the meantime, adding a symlink works: cd /opt/local/lib ln -s libMagickCore.1.dylib libMagick.dylib Chuck Remes has signaled he is no longer available as co-maintaner of this port; he made all the essential contributions to get the port off the ground. I enclose an updated portfile; let me know if I should be using trac for this. Dave -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Portfile-transcode-beta1 Url: http://lists.macosforge.org/pipermail/macports-users/attachments/20080829/7873767f/attachment.ksh From msavory1 at nzbox.com Fri Aug 29 23:39:47 2008 From: msavory1 at nzbox.com (Mike Savory) Date: Fri, 29 Aug 2008 23:39:47 -0700 Subject: Fwd: Building References: Message-ID: <0120A783-34A7-4C9F-929F-B6D1E11ECC34@nzbox.com> Sent this to Chris, the port maintainer Should I open a ticket?? Mike Begin forwarded message: > From: Mike Savory > Date: August 21, 2008 9:39:54 PM PDT > To: chris.owen at consault.com > Subject: Building > > Hi Chris > > Im trying to get a local portfile to work for py-libdnet and > python2.5 (to get scapy 2 running (requires Python 2.5) > > Have you looked at making a portfile for py25 > > > > I tried both just changing yours to have > > set python.bin ${prefix}/bin/python2.5 > > and to do add in the > > PortGroup python25 1.0 > > (which I don't really understand) > > I have had success with the py-pylibpcap library building OK I > think... > > This is my current try with your Portfile > > # $Id: Portfile 20751 2006-11-25 22:10:13Z markd at macports.org $ > PortSystem 1.0 > #PortGroup python25 1.0 > > set python.bin ${prefix}/bin/python2.5 > > name py25-libdnet > version 1.11 > categories python net > maintainers chris.owen at consault.com > description A python module for the libdnet low-level > networking library. > long_description \ > Libdnet provides a simplified, portable interface to several > low-level \ > networking routines, including: network address manipulation, > kernel \ > arp(4) cache and route(4) table lookup and manipulation, > network \ > firewalling (IP filter, ipfw, ipchains, pf, ...), network > interface \ > lookup and manipulation, raw IP packet and Ethernet frame > transmission. > homepage http://libdnet.sourceforge.net/ > > > master_sites sourceforge:libdnet > distname libdnet-${version} > > depends_lib port:libdnet > > checksums md5 04c394ed8e1e7fc455456e79e908916d \ > sha1 e2ae8c7f0ca95655ae9f77fd4a0e2235dc4716bf \ > rmd160 9a940cdd96af4b513a048f3a389e3f7eb0bb7011 > > > pre-destroot { > worksrcdir ${worksrcdir}/python > } > destroot.cmd ${python.bin} setup.py > destroot.destdir --prefix=${prefix} --root=${destroot} > > > $ sudo port install py25-libdnet > Portfile changed since last build; discarding previous state. > ---> Fetching py25-libdnet > ---> Attempting to fetch libdnet-1.11.tar.gz from http://downloads.sourceforge.net/libdnet > ---> Verifying checksum(s) for py25-libdnet > ---> Extracting py25-libdnet > ---> Configuring py25-libdnet > ---> Building py25-libdnet with target all > ---> Staging py25-libdnet into destroot > Error: Target org.macports.destroot returned: shell command " cd "/ > opt/local/var/macports/build/_Users_mikesavory_mp_python_py25- > libdnet/work/libdnet-1.11/python" && /opt/local/bin/python2.5 > setup.py install --prefix=/opt/local --root=/opt/local/var/macports/ > build/_Users_mikesavory_mp_python_py25-libdnet/work/destroot " > returned error 1 > Command output: running install > running build > running build_ext > building 'dnet' extension > creating build > creating build/temp.macosx-10.3-i386-2.5 > -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I../include -I/ > opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/ > python2.5 -c ./dnet.c -o build/temp.macosx-10.3-i386-2.5/./dnet.o > unable to execute -DNDEBUG: No such file or directory > error: command '-DNDEBUG' failed with exit status 1 > > Error: Status 1 encountered during processing. > > > > > Regards > > Mike From pmorey at xyalis.com Sat Aug 30 08:58:36 2008 From: pmorey at xyalis.com (Philippe Morey-Chaisemartin) Date: Sat, 30 Aug 2008 17:58:36 +0200 Subject: xnee and xquartz Message-ID: Hello, I am not sure it's the good place to ask this type of question... Anyway, here it is: I have installed xnee within xquartz and when I try to record any type of event, I get the message: Xlib: extension "RECORD" missing on display "/tmp/launch-rltZbf/:0". Does anybody know how I can fix this issue ? Many thanks From ryandesign at macports.org Sat Aug 30 13:16:48 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 30 Aug 2008 15:16:48 -0500 Subject: [macports-users] KMyMoney 0.8.9 fails to compile In-Reply-To: <1EE76405-6757-4164-B0C9-031DE5211D13@thibaut-cousin.net> References: <1EE76405-6757-4164-B0C9-031DE5211D13@thibaut-cousin.net> Message-ID: On Aug 28, 2008, at 9:29 AM, Thibaut Cousin wrote: > I'm using Macports 1.6.0 (selfupdate was made) on Leopard 10.5.4 > Intel. > Installing the rest of KDE, and other KDE applications, went fine > but KMyMoney is an exception. Downloading and configuring is OK, but > building fails with: > > Making install in pics > make[3]: Nothing to be done for `install-exec-am'. > test -z "/opt/local/share/apps/kmymoney2/pics/" || ../../admin/ > install- > sh -c -d "/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_kde_kmymoney/work/destroot/opt/local/ > share/ > apps/kmymoney2/pics/" > mkdir: /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_kde_kmymoney/work/destroot/opt/local/ > share/ > apps/kmymoney2/pics/: File exists > make[3]: *** [install-kmymoneyDATA] Error 1 > make[2]: *** [install-am] Error 2 > make[1]: *** [install-recursive] Error 1 > make: *** [install-recursive] Error 1 > > I met the same problem a few weeks ago, when I was using Fink. I > could solve it by changing something in the Makefile : replacing > install -c -d by mkdir -p. But: > > 1) This was an ugly hack. > 2) I don't know how to make a change inside the source tarball with > Macports. > 3) Maybe there's a better solution, or this new problem isn't really > related to the previous one. You should file a ticket in our issue tracker for this problem. http://guide.macports.org/#project.tickets To create a patch for a file in a project's source archive, read this section in the Guide: http://guide.macports.org/#development.patches.source From hvdwolf at gmail.com Sat Aug 30 13:29:44 2008 From: hvdwolf at gmail.com (Harry van der Wolf) Date: Sat, 30 Aug 2008 22:29:44 +0200 Subject: set deployment target from macports.conf In-Reply-To: <8c242c590808220248l6bae6e22j31b110132f2b874c@mail.gmail.com> References: <8c242c590808220140u29a80e3eqa21a9c2b5fcc613c@mail.gmail.com> <314DD926-5DA6-4E01-821D-2D02BCE23647@macports.org> <2DF9E665-AB8E-4A15-A584-9A7F0EFC0694@macports.org> <8c242c590808220248l6bae6e22j31b110132f2b874c@mail.gmail.com> Message-ID: <8c242c590808301329x4771b875i31c3fa40836b01c2@mail.gmail.com> Hi, Some feedback on the mails from last week. Below is all done on Leopard 10.5.4 with macports trunk of dd. 30 aug 2008 (upgraded to Leopard on 29th). some "key issues" to start with: - sqlite3 doesn't compile universal and links (incorrectly) to a number of libs (see below). - fftw-3 has setting "universal_variant no", but compiles correctly universally whith setting removed (see below). - x264 doesn't build universally and doesn't build a .dylib. See attached Portfile.x264 which does build universally. It compiles i386 with assembly and ppc without (this was one of the main issues btw). As I don't know the ins&outs of macports Portfiles I didn't manage to build a dylib (yet). Need to take a further look at that. I will also attach Portfile.x264 to http://trac.macports.org/ticket/15996 (Installation of x264 +universal fails to build). - xvid ignores deployment target and needs to be built manually. I upgraded to Leopard. I wanted to build during the weekend but my wife had totally other plans (happens in the best families). I built macports from trunk with ./configure \ --with-universal-target=10.4 \ --with-universal-sysroot=/Developer/SDKs/MacOSX10.4u.sdk \ --with-universal-archs="ppc i386" \ ; All compiles and installs fine. I first did a run without universal packages. Apart from libxvid all libs I needed built fine against target 10.4. xvid "didn't listen" to the setting and compiled for 10.5. So I had to deactivate that one. I created an intel bundle for avidemux and brought it to a Tiger system. It worked fine. So far so good. (I will have a look at xvid next week). Then I wanted to build universally. I removed /opt completely and built macports again from trunk. I added "+universal +no_x11" to variants.conf (as I want an avidemux QT4 and Gtk version without X11). Than I tried to build my packages universal which was not completely succesful. I needed subversion. This does not build universal as sqlite3 and cyrus-sasl2 don't build universal (yet). As such I don't care as they don't need to be universal. So I uninstalled all underlying depndent packages and did a "sudo port install subversion -universal" and that went fine. However, when I tried to build tiff universally it crashed on sqlite3 (??) during linking as it could not find a ppc version of it. (ld: in /opt/local/lib/libsqlite3.0.dylib, file is not of required architecture for architecture ppc collect2: ld returned 1 exit status ) I did a sudo port deactivate sqlite3; sudo port install tiff; sudo port activate sqlite3; Now "my" tiff was nicely build as universal version. I did not file a bug report yet for this, but I think I have to. It's really weird that tiff links to sqlite3. Then I went on with the rest of the libs. One of them was libsndfile (as dependency for libsamplerate). Again the linking crashed on sqlite3 Undefined symbols for architecture ppc: "_sqlite3_open", referenced from: _db_open in database.o I did a "sudo port deactivate sqlite3" and started again. Now libsndfile builds correctly. Again: why is ld trying to link against sqlite3? Than is continued with libsamplerate and it crashed on; ld warning: in /opt/local/lib/libfftw3.dylib, file is not of required architecture Undefined symbols for architecture ppc: "_fftw_plan_r2r_1d", referenced from: _calculate_snr in multi_channel_test-calc_snr.o "_fftw_destroy_plan", referenced from: _calculate_snr in multi_channel_test-calc_snr.o "_fftw_execute", referenced from: _calculate_snr in multi_channel_test-calc_snr.o ld: symbol(s) not found for architecture ppc collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccw3Wmmx.out (No such file or directory) make[1]: *** [multi_channel_test] Error 1 make: *** [all-recursive] Error 1 However, fftw3 reported earlier to have been built succesfully: ---> Fetching fftw-3 ---> Attempting to fetch fftw-3.1.2.tar.gz from ftp://ftp.fftw.org/pub/fftw/ ---> Verifying checksum(s) for fftw-3 ---> Extracting fftw-3 ---> Configuring fftw-3 ---> Building fftw-3 ---> Staging fftw-3 into destroot ---> Installing fftw-3 @3.1.2_6 ---> Activating fftw-3 @3.1.2_6 ---> Cleaning fftw-3 A lipo -info /opt/local/lib/libfftw3.dylib showed that it was "only" i386 compiled. So I just gave it a shot and removed the "universal_variant no" and build it again. It builds fine (lipo -info shows "/opt/local/lib/libfftw3.dylib are: ppc i386 "), I did not yet have the chance to check whether it really functions correctly on ppc too. From this point also libsamplerate builds correctly universally. x264 does not build correctly universally and the Portfile needed to be patched (see attached). xvid builds correctly as such but ignores deployment target (need to sort that out). Harry 2008/8/22 Harry van der Wolf > Thanks for the hints and the fast response. The options > universal_target 10.4 > universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk > universal_archs ppc i386 > > are exactly what I was looking for. > > > It seems that I have an exciting (or frustrating) weekend coming up. I will > install/build from trunk and compile the first ports with -d to see whether > it does what I want them to do. > > I will let you know about my experiences. > > Harry > > 2008/8/22 Ryan Schmidt > > >> On Aug 22, 2008, at 04:39, Anders F Bj?rklund wrote: >> >> Ryan Schmidt wrote: >>> >>> Theoretically +universal should be able to handle this, >>>>> but cross-compiling isn't really supported in MacPorts. >>>>> >>>> >>>> Yeah. So why did we expose the options in macports.conf again? :) >>>> >>> >>> Note that macports.conf in trunk has some more features... >>> (which still isn't "supported", but rather "experimental") >>> >>> universal_target 10.4 >>> universal_sysroot /Developer/SDKs/MacOSX10.4u.sdk >>> >> >> Right, those are the options I was referring to. >> >> >> universal_archs ppc i386 >>> >>> That has a somewhat better chance of making the right >>> thing than hacking macosx_deployment_target or flags. >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080830/367c9e11/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: Portfile.x264 Type: application/octet-stream Size: 4058 bytes Desc: not available Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080830/367c9e11/attachment.obj From informatique at thibaut-cousin.net Sun Aug 31 01:58:23 2008 From: informatique at thibaut-cousin.net (Thibaut Cousin) Date: Sun, 31 Aug 2008 10:58:23 +0200 Subject: [macports-users] KMyMoney 0.8.9 fails to compile In-Reply-To: References: <1EE76405-6757-4164-B0C9-031DE5211D13@thibaut-cousin.net> Message-ID: <776321CF-3DEC-419E-A26E-C2B4C6FE7B29@thibaut-cousin.net> Le 30 ao?t 08 ? 22:16, Ryan Schmidt a ?crit : > On Aug 28, 2008, at 9:29 AM, Thibaut Cousin wrote: > >> I'm using Macports 1.6.0 (selfupdate was made) on Leopard 10.5.4 >> Intel. >> Installing the rest of KDE, and other KDE applications, went fine >> but KMyMoney is an exception. Downloading and configuring is OK, but >> building fails with: >> >> Making install in pics >> make[3]: Nothing to be done for `install-exec-am'. >> test -z "/opt/local/share/apps/kmymoney2/pics/" || ../../admin/ >> install- >> sh -c -d "/opt/local/var/macports/build/ >> _opt_local_var_macports_sources_rsync >> .macports.org_release_ports_kde_kmymoney/work/destroot/opt/local/ >> share/ >> apps/kmymoney2/pics/" >> mkdir: /opt/local/var/macports/build/ >> _opt_local_var_macports_sources_rsync >> .macports.org_release_ports_kde_kmymoney/work/destroot/opt/local/ >> share/ >> apps/kmymoney2/pics/: File exists >> make[3]: *** [install-kmymoneyDATA] Error 1 >> make[2]: *** [install-am] Error 2 >> make[1]: *** [install-recursive] Error 1 >> make: *** [install-recursive] Error 1 >> >> I met the same problem a few weeks ago, when I was using Fink. I >> could solve it by changing something in the Makefile : replacing >> install -c -d by mkdir -p. But: >> >> 1) This was an ugly hack. >> 2) I don't know how to make a change inside the source tarball with >> Macports. >> 3) Maybe there's a better solution, or this new problem isn't really >> related to the previous one. > > > You should file a ticket in our issue tracker for this problem. > > http://guide.macports.org/#project.tickets > > To create a patch for a file in a project's source archive, read > this section in the Guide: > > http://guide.macports.org/#development.patches.source Thank you for your answer. The ticket is open, it's number #16423. My holidays are now finished, so I can't promise that I will have time to learn to build a patch in the coming days. But I'll do my best. -- Thibaut Cousin http://www.thibaut-cousin.net From pmoura at di.ubi.pt Sun Aug 31 15:21:59 2008 From: pmoura at di.ubi.pt (Paulo Moura) Date: Sun, 31 Aug 2008 23:21:59 +0100 Subject: Error updating texlive_base (2007_3) Message-ID: Hi! Trying to update "" to the latest version: texlive 2007_4 < 2007_6 texlive_base 2007_1 < 2007_3 texlive_texmf-full 2007_1 < 2007_3 texlive_texmf-minimal 2007_1 < 2007_2 results in the following errors: % sudo port upgrade texlive ... ---> Building texlive_base 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_tex_texlive_base/work/texlive_base-2007" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -DU_COMMON_IMPLEMENTATION -I/opt/ local/include -I. -I. -I../i18n -O2 -fno-common -c -o cmemory.ao cmemory.c /usr/bin/ar rv ../lib/libsicuuc.a cmemory.ao a - cmemory.ao /usr/bin/gcc-4.0 -DU_COMMON_IMPLEMENTATION -I/opt/local/include -I. - I. -I../i18n -O2 -fno-common -c -o umutex.ao umutex.c /usr/bin/ar rv ../lib/libsicuuc.a umutex.ao a - umutex.ao /usr/bin/gcc-4.0 -DU_COMMON_IMPLEMENTATION -I/opt/local/include -I. - I. -I../i18n -O2 -fno-common -c -o ucln_cmn.ao ucln_cmn.c /usr/bin/ar rv ../lib/libsicuuc.a ucln_cmn.ao a - ucln_cmn.ao /usr/bin/gcc-4.0 -DU_COMMON_IMPLEMENTATION -I/opt/local/include -I. - I. -I../i18n -O2 -fno-common -c -o uinit.ao uinit.c /usr/bin/ar rv ../lib/libsicuuc.a uinit.ao a - uinit.ao /usr/bin/gcc-4.0 -DU_COMMON_IMPLEMENTATION -I/opt/local/include -I. - I. -I../i18n -O2 -fno-common -c -o udata.ao udata.c /usr/bin/ar rv ../lib/libsicuuc.a udata.ao a - udata.ao /usr/bin/gcc-4.0 -DU_COMMON_IMPLEMENTATION -I/opt/local/include -I. - I. -I../i18n -O2 -fno-common -c -o ucmndata.ao ucmndata.c /usr/bin/ar rv ../lib/libsicuuc.a ucmndata.ao a - ucmndata.ao /usr/bin/gcc-4.0 -DU_COMMON_IMPLEMENTATION -I/opt/local/include -I. - I. -I../i18n -O2 -fno-common -c -o udatamem.ao udatamem.c /usr/bin/ar rv ../lib/libsicuuc.a udatamem.ao a - udatamem.ao /usr/bin/gcc-4.0 -DU_COMMON_IMPLEMENTATION -I/opt/local/include -I. - I. -I../i18n -O2 -fno-common -c -o udataswp.ao udataswp.c /usr/bin/ar rv ../lib/libsicuuc.a udataswp.ao a - udataswp.ao /usr/bin/gcc-4.0 -DU_COMMON_IMPLEMENTATION -I/opt/local/include -I. - I. -I../i18n -O2 -fno-common -c -o umapfile.ao umapfile.c umapfile.c:25:5: error: #error Time bomb: After ICU 3.4 move the definition of UCONFIG_NO_FILE_IO to uconfig.h. Use Jitterbug 4614. make[2]: *** [umapfile.ao] Error 1 rm ucmndata.ao umutex.ao udataswp.ao uobject.ao ucln_cmn.ao cmemory.ao udata.ao utypes.ao uinit.ao putil.ao udatamem.ao make[1]: *** [all-recursive] Error 2 make: *** [libs/icu-xetex/lib/libsicuuc.a] Error 2 You feedback is appreciated. Cheers, Paulo ----------------------------------------------------------------- Paulo Jorge Lopes de Moura Dep. of Computer Science, University of Beira Interior 6201-001 Covilh?, Portugal Office 4.3 Ext. 3257 Phone: +351 275319891 Fax: +351 275319899 Email: Home page: Research: ----------------------------------------------------------------- From ryandesign at macports.org Sun Aug 31 17:56:28 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 31 Aug 2008 19:56:28 -0500 Subject: [Fwd: Re: transcode 1.1.0 beta 0 fails to configure ImageMagick on OSX PPC] In-Reply-To: <48AFB6A4.2020906@cogweb.net> References: <48AFB6A4.2020906@cogweb.net> Message-ID: <508A33DF-02FF-42B8-866A-FBA6227F9521@macports.org> I'm sorry, I did not get to evaluate the portfile you included in this email. I am instead acting on the revised Portfile you send to macports-users on August 30, 2008. On Aug 23, 2008, at 2:05 AM, David Liontooth wrote: > Hi Chuck and Ryan, > > There's a new release of transcode, and the developer suggests a > solution to the ImageMagick build problem. I enclose an updated > portfile -- could you look at how the ImageMagick path should be > given? I also include the fix in #15547. > > Cheers, > Dave > > > > -------- Original Message -------- > Subject: Re: transcode 1.1.0 beta 0 fails to configure ImageMagick > on OSX PPC > Date: Sun, 10 Aug 2008 09:56:51 +0200 > From: Francesco Romani > To: David Liontooth > References: <1208371591.3586.12.camel at azafuse.rokugan.lan> > <4862B902.80605 at cogweb.net> > <1214508147.26544.3.camel at samurai4.rokugan.lan> <4865196B. > 2060609 at cogweb.net> > > > > On Fri, 2008-06-27 at 09:46 -0700, David Liontooth wrote: >> Francesco Romani wrote: >> > On Wed, 2008-06-25 at 14:30 -0700, David Liontooth wrote: >> > >> > [...] >> > >> Do you want the full configure log? >> >> > >> > yes please. >> > Enclosed. >> Thanks! > > Hi, > > Sorry for being so late. > > I found some time to investigate this issue. > No symlink should be needed; just run configure with > > --with-imagemagick-includes=/opt/local/include/ImageMagick > > The root problem is that configure can't find wand/magick-wand.h > (it's a > header layout problem - unfortunately this isn't easy to catch without > aid in ./configure because I've seen two-three differente layouts, and > everyone has to be supported!); the linking problem You've seen isn't > a problem. > > The configure is just trying to catch (yet another) ImageMagick > oddity, > the sudden rename of libMagick to libMagickCore (Note that ./configure > tests both libraries above before to give up). > > If manually specifying the headers doesn't work, please let me know > (enclosing the full configure.log again, please). > > Thanks for the patience, > > -- > Francesco Romani // Ikitt > > > # $Id: Portfile 37840 2008-06-25 16:56:28Z ecronin at macports.org $ > > PortSystem 1.0 > > name transcode > version 1.1.0beta1 > revision 1 > categories multimedia > maintainers cremes at mac.com liontooth at cogweb.net > description Video and audio processing tools > long_description transcode is a suite of tools, all of which are \ > command line utilities, for transcoding various \ > video, audio, and container formats, running on a \ > platform that supports shared libraries and threads.\ > \ > Decoding and encoding is done by modules that are \ > responsible for feeding transcode with raw video/ \ > audio streams (import modules) and encoding the frames \ > (export modules). \ > \ > It includes a variety of video and audio filters, \ > including (but not limited to) video de-interlacing, \ > audio resampling, framerate conversion, different \ > resizing algorithms, smoothing, sharpening, > denoisifying, \ > and cutting. > > homepage http://www.transcoding.org > > master_sites http://fromani.exit1.org/ > distname ${name}-${version} > use_bzip2 yes > > checksums ${distname}${extract.suffix} \ > md5 b84566b618f2b667ce048993692e69db \ > sha1 e68f65b6558c97ffc4fef3aaae9fc35a01af4390 > > depends_lib port:automake \ > port:autoconf \ > port:libtool \ > port:pkgconfig \ > port:ffmpeg \ > port:libmpeg2 \ > port:libdvdread \ > port:jpeg \ > port:lame > > pre-configure { > system "cd ${worksrcpath} && \ > LIBTOOLIZE=glibtoolize autoreconf -i -f" > } > > platforms darwin > > configure.args --disable-mmx \ > --disable-altivec \ > --with-libavcodec-prefix=${prefix} \ > --with-libmpeg2-prefix=${prefix} \ > --with-libdvdread-prefix=${prefix} \ > --with-libjpeg-prefix=${prefix} \ > --with-lame-prefix=${prefix} > > # Optional components > > variant a52dec { > depends_lib-append port:a52dec > configure.args-append --enable-a52 --enable-a52-default-decoder > --with-a52-prefix=${prefix} > } > > variant faac { > depends_lib-append port:faac > configure.args-append --enable-faac --with-faac-prefix=${prefix} > } > > variant faad2 { > depends_lib-append port:faad2 > configure.args-append --enable-faad --with-faad-prefix=${prefix} > } > > variant freetype { > depends_lib-append port:freetype > configure.args-append --enable-freetype2 --with-freetype2- > prefix=${prefix} > } > > variant imagemagick { > depends_lib-append port:ImageMagick > configure.args-append --enable-imagemagick --with-imagemagick- > prefix=${prefix} --with-imagemagick-includes=/opt/local/include/ > ImageMagick > } > > variant libdv { > depends_lib-append port:libdv > configure.args-append --enable-libdv --with-libdv-prefix=${prefix} > } > > variant libogg { > depends_lib-append port:libogg > configure.args-append --enable-ogg --with-ogg-prefix=${prefix} > } > > variant libsdl { > depends_lib-append port:libsdl > configure.args-append --enable-sdl --with-sdl-prefix=${prefix} > } > > variant libtheora { > depends_lib-append port:libtheora > configure.args-append --enable-theora --with-theora-prefix=$ > {prefix} > } > > variant libvorbis { > depends_lib-append port:libvorbis > configure.args-append --enable-vorbis --with-vorbis-prefix=$ > {prefix} > } > > variant libxml2 { > depends_lib-append port:libxml2 > configure.args-append --enable-libxml2 --with-libxml2-prefix=$ > {prefix} > } > > variant x264 { > depends_lib-append port:x264 > configure.args-append --enable-x264 --with-x264-prefix=${prefix} > } > > variant xvid { > depends_lib-append port:XviD > configure.args-append --enable-xvid --with-xvid-prefix=${prefix} > } From chirayu at chirayuk.com Sun Aug 31 22:01:30 2008 From: chirayu at chirayuk.com (chirayuk) Date: Sun, 31 Aug 2008 22:01:30 -0700 (PDT) Subject: vim-app (and vim) with +python fails on Leopard Message-ID: <19248902.post@talk.nabble.com> I've been trying rather unsuccessfully to build vim-app or vim. I'm using Leopard 10.5.1. I removed MacPorts and reinstalled it (using the instructions form the wiki page.) (Frustrated, I tried installing git so I could build from the original source, but alas, git didn't build either.) Anyway, here's what it looks like (attached/linked): http://www.nabble.com/file/p19248902/VimInstallErrors.txt VimInstallErrors.txt Lines like /usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp -I/Developer/Headers/FlatCarbon -O -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -o objects/os_macosx.o os_macosx.c make me wonder if -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 is correct - shouldn't it use the macports version of python25 that it just installed (btw, I've tried the port command by first installing python, then installing python_select and selecting python25 both with also putting /opt/local/bin at the beginning of PATH and without, and with explicitly exporting PREFIX and prefix to /opt/local and without.) Does anyone here know what I'm doing wrong or how I can fix this? Thanks, Chirayu. -- View this message in context: http://www.nabble.com/vim-app-%28and-vim%29-with-%2Bpython-fails-on-Leopard-tp19248902p19248902.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From chirayu at chirayuk.com Sun Aug 31 22:44:14 2008 From: chirayu at chirayuk.com (chirayuk) Date: Sun, 31 Aug 2008 22:44:14 -0700 (PDT) Subject: vim-app (and vim) with +python fails on Leopard In-Reply-To: <19248902.post@talk.nabble.com> References: <19248902.post@talk.nabble.com> Message-ID: <19249153.post@talk.nabble.com> In the previous mail, it looks like the configure step for Vim picked up the wrong version of python. I got it to pick up the right version (pasted below). However, the final error messages remain unchanged. checking for python... /opt/local/bin/python checking Python version... 2.5 checking Python is 1.4 or better... yep checking Python's install prefix... /opt/local/Library/Frameworks/Python.framework/Versions/2.5 checking Python's execution prefix... /opt/local/Library/Frameworks/Python.framework/Versions/2.5 checking Python's configuration directory... /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config checking if -pthread should be used... no checking if compile and link flags for Python are sane... yes chirayuk wrote: > > I've been trying rather unsuccessfully to build vim-app or vim. I'm using > Leopard 10.5.1. I removed MacPorts and reinstalled it (using the > instructions form the wiki page.) (Frustrated, I tried installing git so > I > could build from the original source, but alas, git didn't build either.) > > Anyway, here's what it looks like (attached/linked): > > http://www.nabble.com/file/p19248902/VimInstallErrors.txt > VimInstallErrors.txt > > Lines like > > /usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno-common > -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. > -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp > -I/Developer/Headers/FlatCarbon -O > -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 > -o objects/os_macosx.o os_macosx.c > > make me wonder if > -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 > is correct - shouldn't it use the macports version of python25 that it > just > installed (btw, I've tried the port command by first installing python, > then > installing python_select and selecting python25 both with also putting > /opt/local/bin at the beginning of PATH and without, and with explicitly > exporting PREFIX and prefix to /opt/local and without.) > > Does anyone here know what I'm doing wrong or how I can fix this? > > Thanks, > Chirayu. > -- View this message in context: http://www.nabble.com/vim-app-%28and-vim%29-with-%2Bpython-fails-on-Leopard-tp19248902p19249153.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From chirayu at chirayuk.com Sun Aug 31 23:16:17 2008 From: chirayu at chirayuk.com (Chirayu Krishnappa) Date: Sun, 31 Aug 2008 23:16:17 -0700 Subject: vim-app (and vim) with +python fails on Leopard In-Reply-To: <19249153.post@talk.nabble.com> References: <19248902.post@talk.nabble.com> <19249153.post@talk.nabble.com> Message-ID: <1beb650d0808312316o23507e2av46e796d33472b6ec@mail.gmail.com> Couldn't really go to bed without taking another look at it. Turns out the Makefile in vim72/src does not define PYTHON_LIBS. Setting PYTHON_LIBS = -lpython fixed it for me. (I symlinked libpython.dylib to libpython2.5.gylib in /opt/local/lib) -- Chirayu. On Sun, Aug 31, 2008 at 10:44 PM, chirayuk wrote: > > In the previous mail, it looks like the configure step for Vim picked up > the > wrong version of python. I got it to pick up the right version (pasted > below). However, the final error messages remain unchanged. > > checking for python... /opt/local/bin/python > checking Python version... 2.5 > checking Python is 1.4 or better... yep > checking Python's install prefix... > /opt/local/Library/Frameworks/Python.framework/Versions/2.5 > checking Python's execution prefix... > /opt/local/Library/Frameworks/Python.framework/Versions/2.5 > checking Python's configuration directory... > > /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config > checking if -pthread should be used... no > checking if compile and link flags for Python are sane... yes > > > > chirayuk wrote: > > > > I've been trying rather unsuccessfully to build vim-app or vim. I'm > using > > Leopard 10.5.1. I removed MacPorts and reinstalled it (using the > > instructions form the wiki page.) (Frustrated, I tried installing git so > > I > > could build from the original source, but alas, git didn't build either.) > > > > Anyway, here's what it looks like (attached/linked): > > > > http://www.nabble.com/file/p19248902/VimInstallErrors.txt > > VimInstallErrors.txt > > > > Lines like > > > > /usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC > -fno-common > > -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. > > -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp > > -I/Developer/Headers/FlatCarbon -O > > > -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 > > -o objects/os_macosx.o os_macosx.c > > > > make me wonder if > > > -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 > > is correct - shouldn't it use the macports version of python25 that it > > just > > installed (btw, I've tried the port command by first installing python, > > then > > installing python_select and selecting python25 both with also putting > > /opt/local/bin at the beginning of PATH and without, and with explicitly > > exporting PREFIX and prefix to /opt/local and without.) > > > > Does anyone here know what I'm doing wrong or how I can fix this? > > > > Thanks, > > Chirayu. > > > > -- > View this message in context: > http://www.nabble.com/vim-app-%28and-vim%29-with-%2Bpython-fails-on-Leopard-tp19248902p19249153.html > Sent from the MacPorts - Users mailing list archive at Nabble.com. > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080831/847555f9/attachment.html From frstan at bellsouth.net Sun Aug 31 23:32:36 2008 From: frstan at bellsouth.net (William Davis) Date: Mon, 1 Sep 2008 02:32:36 -0400 Subject: vim-app (and vim) with +python fails on Leopard In-Reply-To: <19248902.post@talk.nabble.com> References: <19248902.post@talk.nabble.com> Message-ID: FYI: Im using Leopard 10.5.4 and didnt have a bit of trouble building vim-app and vim. Its a free upgrade. WD On Sep 1, 2008, at 1:01 AM, chirayuk wrote: > > I've been trying rather unsuccessfully to build vim-app or vim. I'm > using > Leopard 10.5.1. I removed MacPorts and reinstalled it (using the > instructions form the wiki page.) (Frustrated, I tried installing > git so I > could build from the original source, but alas, git didn't build > either.) > > Anyway, here's what it looks like (attached/linked): > > http://www.nabble.com/file/p19248902/VimInstallErrors.txt > VimInstallErrors.txt > > Lines like > > /usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno- > common > -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. > -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp > -I/Developer/Headers/FlatCarbon -O > -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/ > python2.5 > -o objects/os_macosx.o os_macosx.c > > make me wonder if > -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/ > python2.5 > is correct - shouldn't it use the macports version of python25 that > it just > installed (btw, I've tried the port command by first installing > python, then > installing python_select and selecting python25 both with also putting > /opt/local/bin at the beginning of PATH and without, and with > explicitly > exporting PREFIX and prefix to /opt/local and without.) > > Does anyone here know what I'm doing wrong or how I can fix this? > > Thanks, > Chirayu. > -- > View this message in context: http://www.nabble.com/vim-app-%28and-vim%29-with-%2Bpython-fails-on-Leopard-tp19248902p19248902.html > Sent from the MacPorts - Users mailing list archive at Nabble.com. > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users William Davis frstanATbellsouthDOTnet Mac OS X.5.4 Darwin 9.4.0 XQuartz 2.3.1 (xorg-server 1.4.2-apple12) Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non From chirayu at chirayuk.com Sun Aug 31 23:40:40 2008 From: chirayu at chirayuk.com (Chirayu Krishnappa) Date: Sun, 31 Aug 2008 23:40:40 -0700 (PDT) Subject: vim-app (and vim) with +python fails on Leopard In-Reply-To: References: <19248902.post@talk.nabble.com> Message-ID: <19249591.post@talk.nabble.com> It didn't work on 10.5.4 for me either (different mac box - don't remember the error.) I'm not in front of it now but I'll post here if it doesn't clean build vim[-app] after I remove and reinstall MacPorts. I suspect this does not have to do with the minor version number of 10.5. Maybe the way I set up both machines (possibly - I installed MacPorts on both before installing the XCode stuff - though that sounds less likely to be the problem). Or maybe it's the current version of the vim & vim-app on MacPorts. It's strange though - because it appears to work fine for other - like yourself. How long ago did you last install vim-app? -- Chirayu. William Davis wrote: > > FYI: Im using Leopard 10.5.4 and didnt have a bit of trouble building > vim-app and vim. Its a free upgrade. > WD > > On Sep 1, 2008, at 1:01 AM, chirayuk wrote: > >> >> I've been trying rather unsuccessfully to build vim-app or vim. I'm >> using >> Leopard 10.5.1. I removed MacPorts and reinstalled it (using the >> instructions form the wiki page.) (Frustrated, I tried installing >> git so I >> could build from the original source, but alas, git didn't build >> either.) >> >> Anyway, here's what it looks like (attached/linked): >> >> http://www.nabble.com/file/p19248902/VimInstallErrors.txt >> VimInstallErrors.txt >> >> Lines like >> >> /usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno- >> common >> -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe -I. >> -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp >> -I/Developer/Headers/FlatCarbon -O >> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/ >> python2.5 >> -o objects/os_macosx.o os_macosx.c >> >> make me wonder if >> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/ >> python2.5 >> is correct - shouldn't it use the macports version of python25 that >> it just >> installed (btw, I've tried the port command by first installing >> python, then >> installing python_select and selecting python25 both with also putting >> /opt/local/bin at the beginning of PATH and without, and with >> explicitly >> exporting PREFIX and prefix to /opt/local and without.) >> >> Does anyone here know what I'm doing wrong or how I can fix this? >> >> Thanks, >> Chirayu. >> -- >> View this message in context: >> http://www.nabble.com/vim-app-%28and-vim%29-with-%2Bpython-fails-on-Leopard-tp19248902p19248902.html >> Sent from the MacPorts - Users mailing list archive at Nabble.com. >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > > > William Davis > frstanATbellsouthDOTnet > Mac OS X.5.4 Darwin 9.4.0 > XQuartz 2.3.1 (xorg-server 1.4.2-apple12) > Mac Mini Intel Duo @ 1.86 GHz > > Mundus vult decepi, ego non > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > -- View this message in context: http://www.nabble.com/vim-app-%28and-vim%29-with-%2Bpython-fails-on-Leopard-tp19248902p19249591.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From frstan at bellsouth.net Sun Aug 31 23:45:56 2008 From: frstan at bellsouth.net (William Davis) Date: Mon, 1 Sep 2008 02:45:56 -0400 Subject: vim-app (and vim) with +python fails on Leopard In-Reply-To: <19249591.post@talk.nabble.com> References: <19248902.post@talk.nabble.com> <19249591.post@talk.nabble.com> Message-ID: <661AD56F-174E-41B6-AE15-37A663700CA9@bellsouth.net> installed some time ago, upgraded last night WD On Sep 1, 2008, at 2:40 AM, Chirayu Krishnappa wrote: > > It didn't work on 10.5.4 for me either (different mac box - don't > remember > the error.) I'm not in front of it now but I'll post here if it > doesn't > clean build vim[-app] after I remove and reinstall MacPorts. I > suspect this > does not have to do with the minor version number of 10.5. Maybe the > way I > set up both machines (possibly - I installed MacPorts on both before > installing the XCode stuff - though that sounds less likely to be the > problem). Or maybe it's the current version of the vim & vim-app on > MacPorts. It's strange though - because it appears to work fine for > other - > like yourself. How long ago did you last install vim-app? > > -- Chirayu. > > > William Davis wrote: >> >> FYI: Im using Leopard 10.5.4 and didnt have a bit of trouble building >> vim-app and vim. Its a free upgrade. >> WD >> >> On Sep 1, 2008, at 1:01 AM, chirayuk wrote: >> >>> >>> I've been trying rather unsuccessfully to build vim-app or vim. I'm >>> using >>> Leopard 10.5.1. I removed MacPorts and reinstalled it (using the >>> instructions form the wiki page.) (Frustrated, I tried installing >>> git so I >>> could build from the original source, but alas, git didn't build >>> either.) >>> >>> Anyway, here's what it looks like (attached/linked): >>> >>> http://www.nabble.com/file/p19248902/VimInstallErrors.txt >>> VimInstallErrors.txt >>> >>> Lines like >>> >>> /usr/bin/gcc-4.0 -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MAC -fno- >>> common >>> -fpascal-strings -Wall -Wno-unknown-pragmas -mdynamic-no-pic -pipe >>> -I. >>> -Iproto -I/opt/local/include -DMACOS_X_UNIX -no-cpp-precomp >>> -I/Developer/Headers/FlatCarbon -O >>> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/ >>> python2.5 >>> -o objects/os_macosx.o os_macosx.c >>> >>> make me wonder if >>> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/ >>> python2.5 >>> is correct - shouldn't it use the macports version of python25 that >>> it just >>> installed (btw, I've tried the port command by first installing >>> python, then >>> installing python_select and selecting python25 both with also >>> putting >>> /opt/local/bin at the beginning of PATH and without, and with >>> explicitly >>> exporting PREFIX and prefix to /opt/local and without.) >>> >>> Does anyone here know what I'm doing wrong or how I can fix this? >>> >>> Thanks, >>> Chirayu. >>> -- >>> View this message in context: >>> http://www.nabble.com/vim-app-%28and-vim%29-with-%2Bpython-fails-on-Leopard-tp19248902p19248902.html >>> Sent from the MacPorts - Users mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> macports-users mailing list >>> macports-users at lists.macosforge.org >>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> >> >> >> William Davis >> frstanATbellsouthDOTnet >> Mac OS X.5.4 Darwin 9.4.0 >> XQuartz 2.3.1 (xorg-server 1.4.2-apple12) >> Mac Mini Intel Duo @ 1.86 GHz >> >> Mundus vult decepi, ego non >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> >> > > -- > View this message in context: http://www.nabble.com/vim-app-%28and-vim%29-with-%2Bpython-fails-on-Leopard-tp19248902p19249591.html > Sent from the MacPorts - Users mailing list archive at Nabble.com. > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users William Davis frstanATbellsouthDOTnet Mac OS X.5.4 Darwin 9.4.0 XQuartz 2.3.1 (xorg-server 1.4.2-apple12) Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non