Re: problem initializing macports

2007-11-26 Thread tania habib
I have Macbook Pro with mac osx 10.4, I previously installed the
macports on the same machine and it was running perfectly. Then I did
not use it for a while and now when I go to the terminal window, and
type port it gives me this error
no suitable image found.  Did find:
/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib:
mach-o, but wrong architecture
while executing
load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib
(package ifneeded script)
invoked from within
package_native require Pextlib 1.0
(eval body line 1)
invoked from within
eval package_native $args
(procedure package line 14)
invoked from within
package require Pextlib 1.0
(procedure dportinit line 311)
invoked from within
dportinit ui_options global_options global_variations
Error: /opt/local/bin/port: Failed to initialize ports system, no
suitable image found.  Did find:
/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib:
mach-o, but wrong architecture

Should I uninstall the whole thing and start from the beginning or is
there any other way?

I have tried this command
cd /opt/local/var/db/dports/receipts/
find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$%\1 @\2%'
but I do not know what to do next!

Please let me know an easier way out of this mess!

tania



On Nov 25, 2007 10:39 PM, paul beard [EMAIL PROTECTED] wrote:



 On 11/25/07, Ryan Schmidt [EMAIL PROTECTED] wrote:
 
  On Nov 25, 2007, at 13:29, paul beard wrote:
 
   On 11/25/07, Ryan Schmidt wrote:
  
   What Mac do you have? Did you previously have a different Mac, back
   when you originally installed MacPorts? Maybe you used Migration
   Assistant to transfer everything (including MacPorts) from the old
   Mac to the new Mac? IF the old Mac was PowerPC-based and the new one
   is Intel-based, that could explain the error you're seeing, and you
   should really uninstall everything and start over. You can use port
   installed to see what ports are installed.
  
   How will that work if the port command doesn't run?
 
  Good question. It might not work then. We might have to dig deeper to
  see what's installed. Like this:
 
  cd /opt/local/var/macports/receipts/
  find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$%\1 @
  \2%'

 Watch the line-wrap: that \2% should stay on the same line. Same below . . .
 .

  Or, for the user's version of DarwinPorts before the new layout, I
  hope this is it:
 
  cd /opt/local/var/db/dports/receipts/
  find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$%\1 @\2%'
 
 
   It also sounds like your PATH is not correct since it can't find the
   port command.
  
   Actually, it does seem to find it OK: if the user types 'port
   something' and the result is
  
   Error: /opt/local/bin/port: Failed to initialize ports system, no
   suitable image found.  Did find:
  /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib:
   mach-o, but wrong architecture
  
   it sounds like the command is there but if the error message is
   right, that the architecture is wrong.
 
  It sounds to me like the user is having to run /opt/local/bin/port
  because when just port is run this error was shown:
 
  On Nov 25, 2007, at 11:14, tania habib wrote:
 
   On Nov 25, 2007 2:11 PM, William Davis wrote:
  
  
   Did you try :
   sudo port -d selfupdate
   ?
  
   Yes I did, but it comes with the error that port:command not found.
   I feel there is some path problem. Can please guide me through the
   procedure of setting the path variable in X11!
 
 
 




 --
 Paul Beard / www.paulbeard.org/
 [EMAIL PROTECTED]/[EMAIL PROTECTED]

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


Re: problem initializing macports

2007-11-26 Thread William Davis


On Nov 26, 2007, at 5:39 AM, tania habib wrote:


I have Macbook Pro with mac osx 10.4, I previously installed the
macports on the same machine and it was running perfectly. Then I did
not use it for a while and now when I go to the terminal window, and
type port it gives me this error
no suitable image found.  Did find:
   /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib:
mach-o, but wrong architecture
   while executing
load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib
   (package ifneeded script)
   invoked from within
package_native require Pextlib 1.0
   (eval body line 1)
   invoked from within
eval package_native $args
   (procedure package line 14)
   invoked from within
package require Pextlib 1.0
   (procedure dportinit line 311)
   invoked from within
dportinit ui_options global_options global_variations
Error: /opt/local/bin/port: Failed to initialize ports system, no
suitable image found.  Did find:
   /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib:
mach-o, but wrong architecture

Should I uninstall the whole thing and start from the beginning or is
there any other way?

I have tried this command

cd /opt/local/var/db/dports/receipts/
find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$% 
\1 @\2%'

but I do not know what to do next!

Please let me know an easier way out of this mess!

tania


Tania, I think Paul wanted you to copy the results of that command (or  
the other one he gave you) and tell it to us.
However looking at error output above shows a reference to /opt/local/ 
share/darwinports/  
There is no darwinports directory in my own installation (version  
1.52) and I dont think the term darwinports has been used anywhere  
in a very long time since the Project is now called MacPorts.  This  
suggests you have a [b] very [/b] old version of the Macports system.  
Others can tell you if its updatable.


