Re: selfupdate fails

2009-03-30 Thread Bryan Blackburn
On Mon, Mar 30, 2009 at 12:11:46AM -0500, Ryan Schmidt said:
 On Mar 29, 2009, at 11:17, Jochen Küpper wrote:

 after the announcement of 1.7.1 I run port selfupdate, however, this 
 bails -- could be due to gcc_select 4.3?

 So, this is a Mac OS X 10.5.6 system with MacPorts 1.7.0. I have used 
 gcc_select to pick gcc-mp-4.3:
   /opt/local/bin/gcc@ - /opt/local/bin/gcc-mp-4.3

 I don't know could you try removing the /opt/local/bin/gcc symlink and 
 see if selfupdate then works? I would have hoped that selfupdate, like 
 MacPorts itself, would use only the very specific gcc version with which 
 we have all tested (/usr/bin/gcc-4.0).

selfupdate, or more specifically, configure, removes ${prefix}/bin and
${prefix}/sbin from PATH prior to running (through MP_PATH_SCAN in
aclocal.m4) so nothing there like gcc should even be seen.

Using 'sudo port -d selfupdate' would be more helpful as the issue is
probably before the output we're seeing.

Bryan

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


Re: php5 port test php5

2009-03-30 Thread Scott Haneda
What is the command to run the test?  I assume this is not port test  
php5` and an internal php test that runs most functions and operations?


On Mar 27, 2009, at 4:04 AM, Ryan Schmidt wrote:

I meant: if you can get php5 to even compile universal, for any  
combination of universal architectures, that would be good to know  
(and if you cannot, that would be good to know too). I'm not even  
sure all of php5's dependencies can be compiled universal. I simply  
have not yet tried.



I just ran the tests for 5.3.0RC1 (am in the process of updating the  
php5-devel port to that version); here's the summary:


Number of tests : 9537  7891
Tests skipped   : 1646 ( 17.3%) 
Tests warned:3 (  0.0%) (  0.0%)
Tests failed:   31 (  0.3%) (  0.4%)
Expected fail   :5 (  0.1%) (  0.1%)
Tests passed: 7852 ( 82.3%) ( 99.5%)
-
Time taken  : 1428 seconds

When you run the tests, it offers to send a report to the PHP  
developers automatically. Hopefully they're reading these reports  
and making improvements.


--
Scott * If you contact me off list replace talklists@ with scott@ *

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


possible libtool 2.2.6 issue

2009-03-30 Thread David Nichols

hi,

I suspect I may have found a bug in libtool on Darwin/OSX, although  
it's possible that I am not using automake, etc correctly.


Basically I'm trying to compile my qt module for qore (https://trac.macports.org/browser/trunk/dports/lang/qore/Portfile 
) against the qt4-mac port.


I have modified my configure.ac script to do more generic framework  
detection, and set up the CPP_FLAGS and LD_FLAGS properly for  
frameworks in non-standard directories (such as /opt/local/Library/ 
Framework, where the QT libraries are placed by default from macports).


While building the qt-core module, I build a shared library and link  
it to the QtCore framework.  Then I build a module that links to the  
shared library (the reason I do this is that I have other modules that  
depend on the first module, and in order to share code and symbols  
easier, I put all the shared code in the shared library).


However, libtool is creating the .la file for the shared library  
without the -Fframework-dir option in the inherited_linker_flags  
line, although the -framework QtCore is there.


So when the module is created, it fails in the link step because the  
QtCore framework cannot be found, because the -Fframework-dir option  
is not present in the inherited_linker_flags line in the la file.


I have tested building the project by manually editing the  
inherited_linker_flags line for the shared library, by both adding the  
missing -Fframework-dir option and by removing the -framework QtCore  
line, and it works both ways.  So I guess either the -framework option  
should not be inherited or the -F option should be inherited, but not  
one without the other.


I am not able to fix this bug myself, I don't understand entirely how  
libtool works, and I'm afraid I'm not even an expert user of it.


Anyway, I hope someone can help me with this.

I'd like to be able to release a port for my qt module for qore, but I  
have to make sure that macports users can build it automatically first.


thanks again
David


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


Re: selfupdate fails

2009-03-30 Thread Jochen Küpper

On 30.03.2009, at 08:05, Bryan Blackburn wrote:


On Mon, Mar 30, 2009 at 12:11:46AM -0500, Ryan Schmidt said:

On Mar 29, 2009, at 11:17, Jochen Küpper wrote:


after the announcement of 1.7.1 I run port selfupdate, however, this
bails -- could be due to gcc_select 4.3?

So, this is a Mac OS X 10.5.6 system with MacPorts 1.7.0. I have  
used

gcc_select to pick gcc-mp-4.3:
 /opt/local/bin/gcc@ - /opt/local/bin/gcc-mp-4.3


I don't know could you try removing the /opt/local/bin/gcc  
symlink and
see if selfupdate then works? I would have hoped that selfupdate,  
like
MacPorts itself, would use only the very specific gcc version with  
which

we have all tested (/usr/bin/gcc-4.0).


selfupdate, or more specifically, configure, removes ${prefix}/bin and
${prefix}/sbin from PATH prior to running (through MP_PATH_SCAN in
aclocal.m4) so nothing there like gcc should even be seen.


That seems to be correct; from /opt/local/var/macports/sources/ 
rsync.macports.org/release/base/config.log


configure:2605: checking for C compiler version
configure:2613: gcc --version 5
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)


However, it does not seem to make sure that the correct gcc is used  
for building!


When I
   cd /opt/local/var/macports/sources/rsync.macports.org/release/base/ 
src/tclobjc1.0

and then run
   sudo make CC=/usr/bin/gcc
it does successfully compile everything in there...
To me this looks like it correctly makes sure that GCC is not from $ 
{prefix}, but then lets make happily (fatally) use whatever gcc it  
finds...


If I remove /opt/local/bin/gcc everything works as expected.

So, port selfupdate really needs to pass CC to make or, prefrable  
(because better visible) set it in the Makefiles...



Anyway, thanks for all your work and for your suggestions on this issue.


Using 'sudo port -d selfupdate' would be more helpful as the issue  
is probably before the output we're seeing.


Not really, this is the first error I am getting when using my  
original setup:



=== making all in src/tclobjc1.0
gcc -c -DUSE_TCL_STUBS -g -O2  -g -Os -DHAVE_CONFIG_H -I.. -I.  -I/ 
usr/include  -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 - 
D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 - 
DHAVE_PTHREAD_ATFORK=1 -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 - 
DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\utf-8\ - 
DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 - 
DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 - 
DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 - 
DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 - 
DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 - 
DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 - 
DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 - 
DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -include tclArch.h  - 
UPACKAGE_NAME -UPACKAGE_TARNAME -UPACKAGE_VERSION -UPACKAGE_STRING - 
UPACKAGE_BUGREPORT -fno-common tclobjc.m -o tclobjc.o
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAffineTransform.h:5,
 from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:13,

 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h: 
122: error: expected ';' before '__attribute__'
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSGeometry.h:7,
 from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAffineTransform.h:6,
 from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:13,

 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:79:  
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h:87:  
error: expected ';' before '__attribute__'
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:15,

 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:62:  
error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:66:  
error: expected ';' before '__attribute__'
In file included from /System/Library/Frameworks/Foundation.framework/ 
Headers/NSAttributedString.h:5,
 from /System/Library/Frameworks/Foundation.framework/ 
Headers/Foundation.h:16,

 from tclobjc.m:42:
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
345: error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
346: error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
347: error: expected ';' before '__attribute__'
/System/Library/Frameworks/Foundation.framework/Headers/NSString.h: 
348: error: expected ';' before '__attribute__'

Re: Problem installing vtk

2009-03-30 Thread bscuser

Hi there, were you able to solve the problem? If so, how did you do it? I am
getting the same error on my Mac OS X 10.5

Thank you very much in advance



David TREMOUILLES wrote:
 
 May somebody help ?
 I have a problem installing vtk on MacBook OS X 10.5.6, using macports 
 1.700 (fresh install).
 See console output below.
 
 Thanks in advance,
 
 David
 
 ---  Building VTK
 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_vtk/work/VTK
  
  make all  returned error 2
 Command output: [ 62%] Built target vtkexpat
 make -f IO/CMakeFiles/vtkIO.dir/build.make IO/CMakeFiles/vtkIO.dir/depend
 cd 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK
  
  /opt/local/bin/cmake -E cmake_depends Unix Makefiles 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/IO
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/IO
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/IO/CMakeFiles/vtkIO.dir/DependInfo.cmake
  
 --color=
 make -f IO/CMakeFiles/vtkIO.dir/build.make IO/CMakeFiles/vtkIO.dir/build
 make[2]: Nothing to be done for `IO/CMakeFiles/vtkIO.dir/build'.
 /opt/local/bin/cmake -E cmake_progress_report 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/CMakeFiles
  
   51 52 53 54 55 56 57 58 59 60 61 62
 [ 74%] Built target vtkIO
 make -f Utilities/freetype/CMakeFiles/vtkfreetype.dir/build.make 
 Utilities/freetype/CMakeFiles/vtkfreetype.dir/depend
 cd 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK
  
  /opt/local/bin/cmake -E cmake_depends Unix Makefiles 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/Utilities/freetype
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/Utilities/freetype
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/Utilities/freetype/CMakeFiles/vtkfreetype.dir/DependInfo.cmake
  
 --color=
 make -f Utilities/freetype/CMakeFiles/vtkfreetype.dir/build.make 
 Utilities/freetype/CMakeFiles/vtkfreetype.dir/build
 make[2]: Nothing to be done for 
 `Utilities/freetype/CMakeFiles/vtkfreetype.dir/build'.
 /opt/local/bin/cmake -E cmake_progress_report 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/CMakeFiles
  
   92 93 94
 [ 77%] Built target vtkfreetype
 make -f Utilities/ftgl/CMakeFiles/vtkftgl.dir/build.make 
 Utilities/ftgl/CMakeFiles/vtkftgl.dir/depend
 cd 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK
  
  /opt/local/bin/cmake -E cmake_depends Unix Makefiles 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/Utilities/ftgl
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/Utilities/ftgl
  
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/Utilities/ftgl/CMakeFiles/vtkftgl.dir/DependInfo.cmake
  
 --color=
 make -f Utilities/ftgl/CMakeFiles/vtkftgl.dir/build.make 
 Utilities/ftgl/CMakeFiles/vtkftgl.dir/build
 make[2]: Nothing to be done for 
 `Utilities/ftgl/CMakeFiles/vtkftgl.dir/build'.
 /opt/local/bin/cmake -E cmake_progress_report 
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk/work/VTK/CMakeFiles
  
   95
 [ 78%] Built target vtkftgl
 make -f Rendering/CMakeFiles/vtkRendering.dir/build.make 
 Rendering/CMakeFiles/vtkRendering.dir/depend
 cd 
 

