apr-util-1.3.4: checksum error when trying to install

2009-06-25 Thread Panu Korpela

Hi!

I tried to install subversion port and it requires apr-util-1.3.4.  
However the latter one refuses to install:


---  Verifying checksum(s) for apr-util
Error: Checksum (md5) mismatch for apr-util-1.3.4.tar.bz2
Error: Checksum (sha1) mismatch for apr-util-1.3.4.tar.bz2
Error: Checksum (rmd160) mismatch for apr-util-1.3.4.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file  
checksums

Error: The following dependencies failed to build: apr-util serf
Error: Status 1 encountered during processing.

Br,
 Mr Panu Korpela

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: MacPorts and x86_64?

2009-06-25 Thread Michael Crawford
It's likely that some software either won't build as 64-bit, or if it
builds it won't work right.

It's not in MacPorts (yet), but ZooLib won't build as 64-bit, because
it has a header file that sets up macros to identity the target
platform and processor, and we just haven't implemented 64-bit builds
yet.  I don't think the code itself would have any problems with
64-bit, bit if you try to compile it that way, the header gives you a
#error.

(http://www.zoolib.org/)

If there are any such programs in MacPorts, you'll need to identify
them and restrict their builds to 32-bit until they can be updated.

(I would be happy to maintain a ZooLib port for MacPorts, but not quite yet.)

Mike
-- 
Michael David Crawford
mdcrawford at gmail dot com

   GoingWare's Bag of Programming Tricks
  http://www.goingware.com/tips/
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


PHP upgrade to v5.2.10

2009-06-25 Thread Peter Oakley
Last night I was upgrading my web server to PHP v5.2.10 (from v5.2.8)  
and everything seemed to go ok, no warnings or major gotchas. But  
once I began using it, I could see there were some real problems with  
the time() and date() functions. It's possible that I'm just using  
these two functions in ways that are either wrong (but have up to now  
served to accomplish the task I was seeking to do) or are no longer  
allowed, for security reasons, in which case I will need to develop a  
work-around. Or something is going wrong with the update. I'm writing  
to this list to see if anyone else has experienced this same problem,  
or if you all might have some ideas as to what's going on here.


Some additional info: I am running PHP on a Dual G4 PPC Mac, Apache  
(that comes with Mac OS X, not Apache 2), and MySQL from MacPorts.



   - Pete O



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: PHP upgrade to v5.2.10

2009-06-25 Thread Bradley Giesbrecht


On Jun 25, 2009, at 7:09 AM, Peter Oakley wrote:

Last night I was upgrading my web server to PHP v5.2.10 (from  
v5.2.8) and everything seemed to go ok, no warnings or major  
gotchas. But once I began using it, I could see there were some real  
problems with the time() and date() functions. It's possible that  
I'm just using these two functions in ways that are either wrong  
(but have up to now served to accomplish the task I was seeking to  
do) or are no longer allowed, for security reasons, in which case I  
will need to develop a work-around. Or something is going wrong with  
the update. I'm writing to this list to see if anyone else has  
experienced this same problem, or if you all might have some ideas  
as to what's going on here.


Give an example of your usage of time() and date(), what you expect  
and what you are getting.


// Brad
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: apr-util-1.3.4: checksum error when trying to install

2009-06-25 Thread Frank Schima


On Jun 25, 2009, at 2:41 AM, Panu Korpela wrote:


I tried to install subversion port and it requires apr-util-1.3.4.
However the latter one refuses to install:

---  Verifying checksum(s) for apr-util
Error: Checksum (md5) mismatch for apr-util-1.3.4.tar.bz2
Error: Checksum (sha1) mismatch for apr-util-1.3.4.tar.bz2
Error: Checksum (rmd160) mismatch for apr-util-1.3.4.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file
checksums
Error: The following dependencies failed to build: apr-util serf
Error: Status 1 encountered during processing.


You need to update your ports tree, the current version of apr-util is  
1.3.7.


sudo port selfupdate
sudo port install subversion


Cheers!
Frank

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: PHP upgrade to v5.2.10

2009-06-25 Thread Peter Oakley

Here is an example usage of the date() and time() functions:

snippetStart - - - - - -

$timestamp = time();
//echo $timestamp;
$thisYear = date('Y', $timestamp);
echo $thisYear;

- - - - - - snippetEnd

After the PHP upgrade to v5.2.10, this yields  for $thisYear.  
Prior to the upgrade, $thisYear would be set to 2009. I also tried  
using the time function directly within the date function: $thisYear  
= date('Y', time()); Same result.


One other possibly important detail: I've installed a variant: php5  
+apache +macosx +mysql5 +t1lib


   - Pete O



On Jun 25, 2009, at 10:12 AM, Bradley Giesbrecht wrote:



On Jun 25, 2009, at 7:09 AM, Peter Oakley wrote:

Last night I was upgrading my web server to PHP v5.2.10 (from  
v5.2.8) and everything seemed to go ok, no warnings or major  
gotchas. But once I began using it, I could see there were some  
real problems with the time() and date() functions. It's possible  
that I'm just using these two functions in ways that are either  
wrong (but have up to now served to accomplish the task I was  
seeking to do) or are no longer allowed, for security reasons, in  
which case I will need to develop a work-around. Or something is  
going wrong with the update. I'm writing to this list to see if  
anyone else has experienced this same problem, or if you all might  
have some ideas as to what's going on here.


Give an example of your usage of time() and date(), what you expect  
and what you are getting.


// Brad


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: PHP upgrade to v5.2.10

2009-06-25 Thread David Evans

Peter Oakley wrote:

Here is an example usage of the date() and time() functions:

snippetStart - - - - - -

$timestamp = time();
//echo $timestamp;
$thisYear = date('Y', $timestamp);
echo $thisYear;

- - - - - - snippetEnd

After the PHP upgrade to v5.2.10, this yields  for $thisYear. 
Prior to the upgrade, $thisYear would be set to 2009. I also tried 
using the time function directly within the date function: $thisYear = 
date('Y', time()); Same result.


One other possibly important detail: I've installed a variant: php5 
+apache +macosx +mysql5 +t1lib


   - Pete O



On Jun 25, 2009, at 10:12 AM, Bradley Giesbrecht wrote:



On Jun 25, 2009, at 7:09 AM, Peter Oakley wrote:

Last night I was upgrading my web server to PHP v5.2.10 (from 
v5.2.8) and everything seemed to go ok, no warnings or major 
gotchas. But once I began using it, I could see there were some real 
problems with the time() and date() functions. It's possible that 
I'm just using these two functions in ways that are either wrong 
(but have up to now served to accomplish the task I was seeking to 
do) or are no longer allowed, for security reasons, in which case I 
will need to develop a work-around. Or something is going wrong with 
the update. I'm writing to this list to see if anyone else has 
experienced this same problem, or if you all might have some ideas 
as to what's going on here.


Give an example of your usage of time() and date(), what you expect 
and what you are getting.


// Brad


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


You should not specify +macosx on the command line.  It is selected
automatically based on your current platform.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: PHP upgrade to v5.2.10

2009-06-25 Thread Chris Janton

On 2009-06-25 , at 07:43 , Peter Oakley wrote:


snippetStart - - - - - -

$timestamp = time();
//echo $timestamp;
$thisYear = date('Y', $timestamp);
echo $thisYear;

- - - - - - snippetEnd

After the PHP upgrade to v5.2.10, this yields  for $thisYear.  
Prior to the upgrade, $thisYear would be set to 2009. I also tried  
using the time function directly within the date function: $thisYear  
= date('Y', time()); Same result.


One other possibly important detail: I've installed a variant: php5  
+apache +macosx +mysql5 +t1lib



f...@mac:~:129 $ cat foo.php
?php
$timestamp = time();
$thisYear = date('Y', $timestamp);
echo $thisYear . \n;
?
f...@mac:~:130 $ which php
/opt/local/bin/php
f...@mac:~:131 $ php --version
PHP 5.2.10 (cli) (built: Jun 20 2009 08:25:00)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
f...@mac:~:132 $ php foo.php
2009
f...@mac:~:133 $

My php is

php5 @5.2.10_0+apache2+macosx+mysql5+pear (active)

f...@mac:~:134 $ uname -a
Darwin mac.centosprime.com 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar  
31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386


Which version of OS X are you running?

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: PHP upgrade to v5.2.10

2009-06-25 Thread Bradley Giesbrecht


On Jun 25, 2009, at 7:43 AM, Peter Oakley wrote:


Here is an example usage of the date() and time() functions:

snippetStart - - - - - -

$timestamp = time();
//echo $timestamp;
$thisYear = date('Y', $timestamp);
echo $thisYear;

- - - - - - snippetEnd

After the PHP upgrade to v5.2.10, this yields  for $thisYear.  
Prior to the upgrade, $thisYear would be set to 2009. I also tried  
using the time function directly within the date function: $thisYear  
= date('Y', time()); Same result.


One other possibly important detail: I've installed a variant: php5  
+apache +macosx +mysql5 +t1lib


bash-3.2# port installed php5
The following ports are currently installed:
  php5 @5.2.10_0+apache2+imap+macosx+mysql5+pear+pspell+readline 
+sqlite+tidy (active)

bash-3.2# which php
/opt/local/bin/php
bash-3.2# php --version
PHP 5.2.10 (cli) (built: Jun 25 2009 09:13:39)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
bash-3.2# php -r '$timestamp=time();echo {$timestamp}\n; 
$thisYear=date(Y, $timestamp);echo {$thisYear}\n;'

1245947391
2009
bash-3.2#

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: PHP upgrade to v5.2.10

2009-06-25 Thread Peter Oakley
Bradley, and Chris, you've both suggested some good ways to determine  
whether these two PHP functions are working right via command line --  
thanks.


My web server is running Mac OS X v10.4.11 with all available  
Software Updates installed. I am now beginning the process of setting  
up a test server to try these things...


   - Pete O



On Jun 25, 2009, at 12:07 PM, Chris Janton wrote:


Which version of OS X are you running?


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: PHP upgrade to v5.2.10

2009-06-25 Thread Peter Oakley
Looks like this problem with the date('Y') function was a PHP bug. It  
showed up on Mac OS X (my system) and on Mac OS X Server, both  
v10.4.11, when upgrading from PHP v5.2.8 or v5.2.9 to v5.2.10, and  
the bug also existed in v5.3.0 RC2. Similar problem with the DateTime 
() function. The issue has also been demonstrated on Debian Lenny PPC  
and on Solaris Sparc version 9. Here's a link for reference:

http://bugs.php.net/bug.php?id=48276

See the last message of the bug track dated [21 Jun 10:20pm UTC] from  
scott...@php.net (four days ago). This bug has been fixed in current  
builds of PHP v5.2.10. Now I'm wondering: How long is it likely to  
take for this fixed version of PHP5 v5.2.10 to make its way into  
MacPorts?


   - Pete O



On Jun 25, 2009, at 10:09 AM, Peter Oakley wrote:

Last night I was upgrading my web server to PHP v5.2.10 (from  
v5.2.8) and everything seemed to go ok, no warnings or major  
gotchas. But once I began using it, I could see there were some  
real problems with the time() and date() functions. It's possible  
that I'm just using these two functions in ways that are either  
wrong (but have up to now served to accomplish the task I was  
seeking to do) or are no longer allowed, for security reasons, in  
which case I will need to develop a work-around. Or something is  
going wrong with the update. I'm writing to this list to see if  
anyone else has experienced this same problem, or if you all might  
have some ideas as to what's going on here.


Some additional info: I am running PHP on a Dual G4 PPC Mac, Apache  
(that comes with Mac OS X, not Apache 2), and MySQL from MacPorts.



   - Pete O





___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: PHP upgrade to v5.2.10

2009-06-25 Thread Ryan Schmidt

On Jun 25, 2009, at 17:10, Peter Oakley wrote:

Looks like this problem with the date('Y') function was a PHP bug.  
It showed up on Mac OS X (my system) and on Mac OS X Server, both  
v10.4.11, when upgrading from PHP v5.2.8 or v5.2.9 to v5.2.10, and  
the bug also existed in v5.3.0 RC2. Similar problem with the  
DateTime() function. The issue has also been demonstrated on Debian  
Lenny PPC and on Solaris Sparc version 9. Here's a link for reference:

http://bugs.php.net/bug.php?id=48276

See the last message of the bug track dated [21 Jun 10:20pm UTC]  
from scott...@php.net (four days ago). This bug has been fixed in  
current builds of PHP v5.2.10. Now I'm wondering: How long is it  
likely to take for this fixed version of PHP5 v5.2.10 to make its  
way into MacPorts?


I see they have fixed the problem in CVS, but they have not told us  
how they fixed it. So we either wait for 5.2.11 and update the port  
to that version, or someone has to find out what patch fixed the  
problem and I can apply that patch in the portfile.



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: PHP upgrade to v5.2.10

2009-06-25 Thread Chris Janton

On 2009-06-25 , at 07:43 , Peter Oakley wrote:

After the PHP upgrade to v5.2.10, this yields  for $thisYear.  
Prior to the upgrade, $thisYear would be set to 2009. I also tried  
using the time function directly within the date function: $thisYear  
= date('Y', time()); Same result.


One other possibly important detail: I've installed a variant: php5  
+apache +macosx +mysql5 +t1lib



Looks like a PPC only problem? From my G4

ad...@x:macports:133 $ which php
/opt/local/bin/php
ad...@x:macports:134 $ php --version
PHP 5.2.10 (cli) (built: Jun 25 2009 09:22:38)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
ad...@x:macports:135 $ php foo.php

ad...@x:macports:136 $ sudo port deactivate php5 @5.2.10_0+apache 
+darwin_7+macosx+mysql5+pear

Password:
---  Deactivating php5 @5.2.10_0+apache+darwin_7+macosx+mysql5+pear
ad...@x:macports:137 $ sudo port activate php5 @5.2.6_2+apache 
+darwin_7+macosx+mysql5+pear

---  Activating php5 @5.2.6_2+apache+darwin_7+macosx+mysql5+pear
ad...@x:macports:138 $ php foo.php
2009

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


Yet Another Problem Installing Amarok

2009-06-25 Thread Hal Vaughan
My last problem is cleared now -- it froze on installing kdebase4- 
runtime.  When I got it all working (as in rebooted and updated some  
stuff from Apple), I ran sudo port install amarok and it went  
through a lot of stuff, then I'm stuck with this:


---  Fetching taglib-devel
Error: Target org.macports.fetch returned: Subversion check out failed
Error: The following dependencies failed to build: taglib-devel taglib- 
extras

Error: Status 1 encountered during processing.

When I saw that, it sounded like it had a problem reading data from an  
svn repository, so I waited and tried it again, in case a site was  
down.  Still no luck.


So what is actually going on here and how can I fix it?  I tried  
Google, but didn't see much info on it and when I googled the error  
message, I found no hits!


I'm on an iMac with OS X 10.5.7, a 2.4 Ghz Intel 2 core CPU with 4 GB  
of 667 Mhz DDR2 SDRAM.


Thanks for any insight or info on this!



Hal
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: PHP upgrade to v5.2.10

2009-06-25 Thread Ryan Schmidt


On Jun 25, 2009, at 17:55, Chris Janton wrote:


On 2009-06-25 , at 07:43 , Peter Oakley wrote:

After the PHP upgrade to v5.2.10, this yields  for  
$thisYear. Prior to the upgrade, $thisYear would be set to 2009.  
I also tried using the time function directly within the date  
function: $thisYear = date('Y', time()); Same result.



Looks like a PPC only problem?


Yes, that seems to be the consensus.


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Yet Another Problem Installing Amarok

2009-06-25 Thread Ryan Schmidt


On Jun 25, 2009, at 19:24, Hal Vaughan wrote:

My last problem is cleared now -- it froze on installing kdebase4- 
runtime.  When I got it all working (as in rebooted and updated  
some stuff from Apple), I ran sudo port install amarok and it  
went through a lot of stuff, then I'm stuck with this:


---  Fetching taglib-devel
Error: Target org.macports.fetch returned: Subversion check out failed
Error: The following dependencies failed to build: taglib-devel  
taglib-extras

Error: Status 1 encountered during processing.

When I saw that, it sounded like it had a problem reading data from  
an svn repository, so I waited and tried it again, in case a site  
was down.  Still no luck.


So what is actually going on here and how can I fix it?  I tried  
Google, but didn't see much info on it and when I googled the error  
message, I found no hits!


taglib-devel wants to check out its files from the KDE project's  
anonymous Subversion repository, which seems not to be working for  
you. This has been reported before, with no solution listed so far:


http://trac.macports.org/ticket/18583

If you can figure out the solution let us know.

What happens if you type

svn ls svn://anonsvn.kde.org/home/kde/trunk/kdesupport

in the terminal? If it's working, it should list the contents of that  
directory.


I should note that fetching taglib-devel works fine for me, so maybe  
there is a problem using the svn protocol (port 3690) on your network.



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Yet Another Problem Installing Amarok

2009-06-25 Thread Ryan Schmidt

On Jun 25, 2009, at 19:52, Ryan Schmidt wrote:


On Jun 25, 2009, at 19:24, Hal Vaughan wrote:

My last problem is cleared now -- it froze on installing kdebase4- 
runtime.  When I got it all working (as in rebooted and updated  
some stuff from Apple), I ran sudo port install amarok and it  
went through a lot of stuff, then I'm stuck with this:


---  Fetching taglib-devel
Error: Target org.macports.fetch returned: Subversion check out  
failed
Error: The following dependencies failed to build: taglib-devel  
taglib-extras

Error: Status 1 encountered during processing.

When I saw that, it sounded like it had a problem reading data  
from an svn repository, so I waited and tried it again, in case a  
site was down.  Still no luck.


So what is actually going on here and how can I fix it?  I tried  
Google, but didn't see much info on it and when I googled the  
error message, I found no hits!


taglib-devel wants to check out its files from the KDE project's  
anonymous Subversion repository, which seems not to be working for  
you. This has been reported before, with no solution listed so far:


http://trac.macports.org/ticket/18583

If you can figure out the solution let us know.

What happens if you type

svn ls svn://anonsvn.kde.org/home/kde/trunk/kdesupport

in the terminal? If it's working, it should list the contents of  
that directory.


I should note that fetching taglib-devel works fine for me, so  
maybe there is a problem using the svn protocol (port 3690) on your  
network.


Correction: according to the ticket, the problem is not the initial  
svn checkout but an external it then wants to check out afterward.  
The fetch does not fail for me, yet if I use debug mode I see that  
the external did not get fetched:


svn: warning: Error handling externals definition for 'taglib/admin':
svn: warning: OPTIONS of 'https://svn.kde.org/home/kde/branches/KDE/ 
3.5/kde-common/admin': Server certificate verification failed: issuer  
is not trusted (https://svn.kde.org)


I do not know why port did not recognize that this was a fatal error.

Taking a cue from the above ticket, I ran

svn ls https://svn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin

in the terminal and answered p to get it to accept the certificate  
permanently. Then the port fetch worked correctly.



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Yet Another Problem Installing Amarok

2009-06-25 Thread Hal Vaughan


On Jun 25, 2009, at 8:59 PM, Ryan Schmidt wrote:


On Jun 25, 2009, at 19:52, Ryan Schmidt wrote:


On Jun 25, 2009, at 19:24, Hal Vaughan wrote:

My last problem is cleared now -- it froze on installing kdebase4- 
runtime.  When I got it all working (as in rebooted and updated  
some stuff from Apple), I ran sudo port install amarok and it  
went through a lot of stuff, then I'm stuck with this:


---  Fetching taglib-devel
Error: Target org.macports.fetch returned: Subversion check out  
failed
Error: The following dependencies failed to build: taglib-devel  
taglib-extras

Error: Status 1 encountered during processing.

When I saw that, it sounded like it had a problem reading data  
from an svn repository, so I waited and tried it again, in case a  
site was down.  Still no luck.


So what is actually going on here and how can I fix it?  I tried  
Google, but didn't see much info on it and when I googled the  
error message, I found no hits!


taglib-devel wants to check out its files from the KDE project's  
anonymous Subversion repository, which seems not to be working for  
you. This has been reported before, with no solution listed so far:


http://trac.macports.org/ticket/18583

If you can figure out the solution let us know.

What happens if you type

svn ls svn://anonsvn.kde.org/home/kde/trunk/kdesupport

in the terminal? If it's working, it should list the contents of  
that directory.


That works and I see the contents of the directory.  And, just in  
case, since I'm using sudo to run Macports, I tried it with sudo and  
it worked as well.  I even logged into a terminal tab as root and  
tried it from there, just to be clear there was no user issue there.


I should note that fetching taglib-devel works fine for me, so  
maybe there is a problem using the svn protocol (port 3690) on your  
network.


Correction: according to the ticket, the problem is not the initial  
svn checkout but an external it then wants to check out afterward.  
The fetch does not fail for me, yet if I use debug mode I see that  
the external did not get fetched:


svn: warning: Error handling externals definition for 'taglib/admin':
svn: warning: OPTIONS of 'https://svn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin' 
: Server certificate verification failed: issuer is not trusted (https://svn.kde.org 
)


I do not know why port did not recognize that this was a fatal error.

Taking a cue from the above ticket, I ran

svn ls https://svn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin

in the terminal and answered p to get it to accept the certificate  
permanently. Then the port fetch worked correctly.


I ran it, both as root and as my user name, again in case there's an  
issue with user rights or anything like that.  Then I ran it again  
under my user account and it asked for the question again.  So I ran  
it another time.  Each time I run it, I pick p yet the next time it  
still asks again.


However, I went on and tried to install Amarok again after that and as  
I write this it is configuring taglib.


Ok, I'm lying.  Now it's building taglib.  Anyway, it's working.

It appears like there is a problem with the certificate, since I got  
that message each time I ran the command above.  It wasn't a problem  
with the first command, but is with the 2nd one.


Is it possible you have something else already installed that is  
making use of something similar?


And thanks for the help on this!  I just checked the status and now  
it's building Amarok.  Since that's what I was trying to install in  
the first place, I would expect that to be the last package for it to  
fetch.



Hal

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Yet Another Problem Installing Amarok

2009-06-25 Thread Hal Vaughan
Okay, Amarok is installed now.  There's another problem, but since  
that's an entirely new issue, I'm going back to the other thread,  
since I think it's connected with that time my terminal locked up.



Hal

On Jun 25, 2009, at 8:52 PM, Ryan Schmidt wrote:



On Jun 25, 2009, at 19:24, Hal Vaughan wrote:

My last problem is cleared now -- it froze on installing kdebase4- 
runtime.  When I got it all working (as in rebooted and updated  
some stuff from Apple), I ran sudo port install amarok and it  
went through a lot of stuff, then I'm stuck with this:


---  Fetching taglib-devel
Error: Target org.macports.fetch returned: Subversion check out  
failed
Error: The following dependencies failed to build: taglib-devel  
taglib-extras

Error: Status 1 encountered during processing.

When I saw that, it sounded like it had a problem reading data from  
an svn repository, so I waited and tried it again, in case a site  
was down.  Still no luck.


So what is actually going on here and how can I fix it?  I tried  
Google, but didn't see much info on it and when I googled the error  
message, I found no hits!


taglib-devel wants to check out its files from the KDE project's  
anonymous Subversion repository, which seems not to be working for  
you. This has been reported before, with no solution listed so far:


http://trac.macports.org/ticket/18583

If you can figure out the solution let us know.

What happens if you type

svn ls svn://anonsvn.kde.org/home/kde/trunk/kdesupport

in the terminal? If it's working, it should list the contents of  
that directory.


I should note that fetching taglib-devel works fine for me, so maybe  
there is a problem using the svn protocol (port 3690) on your network.





___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Problem installing KDE/Amarok

2009-06-25 Thread Ryan Schmidt


On Jun 25, 2009, at 22:38, Hal Vaughan wrote:


On Jun 24, 2009, at 6:02 PM, Ryan Schmidt wrote:


On Jun 24, 2009, at 16:47, Hal Vaughan wrote:

I figured they'd be lost if I had to kill the terminal.  Of  
course, I'm not 100% sure that this is the issue.  For all I  
know, the process could have been okay and it could be something  
else that crashed it.  (Come to think of it, there was an ssh  
connection, but it's a program I'm always running in the b.g.)  I  
figure in worst case, since it's the first thing I'm installing,  
I could wipe out any KDE directory in Applications and just wipe  
all of /opt, reinstall MacPorts and restart.


Is there any place else KDE would store files that I'd have to  
clear out if I do that?


After restarting Terminal or the computer, you can try again.  
You can use the -d flag (port -d install amarok) to get a  
lot more information printed out. This will let you see what  
exactly a port was doing if and when it gets hung up. On the  
other hand, the vast quantity of output you will get means you  
will very likely miss any you must do this after installing the  
port-type messages that some ports print.


I was also going to see if I could find a list somewhere of all  
the messages from KDE.  It looks like each package is giving me  
the same message at the start and the end.


I'll most likely wipe out /opt and just start clean, since I  
don't have any other packages done with MacPorts yet.  I don't  
mind letting it rebuild qt overnight.


If you want to do that, you should follow the uninstall  
instructions shown here:


http://trac.macports.org/wiki/FAQ#HowdoIremoveoruninstallMacPorts


As noted elsewhere, I went on with the install and eventually  
(after fixing the svn issue - thanks, Ryan!), I'm dealing with a  
problem I think is related to this issue.  After it was all  
installed properly, I ran the following commands:


sudo chown -R $USER ~/Library/Preferences/KDE
open /Applications/MacPorts/KDE4/kdeinit4.app

launchctl load /Library/LaunchAgents/org.freedesktop.dbus- 
session.plist


The first two were the instructions given at the start of most  
packages as they were installed and the last one was given at the  
end.  When I ran the last one, I got this:


nothing found to load

I suspect that when my terminal locked up previously, there were  
some messages on what to run that I didn't get to see.  Is there a  
resource somewhere that would give me an output of that install  
command or a list of command lines I have to run after KDE is  
installed?


Also, would I have to run the last 2 commands each time my iMac  
boots or is it like some Linux systems -- that once a service is  
running, it restarts on boot until a user stops it?


I'll let someone else answer what is required to get KDE to run. I  
don't know.


chown would permanently set the ownership; it won't get unset.

open is the same as double-clicking something in the Finder.

launchctl load -w loads a service and tells it to launch at every  
system startup. launchctl unload -w unloads a service and tells it  
not to load at every system startup. If you don't use the -w  
option, then the service is started or stopped, but nothing is  
changed about what happens at system startup.



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users