If you bash shell told you command not found when you tried to do sudo  
port -d selfupdate then your path is surely wrong. So you have two  
problems.  Were you in an xterm window or a Terminal window? were you  
logged in?
if you try the command env you will see yor environment values printed  
on screen. PATH should START:


PATH=/opt/local/bin:/opt/local/sbin:bunch_of_other_stuff

Does it?






On Nov 25, 2007 10:39 PM, paul beard [EMAIL PROTECTED] wrote:




On 11/25/07, Ryan Schmidt [EMAIL PROTECTED] wrote:


On Nov 25, 2007, at 13:29, paul beard wrote:


On 11/25/07, Ryan Schmidt wrote:

What Mac do you have? Did you previously have a different Mac,  
back

when you originally installed MacPorts? Maybe you used Migration
Assistant to transfer everything (including MacPorts) from the old
Mac to the new Mac? IF the old Mac was PowerPC-based and the new  
one
is Intel-based, that could explain the error you're seeing, and  
you
should really uninstall everything and start over. You can use  
port

installed to see what ports are installed.


How will that work if the port command doesn't run?


Good question. It might not work then. We might have to dig deeper  
to

see what's installed. Like this:

cd /opt/local/var/macports/receipts/
find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$% 
\1 @

\2%'


Watch the line-wrap: that \2% should stay on the same line. Same  
below . . .

.


Or, for the user's version of DarwinPorts before the new layout, I
hope this is it:

cd /opt/local/var/db/dports/receipts/
find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$% 
\1 @\2%'



It also sounds like your PATH is not correct since it can't find  
the

port command.


Actually, it does seem to find it OK: if the user types 'port
something' and the result is

Error: /opt/local/bin/port: Failed to initialize ports system, no
suitable image found.  Did find:
  /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib:
mach-o, but wrong architecture

it sounds like the command is there but if the error message is
right, that the architecture is wrong.


It sounds to me like the user is having to run /opt/local/bin/port
because when just port is run this error was shown:

On Nov 25, 2007, at 11:14, tania habib wrote:


On Nov 25, 2007 2:11 PM, William Davis wrote:





Did you try :
sudo port -d selfupdate
?


Yes I did, but it comes with the error that port:command not  
found.

I feel there is some path problem. Can please guide me through the
procedure of setting the path variable in X11!









--
Paul Beard / www.paulbeard.org/
[EMAIL PROTECTED]/[EMAIL PROTECTED]


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




William Davis
frstanATbellsouthDOTnet
Mac OS X.5.1 Darwin 9.1.0
Xquartz-1.2a11
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non

___
macports-users mailing list
macports-users@lists.macosforge.org

Re: problem initializing macports

2007-11-26 Thread Ryan Schmidt


On Nov 26, 2007, at 04:39, tania habib wrote:


I have Macbook Pro with mac osx 10.4, I previously installed the
macports on the same machine and it was running perfectly. Then I did
not use it for a while and now when I go to the terminal window, and
type port it gives me this error
no suitable image found.  Did find:
/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib:
mach-o, but wrong architecture
while executing
load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib
(package ifneeded script)
invoked from within
package_native require Pextlib 1.0
(eval body line 1)
invoked from within
eval package_native $args
(procedure package line 14)
invoked from within
package require Pextlib 1.0
(procedure dportinit line 311)
invoked from within
dportinit ui_options global_options global_variations
Error: /opt/local/bin/port: Failed to initialize ports system, no
suitable image found.  Did find:
/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib:
mach-o, but wrong architecture

Should I uninstall the whole thing and start from the beginning or is
there any other way?


I'd like to know what architecture the pextlib library is on your  
computer... What is the output of this command?


file /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib

It should say it's an i386 library. If it says it's a ppc library,  
then that's certainly the problem, though I can't imagine how it  
happened, if you didn't migrate your installation from a PowerPC  
machine.




I have tried this command

cd /opt/local/var/db/dports/receipts/
find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$% 
\1 @\2%'

but I do not know what to do next!


What output does this produce? The goal is to get a list of the  
installed ports and their variants so that if you need to reinstall  
the whole mess, then you'll know what ports to reinstall.


If you already know what ports you want to have, and what variants of  
those ports you want, you don't need this list.




Please let me know an easier way out of this mess!


Short of a complete uninstall and reinstallation, it's hard to  
suggest a solution, since we don't yet know the cause of the problem.  
But...


You could try installing MacPorts again, on top of your existing  
installation. If any files are missing or wrong, this should fix it.  
This is also what was suggested in a previous thread about this error  
message.


http://lists.macosforge.org/pipermail/macports-users/2007-May/ 
003524.html


