Re: clearsilver install error: Target org.macports.activate returned: Not a directory

2009-03-31 Thread Daniel J. Luke

On Mar 30, 2009, at 8:15 PM, Rainer Müller wrote:
This is a problem since the python25 port switched to a framework  
build.

I am attaching a patch for the maintainer (on CC). I have also applied
this to mod_python25.


Thanks, patch committed in r48934


Another solution would be to switch to python26 instead.



Yes, I'm planning on going through the trac and subversion ports and  
updating to python26 once I have some time to test them and make sure  
things still work.

--
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: clearsilver install error: Target org.macports.activate returned: Not a directory

2009-03-30 Thread Bill Hernandez


On Mar 30, 2009, at 9:29 PM, Bryan Blackburn wrote:


On Mon, Mar 30, 2009 at 06:33:57PM -0500, Bill Hernandez said:


[2009.30.03](06:22PM) -> [bhernandez] ~ $ which python
/opt/local/bin/python

( 1 ) trac installed : postgresql82 @8.2.12_0 (active)

   and I already had :  postgresql83 @8.3.6_0 (active)


Note that this is because py25-pgsql currently depends on just  
postgresql82
and doesn't have any variants to select other pgsql versions; I just  
edit it

locally to prefer 8.3 and install.



Bryan,

Thanks, I modified the portfile py25-pgsql at

/opt/local/var/macports/sources/rsync.macports.org/release/ports/ 
python/py25-pgsql/Portfile


replaced postgresql82 with postgresql83 in two places

[2009.31.03](12:22AM) -> [roscoe] ~ $ sudo port deactivate py25-pgsql

[2009.31.03](12:22AM) -> [roscoe] ~ $ sudo port uninstall -f py25-pgsql

[2009.31.03](12:23AM) -> [roscoe] ~ $ sudo port configure py25-pgsql

[2009.31.03](12:23AM) -> [roscoe] ~ $ sudo port build py25-pgsql

[2009.31.03](12:24AM) -> [roscoe] ~ $ sudo port install -fv py25-pgsql

[2009.31.03](12:25AM) -> [roscoe] ~ $ sudo port deactivate postgresql82

[2009.31.03](12:25AM) -> [roscoe] ~ $ sudo port uninstall -f  
postgresql82


[2009.31.03](12:26AM) -> [roscoe] ~ $ sudo port clean  postgresql82

Everything seems to have gone OK, I didn't see any errors

Thanks again...

Bill Hernandez
Plano, Texas


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


Re: clearsilver install error: Target org.macports.activate returned: Not a directory

2009-03-30 Thread Bryan Blackburn
On Mon, Mar 30, 2009 at 06:33:57PM -0500, Bill Hernandez said:
>
> [2009.30.03](06:22PM) -> [bhernandez] ~ $ which python
> /opt/local/bin/python
>
> ( 1 ) trac installed : postgresql82 @8.2.12_0 (active)
>
> and I already had :  postgresql83 @8.3.6_0 (active)

Note that this is because py25-pgsql currently depends on just postgresql82
and doesn't have any variants to select other pgsql versions; I just edit it
locally to prefer 8.3 and install.

Bryan

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


Re: clearsilver install error: Target org.macports.activate returned: Not a directory

2009-03-30 Thread Rainer Müller
Bill Hernandez wrote:
> [2009.30.03](06:22PM) -> [bhernandez] ~ $ which python
> /opt/local/bin/python
> 
> ( 1 ) trac installed : postgresql82 @8.2.12_0 (active)
> 
>  and I already had :  postgresql83 @8.3.6_0 (active)
> 
> ( 2 ) Will this cause a problem ?

No.

> [2009.30.03](06:23PM) -> [roscoe] ~ $ sudo port install clearsilver
> Password:
> --->  Fetching clearsilver
> --->  Attempting to fetch clearsilver-0.10.5.tar.gz from 
> http://www.clearsilver.net/downloads
> --->  Verifying checksum(s) for clearsilver
> --->  Extracting clearsilver
> --->  Applying patches to clearsilver
> --->  Configuring clearsilver
> --->  Building clearsilver
> --->  Staging clearsilver into destroot
> --->  Installing clearsilver @0.10.5_0
> --->  Activating clearsilver @0.10.5_0
> 
> ( 3 ) ERROR: Target org.macports.activate returned: Not a directory
>  Error: Status 1 encountered during processing.

This is a problem since the python25 port switched to a framework build.
I am attaching a patch for the maintainer (on CC). I have also applied
this to mod_python25.

Another solution would be to switch to python26 instead.

Rainer
Index: Portfile
===
--- Portfile(revision 48856)
+++ Portfile(working copy)
@@ -4,6 +4,7 @@
 
 name   clearsilver
 version 0.10.5
+revision1
 categories www python perl
 platforms  darwin
 maintainersdl...@geeklair.net
@@ -68,3 +69,8 @@
}
 }
 
+# Workaround for #17998
+post-destroot {
+move 
${destroot}${frameworks_dir}/Python.framework/Versions/2.5/lib/python2.5 \
+${destroot}${prefix}/lib/python2.5
+}
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


clearsilver install error: Target org.macports.activate returned: Not a directory

2009-03-30 Thread Bill Hernandez