Re: Problem installing vtk

2009-03-30 Thread cssdev
On Monday, March 30, 2009, at 06:09AM, bscuser smarras@gmail.com wrote:

Hi there, were you able to solve the problem? If so, how did you do it? I am
getting the same error on my Mac OS X 10.5

Please run port sync and try to build again. I patched the VTK 4 sources  to 
fix the build error.
http://trac.macports.org/ticket/18696

Hope this helps,
Chris
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Uninstalling MacPorts

2009-03-30 Thread Keith Kaiser
Is it possible uninstall all MacPorts installed code and MacPorts? If  
I do this how will it effect my OS, will it cause me problems at some  
very low level in OSX that I'm not aware of?


I really wish I had never heard of MacPorts, it has caused my many  
hours of lost sleep, so how do I get rid of it at this point?


Since no one can tell me how to even start resolving the infamous  
Error: Unresolved inheritance operation I really need to start all  
over.


Thanks in advance guys.

73's
Keith Kaiser
wa0...@gmail.com



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


Re: possible libtool 2.2.6 issue

2009-03-30 Thread Peter O'Gorman
David Nichols wrote:

 
 I have tested building the project by manually editing the
 inherited_linker_flags line for the shared library, by both adding the
 missing -Fframework-dir option and by removing the -framework QtCore
 line, and it works both ways.  So I guess either the -framework option
 should not be inherited or the -F option should be inherited, but not
 one without the other.