Note that you can't use the installer for MacPorts 1.5.0 or later, as  
that will almost certainly not work, and will make a big mess, since  
the internal layout of MacPorts has radically changed from the layout  
that your version uses. The selfupdate process takes this into  
account and rearranges your MacPorts layout if necessary, but the  
disk image installer does not, as far as I know. The new layout  
appeared in MacPorts 1.5.0, so you must be using MacPorts 1.4.x or  
earlier. So you would want to use the MacPorts 1.4.0 installer.


http://svn.macports.org/repository/macports/downloads/MacPorts-1.4.0/ 
MacPorts-1.4.0-10.4.dmg


Once that's installed, the port command should work again. And then  
sudo port selfupdate would hopefully update you to MacPorts 1.5.2.  
And port outdated will show you which of your ports have newer  
versions available. And sudo port upgrade foo will upgrade any port  
foo that you indicate. And sudo port upgrade outdated might even  
upgrade all your outdated ports for you all at once. (I usually do it  
one at a time though.)



Before you do any of this, please ensure that you have Xcode 2.4.1 or  
2.5 installed. Get Info on /Developer/Applications/Xcode to see what  
version you have. Download a newer Xcode from http:// 
developer.apple.com/ if necessary. Earlier versions of Xcode often  
cause problems.



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


Re: not specifically MacPorts but tools-related

2007-11-26 Thread Markus Weissmann
On Sat, 2007-11-24 at 02:18 -0600, Ryan Schmidt wrote:
 On Nov 22, 2007, at 23:30, paul beard wrote:
 
  On 11/22/07, Ryan Schmidt wrote:
 
  I assume the only practical difference between MacPorts gcc_select
  and Apple gcc_select is that Apple gcc_select only lets you select
  Apple-installed compilers, while MacPorts lets you (additionally?)
  select MacPorts-installed compilers.
 
  Apparently, that's the case. Any idea how you add/remove compilers  
  from it's list? In either the Apple-supplied one or the MacPorts  
  version?
 
 Based on man gcc_select (with the gcc_select port not installed), I  
 assume it's not possible to modify the list of compilers it can  
 select. If it had been possible, I assume MacPorts would just  
 piggyback on Apple's gcc_select instead of reinventing the wheel.
 
 Configuration of the MacPorts gcc_select seems to be possible (though  
 I have not tried it myself). Read man gcc_select (with the  
 gcc_select port installed).
 

You can of course also directly use the various gcc compilers for your
programs by calling `gcc-mp-4.2 foo.c -o foo' (etc.);
gcc_select is for getting `gcc foo.c -o foo' to work just like that
for a preselected compiler, like if you always want to build your
sources with gcc 4.1 from macports.

The MacPorts' gcc_select really is beta and requires some work; it
_should_ not interfere with any port build but probably will do with
some. So it is not intended for getting ports to build with a different
version of gcc -- a goal that would probably require quite some effort.


Regards,

-Markus

-- 
Dipl. Inf. (FH) Markus Weissmann
http://www.mweissmann.de/
http://www.macports.org/

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


Change in mail routine for @macports.org addresses

2007-11-26 Thread James Berry
As part of ongoing spam-fighting efforts, mail to our @macports.org  
addresses is now being routed through the main apple email servers in  
order to better filter out spam.


Please let us know if you see any adverse effects from this change.

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


Problem installing redland-bindings +python (python 2.3 dependency)

2007-11-26 Thread David Larlet

Hi all,

I got some trouble with the python redland--binding on leopard, here  
is the difference with the ruby installation:


$ sudo port install redland-bindings +ruby
---  Fetching redland-bindings
---  Verifying checksum(s) for redland-bindings
---  Extracting redland-bindings
---  Configuring redland-bindings
---  Building redland-bindings with target all
---  Staging redland-bindings into destroot
---  Installing redland-bindings 1.0.6.1_0+ruby
---  Activating redland-bindings 1.0.6.1_0+ruby
---  Cleaning redland-bindings


$ sudo port install redland-bindings +python
---  Building python23 with target all
Error: Target org.macports.build returned: shell command  cd /opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_python23/work/Python-2.3.6  make  
all  returned error 2
Command output: gcc -L/opt/local/lib -u __dummy -u _PyMac_Error - 
framework System -framework CoreServices -framework Foundation -o  
python.exe \

Modules/python.o \
-L. -lpython2.3 -ldl -framework CoreServices -framework 
Foundation
Undefined symbols:
  __dummy, referenced from:
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1

Error: The following dependencies failed to build: python23
Error: Status 1 encountered during processing.


The issue seemed to be a python23 dependency so I decide to install  
this one but I got another problem at this point:



$ sudo port install python23
---  Building python23 with target all
Error: Target org.macports.build returned: shell command  cd /opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_lang_python23/work/Python-2.3.6  make  
all  returned error 2
Command output: gcc -L/opt/local/lib -u __dummy -u _PyMac_Error - 
framework System -framework CoreServices -framework Foundation -o  
python.exe \

