Re: libxml2 woes (PHP5 and friends)
On Dec 26, 2008, at 21:06, Thomas Foutz wrote: I have been bugged by this for a while. I currently have php5 5.2.8 installed on my tiger system. How could i go about implementing this fix you mentioned? Hi Thomas. I'm afraid I don't know of any fix at this time. Chris Janton mentioned in his last message that things now worked for him, but I didn't understand why. The PHP bug on this issue mentions that the next version of libxml2 will include a fix for this issue: http://bugs.php.net/bug.php?id=45996 So, we wait for that release to occur. Or if someone can figure out where their source code is repository and if they have already checked in a fix then perhaps we can apply it to the libxml2 port now already. I'm copying this message back to the macports-users mailing list where the thread originated. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: libxml2 woes (PHP5 and friends)
On Sun, Dec 28, 2008 at 03:01:25AM -0600, Ryan Schmidt said: On Dec 26, 2008, at 21:06, Thomas Foutz wrote: I have been bugged by this for a while. I currently have php5 5.2.8 installed on my tiger system. How could i go about implementing this fix you mentioned? Hi Thomas. I'm afraid I don't know of any fix at this time. Chris Janton mentioned in his last message that things now worked for him, but I didn't understand why. The PHP bug on this issue mentions that the next version of libxml2 will include a fix for this issue: http://bugs.php.net/bug.php?id=45996 So, we wait for that release to occur. Or if someone can figure out where their source code is repository and if they have already checked in a fix then perhaps we can apply it to the libxml2 port now already. Possibly this: http://mail.gnome.org/archives/xml/2008-December/msg00041.html Bryan [...] ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: libxml2 woes (PHP5 and friends)
On 2008-12-28 , at 02:01 , Ryan Schmidt wrote: Hi Thomas. I'm afraid I don't know of any fix at this time. Chris Janton mentioned in his last message that things now worked for him, but I didn't understand why. On my 10.5 system things are working well. On my 10.3 system, not so well. The fix happened when this change was applied http://trac.macports.org/changeset/43388 As far as I understand it we need to tell PHP to use expat as opposed to defaulting to using libxml2 for parsing. Somewhere in mid-2008 this configuration option for PHP --with-expat-dir=${prefix} needed to be changed to this configuration option --with-libexpat-dir=${prefix} that causes PHP to use expat instead of libxml2, so the old behavior returned. The renaming of the configure option for PHP 5.1 or later was noted at http://bugs.php.net/bug.php?id=34221 back in August, 2005. 8) -- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Strange MPlayer error after successful install
On Tue, Dec 23, 2008 at 4:13 PM, Ryan Schmidt ryandes...@macports.org wrote: Mhm... I see samba3 does install the weirdly-named ${prefix}/lib/samba3/libsmbclient.dylib.0 I rebuilt MPlayer and it still doesn't seem to link with libsmbclient, based on the (lack of any) output from: port contents MPlayer | sed 1d | xargs grep smbclient [~]$ port contents MPlayer | sed 1d | xargs grep smbclient Binary file /opt/local/bin/mencoder matches Binary file /opt/local/bin/mplayer matches I guess in the interest of full disclosure, I don't have a plain vanilla version of mplayer installed. [~]$ port installed mplayer The following ports are currently installed: MPlayer @1.0rc2_2+aa+binary_codecs+caca+dts+dv+faac+fribidi+macosx+osd+sdl+smb+speex+theora+twolame+x264+xvid (active) I didn't think this was important but it clearly has introduced some ambiguity into the discussion. I'm thinking that the smb variant might be what's causing this? -- In Christ, Timmy V. http://burningones.com/ http://five.sentenc.es/ - Spend less time on e-mail ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Strange MPlayer error after successful install
On Sun, Dec 28, 2008 at 12:22 PM, Tim Visher tim.vis...@gmail.com wrote: I'm thinking that the smb variant might be what's causing this? I just finished reinstalling sans-+smb and I can now run mplayer. So I think this is a confirmed source of the error I was getting. What would this cause said failure though? I'd like the smb variant if I can get it. Thanks in advance! -- In Christ, Timmy V. http://burningones.com/ http://five.sentenc.es/ - Spend less time on e-mail ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
MacPorts Fail to Install Package/Port
Dear all, I tried to install any port using MacPorts, using the following command: gundalas-macbook-pro:~ gundala$ sudo port install gnuplot However it give such error: Error: Target org.macports.fetch returned: couldn't read file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/fetch/mirror_sites.tcl: no such file or directory Error: The following dependencies failed to build: aquaterm expat fontconfig freetype zlib libiconv gd2 jpeg libpng ncurses ncursesw pdflib readline Error: Status 1 encountered during processing. How can I resolve the problem? - Gundala Viswanath Jakarta - Indonesia ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: MacPorts Fail to Install Package/Port
Gundala Viswanath wrote: Error: Target org.macports.fetch returned: couldn't read file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/fetch/mirror_sites.tcl: no such file or directory Error: The following dependencies failed to build: aquaterm expat fontconfig freetype zlib libiconv gd2 jpeg libpng ncurses ncursesw pdflib readline Error: Status 1 encountered during processing. How can I resolve the problem? Looks like you installed MacPorts 1.7.0, but you have not synced your tree. Just run 'sudo port selfupdate' to get the latest set of Portfiles. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: MacPorts Fail to Install Package/Port
Hi Rainer, Even my 'selfupdate' has problem: gundalas-macbook-pro:~ ewijaya$ sudo port selfupdate Error: Synchronization of the local ports tree failed doing rsync Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed Is there a way I can solve this? - Gundala Viswanath Jakarta - Indonesia On Mon, Dec 29, 2008 at 4:31 AM, Rainer Müller rai...@macports.org wrote: Gundala Viswanath wrote: Error: Target org.macports.fetch returned: couldn't read file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/fetch/mirror_sites.tcl: no such file or directory Error: The following dependencies failed to build: aquaterm expat fontconfig freetype zlib libiconv gd2 jpeg libpng ncurses ncursesw pdflib readline Error: Status 1 encountered during processing. How can I resolve the problem? Looks like you installed MacPorts 1.7.0, but you have not synced your tree. Just run 'sudo port selfupdate' to get the latest set of Portfiles. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: MacPorts Fail to Install Package/Port
Gundala Viswanath wrote: Even my 'selfupdate' has problem: gundalas-macbook-pro:~ ewijaya$ sudo port selfupdate Error: Synchronization of the local ports tree failed doing rsync Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed That seems like there is a network issue, e.g. rsync is blocked. You can run 'sudo port -v selfupdate' (or even -d) for more details. If rsync is blocked by your company or ISP for whatever reason, either convince your administrator that rsync isn't harmful and there is no reason to block it - or use alternatives provided over HTTP. Please see these HOWTOs: * http://trac.macports.org/wiki/howto/PortTreeTarball * http://trac.macports.org/wiki/howto/SyncingWithSVN Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
MacPorts Fail to Install GD2
Dear all, In the process of installing gnuplot, it needs gd2. However when I tried to install gd2 it gives the following error: gundalas-macbook-pro:~ gundalas$ sudo port -v install gd2 --- Building gd2 make all-recursive Making all in config make[2]: Nothing to be done for `all'. Making all in test make[2]: Nothing to be done for `all'. /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -O2 -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c -o gd.lo gd.c ./libtool: line 838: X--tag=CC: command not found ./libtool: line 871: libtool: ignoring unknown tag : command not found ./libtool: line 838: X--mode=compile: command not found ./libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1005: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1035: libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0': No such file or directory ./libtool: line 7122: libtool: you must specify a MODE: command not found ./libtool: line 7123: Try `libtool --help' for more information.: command not found make[2]: *** [gd.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35 make all returned error 2 Command output: make all-recursive Making all in config make[2]: Nothing to be done for `all'. Making all in test make[2]: Nothing to be done for `all'. /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/usr/X11/include -O2 -MT gd.lo -MD -MP -MF .deps/gd.Tpo -c -o gd.lo gd.c ./libtool: line 838: X--tag=CC: command not found ./libtool: line 871: libtool: ignoring unknown tag : command not found ./libtool: line 838: X--mode=compile: command not found ./libtool: line 1004: *** Warning: inferring the mode of operation is deprecated.: command not found ./libtool: line 1005: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ./libtool: line 1035: libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0': No such file or directory ./libtool: line 7122: libtool: you must specify a MODE: command not found ./libtool: line 7123: Try `libtool --help' for more information.: command not found make[2]: *** [gd.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for gd2): org.macports.activate org.macports.build org.macports.destroot org.macports.install Is there a way I can fix this? Error: Status 1 encountered during processing. - Gundala Viswanath Jakarta - Indonesia ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: MacPorts Fail to Install GD2
On Dec 28, 2008, at 1:33 PM, Gundala Viswanath wrote: In the process of installing gnuplot, it needs gd2. However when I tried to install gd2 it gives the following error: [snip] Is there a way I can fix this? I just opened a ticket about this problem: http://trac.macports.org/ticket/17808 Cheers! Frank ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Perl 5.8.8 already present on Leopard; can I make a dummy Portfile?
There's one fairly significant oversight with respect to doing this with perl. Modules. Having multiple instances of the same version of perl5 that are built with different @INC is a complete mess. At the very least, port should configure itself to (or ask if it should) use the same configuration as the existing perl installation. -- View this message in context: http://www.nabble.com/Perl-5.8.8-already-present-on-Leopard--can-I-make-a-%22dummy%22-Portfile--tp14919531p21156946.html Sent from the MacPorts - Users mailing list archive at Nabble.com. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Newbie - Keeping a macport installation clean
Hi Everyone, after a couple of year using Gentoo Linux, I moved to Mac OS and was very happy to discover Macport. I have been playing around with it since a couple of days, installing and removing quite some stuff. I was now wondering if there was a way to keep the macport installation clean. I could not find advices on this topic in the doc; sorry if i missed it. What I'm looking for is the equivalent of the Gentoo emerge depclean and revdep-rebuild commands; the idea is that the installation of package 1 also installs package 2 and package 3 as dependencies. Removing package 1 afterward would keep the packages 2 and 3 installed where there are no longer necessary. The emerge depclean command would remove the packages 2 and 3. This could however break some other package 4 that would depend on package 3 for instance. Revdep-rebuild would find this and re-install package 3. Is there a way to achieve the equivalent with macport? Many thanks for the help and for making macport, Thomas ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Error message when nothing to upgrade?
Hello, When I ran sudo port upgrade outdated, I got the following message: Error: No ports found Is this message because no ports needed upgrading or is it because the command could find no ports? If this message is a result of the former, then I think the wrong message is being displayed. Frank ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Error message when nothing to upgrade?
On Dec 28, 2008, at 5:12 PM, Frank J. R. Hanstick wrote: Hello, When I ran sudo port upgrade outdated, I got the following message: Error: No ports found Is this message because no ports needed upgrading or is it because the command could find no ports? If this message is a result of the former, then I think the wrong message is being displayed. Frank ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users Do: sudo port -d selfupdate William Davis frstanATbellsouthDOTnet Mac OS X.5.6 Darwin 9.5.0 XQuartz 2.3.2_rc4 (xorg-server 1.4.2-apple28) Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Newbie - Keeping a macport installation clean
Thomas Gommes wrote: Is there a way to achieve the equivalent with macport? Unfortunately, there is no such way. MacPorts does not track if you installed a port as a dependency or if you requested it to be installed. * http://trac.macports.org/ticket/15260 There is also currently nothing to scan for broken packages and rebuild them, except rebuild all dependent ports using 'port -R upgrade'. * http://trac.macports.org/ticket/17473 If you want to bring your ideas in, feel free to tell them (better being discussed on macports-dev). Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Error message when nothing to upgrade?
Frank J. R. Hanstick wrote: Hello, When I ran sudo port upgrade outdated, I got the following message: Error: No ports found Is this message because no ports needed upgrading or is it because the command could find no ports? If this message is a result of the former, then I think the wrong message is being displayed. This means there are no ports that need upgrading. This has already been improved in 1.7.0, as this is now a general message you see any time the a list of ports could not be expanded to any ports. I think it is some kind of error, although I understand that you don't consider it an error when there is nothing to upgrade. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Strange MPlayer error after successful install
On Dec 28, 2008, at 12:20, Tim Visher wrote: On Sun, Dec 28, 2008 at 12:22 PM, Tim Visher wrote: I'm thinking that the smb variant might be what's causing this? I just finished reinstalling sans-+smb and I can now run mplayer. So I think this is a confirmed source of the error I was getting. What would this cause said failure though? I'd like the smb variant if I can get it. I can confirm it too. I even got a crash during the build: 2008-12-28 16:41:45 -0600 Link (dyld) error: Library not loaded: bin/libsmbclient.dylib.0 Referenced from: /tmp/mplayer-conf-21768-20833 Reason: image not found I'd recommend you file a bug report in our issue tracker for this problem. I'm not clear whether the problem is with MPlayer or samba3 so you'd better send the ticket to both maintainers. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Error message when nothing to upgrade?
Hello, Is replacing older versions with newer versions expanding the list of ports? Personally, I would prefer everything current, nothing to upgrade. That seems to me a less confusing response. Frank On Dec 28, 2008, at 2:36 PM, Rainer Müller wrote: Frank J. R. Hanstick wrote: Hello, When I ran sudo port upgrade outdated, I got the following message: Error: No ports found Is this message because no ports needed upgrading or is it because the command could find no ports? If this message is a result of the former, then I think the wrong message is being displayed. This means there are no ports that need upgrading. This has already been improved in 1.7.0, as this is now a general message you see any time the a list of ports could not be expanded to any ports. I think it is some kind of error, although I understand that you don't consider it an error when there is nothing to upgrade. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
New Mirror in Sweden
The MacPorts project has a new mirror for both distfiles and portfiles in Stockholm, Sweden. The distfile mirror will get used automatically when it is faster for you, but the portfile mirror is set in your sources.conf. See the wiki for more details. http://trac.macports.org/wiki/Mirrors Thanks -Bill smime.p7s Description: S/MIME cryptographic signature ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Perl 5.8.8 already present on Leopard; can I make a dummy Portfile?
On Dec 28, 2008, at 4:28 PM, nicerobot wrote: There's one fairly significant oversight nope, it's a considered design decision. with respect to doing this with perl. Modules. Having multiple instances of the same version of perl5 that are built with different @INC is a complete mess. At the very least, port should configure itself to (or ask if it should) use the same configuration as the existing perl installation. This would probably be a bad idea. See also: http://trac.macports.org/wiki/FAQ#WillMacPortslinktosystemlibrariesratherthanitsown -- Daniel J. Luke ++ | * dl...@geeklair.net * | | *-- http://www.geeklair.net -* | ++ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | ++ PGP.sig Description: This is a digitally signed message part ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Perl 5.8.8 already present on Leopard; can I make a dummy Portfile?
I fully understand the design decision. My point is that the decision is flawed because it's too inflexible. Macports should be more versatile with respect to perl because perl modules aren't generally treated the same as binary libraries (i.e. the FAQ link you referenced isn't completely applicable to perl modules). It's completely acceptable and understandable for macports to provide it's own version(s) of perl and even to require a set of modules. There's just absolutely no reason whatsoever that macport's version of perl can't, for those that decide to do so, share/combine the @INC with the OS's perl's @INC, especially when the two builds of perl are identical versions. To deny this request essentially forces users that have a significant investment in the OS's perl to either spend the time getting macports into the same state and switching to macports' perl or having to decide which perl to use for certain situations and not be able to just rely on the $PATH. Either way, it's not a user-friendly approach. Maybe i'm wrong but i thought macports was about providing solution, not creating hurdles. Daniel J. Luke wrote: On Dec 28, 2008, at 4:28 PM, nicerobot wrote: There's one fairly significant oversight nope, it's a considered design decision. with respect to doing this with perl. Modules. Having multiple instances of the same version of perl5 that are built with different @INC is a complete mess. At the very least, port should configure itself to (or ask if it should) use the same configuration as the existing perl installation. This would probably be a bad idea. See also: http://trac.macports.org/wiki/FAQ#WillMacPortslinktosystemlibrariesratherthanitsown -- Daniel J. Luke ++ | * dl...@geeklair.net * | | *-- http://www.geeklair.net -* | ++ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | ++ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- View this message in context: http://www.nabble.com/Perl-5.8.8-already-present-on-Leopard--can-I-make-a-%22dummy%22-Portfile--tp14919531p21199592.html Sent from the MacPorts - Users mailing list archive at Nabble.com. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Fwd: Perl 5.8.8 already present on Leopard; can I make a dummy Portfile?
On Sun, Dec 28, 2008 at 10:45 PM, nicerobot com.nab...@nicerobot.orgwrote: To deny this request essentially forces users that have a significant investment in the OS's perl to either spend the time getting macports into the same state and switching to macports' perl True, but... 1. ...it's a one-off. 2. ...I find it preferable to customize MacPort's Perl anyways (not that I really have, but if I was going to...) because it's easier to wipe out the MacPorts installation than it is to wipe out the OS' installation, and by leaving the OS' installation pristine, I'm (more or less) guaranteed it will be in the expected state for third-party apps. 3. ...how hard is it to duplicate your OS Perl customizations on the MacPort's installation? Exactly how much customizing are we dealing with? or having to decide which perl to use for certain situations and not be able to just rely on the $PATH. Why can't you use the $PATH? /opt/local/bin at the end - system perl /opt/local/bin at the start - macports perl Maybe i'm wrong but i thought macports was about providing solution, not creating hurdles. Not helping. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users