[2009.30.03](06:22PM) -> [bhernandez] ~ $ which python
/opt/local/bin/python

( 1 ) trac installed : postgresql82 @8.2.12_0 (active)

and I already had :  postgresql83 @8.3.6_0 (active)

( 2 ) Will this cause a problem ?

[2009.30.03](06:23PM) -> [roscoe] ~ $ sudo port install clearsilver
Password:
--->  Fetching clearsilver
--->  Attempting to fetch clearsilver-0.10.5.tar.gz from 
http://www.clearsilver.net/downloads
--->  Verifying checksum(s) for clearsilver
--->  Extracting clearsilver
--->  Applying patches to clearsilver
--->  Configuring clearsilver
--->  Building clearsilver
--->  Staging clearsilver into destroot
--->  Installing clearsilver @0.10.5_0
--->  Activating clearsilver @0.10.5_0

( 3 ) ERROR: Target org.macports.activate returned: Not a directory
Error: Status 1 encountered during processing.


[2009.30.03](06:27PM) -> [roscoe] ~ $ port installed
The following ports are currently installed:
  apache2 @2.2.11_0+darwin_9 (active)
  apr @1.3.3_1 (active)
  apr-util @1.3.4_1 (active)
  autoconf @2.63_0 (active)
  autoconf213 @2.13_1 (active)
  automake @1.10.2_0 (active)
  bison @2.4.1_0 (active)
  bzip2 @1.0.5_2 (active)
  clearsilver @0.10.5_0 (active)
  curl @7.19.3_0 (active)
  cyrus-sasl2 @2.1.21_0+kerberos (active)
  db44 @4.4.20_1 (active)
  db46 @4.6.21_4 (active)
  db47 @4.7.25_1 (active)
  expat @2.0.1_0 (active)
  fontconfig @2.6.0_2+macosx (active)
  freetype @2.3.8_0+macosx (active)
  gawk @3.1.6_0 (active)
  gd2 @2.0.35_4 (active)
  gettext @0.17_4 (active)
  gmake @3.81_0 (active)
  gperf @3.0.4_0 (active)
  help2man @1.36.4_1 (active)
  jpeg @6b_3 (active)
  libiconv @1.12_2 (active)
  libmcrypt @2.5.8_1 (active)
  libpng @1.2.35_0 (active)
  libtool @2.2.6a_0 (active)
  libxml2 @2.7.3_0 (active)
  libxslt @1.1.24_2 (active)
  m4 @1.4.12_1 (active)
  mhash @0.9.9.9_0 (active)
  mysql5 @5.0.77_0+server (active)
  ncurses @5.7_0 (active)
  ncursesw @5.7_0 (active)
  neon @0.28.3_0 (active)
  openldap @2.3.35_1 (active)
  openssl @0.9.8j_0 (active)
  ossp-uuid @1.6.2_0 (active)
  p5-locale-gettext @1.05_0 (active)
  p5-macosx-file @0.71_0 (active)
  pcre @7.8_1 (active)
  perl5.8 @5.8.9_2+db (active)
  php5 @5.2.9_0+apache2+fastcgi+ipc+macosx+mysql5+pcntl+pear 
+postgresql83+readline+sockets+sqlite+tidy (active)

  pkgconfig @0.23_1 (active)
  postgresql82 @8.2.12_0 (active)
  postgresql83 @8.3.6_0 (active)
  postgresql83-doc @8.3.6_0 (active)
  postgresql83-server @8.3.6_0 (active)
  py25-bsddb @2.5.4_0 (active)
  py25-genshi @0.5_0 (active)
  py25-hashlib @2.5.4_0 (active)
  py25-mx-base @3.1.1_0 (active)
  py25-mysql @1.2.2_0+mysql5 (active)
  py25-pgsql @2.5.1_1 (active)
  py25-pygments @1.0_0 (active)
  py25-setuptools @0.6c9_0 (active)
  py25-sqlite3 @2.5.4_0 (active)
  py25-zlib @2.5.4_0 (active)
  python25 @2.5.4_0+darwin_9+macosx (active)
  python_select @0.2.1_0+darwin_9 (active)
  readline @6.0.000_1 (active)
  rpl @1.4.0_0 (active)
  serf @0.3.0_0 (active)
  sqlite3 @3.6.11_0 (active)
  subversion @1.5.6_0 (active)
  subversion-python25bindings @1.5.6_0 (active)
  tidy @20051026_0 (active)
  tiff @3.8.2_2+darwin_9+macosx (active)
  trac @0.11.3_0+mysql+postgres (active)
  xorg-bigreqsproto @1.0.2_0 (active)
  xorg-inputproto @1.5.0_0 (active)
  xorg-kbproto @1.0.3_0 (active)
  xorg-libX11 @1.2_0 (active)
  xorg-libXau @1.0.4_0 (active)
  xorg-libXdmcp @1.0.2_0 (active)
  xorg-xcmiscproto @1.1.2_0 (active)
  xorg-xextproto @7.0.5_0 (active)
  xorg-xf86bigfontproto @1.1.2_0 (active)
  xorg-xproto @7.0.14_1 (active)
  xorg-xtrans @1.2.3_0 (active)
  xpm @3.5.7_0 (active)
  zlib @1.2.3_2 (active)

[2009.30.03](06:27PM) -> [roscoe] ~ $

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