Modules/python.o \
-L. -lpython2.3 -ldl -framework CoreServices -framework 
Foundation
Undefined symbols:
  __dummy, referenced from:
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1

Error: Status 1 encountered during processing.


which were already reported here: 
http://lists.macosforge.org/pipermail/macports-users/2007-November/006972.html

Now what can I do? I think it should more interesting to depends on  
python24 but at least to allow me to install python23, or maybe I'm  
doing something wrong?


Regards,
David

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


MacQuantian?

2007-11-26 Thread Alexy Khrabrov
I've recently discovered a great Linux distro, which strives to  
package all quantitative open source applications: the Quantian, by  
the Debian pro and well-known quant Dirk Eddelbuettel:


http://dirk.eddelbuettel.com/quantian.html

I wonder what would it take to mirror it as a blob of MacPorts?   
Basically, all these apps have ports -- and a large subset certainly  
does.  So one can simply create a port quantian which would simply  
depend on all those ports already available and build them --correct?


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


Re: Can't install Gimp on 10.5.1

2007-11-26 Thread Yves de Champlain


Le 07-11-26 à 16:59, paul beard a écrit :




On 11/26/07, chagrins [EMAIL PROTECTED] wrote:
I've been able to install a few packages (unrar and a couple of
others), but I can't get gimp to install. I have Xcode and X11
installed.

sudo port -v install gimp

