Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Scott Haneda
I think this is telling: - ERROR: Net::DNS::Resolver::Programmable is not installed - ERROR: Error is not installed - ERROR: NetAddr::IP is not installed - ERROR: version is not installed * Optional prerequisite NetAddr::IP is not installed I can probably find the first, but what is "Error"

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Scott Haneda
Duh, that was a line to test mail:spf:query, which also was not working, I made a port for sys::hostname:long and now, hooray, I have all but one port working... Still stuck on this mail:spf but I am now 99% there on the modules, and may, one day, before I turn 34, get get to work on ASSP p

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Scott Haneda
Funny, OS X has this damn mod built right in, I tested it, and it works, forcing the test on ports perl may be telling: /opt/local/bin/perl -MMail::SPF::Query -le 'print for Mail::SPF::Query- >new( \ helo => shift, ipv4 => shift, sender => shift)- >result' \

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Scott Haneda
On Jan 23, 2009, at 1:29 PM, Bryan Blackburn wrote: The Mail::SPF Build.PL file has: install_path=> { 'sbin' => '/usr/sbin' }, so it sounds like it needs to be patched to install into the proper location. The following should do it: post-extract { reinplace "s|/us

Re: Boost in MacPorts Issue

2009-01-23 Thread Rainer Müller
Gundala Viswanath wrote: > I have sucessfully installed Boost via MacPorts. > However there are several issues after that. > > 1. My code can't recognize the location of Boost during compilation. >Although it exist here: > > ./opt/local/include/boost/lexical_cast.hpp > ./opt/local/var/macport

Re: Error after trying to upgrade installed

2009-01-23 Thread Rainer Müller
Bryan Blackburn wrote: > Personally, I'd like to see direct mode deprecated, and when 10.3 support is > officially dropped, it can be removed entirely. Other than the old > performance issues with the large number of hardlinks, I don't see any > advantage to using direct over image mode. Are ther

Boost in MacPorts Issue

2009-01-23 Thread Gundala Viswanath
Hi all, I have sucessfully installed Boost via MacPorts. However there are several issues after that. 1. My code can't recognize the location of Boost during compilation. Although it exist here: ./opt/local/include/boost/lexical_cast.hpp ./opt/local/var/macports/software/boost/1.37.0_0+darwin

Re: Error after trying to upgrade installed

2009-01-23 Thread Bryan Blackburn
On Fri, Jan 23, 2009 at 04:39:54PM -0500, Daniel J. Luke said: > On Jan 23, 2009, at 4:15 PM, Bryan Blackburn wrote: >>> For the list archives, this was fixed (in 10.4, IIRC). >> >> Personally, I'd like to see direct mode deprecated, and when 10.3 >> support is >> officially dropped, it can be re

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Scott Haneda
On Jan 23, 2009, at 1:29 PM, Bryan Blackburn wrote: On Sat, Jan 24, 2009 at 08:19:51AM +1100, Joshua Root said: Scott Haneda wrote: port contents p5-mail-spf | grep -v opt Port p5-mail-spf contains: /usr/sbin/spfd So, how does not resolve this? And I thought ports expressly prevented this

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Scott Haneda
On Jan 23, 2009, at 1:19 PM, Joshua Root wrote: Scott Haneda wrote: port contents p5-mail-spf | grep -v opt Port p5-mail-spf contains: /usr/sbin/spfd So, how does not resolve this? And I thought ports expressly prevented this, or is this just the port makers job to prevent it? Since port

Re: Error after trying to upgrade installed

2009-01-23 Thread Daniel J. Luke
On Jan 23, 2009, at 4:15 PM, Bryan Blackburn wrote: For the list archives, this was fixed (in 10.4, IIRC). Personally, I'd like to see direct mode deprecated, and when 10.3 support is officially dropped, it can be removed entirely. Other than the old performance issues with the large number

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Bryan Blackburn
On Sat, Jan 24, 2009 at 08:19:51AM +1100, Joshua Root said: > Scott Haneda wrote: > > port contents p5-mail-spf | grep -v opt > > Port p5-mail-spf contains: > > /usr/sbin/spfd > > > > So, how does not resolve this? And I thought ports expressly prevented > > this, or is this just the port maker

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Joshua Root
Scott Haneda wrote: > port contents p5-mail-spf | grep -v opt > Port p5-mail-spf contains: > /usr/sbin/spfd > > So, how does not resolve this? And I thought ports expressly prevented > this, or is this just the port makers job to prevent it? Since ports > noticed it, I would think it would hav

Re: Error after trying to upgrade installed

2009-01-23 Thread Bryan Blackburn
On Fri, Jan 23, 2009 at 09:34:09AM -0500, Daniel J. Luke said: > On Jan 23, 2009, at 8:35 AM, robert delius royar wrote: >>> Direct mode is certainly less well tested than image mode. I've never >>> used it. Is there a particular reason why you are using it? >> >> I began using Darwinports very so

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Scott Haneda
On Jan 23, 2009, at 3:43 AM, Joshua Root wrote: Scott Haneda wrote: Looking back over the install log: Warning: violation by /usr Warning: p5-mail-spf violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in f

Re: Difference between uninstalled and deactivated ?

2009-01-23 Thread Chris Jones
Hi, I've just noticed something the perhaps someone can explain to me. Whenever I run 'sudo port upgrade outpdated', and a port gets upgraded, the old port is first deactivated before the new one is installed and activated. But the old port is never uninstalled ? What does this mean ? Doe

Re: Difference between uninstalled and deactivated ?

2009-01-23 Thread Joshua Root
Chris Jones wrote: > Hi, > > I've just noticed something the perhaps someone can explain to me. > Whenever I run 'sudo port upgrade outpdated', and a port gets upgraded, > the old port is first deactivated before the new one is installed and > activated. But the old port is never uninstalled ? Wha

Re: Problems using PHP and CURL

2009-01-23 Thread Craig Hoffman
Follow-up - Adding this line to my script seemed to fix it: curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); Problem resolved. Thank you for everybody's suggestions and help. ___ Craig Hoffman iChat / AIM: mountain.dog ___ On Jan 23, 2009, at 6:54 AM, Cr