Can you not configure your project with ./configure
LDFLAGS=-L/opt/local/lib -F/opt/local/Library/Frameworks ?

I think the whole adding -framework foo to inherited_linker_flags could
be the real bug (and yes, I am the one who added inherited_linker_flags
to libtool, and the -framework support), because it adds frameworks
directly and since frameworks can never be static archives, it is quite
unnecessary. Why I did this I do not remember, I am sure that I thought
it was a good reason at the time though. :(

Peter
-- 
Peter O'Gorman
http://pogma.com
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Uninstalling MacPorts

2009-03-30 Thread Joshua Root
Keith Kaiser wrote:
 Is it possible uninstall all MacPorts installed code and MacPorts? If I
 do this how will it effect my OS, will it cause me problems at some very
 low level in OSX that I'm not aware of?

`sudo port -f uninstall installed`, then follow the instructions at:

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

MP is designed not to interfere with previously installed software.

 I really wish I had never heard of MacPorts, it has caused my many hours
 of lost sleep, so how do I get rid of it at this point?
 
 Since no one can tell me how to even start resolving the infamous
 Error: Unresolved inheritance operation I really need to start all over.

Looking at recent tickets and commits, this appears to be caused by
programs incorrectly linking against the system X11, as opposed to the
libraries they depend on, which link against MacPorts X11. This seems to
have been caused by using the system-supplied imake instead of the imake
port.

Which port are you seeing this with?

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


MacPorts Install Error: The following dependencies failed to build libiconv

2009-03-30 Thread Jos van Tongeren
Hi,
When I install libiconv after removing then i have the same problem as
before.
Warning: the following items did not execute (for p5-locale-gettext):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: The following dependencies failed to build: physfs libtool automake
autoconf help2man p5-locale-gettext m4
Error: Status 1 encountered during processing

Please help me,

Greetings,
Jos van Tongeren
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Uninstalling MacPorts

2009-03-30 Thread Keith Kaiser
Actually I see it only when I try to run Xastir. I have Xastir  
installed via source, but I have tried the port install too and it  
made no difference.


On Mar 30, 2009, at 12:54 PM, Joshua Root wrote:


Keith Kaiser wrote:
Is it possible uninstall all MacPorts installed code and MacPorts?  
If I
do this how will it effect my OS, will it cause me problems at some  
very

low level in OSX that I'm not aware of?


`sudo port -f uninstall installed`, then follow the instructions at:

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

MP is designed not to interfere with previously installed software.

I really wish I had never heard of MacPorts, it has caused my many  
hours

of lost sleep, so how do I get rid of it at this point?

Since no one can tell me how to even start resolving the infamous
Error: Unresolved inheritance operation I really need to start  
all over.


Looking at recent tickets and commits, this appears to be caused by
programs incorrectly linking against the system X11, as opposed to the
libraries they depend on, which link against MacPorts X11. This  
seems to
have been caused by using the system-supplied imake instead of the  
imake

port.

Which port are you seeing this with?

- Josh


73's
Keith Kaiser
wa0...@gmail.com



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


Re: MacPorts Install Error: The following dependencies failed to build libiconv

2009-03-30 Thread Rainer Müller
Jos van Tongeren wrote:
 Hi,
 When I install libiconv after removing then i have the same problem as
 before.
 Warning: the following items did not execute (for p5-locale-gettext):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: The following dependencies failed to build: physfs libtool
 automake autoconf help2man p5-locale-gettext m4
 Error: Status 1 encountered during processing

It would help to post the actual error message.

Run again using
  sudo port clean p5-locale-gettext
  sudo port -d install p5-locale-gettext | tee p5-locale-gettext.log

Then make that log file available somewhere.

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


new milestone: Port Binaries

2009-03-30 Thread Darren Weber
How about a new milestone for trac: binary distributions?  I guess most of
this would focus on mpab and adaptations to port to enable binary
installations.

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


GD2 with PHP5

2009-03-30 Thread Craig Hoffman

Hey All,
What is the best way to get PHP5 (from MacPorts) to recognize GD2?   
Would something like this work:
sudo port install php5 +apache2 +mysql5 +pear +tidy +sqlite +imap  
+postgresq +gd2


Thanks,
Craig

___
Craig Hoffman
iChat / AIM: mountain.dog
___





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


Re: php5 port test php5

2009-03-30 Thread Ryan Schmidt

On Mar 30, 2009, at 02:17, Scott Haneda wrote:


On Mar 27, 2009, at 4:04 AM, Ryan Schmidt wrote:

I meant: if you can get php5 to even compile universal, for any  
combination of universal architectures, that would be good to know  
(and if you cannot, that would be good to know too). I'm not even  
sure all of php5's dependencies can be compiled universal. I  
simply have not yet tried.



I just ran the tests for 5.3.0RC1 (am in the process of updating  
the php5-devel port to that version); here's the summary:


Number of tests : 9537  7891
Tests skipped   : 1646 ( 17.3%) 
Tests warned:3 (  0.0%) (  0.0%)
Tests failed:   31 (  0.3%) (  0.4%)
Expected fail   :5 (  0.1%) (  0.1%)
Tests passed: 7852 ( 82.3%) ( 99.5%)
-
Time taken  : 1428 seconds

When you run the tests, it offers to send a report to the PHP  
developers automatically. Hopefully they're reading these reports  
and making improvements.


What is the command to run the test?  I assume this is not port  
test php5` and an internal php test that runs most functions and  
operations?


I just ran

port -d test php5



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


Re: GD2 with PHP5

2009-03-30 Thread Rainer Müller
Craig Hoffman wrote:
 Hey All,
 What is the best way to get PHP5 (from MacPorts) to recognize GD2?   
 Would something like this work:
 sudo port install php5 +apache2 +mysql5 +pear +tidy +sqlite +imap  
 +postgresq +gd2

php5 already ships with gd2 support. There is a gd2 version distributed
with the PHP source code which is preferred. You don't need to specify
any variants.

Rainer
___
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


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

2009-03-30 Thread Bill Hernandez


[2009.30.03](06:46PM) - [roscoe] ~ $ sudo port install mod_python25
Password:

---  Activating mod_python25 @3.3.1_1

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

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


I got the same error when I installed clearsilver a few minutes ago.

I am wondering what  I am missing now ?

Bill Hernandez
Plano, Texas
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


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

2009-03-30 Thread Rainer Müller
Bill Hernandez wrote:
 [2009.30.03](06:46PM) - [roscoe] ~ $ sudo port install mod_python25
 Password:
 
 ---  Activating mod_python25 @3.3.1_1
 
 ERROR: Target org.macports.activate returned: Not a directory
 Error: Status 1 encountered during processing.
 
 [2009.30.03](06:48PM) - [roscoe] ~ $
 
 
 I got the same error when I installed clearsilver a few minutes ago.
 
 I am wondering what  I am missing now ?

I fixed this error for mod_python25 yesterday.
Try:
  sudo port sync
  sudo port uninstall mod_python25
  sudo port install mod_python25

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


subversion books ?

2009-03-30 Thread Bill Hernandez


After trying to get subversion to work remotely via apache webdav and  
having dismal luck and many questions over the weekend, I went down to  
the local nerdbooks.com and bought three books this afternoon. They  
all had different aspects that I liked as I browsed through them, so  
instead of buying one as planned, I came home with three. But that's  
OK I'll read one and use the other two for reference.


They (nerdbooks.com) do mostly all web based sales, but luckily they  
have a warehouse in Richardson, TX  (Dallas area).


I don't know how their prices compare, but they do technical books  
only, and they have the most incredible selection.


I posted the book info here in case this is helpful to others

The Pragmatic Programmers
Pragmatic Version Control using Subversion
ISBN : 0-9776166-5-7
Price : $34.95
Discount Price : $20.97

Bruce Perens Open Source Series
Subversion Version Control
ISBN : 978-0-13-185518-2
Price : $44.99
Discount Price : $26.54

O'Reilly
Version Control with Subversion
ISBN : 978-0-596-51033-6
Price : $39.99
Discount Price : $25.99

Thanks to all those that help...

Bill Hernandez
Plano, Texas
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


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

2009-03-30 Thread Bill Hernandez


Bill Hernandez wrote:

[2009.30.03](06:46PM) - [roscoe] ~ $ sudo port install mod_python25
Password:

---  Activating mod_python25 @3.3.1_1

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

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


On Mar 30, 2009, at 7:16 PM, Rainer Müller wrote:


I fixed this error for mod_python25 yesterday.
Try:
 sudo port sync
 sudo port uninstall mod_python25
 sudo port install mod_python25



Rainer,

Thanks for trying to help.

[2009.30.03](07:29PM) - [roscoe] ~ $ sudo port sync
Password:

[2009.30.03](07:30PM) - [roscoe] ~ $ sudo port uninstall mod_python25
---  Deactivating mod_python25 @3.3.1_1
---  Uninstalling mod_python25 @3.3.1_1

[2009.30.03](07:30PM) - [roscoe] ~ $ sudo port clean mod_python25
---  Cleaning mod_python25

[2009.30.03](07:30PM) - [roscoe] ~ $ sudo port install mod_python25
---  Fetching mod_python25
---  Verifying checksum(s) for mod_python25
---  Extracting mod_python25
---  Applying patches to mod_python25
---  Configuring mod_python25
---  Building mod_python25
---  Staging mod_python25 into destroot
Warning: mod_python25 requests to install files outside the common  
directory structure!

---  Installing mod_python25 @3.3.1_2

# to enable mod_python add
#  LoadModule python_module modules/mod_python.so
# to your apache2 config file:
#  /opt/local/apache2/conf/httpd.conf

---  Activating mod_python25 @3.3.1_2

Error: Target org.macports.activate returned: Image error: /opt/local/ 
apache2/modules/mod_python.so already exists and does not belong to a  
registered port.  Unable to activate port mod_python25.

Error: Status 1 encountered during processing.

[2009.30.03](07:31PM) - [roscoe] ~ $


___
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


Re: MacPorts Install Error: The following dependencies failed to build libiconv

2009-03-30 Thread Rainer Müller
Jos van Tongeren wrote:
 /usr/bin/gcc-4.0 -c   -I/opt/local/include -fno-common -DPERL_DARWIN
 -no-cpp-precomp -fno-strict-aliasing -pipe -Wdeclaration-after-statement
 -I/opt/local/include -O3   -DVERSION=\1.05\ -DXS_VERSION=\1.05\ 
 -I/opt/local/lib/perl5/5.8.8/darwin-2level/CORE   gettext.c
 In file included from gettext.xs:2:
 /opt/local/lib/perl5/5.8.8/darwin-2level/CORE/perl.h:2761:18: error:
 utf8.h: No such file or directory
 make: *** [gettext.o] Error 1

Your perl5.8 installation seems to be outdated, the current version is
5.8.9_2.

  sudo port upgrade perl5.8

On my system, utf8.h is by perl5.8 at
/opt/local/lib/perl5/5.8.9/darwin-thread-multi-2level/CORE/utf8.h

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


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

2009-03-30 Thread Bryan Blackburn
On Mon, Mar 30, 2009 at 07:37:15PM -0500, Bill Hernandez said:
[...]
 ---  Activating mod_python25 @3.3.1_2

 Error: Target org.macports.activate returned: Image error: /opt/local/ 
 apache2/modules/mod_python.so already exists and does not belong to a  
 registered port.  Unable to activate port mod_python25.
 Error: Status 1 encountered during processing.

That's the bad issue with the 'not a directory' problem, when the old one is
uninstalled/deactivated, the files aren't actually removed (the error occurs
before the file list is added to the file map, so port thinks it has no
files).  This means you have to force the activation of the port, and of
course deal with the annoying saved '*.mp_*' files.

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 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 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