After entering that, I get asked for my password, which I enter. Then,
I hear my computer working for a few seconds, but there's no feedback
at all, ever (I've left it overnight a couple of times). tclsh
processor usage is high the whole time. I stop it using Control-C.

try running it with -d or -v so you actually see what it's doing.  
gimp has a lot of dependencies to install and it takes quite a  
while the first time.


-d is better in this case

yves

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


Re: Can't install Gimp on 10.5.1

2007-11-26 Thread chagrins
Thanks. I did sudo port -d install gimp, and I get this output,  
seemingly ad infinitum:


DEBUG: Didn't find receipt, going to depspec regex for: expat
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/XFree86
DEBUG: Searching for dependency: XFree86
DEBUG: Didn't find receipt, going to depspec regex for: XFree86
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib  
regex: ^libX11\.6\.dylib$
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib  
regex: ^libX11\.6\.dylib$

DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/render
DEBUG: Searching for dependency: render
DEBUG: Didn't find receipt, going to depspec regex for: render
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: Searching for dependency: libiconv
DEBUG: Didn't find receipt, going to depspec regex for: libiconv
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: Searching for dependency: expat
DEBUG: Didn't find receipt, going to depspec regex for: expat
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/print/freetype
DEBUG: Searching for dependency: freetype
DEBUG: Didn't find receipt, going to depspec regex for: freetype

On Nov 26, 2007, at 5:46 PM, Yves de Champlain wrote:



Le 07-11-26 à 16:59, paul beard a écrit :




On 11/26/07, chagrins [EMAIL PROTECTED] wrote: I've been able  
to install a few packages (unrar and a couple of

others), but I can't get gimp to install. I have Xcode and X11
installed.

sudo port -v install gimp

After entering that, I get asked for my password, which I enter.  
Then,

I hear my computer working for a few seconds, but there's no feedback
at all, ever (I've left it overnight a couple of times). tclsh
processor usage is high the whole time. I stop it using Control-C.

try running it with -d or -v so you actually see what it's doing.  
gimp has a lot of dependencies to install and it takes quite a  
while the first time.


-d is better in this case

yves

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


Apache 2.2.6 and OpenSSL 0.9.8g do not seem to be compatible

2007-11-26 Thread Rob Huston

Hello,

After upgrading to Leopard, I upgraded my MacPorts Apache2  
installation from 2.2.4 to 2.2.6. Unfortunately, upon restarting  
Apache, via


sudo /opt/local/apache2/bin/apachectl -k restart

I now get the following error message:

httpd: Syntax error on line 96 of /opt/local/apache2/conf/ 
httpd.conf:

Cannot load /opt/local/apache2/modules/mod_ssl.so into server:
Symbol not found: _ssl_cmd_SSLCACertificateFile\n
Referenced from: /opt/local/apache2/modules/mod_ssl.so\n
Expected in: flat namespace\n

If I comment out the

LoadModule ssl_module modules/mod_ssl.so

line in httpd.conf, then Apache starts up and I can see my local web  
pages and Subversion repositories (as long as I don't use SSL). The  
strange thing is that, in Leopard, Apple has upgraded the factory  
install of Apache to 2.2.6 already, and it has SSL enabled. If I  
activate Apple's Apache via the Web Sharing command in the System  
Preferences, everything starts up just fine. However, I notice that  
Apple's factory installation of OpenSSL is at version 0.9.7l, whereas  
the MacPorts version (as of this writing) is at 0.9.8g. Perhaps there  
might be an incompatibility with Apache 2.2.x and OpenSSL 0.9.8g?  
Before I upgraded my MacPorts, I was running Apache 2.2.4 with OpenSSL  
0.9.8e without any problems.


Has anybody else experienced this?

Thanks much for any help,

- Rob Huston

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


Re: Can't install Gimp on 10.5.1

2007-11-26 Thread paul beard
On 11/26/07, chagrins [EMAIL PROTECTED] wrote:

 Thanks. I did sudo port -d install gimp, and I get this output,
 seemingly ad infinitum:

 DEBUG: Didn't find receipt, going to depspec regex for: expat
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/XFree86
 DEBUG: Searching for dependency: XFree86
 DEBUG: Didn't find receipt, going to depspec regex for: XFree86
 DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib
 regex: ^libX11\.6\.dylib$
 DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib
 regex: ^libX11\.6\.dylib$
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/render
 DEBUG: Searching for dependency: render
 DEBUG: Didn't find receipt, going to depspec regex for: render
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
 DEBUG: Searching for dependency: libiconv
 DEBUG: Didn't find receipt, going to depspec regex for: libiconv
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
 DEBUG: Searching for dependency: expat
 DEBUG: Didn't find receipt, going to depspec regex for: expat
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/print/freetype
 DEBUG: Searching for dependency: freetype
 DEBUG: Didn't find receipt, going to depspec regex for: freetype


To use a technical expression, that looks pretty well hosed up.
What does port installed look like? It looks like perhaps your receipts
got messed with somehow, and that's how MacPorts keeps track of what's
installed and what files make up each port's contents.

I have had this happen when I ran out of space and the receipt for a port
(or ports) could not be written  to disk. It's unpleasant.


Show up port installed and we'll see if that jibes with what you should
have.

-- 
Paul Beard / www.paulbeard.org/
[EMAIL PROTECTED]/[EMAIL PROTECTED]
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Can't install Gimp on 10.5.1

2007-11-26 Thread Michael E. Shamgochian
Strange! This is pretty much a clean install of MacPorts - I've tried  
reinstalling MacPorts to see if that would solve the problem. Right  
now, I'm just getting this from port installed:


The following ports are currently installed:
  par2 @0.4_1+darwin_9 (active)
  unrar @3.7.8_0 (active)

(I installed those two with no trouble.)

On Nov 26, 2007, at 11:03 PM, paul beard wrote:




On 11/26/07, chagrins [EMAIL PROTECTED] wrote: Thanks. I did  
sudo port -d install gimp, and I get this output,

seemingly ad infinitum:

DEBUG: Didn't find receipt, going to depspec regex for: expat
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/XFree86
DEBUG: Searching for dependency: XFree86
DEBUG: Didn't find receipt, going to depspec regex for: XFree86
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib
regex: ^libX11\.6\.dylib$
DEBUG: Found Dependency: path: /usr/X11R6/lib filename: libX11.6.dylib
regex: ^libX11\.6\.dylib$
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/render
DEBUG: Searching for dependency: render
DEBUG: Didn't find receipt, going to depspec regex for: render
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
DEBUG: Searching for dependency: libiconv
DEBUG: Didn't find receipt, going to depspec regex for: libiconv
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: Searching for dependency: expat
DEBUG: Didn't find receipt, going to depspec regex for: expat
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/print/freetype
DEBUG: Searching for dependency: freetype
DEBUG: Didn't find receipt, going to depspec regex for: freetype

To use a technical expression, that looks pretty well hosed up.

What does port installed look like? It looks like perhaps your  
receipts got messed with somehow, and that's how MacPorts keeps  
track of what's installed and what files make up each port's contents.


I have had this happen when I ran out of space and the receipt for a  
port (or ports) could not be written  to disk. It's unpleasant.



Show up port installed and we'll see if that jibes with what you  
should have.


--
Paul Beard / www.paulbeard.org/
[EMAIL PROTECTED]/[EMAIL PROTECTED]


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


Re: Can't install Gimp on 10.5.1

2007-11-26 Thread paul beard
On 11/26/07, Michael E. Shamgochian [EMAIL PROTECTED] wrote:

 Strange! This is pretty much a clean install of MacPorts - I've tried
 reinstalling MacPorts to see if that would solve the problem. Right
 now, I'm just getting this from port installed:

 The following ports are currently installed:
par2 @0.4_1+darwin_9 (active)
unrar @3.7.8_0 (active)

 (I installed those two with no trouble.)


odd. Not sure how you picked out two ports that don't depend on gettext,
expat, or libiconv ;-)
to go back to the top of this thread, gimp2 has library dependencies on:
aalib
curl
libart_lgpl
libexif
libgnomeui
libgtkhtml
libmng
librsvg
libwmf
p5-xml-parser
poppler
py25-gtk


and those all have dependencies on other things. So it should take some time
to install.

Why you were seeing all those messages eludes me. Want to try installing
gimp2 again?

try:

port -d install gimp2 | tee /tmp/logfile.txt so you get the entrails to
peruse later.

-- 
Paul Beard / www.paulbeard.org/
[EMAIL PROTECTED]/[EMAIL PROTECTED]
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Apache 2.2.6 and OpenSSL 0.9.8g do not seem to be compatible

2007-11-26 Thread Takashi Yoshida

Hi Rob,

I'm getting the same issue here. I don't have a solution but I comment  
out the offending line and Apache 2 starts just fine.


Hope this gets fixed or someone here knows how to fix it.

On Nov 27, 2007, at 9:59 AM, Rob Huston wrote:


Hello,

After upgrading to Leopard, I upgraded my MacPorts Apache2  
installation from 2.2.4 to 2.2.6. Unfortunately, upon restarting  
Apache, via


   sudo /opt/local/apache2/bin/apachectl -k restart

I now get the following error message:

   httpd: Syntax error on line 96 of /opt/local/apache2/conf/ 
httpd.conf:

   Cannot load /opt/local/apache2/modules/mod_ssl.so into server:
   Symbol not found: _ssl_cmd_SSLCACertificateFile\n
   Referenced from: /opt/local/apache2/modules/mod_ssl.so\n
   Expected in: flat namespace\n

If I comment out the

   LoadModule ssl_module modules/mod_ssl.so

line in httpd.conf, then Apache starts up and I can see my local web  
pages and Subversion repositories (as long as I don't use SSL). The  
strange thing is that, in Leopard, Apple has upgraded the factory  
install of Apache to 2.2.6 already, and it has SSL enabled. If I  
activate Apple's Apache via the Web Sharing command in the System  
Preferences, everything starts up just fine. However, I notice that  
Apple's factory installation of OpenSSL is at version 0.9.7l,  
whereas the MacPorts version (as of this writing) is at 0.9.8g.  
Perhaps there might be an incompatibility with Apache 2.2.x and  
OpenSSL 0.9.8g? Before I upgraded my MacPorts, I was running Apache  
2.2.4 with OpenSSL 0.9.8e without any problems.


Has anybody else experienced this?

Thanks much for any help,

- Rob Huston

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


--
Takashi Yoshida
tyoshida [at] mac [dot] com



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


KDE wont build

2007-11-26 Thread Gregory Dodwell
Basically, I'm trying to install Kate, and I understand this necessitates an
installation of KDE
(sudo port install kde)

The first of my failed dependancy installations is kdepim3. I tried
installing separately and this is
the result:

---  Building kdepim3 with target all
Error: Target org.macports.build returned: shell command cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim3/work/kdepim-
3.5.8  ./CompileScript.sh returned error 1
Command output: kxml_compiler: substituteReferences for 'attlist.em'
kxml_compiler: REF strong
kxml_compiler: substituteReferences for 'strong'
kxml_compiler: substituteReferences for 'strong'
kxml_compiler: REF attlist.strong
kxml_compiler: substituteReferences for 'attlist.strong'
kxml_compiler: REF br
kxml_compiler: substituteReferences for 'br'
kxml_compiler: substituteReferences for 'br'
kxml_compiler: REF attlist.br
kxml_compiler: substituteReferences for 'attlist.br'
kxml_compiler: REF responsible
kxml_compiler: substituteReferences for 'responsible'
kxml_compiler: substituteReferences for 'responsible'
kxml_compiler: REF attlist.responsible
kxml_compiler: substituteReferences for 'attlist.responsible'
kxml_compiler: REF category
kxml_compiler: Don't resolve self reference
kxml_compiler: Begin creating code
kxml_compiler: Create classes
kxml_compiler: Create parser
kxml_compiler: Creator::createFileParserCustom()
kxml_compiler: Begin printing code
kxml_compiler: Print external parser.
kxml_compiler: Print header
kxml_compiler: Print implementation
kxml_compiler: Finished.
Error creating ./kresources/featureplan/kde-features.h. Exit status 140.
../../kode/kxml_compiler/kxml_compiler --custom-parser
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim3/work/kdepim-
3.5.8/kresources/featureplan/kde-features.rng
kdepim3-3.5.8-0 make failed!

Error: Status 1 encountered during processing.

Any clues?

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


Re: Apache 2.2.6 and OpenSSL 0.9.8g do not seem to be compatible

2007-11-26 Thread Bjarne D Mathiesen
http://trac.macports.org/projects/macports/ticket/13182

-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
--
denne besked er skrevet i et totalt M$-frit miljø
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Postfix +TLS

2007-11-26 Thread Brian Matzon
Can anyone confirm that the 'warning: run-time library vs. compile-time 
header version mismatch:
OpenSSL 0.9.8 may not be compatible with OpenSSL 0.9.7' issue has been 
fixed for Postfix using TLS?


--
The cake is a lie

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


Re: What is MacPort 1.5 trying to pipe the gzip output to?

2007-11-26 Thread Jesse Ohlsson
Ryan,  I installed it from the dmg file from macports.org here:   
MacPorts-1.5.0-10.5.dmg.


Here is my /usr/local:

[g5:/usr/local] jess% ls -la
total 8
drwxr-xr-x  12 root  admin  408 Nov 12 13:01 .
drwxr-xr-x@ 15 root  wheel  510 Nov 25 12:51 ..
drwxr-xr-x   3 root  wheel  102 Oct 17 20:05 OpenSourceLicenses
drwxr-xr-x   3 root  wheel  102 Oct 17 20:05 OpenSourceVersions
drwxr-xr-x   7 root  admin  238 Apr 28  2005 bin
drwxr-xr-x   2 root  admin   68 Feb 17  2007 lib
drwxr-xr-x   4 root  admin  136 May  5  2005 libexec
lrwxr-xr-x   1 root  admin   47 Aug 11  2005 mysql - mysql- 
standard-4.0.24-apple-darwin7.7.0-powerpc
drwxr-xr-x  19 root  wheel  646 Mar  5  2005 mysql-standard-4.0.24- 
apple-darwin7.7.0-powerpc

drwxr-xr-x  11 root  staff  374 Apr  4  2005 php5
drwxr-xr-x   2 root  staff   68 Oct  9  2005 sbin
drwxr-xr-x   4 root  admin  136 Feb 17  2007 share

I don't have a /sw directory in the root, and I have never installed  
Fink.  A find / -name /sw found nothing, either.


I hope there is some interesting or useful information here..

Thanks.

Jess


On Nov 25, 2007, at 9:20 PM, Ryan Schmidt wrote:


Don't forget to Reply To All so that your reply goes to the list too.

On Nov 25, 2007, at 14:09, Jesse Ohlsson wrote:


I am running MacPorts 1.520 on a PowerPC G5 under Mac OS X 10.5.1.

	It appears that whatever script is extracting the expat package  
(whatever that is!), or the fping package for that matter, is  
missing the tar command, but has the switches intended to follow  
it.


	Thanks for the quick response, I hope this is something we can  
find the solution for...


Did you build MacPorts from source or install it from a disk image?  
(Which disk image?)


Do you have anything installed in /usr/local? Do you have Fink  
installed in /sw? Both of those could conflict with MacPorts in  
weird and exciting ways.


The expat port doesn't say anything about the tar command. That's a  
global MacPorts extraction mechanism, so I would expect all ports to  
be equally broken for you at this point. The relevant code, I think,  
from portextract.tcl:


default extract.post_args {| ${portutil::autoconf::tar_command} -xf  
-}


So ${portutil::autoconf::tar_command} is empty for you. I don't know  
why yet.




On Nov 25, 2007, at 7:48 PM, Ryan Schmidt wrote:


On Nov 25, 2007, at 12:12, Jesse Ohlsson wrote:

	I installed the Xcode and X11, then the latest MacPorts and  
successfully updated it as well.  I am ultimately trying to get  
wireshark running.  This is the failure message I get:



[g5:~] jess% sudo port install wireshark
---  Extracting expat
Error: Target org.macports.extract returned: shell command  cd / 
opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_textproc_expat/work  gzip -dc /opt/ 
local/var/macports/distfiles/expat/expat-2.0.1.tar.gz | -xf -   
returned error 127

Command output: sh: -xf: command not found

gzip: stdout: Broken pipe

Error: The following dependencies failed to build: glib2 gettext  
expat libiconv pkgconfig gtk2 atk cairo fontconfig freetype zlib  
libpng render xrender jpeg pango Xft2 xorg-xproto xorg-util- 
macros tiff libpcap openssl

Error: Status 1 encountered during processing.



I tried installing port fping and got the same error.

Is this a simple fix?  Has anyone else seen this?  I'd sure  
appreciate any help.


Haven't seen this problem before. That's supposed to be a tar  
command the output of gzip is being piped to.


Exactly what version of MacPorts do you have? What version of  
Xcode? What version of Mac OS X? What kind of Mac (Intel or  
PowerPC)?


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


Re: What is MacPort 1.5 trying to pipe the gzip output to?

2007-11-26 Thread Ryan Schmidt

Try moving /usr/local aside (renaming it) to see if that helps.

sudo mv /usr/local /usr/local-off

If it does, then something in /usr/local is conflicting, and again, I  
recommend not having anything in /usr/local (though /usr/local/ 
anything is fine, so /usr/local/mysql and /usr/local/php5 are not a  
problem, but the lib, bin, libexec, sbin and share directories could  
be).


On Nov 27, 2007, at 00:57, Jesse Ohlsson wrote:

Ryan,  I installed it from the dmg file from macports.org here:   
MacPorts-1.5.0-10.5.dmg.


Here is my /usr/local:

[g5:/usr/local] jess% ls -la
total 8
drwxr-xr-x  12 root  admin  408 Nov 12 13:01 .
drwxr-xr-x@ 15 root  wheel  510 Nov 25 12:51 ..
drwxr-xr-x   3 root  wheel  102 Oct 17 20:05 OpenSourceLicenses
drwxr-xr-x   3 root  wheel  102 Oct 17 20:05 OpenSourceVersions
drwxr-xr-x   7 root  admin  238 Apr 28  2005 bin
drwxr-xr-x   2 root  admin   68 Feb 17  2007 lib
drwxr-xr-x   4 root  admin  136 May  5  2005 libexec
lrwxr-xr-x   1 root  admin   47 Aug 11  2005 mysql - mysql- 
standard-4.0.24-apple-darwin7.7.0-powerpc
drwxr-xr-x  19 root  wheel  646 Mar  5  2005 mysql-standard-4.0.24- 
apple-darwin7.7.0-powerpc

drwxr-xr-x  11 root  staff  374 Apr  4  2005 php5
drwxr-xr-x   2 root  staff   68 Oct  9  2005 sbin
drwxr-xr-x   4 root  admin  136 Feb 17  2007 share

I don't have a /sw directory in the root, and I have never  
installed Fink.  A find / -name /sw found nothing, either.


I hope there is some interesting or useful information here..

Thanks.

Jess


On Nov 25, 2007, at 9:20 PM, Ryan Schmidt wrote:


Don't forget to Reply To All so that your reply goes to the list too.

On Nov 25, 2007, at 14:09, Jesse Ohlsson wrote:


I am running MacPorts 1.520 on a PowerPC G5 under Mac OS X 10.5.1.

	It appears that whatever script is extracting the expat package  
(whatever that is!), or the fping package for that matter, is  
missing the tar command, but has the switches intended to  
follow it.


	Thanks for the quick response, I hope this is something we can  
find the solution for...


Did you build MacPorts from source or install it from a disk  
image? (Which disk image?)


Do you have anything installed in /usr/local? Do you have Fink  
installed in /sw? Both of those could conflict with MacPorts in  
weird and exciting ways.


The expat port doesn't say anything about the tar command. That's  
a global MacPorts extraction mechanism, so I would expect all  
ports to be equally broken for you at this point. The relevant  
code, I think, from portextract.tcl:


default extract.post_args {| ${portutil::autoconf::tar_command} - 
xf -}


So ${portutil::autoconf::tar_command} is empty for you. I don't  
know why yet.




On Nov 25, 2007, at 7:48 PM, Ryan Schmidt wrote:


On Nov 25, 2007, at 12:12, Jesse Ohlsson wrote:

	I installed the Xcode and X11, then the latest MacPorts and  
successfully updated it as well.  I am ultimately trying to get  
wireshark running.  This is the failure message I get:



[g5:~] jess% sudo port install wireshark
---  Extracting expat
Error: Target org.macports.extract returned: shell command  cd  
/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_t 
extproc_expat/work  gzip -dc /opt/local/var/macports/ 
distfiles/expat/expat-2.0.1.tar.gz | -xf -  returned error 127

Command output: sh: -xf: command not found

gzip: stdout: Broken pipe

Error: The following dependencies failed to build: glib2  
gettext expat libiconv pkgconfig gtk2 atk cairo fontconfig  
freetype zlib libpng render xrender jpeg pango Xft2 xorg-xproto  
xorg-util-macros tiff libpcap openssl

Error: Status 1 encountered during processing.



I tried installing port fping and got the same error.

Is this a simple fix?  Has anyone else seen this?  I'd sure  
appreciate any help.


Haven't seen this problem before. That's supposed to be a tar  
command the output of gzip is being piped to.


Exactly what version of MacPorts do you have? What version of  
Xcode? What version of Mac OS X? What kind of Mac (Intel or  
PowerPC)?




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


Re: MacQuantian?

2007-11-26 Thread Ryan Schmidt


On Nov 26, 2007, at 13:43, Alexy Khrabrov wrote:

I've recently discovered a great Linux distro, which strives to  
package all quantitative open source applications: the Quantian, by  
the Debian pro and well-known quant Dirk Eddelbuettel:


http://dirk.eddelbuettel.com/quantian.html

I wonder what would it take to mirror it as a blob of MacPorts?   
Basically, all these apps have ports -- and a large subset  
certainly does.  So one can simply create a port quantian which  
would simply depend on all those ports already available and build  
them --correct?


I doubt it.

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