Difference between uninstalled and deactivated ?

2009-01-23 Thread Chris Jones
Hi, I've just noticed something the perhaps someone can explain to me. Whenever I run 'sudo port upgrade outpdated', and a port gets upgraded, the old port is first deactivated before the new one is installed and activated. But the old port is never uninstalled ? What does this mean ? Doe

Re: Postfix and cyrus in Macports bind to different saslauthd

2009-01-23 Thread markd
>Hi there, >I am experimenting an extrange behaviour with saslauthd daemons. >Macports port of Postfix seems to need Apple's builtin saslauthd daemon >but >Macports port of Cyrus needs macports version of saslauthd. >I guess this is not normal... I don't mind using any of the versions of >saslauthd

Re: Installation problems with Expect

2009-01-23 Thread markd
>> I am having the same problem, reported all over the web, with Macport >> installation of the program >> Expect, apparently because of a problem recognizing the current version >> of Tcl. Does someone >> have a work-around? Thanks. Joe Goddard > >This ticket is (unfortunately) still the current

Re: Problems using PHP and CURL

2009-01-23 Thread Harry van der Wolf
Sorry. Should have mentioned that too. Macports /opt/local/bin/curl -V curl 7.18.2 (i386-apple-darwin9.4.0) libcurl/7.18.2 zlib/1.2.3 Protocols: tftp ftp telnet dict http file Features: Largefile libz MacOSX /usr/bin/curl -V curl 7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib

Re: Scribe From Facebook

2009-01-23 Thread Ross Walker
On Fri, Jan 23, 2009 at 12:07 PM, Kiran Mudiam wrote: > Has any one had success with compiling Scribe for Mac OS X. > > I wish there was a macport for this. How does one go about doing this. > > I got the sources and tried compiling and have some dependecy errors. > I have installed all the preeqs

Re: Problems using PHP and CURL

2009-01-23 Thread Craig Hoffman
Please check which curl version is used. curl is part of MacOsx and resides in /usr/bin/curl. capital:~ $ /opt/local/bin/curl -V curl 7.19.3 (i386-apple-darwin9.6.0) libcurl/7.19.3 OpenSSL/0.9.8j zlib/1.2.3 Protocols: tftp ftp telnet dict ldap http file https ftps Features: IPv6 Largefi

Re: Problems using PHP and CURL

2009-01-23 Thread Harry van der Wolf
Please check which curl version is used. curl is part of MacOsx and resides in /usr/bin/curl. Macports curl is in /opt/local/bin. If I compare them I see that they are not equally compiled with equal dependencies on my system (10.5.6). Normally when macports is installed it places /opt/local/bin a

Re: Problems using PHP and CURL

2009-01-23 Thread Craig Hoffman
Ok this strange - When I put this URL (https://test.authorize.net/gateway/transact.dll) in your CURL example, you get this response: The following errors have occurred. (13) The merchant login ID or password is invalid or the account is inactive. But when running MacPorts PHP it returns bla

Scribe From Facebook

2009-01-23 Thread Kiran Mudiam
Has any one had success with compiling Scribe for Mac OS X. I wish there was a macport for this. How does one go about doing this. I got the sources and tried compiling and have some dependecy errors. I have installed all the preeqs like libevent, thrift, boost and fb303 etc. /usr/bin/ar c

Re: Problems using PHP and CURL

2009-01-23 Thread Craig Hoffman
what does the following PHP example do? I get this: You have reached this web page by typing "example.com", "example.net", or "example.org" into your web browser. These domain names are reserved for use in documentation and are not available for registration. See RFC 2606, Section 3. Ok, I

Re: Problems using PHP and CURL

2009-01-23 Thread Chris Janton
On 2009-01-23 , at 08:57 , Craig Hoffman wrote: Thanks for responding. I pasted a code snippet below. Basically it sends an array to Authorize.Net for processing. Authorize.Net responds with transaction details (approved, declined, wrong address, etc...). When CURL is working, using Li

Re: Problems using PHP and CURL

2009-01-23 Thread Craig Hoffman
Hi Chris - Thanks for responding. I pasted a code snippet below. Basically it sends an array to Authorize.Net for processing. Authorize.Net responds with transaction details (approved, declined, wrong address, etc...). When CURL is working, using Liyanage PHP I get this response: Sent:

Re: Universal Binaries

2009-01-23 Thread timlee
Thanks for the tip! Has anyone tried this? Success/failure stories? Joshua Root wrote: > Timothy Lee wrote: > > Hey Joshua- > > > > Thanks for the reply. > > Do you know if its possible for me (on leopard) to build x86 code (all > > my macports ports) that will also run on Tiger? > > Sho

Re: Error after trying to upgrade installed

2009-01-23 Thread Daniel J. Luke
On Jan 23, 2009, at 8:35 AM, robert delius royar wrote: Direct mode is certainly less well tested than image mode. I've never used it. Is there a particular reason why you are using it? I began using Darwinports very soon after DP was created. When Image mode was added, a few of us (perhaps

Re: p5 modules, get me started on one

2009-01-23 Thread Daniel J. Luke
On Jan 23, 2009, at 3:31 AM, Scott Haneda wrote: And I think I am a good case in which that sort of failed me. I needed Net::SMTP, but to me, as a user, it was not there. I tried port list p5-net-smtp, and nothing. There are generally two kinds of users who need a specific perl module: 1 -

Re: Universal Binaries

2009-01-23 Thread Harry van der Wolf
Hi, I've setup my MacPorts 1.7 to always build universal (does not always work and sometimes needs a manual change of the Portfile). To do this I configured in the "macports.conf" the following: # Options for Universal Binaries (+universal variant) # MACOSX_DEPLOYMENT_TARGET universal_target

Problems using PHP and CURL

2009-01-23 Thread Craig Hoffman
Ok, here it goes. I'll try to explain this the best I can. A few days ago I started using MacPorts to replace Marc Lynage's PHP package. Everything installed and worked without a hitch (PHP, Apache2, MySQL, CURL, Etc...). Yesterday, while working on a PHP CURL script, I noticed CURL is

Re: Error after trying to upgrade installed

2009-01-23 Thread robert delius royar
Fri, 23 Jan 2009 (06:27 -0600 UTC) Ryan Schmidt wrote: On Jan 19, 2009, at 07:37, robert delius royar wrote: So much traffic on this thread, so much time spent answering questions. But I do not recall any of the answerers trying port provides /opt/local/lib/libintl.dylib Sorry; I thought it

Re: Universal Binaries

2009-01-23 Thread Joshua Root
Timothy Lee wrote: > Hey Joshua- > > Thanks for the reply. > Do you know if its possible for me (on leopard) to build x86 code (all > my macports ports) that will also run on Tiger? > Short of physical access to an intel 10.4 install, is there anything I > can do? Don't forget to use Reply All so

Re: Error after trying to upgrade installed

2009-01-23 Thread Joshua Root
Ryan Schmidt wrote: > "Actually it surprises me that MacPorts base is shelling out to an ln > command at all; why aren't we using the [file link] Tcl command?" What seems even stranger to me is that it's the *de*activate phase that's failing, which appears to only use 'file delete'. - Josh __

Re: Error after trying to upgrade installed

2009-01-23 Thread Ryan Schmidt
On Jan 19, 2009, at 07:37, robert delius royar wrote: So much traffic on this thread, so much time spent answering questions. But I do not recall any of the answerers trying port provides /opt/local/lib/libintl.dylib Sorry; I thought it was already understood that libintl is the internatio

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Joshua Root
Scott Haneda wrote: > Looking back over the install log: > > Warning: violation by /usr > Warning: p5-mail-spf violates the layout of the ports-filesystems! > Warning: Please fix or indicate this misbehavior (if it is intended), it > will be an error in future releases! > ---> Installing p5-mail-

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Scott Haneda
Looking back over the install log: Warning: violation by /usr Warning: p5-mail-spf violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! ---> Installing p5-mail-spf @v2.006_0 I did some quic

Re: ASSP port testing, not getting all perl mods to work

2009-01-23 Thread Scott Haneda
Turns out this is not ASSP, or env vars at all. I distilled it down to a simple test... #!/opt/local/bin/perl -- use strict; our $AvailSPF2 = eval("use Mail::SPF; 1"); if ($AvailSPF2) { print "true\n"; my $ver = eval('Mail::SPF->VERSION'); print $ver } else {

Re: p5 modules, get me started on one

2009-01-23 Thread Joshua Root
Scott Haneda wrote: > I would really like to know the history of why I can not `port install > foo::bar::baz if even only an internal remap to use the standard :: > notation. Is this a tcl collision of some sort? There isn't really any history. MacPorts is not CPAN, so nobody ever considered allo

Re: Universal Binaries

2009-01-23 Thread Joshua Root
Ryan Schmidt wrote: > > On Jan 22, 2009, at 21:59, Timothy Lee wrote: > >> I just compile 1.7.0 from source and my macports.conf universal_target >> has a 10.4 next to it. However, when I compile on my Leopard machine, >> I see DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'. >> >> I thought

Re: p5 modules, get me started on one

2009-01-23 Thread Scott Haneda
On Jan 22, 2009, at 5:15 PM, Ryan Schmidt wrote: On Jan 21, 2009, at 05:00, Scott Haneda wrote: List it in the port description? Will that get searched? How do I even get a list of what is in these packages from the CPAN site? Seems an ok way to deal with it, not ideal to me though. I am