Re: MacPorts 1.5.2 now available

2007-08-21 Thread Bryan Blackburn

On Aug 21, 2007, at 3:33 PM, Ryan Schmidt wrote:
...


Devs: I think this problem occurs because MacPorts needs a newer  
version of readline than the one you have in /usr/local. Couldn't  
we add a check to ./configure to make sure the correct version of  
readline is available, and issue a sensible error message if not,  
rather than failing with this unfortunate undefined symbols error  
later on? Or, couldn't we instruct configure never to look for  
anything in /usr/local? I believe the latter has been suggested  
before but I don't remember the outcome.




The last time I looked into something like this, it was my conclusion  
that /usr/local is considered special by gcc and hence, you can't  
remove it from the list.  It would definitely be a great thing if  
this has changed, or I was wrong, because having MP tell gcc to  
always ignore /usr/local would definitely solve many problems, the  
recurring readline issue being one of the most common of course.


Bryan

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


Re: Split function broken in Perl 5.8.8

2007-10-04 Thread Bryan Blackburn

On Oct 4, 2007, at 6:29 PM, Eric Tiffany wrote:

The split function fails to work properly on MacOS 10.4.10, either  
using the

builtin perl (v5.8.6) or v5.8.8 from the MacPorts project.

For example, running this command

perl -e 'print join(":", split(/ */, "hi there"));'

produces no output on MacOS, but produces



Watch your prompt and newlines; try

$ perl -e 'print join(":", split(/ */, "hi there")) . "\n";'

instead to make sure there's a newline at the end.

Bryan



h:i:t:h:e:r:e

as expected with perl v5.8.8 on Ubuntu 7.04

I could create a simpler example, but this is sort of canonical, and
it's in the documentation for the split function.

I submitted this problem via perlbug, but I suspect they will throw  
up their
hands at a Mac version of perl.  So I'm sending it here, too.   
Apologies if
this issue is known, but there is no search capability in the  
worthless

mailman program that runs the macports lists.

ET
--

Eric  Tiffany   | +1 413-458-3743
[EMAIL PROTECTED]   | +1 413-627-1778 mobile



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


Re: fetch problem

2007-10-07 Thread Bryan Blackburn

On Oct 7, 2007, at 9:28 PM, Boey Maun Suang wrote:


Hi Belinda,

Am running port version 1.520 and am trying to install keychain.  
Any idea how to fix this?


13 % sudo port install keychain
---> Fetching keychain
---> Attempting to fetch keychain-2.6.8.tar.bz2 from http:// 
dev.gentoo.org/~agriffis/keychain/
---> Attempting to fetch keychain-2.6.8.tar.bz2 from http:// 
svn.macports.org/repository/macports/distfiles/keychain
---> Attempting to fetch keychain-2.6.8.tar.bz2 from http:// 
svn.macports.org/repository/macports/distfiles/general/
---> Attempting to fetch keychain-2.6.8.tar.bz2 from http:// 
svn.macports.org/repository/macports/downloads/keychain

Error: Target org.macports.fetch returned: fetch failed
Error: Status 1 encountered during processing.


I'm not sure that there's that much we can do about this; the  
download page and the sources seem to have been completely  
removed.  If the download page doesn't resurface and if nobody can  
provide a copy of the source tarball, then I'm afraid that it's  
probably lost.




Looks like the FreeBSD servers still have a copy, so using 'freebsd'  
in master_sites should do the trick.


Bryan



Kind regards,


Maun Suang

--
Boey Maun Suang (Boey is my surname)
Email: boeyms at macports dot org



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


Re: Speed up build phase with "make -j"

2007-10-28 Thread Bryan Blackburn

On Oct 28, 2007, at 2:42 AM, js wrote:


http://www.macosxhints.com/article.php?story=20070524074057479
From this article, I learned how we can easily speed up build  
phase of MacPorts.


$ sudo port clean lv

...


Can I make this behavior (-j) default for all ports using make?



There is the 'buildmakejobs' option in /opt/local/etc/macports/ 
macports.conf which should be passing a '-j #' to make, though I  
personally haven't tried it.


Bryan



Thank you.


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


Re: cdrtools returning error on install

2007-11-21 Thread Bryan Blackburn

On Nov 21, 2007, at 9:11 PM, Ryan Schmidt wrote:


On Nov 21, 2007, at 21:33, Tomasz Finc wrote:


On Nov 21, 2007 6:17 PM, Ryan Schmidt wrote:


On Nov 21, 2007, at 17:19, stuw20 wrote:

> I was wanting some help with cdrtools. I need it to run turbojet2.
>
> When I try and
>
> install ports cdrtools
>
> It replies with this error.
> Error: Target org.macports.patch returned: error copying
> "/usr/share/libtool/config.guess": no such file or directory
> Error: Status 1 encountered during processing.
>
> Any ideas?

I don't see any open bugs for cdrtools. Also, /usr/share/libtool/
config.guess exists on my Mac OS X 10.4.11 Intel system. What OS do
you have?


This exact issue has also been reported for libnet in

http://trac.macosforge.org/projects/macports/ticket/13334

No progress on it yet from the port maintainer. I had to manually  
change the port file to pickup a config.guess in /opt


10.4 and 10.5 both include /usr/share/libtool/config.guess, so if  
you don't have it, we need to fix that. Maybe it's provided by an  
optional package you didn't install? Tell us what OS version you  
have first, then we can postulate what package you might be missing.




I wonder if this is an Xcode 2.5 thing, as I don't have a /usr/share/ 
libtool directory at all; config.sub and config.guess are present in / 
usr/share/automake-1.6 however.

This is on 10.4.11, Xcode 2.5, MBP.

Bryan



Or I suppose the ports could be changed to depend on the libtool port.



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


Re: Problems installing Python 2.5.1 on PowerMac G4

2007-12-03 Thread Bryan Blackburn

On Dec 3, 2007, at 6:53 AM, Andre-John Mas wrote:



Hi,

I am trying to install Python 2.5.1 on my PowerMac G4, but I am
running into some problems. Note that I have verified that my
ports install is up to date with 'sudo ports selfupdate'. Follows
is the output from attempting an install. Any ideas?

localhost% sudo port install python25

--->  Fetching python25
--->  Verifying checksum(s) for python25
--->  Extracting python25
--->  Applying patches to python25
--->  Configuring python25
--->  Building python25 with target all

...

libtool -o libpython2.5.dylib -dynamic  \
-all_load libpython2.5.a -single_module \
-install_name /opt/local/lib/libpython2.5.dylib \
-compatibility_version 2.5 \
-current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib
ld64 failed: in libpython2.5.a(getbuildinfo.o), not a valid ppc64  
mach-o file

libtool: internal link edit command failed
make: *** [libpython2.5.dylib] Error 1

Error: Status 1 encountered during processing.


What version of Xcode do you have installed?  When this has come up  
in the past, it was due to an older Xcode (2.1 and/or 2.2.x); so make  
sure you're running at least 2.4 (I believe) or the latest, 2.5.


Bryan

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


Re: Apache2 & IPv6

2008-01-06 Thread Bryan Blackburn


On Jan 5, 2008, at 11:13 PM, Ryan Schmidt wrote:


On Jan 5, 2008, at 23:44, Andre-John Mas wrote:

I noticed that there is no variant of Apache2 allowing for IPv6  
support. Is there any

chance one could be added?


If this is not already possible with the standard apache2, then you  
should file an enhancement request ticket in our issue tracker and  
assign it to the maintainer of the apache2 port.




It should be the default, as it's working fine with my install:

$ telnet ::1 80
Trying ::1...
Connected to localhost.
...

so at least IPv6 localhost is working.

Bryan


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


Re: This version of Links does not contain SSL/TLS support

2008-02-02 Thread Bryan Blackburn

On Feb 1, 2008, at 10:42 AM, Charlse Darwin wrote:


Hi,

I get this error when I try to load some pages.
`This version of Links does not contain SSL/TLS support'



How did you install links?  You need to use the ssl variant:

$ sudo port install links +ssl

and that should build in support for SSL/TLS.

Bryan



However it reads `SSL support since version 0.94.' here:


$ links -version
Links 2.1pre28

Regards,


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


Re: using an http proxy?

2008-03-24 Thread Bryan Blackburn
On Mar 24, 2008, at 9:07 AM, Daniel Lord wrote:
> My place of employment has everything locked down except for port 80  
> so I have to use an http proxy.
> I can use curl from the command line with the proxy option so I know  
> it should work for Macports, but a web search and the reading of the  
> Macport Wiki, FAQ and other docs has not shown that Macports can  
> take advantage of the proxy option for libCURL or the curl command.
> I have used the libCURL library using the libCURL proxy facility to  
> fetch http data with C++, so I know the proxy can work through both  
> the library and the command.
>
> I suppose I could look around in the source and hack it to use a  
> proxy option is an arbitrarily named (by me) proxy file exists and  
> using the proxy for the curl command invocation. But then it would  
> break on Macports updates.
>
> Is there an 'official' way to do this? One that should hold up  
> through Macport updates?
>

If you set the standard curl proxy environment variables (http_proxy,  
FTP_PROXY, etc; see 'man curl'), this should get fetching of sources  
to work through the proxy.

However, for selfupdate, which uses rsync, there isn't a way to use  
the proxy.  I think in this case you have to use a subversion-based  
repository instead.  For this you need to checkout MacPorts[1], then  
updated your ${prefix}/etc/macports/sources.conf to point to the  
location of the dports directory instead of the rsync:// line.

Bryan

[1] - http://trac.macports.org/projects/macports/wiki/GetMacPortsSource


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


Re: mkconsole missing in action?

2008-03-31 Thread Bryan Blackburn

On Mar 31, 2008, at 4:04 PM, Shawn Protsman wrote:

@naiad ~] sudo port install mkconsole
...

@naiad ~] locate mkconsole
/opt/local/var/macports/sources/rsync.macports.org/release/ports/ 
aqua/mkconsole
/opt/local/var/macports/sources/rsync.macports.org/release/ports/ 
aqua/mkconsole/Portfile




Note that the locate database is not updated in realtime (just once a  
week).


Try 'port contents mkconsole' to see what files were installed by that  
port.


Bryan



...

What might I be doing wrong? If this doesn't work can anyone suggest  
a different cool console app?


--Shawn

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


Re: error installing cogito

2008-04-20 Thread Bryan Blackburn

On Apr 20, 2008, at 3:28 PM, Ryan Schmidt wrote:


On Apr 20, 2008, at 3:42 PM, Guido Soranzio wrote:


On Apr 20, 2008, at 10:28 PM, Ryan Schmidt wrote:

This (various software packages not finding the programs they need  
to compile) has happened to many Leopard users for reasons we  
don't understand.


All these errors are due to the fact that in Leopard sudo doesn't
perserve environment variables.


But do you know why it then works the second time, or how we could  
fix it for our portfiles permanently?




Actually, it has something to do with the way the environment is setup  
and cleaned between stages within MacPorts.  I've been trying to  
figure out whether this is a tcl bug, or something specific to the Mac  
OS X install of 8.4.7 (as of 10.5.2), since I can't make it happen  
with 8.5.2.


The basic issue is best demonstrated with a bit of code (first with  
the Mac-default 8.4.7):


% puts $env(CC)
can't read "env(CC)": no such variable
% set env(CC) "gcc"
gcc
% puts $env(CC)
gcc
% array unset env *
% puts $env(CC)

% puts [array get env]
... CC {} ...

Note how CC in the environment is now blank, but still exists, after  
the 'array unset env *' (and if you run this yourself, you'll see all  
the environment variables in that last command are {}).  What it  
should do, and did (I believe) on 10.4 and does with 8.5.2:


% puts $env(CC)
can't read "env(CC)": no such variable
% set env(CC) "gcc"
gcc
% puts $env(CC)
gcc
% array unset env *
% puts $env(CC)
can't read "env(CC)": no such variable
% puts [array get env]

Here, after 'array unset env *' CC is no longer set in the  
environment.  Which is how it should work.  Note also, the last  
command doesn't show all env vars as empty but nothing there.


We can't use 'array unset env' as that is documented to disconnect Tcl  
from the environment, and some messing around hasn't shown a clean way  
to work around this.  Maybe a Tcl expert is needed, and determining if  
this is Mac-specific or 8.4.7; of course, either way, we have to deal  
with it.


FYI, this is done in portutil.tcl (base/src/port1.0/) in proc  
command_exec.


Bryan


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


Re: [help] Writing to /opt/local/var/log/install_setup.log ?

2008-05-02 Thread Bryan Blackburn

On May 2, 2008, at 5:36 PM, Bill Hernandez wrote:

I am trying to write a running command log to : /opt/local/var/log/ 
install_setup.log

but doing either below :

shell> $ sudo echo "${TS} $1" >> $BASH_CMD_LOG
shell> $ sudo su -m root echo "${TS} $1" >> $BASH_CMD_LOG

do not work...



This fails since sudo applies to the command, but redirection (>, >>,  
and |) is done in your shell, hence that isn't run by sudo (in fact,  
it's what is running sudo...).


...


Anybody know how to write to the log using test_one() without having  
to alter file/dir permissions, or use any of the alternatives  
mentioned above...




If you definitely don't want to change permissions on the directory or  
just the log file so you can write as your own user, one option would  
be to use tee:


$ sudo port install mycoolport | sudo tee -a /opt/local/var/log/port.log

This will send the port output to your terminal and to the log file (- 
a tells tee to append, not overwrite, just like >>).  And since you're  
running tee with sudo, it has the permission to write to that location.


Bryan



TIA

Bill Hernandez
Plano, Texas

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


Re: Fetch failed

2008-05-07 Thread Bryan Blackburn

On May 7, 2008, at 1:10 AM, Igor Mikushkin wrote:


Hello!

When I try to install something I see

Error: Target org.macports.fetch returned: fetch failed

I think the problem is in my proxy settings.
I set http_proxy, FTP_PROXY, HTTPS_PROXY and ALL_PROXY in my
~/.profile and it does not seems to work.
Maybe I do something wrong?



If you're on 10.5, your environment may be cleaned of these when you  
run sudo; one thing you can do for now is to do a 'port fetch  
' then do the 'sudo port install ' so the fetch  
uses your proxy settings.



Somehow I can download all things I need with my browser.
Then I copy them into
"/opt/local/var/db/dports/distfiles//." as described in
http://trac.macports.org/wiki/ProblemHotlist.
And I get nothing...
For example I copied libiconv-1.12.tar.gz into
"/opt/local/var/db/dports/distfiles/libiconv" but "sudo port install
libiconv" still try to fetch it.


Try /opt/local/var/macports/distfiles/libiconv/ for libiconv instead;  
that wiki page is out of date, or was until I fixed it.


Bryan




How do I can make macports use local one?


Thanks.

Best Regards.
Igor Mikushkin

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


Re: error installing cogito

2008-05-13 Thread Bryan Blackburn

On May 13, 2008, at 1:54 AM, Ryan Schmidt wrote:


On Apr 20, 2008, at 7:09 PM, Bryan Blackburn wrote:

[about the Leopard problem where some ports fail to install properly  
with a seemingly endless variety of bizarre error messages if  
installing them causes a dependency to be installed first, but the  
port succeeds if you try the install a second time (because now it  
has no dependencies to install)]

...


Thanks for the analysis! I added a link to your explanation to 
http://trac.macports.org/wiki/LeopardProblems

Do we really not have a macports base ticket for this issue yet? I  
couldn't find one but maybe I'm searching wrong. We need one so that  
we can mark all the other port bugs that are cropping up as  
duplicates of it.




Oh, yeah, this issue.  It's coming from a patch in tcl-64 [1] which  
patches Tcl to use putenv() for handling the environment.  I filed a  
radar [2] with Apple and it was closed as a dup so they definitely  
know about it, and maybe 10.5.3 (maybe not since it's pretty close?)  
or 10.5.4 and we shouldn't have to worry about this anymore.


Bryan

[1] - http://www.opensource.apple.com/darwinsource/10.5.2/tcl-64/
[2] - rdar://problem/5878954

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


Re: Failure installing LyX

2008-05-19 Thread Bryan Blackburn
On May 19, 2008, at 3:43 PM, Jerry wrote:

> (Sorry for the previous post without a subject line.)
>
> I go this result with port install LyX:
>
> Jerry
>
...
> Verifying checksum(s) for ImageMagick
> Error: Checksum (md5) mismatch for ImageMagick-6.4.1-2.tar.bz2
> Error: Checksum (sha1) mismatch for ImageMagick-6.4.1-2.tar.bz2
> Error: Checksum (rmd160) mismatch for ImageMagick-6.4.1-2.tar.bz2
> Error: Target org.macports.checksum returned: Unable to verify file
> checksums
> Error: The following dependencies failed to build: ImageMagick
> python25 qt4-mac dbus libmng autoconf help2man p5-locale-gettext
> libtool automake lcms
> Error: Status 1 encountered during processing.
>

Looks a lot like ticket 15341:

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

Bryan

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


Re: Cleaning Ports and Apache 2.2.8 installation

2008-05-30 Thread Bryan Blackburn
On May 30, 2008, at 8:53 PM, Thomas Hagedorn wrote:
>
> I'm on a MacBookPro,  Intel 64-bit, with OS 10.5.2.   I had MacPorts
> installed but then I wanted to test a script to do an automatic
> installation.   To do that, I ran
>
> sudo rm -r /opt/local
>
> and then ran the script to install MacPorts (via binary package) and
> then other ports.I ran into an error with the command
>
> sudo port install apache2 +preforkmpm
>
> as  when MacPorts tried to install the dependency sqlite3 it  
> produced a
> fatal error about a file not being accessible.
>

If it was '-NDEBUG: No such file or directory' then you're running  
into the tcl environment problem with 10.5; see the second entry at



I'm guessing you installed MacPorts 1.6.0 if you say from a binary  
package.  A workaround exists on trunk, but hasn't made it into any  
"official" MP version.

The workaround for it is to run the command again; as you've seen,  
running things in multiple steps also works.

And no, this hasn't been fixed with 10.5.3.

Bryan


...
>
> Thanks in advance,
> Tom
>

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


Re: unable to upgrade wine

2008-05-31 Thread Bryan Blackburn
On May 31, 2008, at 7:40 AM, Michael Thon wrote:

> Hi all - I get the following error when I try to upgrade the port wine
> ( :) )
> I'm using a macbook with Mac OS 10.5.3.  openssl and gcc were both
> upgraded recently I think.  Any idea what the problem is?
>
> Cheers
> Mike
>
>
> [EMAIL PROTECTED] ~]$ sudo port upgrade wine
> --->  Fetching wine
...
> /opt/local/include/openssl/x509.h:207: error: syntax error before
> numeric constant
> In file included from /opt/local/include/openssl/ssl.h:183,
>  from internet.h:48,
>  from http.c:60:

You've run into ticket 15461, which is an incompatibility between  
OpenSSL 0.9.8h and wine:



I think at this point the only way to deal with it is to use OpenSSL  
0.9.8g until wine is updated to deal with it.

Bryan


>
> /opt/local/include/openssl/x509.h:929: error: syntax error before
> 'LPCSTR'
> /opt/local/include/openssl/x509.h:929: error: syntax error before '('
> token
> /opt/local/include/openssl/x509.h:929: error: syntax error before
> numeric constant
> In file included from /opt/local/include/openssl/ssl.h:183,
>  from internet.h:48,
>  from http.c:60:
> /opt/local/include/openssl/x509.h:929:1: error: pasting ")" and "_it"
> does not give a valid preprocessing token
> make[2]: *** [http.o] Error 1
> make[1]: *** [wininet] Error 2
> make: *** [dlls] Error 2
>
> Error: Unable to upgrade port: 1
>
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Two new HOWTOs available

2008-06-01 Thread Bryan Blackburn
On Jun 1, 2008, at 1:39 PM, Alex Zavatone wrote:

> This didn't make it back out to the list last night.
>
> Nice to see the Howto.
>
> I got a boatload of errors starting with the build of SQLlite3.
>
> I hope this sheds some light on making the Install bullet/newbie-proof
>
> Fetching sqlite3
> --->  Attempting to fetch sqlite-3.5.7.tar.gz from http://www.sqlite.org/
...
> f ./addopcodes.awk parse.h.temp >parse.h
> /bin/sh: f: command not found

Smells like the tcl environment problem with 10.5:



Just run the command again and it should be fine.

Bryan


>
> gnumake: [parse.c] Error 127 (ignored)
> cat parse.h ./src/vdbe.c |  -f ./mkopcodeh.awk >opcodes.h
> /bin/sh: -f: command not found
> cat: stdout: Broken pipe
> gnumake: *** [opcodes.h] Error 127
> ...
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Two new HOWTOs available

2008-06-01 Thread Bryan Blackburn
On Jun 1, 2008, at 3:10 PM, Zav public wrote:

> On Jun 1, 2008, at 3:22 PM, Bryan Blackburn wrote:
>
>> Smells like the tcl environment problem with 10.5:
>>
>> <http://trac.macports.org/wiki/LeopardProblems#environmentvariablesbecomeblankbetweenconfigureandbuildphases
>>>
>>
>> Just run the command again and it should be fine.
>>
>> Bryan
>>
>
> Nope.  I wish it was that easy.
>
> --->  Building sqlite3 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_databases_sqlite3/work/sqlite-3.5.7" &&
> gnumake all " returned error 2
> Command output: sort -n -b -k 3 opcodes.h |  -f ./mkopcodec.awk
>> opcodes.c
> /bin/sh: -f: command not found
> gnumake: *** [opcodes.c] Error 127
>

Ah, bad assumption on my part.  Instead it looks like tickets 14523  
and/or 14938:

<http://trac.macports.org/ticket/14523>
<http://trac.macports.org/ticket/14938>

Seems like the workaround may be to just install the nawk port first.

Bryan


> Error: The following dependencies failed to build: apr-util sqlite3
> openssl pcre
> Error: Status 1 encountered during processing.
> Alex-Zavatones-Fearsome-Power-Mac-G5-2:~ zav$
>

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


Re: Unable to start postgresql server 8.3.1.1

2008-06-02 Thread Bryan Blackburn
On Jun 2, 2008, at 9:48 AM, Vittorio wrote:

> having always used postgreSQL satisfactorily under FreeBSD I installed
> postgresql83 & postgresql83-server on my leopard Macbook via
>
> sudo port install postgresql83 postgresql83-server.
>
> The process concluded successfully . I ran as requested:
>
> sudo launchctl load -w /Library/LaunchDaemons/
> org.macports.postgresql83-server.plist
>  sudo mkdir -p /opt/local/var/db/postgresql83/defaultdb
>  sudo chown postgres:postgres /opt/local/var/db/postgresql83/defaultdb
>  sudo su postgres -c '/opt/local/lib/postgresql83/bin/initdb -D /opt/
> local/var/db/postgresql83/defaultdb'
>

Hmm, the launchctl command on that list should be at the end, not the  
beginning.  If you ran everything in that order, try an unload then  
load again with launchctl and see if it comes up then.

Bryan


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


Re: mtr issues

2008-06-03 Thread Bryan Blackburn
On Jun 3, 2008, at 3:07 PM, Peter Hindrichs wrote:

> Good Day,
>
> I have been using "mtr" to check the network signal from my wireless
> ISP, and it has been working fine until the other day when I updated
> my system to 10.5.3
>
> I did an uninstall of mtr and reinstalled it, with no change here is
> what I get when I try "mtr ispnet.ca"
>
> Freedom:~ peterhin$ mtr ispnet.ca
> nodename nor servname provided, or not known: Undefined error: 0
> Freedom:~ peterhin$
>
>
> Now if I do a "ping"  or a "traceroute" of the same or any other
> address it works fine.
>
> My question then is this a compatibility issue with 10.5.3 or some
> other issue.
>

Which version of mtr, 0.72 or 0.73?  If 0.72, try upgrading it, as it  
was just updated [1] and one note mentions a patch to getaddrinfo()  
which could definitely be related to the problem you're seeing.

Bryan

[1] - 

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


Re: New wiki

2008-06-11 Thread Bryan Blackburn
On Jun 11, 2008, at 1:49 PM, paul beard wrote:

> ...
> Maybe some docs on how to build from the MacPorts trunk, so we can  
> access all the bug fixes to 1.6, would be a good place to start?
>

You mean something like



The howto page at



has seen some recent improvements, so have a quick look at least.  I  
think this definitely reinforces the point that it should probably  
have a prominent link at www.macports.org.

Bryan


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

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


Re: python2.5 install failed

2008-06-13 Thread Bryan Blackburn
On Jun 13, 2008, at 5:11 AM, Joerg van den Hoff wrote:

> hi,
>
> under 10.4.11 I did a `port upgrade mercurial'.
>
...
> /usr/bin/libtool -o libpython2.5.dylib -dynamic  \
>-all_load libpython2.5.a -single_module \
>-install_name /opt/local/lib/libpython2.5.dylib \
>-compatibility_version 2.5 \
>-current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib
> ld64 failed: in libpython2.5.a(getbuildinfo.o), not a valid ppc64  
> mach-o file
> /usr/bin/libtool: internal link edit command failed
> make: *** [libpython2.5.dylib] Error 1

Check your Xcode version, and see:



Bryan


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


Re: Portfile syntax: copying complete directory

2008-06-18 Thread Bryan Blackburn
On Jun 18, 2008, at 7:54 AM, Jochen Küpper wrote:

> Hi,
>
> so in Ticket #15049 I proposed a patch to install man-files and info- 
> pages of gcc-4.3 in a custom location in order to get them installed  
> without conflicts between different gcc version.
>
> However, the line
> file copy ${destroot}${prefix}/share/man/man7/* ${destroot}${prefix}/ 
> share/gcc43/man/man7
> now causes the destroot to fail, as reported in Ticket #15666.
> What would be the correct Portfile code instead of the following?
>
> # move manuals to gcc43-specific directory
> xinstall -m 755 -d ${destroot}${prefix}/share/gcc43/man/man7
> xinstall -m 755 -d ${destroot}${prefix}/share/gcc43/info
> file copy ${destroot}${prefix}/share/man/man7/* ${destroot}${prefix}/ 
> share/gcc43/man/man7
> file copy ${destroot}${prefix}/share/info/* ${destroot}${prefix}/ 
> share/gcc43/info
>

You need to glob it, and since some things (like xinstall at least,  
don't remember about file copy) don't like the return from glob, eval  
the whole thing.  For example, from the lzo2 Portfile [1]:

 eval xinstall -m 0644 [glob ${worksrcpath}/doc/*] ${destroot}$ 
{docdir}

So for gcc43:

eval xinstall -m 0644 [glob ${destroot}${prefix}/share/man/man7/*]  
${destroot}${prefix}/share/gcc43/man/man7
eval xinstall -m 0644 [glob ${destroot}${prefix}/share/info/*] $ 
{destroot}${prefix}/share/gcc43/info

should do it (warning, only tested with Mail.app).

Bryan

[1] - 


>
> Greetings,
> Jochen
> -- 
> Einigkeit und Recht und Freiheithttp://www.Jochen-Kuepper.de
>  Liberté, Égalité, FraternitéGnuPG key: CC1B0B4D
>  Sex, drugs and rock-n-roll

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


Re: Trying to get a new Scribus to work

2008-06-23 Thread Bryan Blackburn
On Jun 23, 2008, at 7:24 AM, Thorsten Zörner wrote:

> Hi there,
>
> this is Thorsten, stand-in maintainer of the scribus-macport.
> Scribus has come out with a new version 1.3.3.12 which I've tried to  
> compile locally.
> It compiles all right, but then one of the next steps fails.
> Have a look at this and please tell me, what is going wrong here:
>
> Macintosh-3:Temp thorsten$ sudo port install scribus
> --->  Fetching scribus
...
> /bin/sh: ../admin/install-sh: Permission denied

Looks like install-sh isn't executable, so I'd suggest adding

post-extract {
file attributes ${worksrcpath}/admin/install-sh -permissions 0755
}

(note, only tested in Mail.app).

Bryan


>
> make[3]: *** [install-binPROGRAMS] Error 126
> make[2]: *** [install-am] Error 2
> make[1]: *** [install-recursive] Error 1
> make: *** [install-recursive] Error 1
>
> Error: Status 1 encountered during processing.
>
> Okay, so what goes wrong here?
>
> Cheers,
> Thorsten.___
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: noProfile

2008-06-25 Thread Bryan Blackburn
On Jun 25, 2008, at 4:00 PM, Mack wrote:

> Hi, my install didn't create a .profile for me. Do I create one? how
> do I do this?
>

See



Bryan


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


Re: hellanzb

2008-06-25 Thread Bryan Blackburn
On Jun 25, 2008, at 7:29 PM, Mack wrote:

> Anyone know what I could do to get this installed?
>
> 6-2.4/zope/interface/tests
> running build_ext
> building '_zope_interface_coptimizations' extension
> creating build/temp.macosx-10.3-i386-2.4
> creating build/temp.macosx-10.3-i386-2.4/src
> creating build/temp.macosx-10.3-i386-2.4/src/zope
> creating build/temp.macosx-10.3-i386-2.4/src/zope/interface
> -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -fno-common - 
> fno-
> common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/ 
> local/
> include/python2.4 -c src/zope/interface/
> _zope_interface_coptimizations.c -o build/temp.macosx-10.3-i386-2.4/
> src/zope/interface/_zope_interface_coptimizations.o
> unable to execute -fno-strict-aliasing: No such file or directory
> error: command '-fno-strict-aliasing' failed with exit status 1
>

Looks like the infamous Tcl environment bug:



Do a 'sudo port clean --work py-zopeinterface' then try your original  
install again.

Bryan


> Error: The following dependencies failed to build: py-twisted py-
> zopeinterface shorten unrar
> Error: Status 1 encountered during processing.
>
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: MySQL5 source headers

2008-06-26 Thread Bryan Blackburn
On Jun 26, 2008, at 1:12 AM, Teg Bains wrote:

> I have looked through the guides, but I cannot figure out where to
> find the header files. Specifically for mysql5. I have a program
> (cpgav) that needs the header files :(
>
> Thanks,
>

(Dang, first time I didn't send to the list, so resent...)

Headers installed with ports are usually in /opt/local/include, but  
mysql5 uses a subdirectory: /opt/local/include/mysql5.  Also note  
libraries for mysql5 are in /opt/local/lib/mysql5/mysql.

Bryan


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


Re: matplotlib and dap.client

2008-07-03 Thread Bryan Blackburn
On Jul 3, 2008, at 3:01 PM, Dexter Douglas wrote:

> Hello,
>
> I am trying run the plotmap.py script found on matplotlib's web-site:
> http://matplotlib.sourceforge.net/screenshots.html
>
> I am receiving this error
>
> [begin]
> Traceback (most recent call last):
>  File "plotmap.py", line 7, in from mpl_toolkits.basemap  
> import Basemap, shiftgrid
>  File "/opt/local/lib/python2.5/site-packages/mpl_toolkits/basemap/ 
> __init__.py", line 1, in 
>from basemap import __doc__, __version__
>  File "/opt/local/lib/python2.5/site-packages/mpl_toolkits/basemap/ 
> basemap.py", line 39, in 
>import _geoslib, pupynere, netcdftime
>  File "/opt/local/lib/python2.5/site-packages/mpl_toolkits/basemap/ 
> pupynere.py", line 37, in 
>from dap.client import open as open_remote
> ImportError: No module named dap.client
> [end]
>
> Which port provides the dap.client module?
>

Looks like pydap, , which doesn't appear to be in  
MacPorts.  I guess the question here is should it be so it can be made  
a dependency for the matplotlib ports?

Bryan


> Thanks,
> Jim
>

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


Re: Bug with multiple port: dependencies in depends_lib ?

2008-07-03 Thread Bryan Blackburn
On Jul 3, 2008, at 3:21 PM, Olivier Croquette wrote:

> Hi all
>
> While working on my Portfile, I made the following strange observation
> with depends_lib and multiple ports.
>
> If I have:
>
>   depends_lib port:test-qt4-mac port:git-core
>
> Then I get:
>   Error: Dependency 'test-qt4-mac' not found.
> So far, so good.
>
> But if I switch the ports:
>
>   depends_lib port:git-core port:test-qt4-mac
>
> There is no error! It just starts fetching and building my port.
> Apparently, only the first port: is taken into consideration.
>

Looks like a bug in 1.6, as I can reproduce it there, but on trunk it  
works as one would expect.  I think this is only the case when one of  
the ports isn't actually found in PortIndex though, as otherwise  
multiple dependencies work fine on 1.6.

Bryan


>
> According to the doc:
> http://guide.macports.org/#reference.dependencies.types
> multiple ports are allowed.
>
> Am I doing something wrong or is there a bug?
>
> @Rainer: this is the reason why I didn't catch the problem with  
> "qt4" in
>  . Does your installation catch
> the problem!?
>
> Thanks
>
> Olivier
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Calls to imagettftext cause fatal error in php

2008-07-07 Thread Bryan Blackburn
On Jul 7, 2008, at 2:56 PM, Ryan Schmidt wrote:
>
> On Jul 7, 2008, at 15:08, Chris Janton wrote:
>
>> On 2008-07-07 , at 11:53 , Ryan Schmidt wrote:
>>
 The way I read things is that if one turns off quickdraw in  
 freetype
 then the "problem" will not occur.
>>>
>>> What are the implications of turning off QuickDraw in FreeType? What
>>> features will then not work?
>>
>> From what I can see? No more deprecated QuickDraw functions. The
>> following configuration settings seem relevant...
>>
>>  --with-old-mac-fontsallow Mac resource-based fonts to be used
>
> That configure switch was added to the portfile at the request of a
> user:
>
> http://trac.macports.org/ticket/13045
>

Trying to build with fsspec/fsref/quickdraw disabled but old-mac-fonts  
enabled results in a couple of configure warnings:


configure: WARNING:
*** WARNING
 FreeType2 built without FSRef API cannot load
 data-fork fonts on MacOS, except of XXX.dfont.

configure: WARNING:
*** WARNING
 FSSpec/FSRef/QuickDraw/ATS options are explicitly given,
 thus it is recommended to replace src/base/ftmac.c by builds/mac/ 
ftmac.c.


So it seems like all either need to be on or off; not sure about that  
ftmac.c deal though.

Note that my 10.5 machine still shows some font files that won't load  
without old-mac-fonts enabled (look in /System/Library/Fonts and / 
Library/Fonts for 0 byte files).

In the end it seems like a choice would have to be made: the ability  
to load those fonts vs. avoiding the CoreFoundation fork() issue.

Bryan

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


Re: port install php5 fails on Leopard 10.5.4

2008-07-10 Thread Bryan Blackburn
On Jul 10, 2008, at 2:07 AM, [EMAIL PROTECTED] wrote:

> Hi
>
> I just tried to install my first MacPorts using the following command
>
> sudo port install php5 +apache2 +mysql5 +mssql
>
...
> Command output: /usr/bin/sed \
> -e 's!@''AWK''@!!' \
>   makelist.sh > makelist-t
> /bin/mv makelist-t makelist
> sh ./makelist -h ./vi.c > vi.h.tmp && \
>   mv vi.h.tmp vi.h
> ./makelist: line 81:
>   BEGIN {
>   printf("/* Automatically generated file, do not edit */\n");
>   printf("#ifndef %s\n#define %s\n", "_h_vi_c", "_h_vi_c");
>   }
>   /\(\):/ {
>   pr = substr($2, 1, 2);
>   if (pr == "vi" || pr == "em" || pr == "ed") {
>   name = substr($2, 1, index($2,"(") - 1);
> #
> # XXX:need a space between name and prototype so that -fc and -fh
> # parsing is much easier
> #
>   printf("protected el_action_t\t%s (EditLine *, int);\n", name);
>   }
>   }
>   END {
>   printf("#endif /* %s */\n", "_h_vi_c");
>   }: No such file or directory

That's the really annoying Tcl environment bug [1]; do a 'sudo port  
clean --work mysql5' to clean mysql5 (the port which failed), then try  
your original port command again.

It may occur again, so if you see another port fail to build, clean  
that one then try once again.

Bryan

[1] - 


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


Re: "skipping non-regular file" during selfupdate

2008-07-18 Thread Bryan Blackburn
On Jul 18, 2008, at 6:09 PM, William Davis wrote:
>
> On Jul 18, 2008, at 5:19 PM, Ryan Schmidt wrote:
>
>> On Jul 18, 2008, at 15:11, William Davis wrote:
>>
>>> macintosh:~ frstan$ sudo port -d selfupdate
>>
...
>>> skipping non-regular file "zope/zope-validation/work"
>>> skipping non-regular file "zope/zope-zopetree/work"
>>> skipping non-regular file "zope/zope-zopezen/work"
>>> skipping non-regular file "zope/zope-zphotoslides/work"
>>> skipping non-regular file "zope/zope-zsyncer/work"
>>>
>>> snip
>>>
>>> Downloaded MacPorts base version 1.600
>>>
>>> The MacPorts installation is not outdated and so was not updated
>>> DEBUG: Setting ownership to root
>>> selfupdate done!
>>>
>>>
>>> What is this?
>>
>> When you start using a port (e.g. "sudo port install " or
>> (in MacPorts earlier than 1.7.0) even things like "sudo port
>> livecheck " or "sudo port lint "), MacPorts
>> creates a work area for the port, and creates a symlink "work" in
>> the port's directory pointing to that work area. rsync is skipping
>> over these symlinks when synchronizing the ports tree. This is
>> normal. This symlink and the work area can be removed by doing "sudo
>> port clean --work " or you can clean all ports' work areas
>> with "sudo port clean --work all".
>>
>
> Thank you Ryan, but after doing "sudo port -d clean --work all" the
> command "sudo port -d selfupdate" produced the same series of
> "skipping non-regular file faa/foo/work"
>

Hmm, odd.  What does

$ ls -la `port dir zope-validation`

show?  Maybe seeing what one looks like could help in figuring out  
that oddity?

Bryan


> Anyway, this behavior just started but Ive been doing selfupdate daily
> for a year and never seen it before.  And I have never done anything
> thing at all with some of these -- zope for example.
>
> William Davis
> frstanATbellsouthDOTnet
> Mac OS X.5.4 Darwin 9.4.0
> Xquartz 2.2.3 - (xorg-server 1.3.0-apple21)
> Mac Mini Intel Duo @ 1.86 GHz
>
> Mundus vult decepi, ego non
>
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Installing Mac ports on Leopard

2008-07-22 Thread Bryan Blackburn
On Jul 22, 2008, at 3:48 PM, Philippe B. Laval wrote:

> I am new to MACs, so my question may be very elementary.  I was  
> trying to install Geomview.  For this, it was suggested I first  
> installed Mac ports.  I followed the links and instructions.   
> Everything seemed to be going fine, I even got a message saying the  
> installation (of Mac ports) was successful.  The problem is that it  
> is nowhere to be found on the system.  The “port” command cannot be  
> found.  How can I know what went wrong?  Why was I told the install  
> was successful?
>

Known bug, see



for the workaround.

Bryan


> Thanks
>
> P. Laval
>
> 
>
> Dr. Philippe B. Laval
> Associate Professor of Mathematics
> Kennesaw State University
> 1000 Chastain Road
> Kennesaw, GA 30144
> USA
>
> office: SC 526
> Phone: 770-499-3325
> fax: 404-364-0552
> e-mail: [EMAIL PROTECTED]
> web: http://science.kennesaw.edu/~plaval
>
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: libtiff problems?

2008-07-25 Thread Bryan Blackburn
On Jul 25, 2008, at 10:59 AM, Jodi Sekula wrote:

> Hello,
>
> I've recently upgraded to Tiger and installed MacPorts for the first  
> time.  I seem to be having difficulties running programs that use  
> libtiff from the terminal.  Specifically, I have tried installing  
> both xemacs and ImageMagick through macports.  I did not notice any  
> errors or problems with the installation.  However, when trying to  
> run either of these programs, I get the following error message.
>
> dyld: Symbol not found: __cg_TIFFClientOpen
>   Referenced from: /System/Library/Frameworks/ 
> ApplicationServices.framework/Versions/A/Frameworks/ 
> ImageIO.framework/Versions/A/ImageIO
>   Expected in: /opt/local/lib/libtiff.3.dylib
>
> Trace/BPT trap
>

Sometimes when this has come up, it's due to an errant setting of  
DYLD_LIBRARY_PATH.  What does it say when you run the following in  
Terminal?

echo $DYLD_LIBRARY_PATH

If that comes up blank (which it should be), what program did you run  
and how to get the error?

Bryan


> Any ideas on how to fix this?
>
> Thanks,
> Jodi
>
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: macport libusb install?

2008-07-28 Thread Bryan Blackburn
On Jul 29, 2008, at 12:30 AM, [EMAIL PROTECTED] wrote:

> Hi - just tried installing libusb and stumbled on some of the  
> instructions
> at http://libusb.dar...rts.com.
>

Ignore anything and everything at that domain, it's not affiliated  
with MacPorts in any way...

> Firstly, it says "cd /opt/local/bin/portslocation/dports/libusb" but  
> I'm
> not sure what that path is actually supposed to be.  Any tips?  I  
> tried
> installing with out taking that step, and the installer finished  
> with no
> complaints, but afterwards I'm not able to get any info on where it's
> installed (or if it actually is).  Both 'man' and 'which' libusb  
> fail to
> return any results and 'locate' just returns
>

Running 'port contents libusb' should show you what files it has  
installed.  Like anything installed with MacPorts, it should install  
its files somewhere under /opt/local.  I notice it doesn't install any  
man pages or documentation, so your best bet is probably the project's  
web site (you can use 'port gohome libusb' to open a web browser to it).

> /opt/local/var/macports/sources/rsync.macports.org/release/ports/ 
> devel/libusb
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/ 
> devel/libusb/Portfile
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/ 
> devel/libusb/files
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/ 
> devel/libusb/files/patch-darwin.c.diff
>

Note that the locate database is only updated once a week by default,  
so if you just installed it, locate won't be too helpful.

Bryan


> Have I missed a step in installing this?  Thanks for any help!
>
> Liam

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


Re: macport libusb install?

2008-07-29 Thread Bryan Blackburn
On Jul 29, 2008, at 1:45 AM, Ryan Schmidt wrote:

>
> On Jul 29, 2008, at 01:52, Bryan Blackburn wrote:
>
>> your best bet is probably the project's
>> web site (you can use 'port gohome libusb' to open a web browser to
>> it).
>
> Now that I didn't know! That's handy.
>

Nor did I until Rainer pointed it out to me a day or two ago, which  
eventually led to this ticket:

<http://trac.macports.org/ticket/16118>

>
>> Note that the locate database is only updated once a week by default,
>> so if you just installed it, locate won't be too helpful.
>
> Also, "locate" only finds executables, and libusb installs none. (It
> only installs libraries, which you don't directly execute.)
>

Huh?

$ locate libusb
...
/opt/local/lib/libusb-0.1.4.4.4.dylib
...
/opt/local/lib/libusbpp-0.1.4.4.4.dylib
...
/opt/local/lib/pkgconfig/libusb.pc
...

It should be seeing most things the 'nobody' user can see.  You aren't  
thinking about which/whereis/type are you?

Bryan

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


Re: does exist lsusb under MacPorts ?was(Re: macport libusb install)

2008-07-29 Thread Bryan Blackburn
On Jul 29, 2008, at 11:47 AM, Joshua Root wrote:

> Yvon Thoraval wrote:
>> is there a way to get lsusb under Mac OS X 10.4.11 ?
>> preferably under MacPorts ;-)
>
> The lsusb command is part of the usbutils package[1]. It looks to be
> pretty Linux-specific. Is there something you need it for that can't  
> be
> done with e.g. ioreg?
>

Very linux-centric, what with kernel calls and all.  There's also  
'system_profiler SPUSBDataType' for something a bit more readable than  
ioreg.

Bryan


> [1] http://www.linux-usb.org/
>
> - Josh
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: failed hellanzb

2008-07-29 Thread Bryan Blackburn
On Jul 29, 2008, at 11:30 AM, Trenskow wrote:

>
> I solved this by creating a nasty little hack, that did the trick.  
> The reason
> it fails, is that the internal variable set to determine the gcc  
> location is
> somehow not set, and therefore it tries to execute the first  
> parameter as if
> it was an executable file. To me it is a problem with a handful of the
> python packages.
>
> All I did was I created a file in /opt/local/bin, named it
> -fno-strict-aliasing, and added the following:
>

That sounds like the Tcl env bug:



Anytime you see switches to a command that's missing, it's probably  
that.  I see this thread began before the bug was uncovered, so that  
would explain the various areas explored to fix it.

Bryan


> #!/bin/bash
>
> gcc -fno-strict-aliasing $@
>
> saved and "chmod +x" it. Thereby there is actually a file with the  
> name of
> the first parameter that can be executed, and thereby running gcc  
> with the
> correct parameters.
>
> (This of course assumes that you have /opt/local/bin in you path.
>
> Hope it works
>
> Trenskow
>
>
>
> Mack Johnson wrote:
>>
>> Could someone help me with this error?
>>
>> building '_zope_interface_coptimizations' extension
>> creating build/temp.macosx-10.3-ppc-2.4
>> creating build/temp.macosx-10.3-ppc-2.4/src
>> creating build/temp.macosx-10.3-ppc-2.4/src/zope
>> creating build/temp.macosx-10.3-ppc-2.4/src/zope/interface
>> -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused- 
>> madd -
>> fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-
>> prototypes -I/opt/local/Library/Frameworks/Python.framework/Versions/
>> 2.4/include/python2.4 -c src/zope/interface/
>> _zope_interface_coptimizations.c -o build/temp.macosx-10.3-ppc-2.4/ 
>> src/
>> zope/interface/_zope_interface_coptimizations.o
>> unable to execute -fno-strict-aliasing: No such file or directory
>> error: command '-fno-strict-aliasing' failed with exit status 1
>>
>> Error: The following dependencies failed to build: py-twisted py-
>> zopeinterface shorten unrar
>> Error: Status 1 encountered during processing.
>>
>>
>
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Portfile cached on repetitive builds??

2008-08-03 Thread Bryan Blackburn
On Aug 3, 2008, at 9:52 AM, Harry van der Wolf wrote:

> I'm working on the pango Portfile to make it a real two-step  
> Universal compilation. I modified the portfile and did a "sudo port  
> clean pango" and even checked whether the "/opt/local/var/macports/ 
> build/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_x11_pango/work/"  had been removed  
> (after some tries): It had deleted the work directory.
>

How did you update the Portfile, using 'port edit' or something else?

Bryan


> However, on trying a new run it still seems to use the old version  
> which I can see from the log.
>
> Just to make sure I already added the "configureccache no"  to the  
> macports.conf, even though it is by default "no".
>
> What is this behaviour??

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


Re: Problem with MacPorts on OS X Leopard

2008-08-03 Thread Bryan Blackburn
On Aug 3, 2008, at 3:36 PM, Unnsse Khan wrote:

> Hello there,
>
> I am having problems installing ruby and readline using MacPorts 1.600
> on OS X Leopard (10.5.4).
>
> When I run the following from the command line, this is the error I
> receive:
>
> sudo port install readline
> Password:
> ---> Activating readline 5.2.012_1
> Error: Target org.macports.activate returned: Image error: Another
> version of this port (readline @5.0.005_0+darwin_8) is already active.
> Error: Status 1 encountered during processing.
>

You have a MacPorts installation that was made during 10.4 then you  
upgraded your system to 10.5, and this configuration is not  
supported.  Safest is just to move /opt/local aside (so you can keep  
config stuff around) then do a new install of MacPorts.  Also, make  
sure your Xcode install is updated for 10.5.

Bryan


...
>
> Does anyone know what is possibly wrong with MacPorts?
>
> Happy programming,
>
> Unnsse
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Problem with MacPorts on OS X Leopard

2008-08-03 Thread Bryan Blackburn
On Aug 3, 2008, at 4:31 PM, Unnsse Khan wrote:

> Hi Bryan,
>
> Thanks for the response!
>
> Question(s):
>
> (1) How do I move the /opt/local aside (do you mean move into a
> separate tmp dir)?
>

What I did was simply moved /opt/local to /opt/local.10.4 (/tmp is  
cleaned on reboot, hence not safe) so it is still there and obvious  
what's going on.

> (2) In addition, how would you suggest I install the new version of
> MacPorts (from source or dmg)?
>

Depends on your needs and whatnot, most still install from the DMG but  
many things have been fixed since the last release, if you're talking  
about running from trunk instead of 1.6.0.  If you just mean building  
1.6.0 vs. 1.6.0 DMG, shouldn't be any difference.

> (3) How do I move / merge the config stuff back (from tmp, if my
> assumption for line item # 1 is correct)?
>

Most config stuff should be in /opt/local/etc (or /opt/local.10.4  
after move) so you'll want to review what's there for items needed for  
the new install.  You can also look in /opt/local/var/macports/ 
receipts to see what ports you have installed for reference when doing  
the new install.  Or, before moving things aside, use 'port installed'  
and keep the output someplace.

If you have a database (mysql*, postgresql*, etc) you may have to  
export from it prior to the upgrade, especially if you will be  
installing a newer version of the DB when doing the MacPorts reinstall.

Bryan


> Happy programming,
>
> Unnsse
>
> On Aug 3, 2008, at 3:22 PM, Bryan Blackburn wrote:
>
>> On Aug 3, 2008, at 3:36 PM, Unnsse Khan wrote:
>>
>>> Hello there,
>>>
>>> I am having problems installing ruby and readline using MacPorts
>>> 1.600
>>> on OS X Leopard (10.5.4).
>>>
>>> When I run the following from the command line, this is the error I
>>> receive:
>>>
>>> sudo port install readline
>>> Password:
>>> ---> Activating readline 5.2.012_1
>>> Error: Target org.macports.activate returned: Image error: Another
>>> version of this port (readline @5.0.005_0+darwin_8) is already
>>> active.
>>> Error: Status 1 encountered during processing.
>>>
>>
>> You have a MacPorts installation that was made during 10.4 then you
>> upgraded your system to 10.5, and this configuration is not
>> supported.  Safest is just to move /opt/local aside (so you can keep
>> config stuff around) then do a new install of MacPorts.  Also, make
>> sure your Xcode install is updated for 10.5.
>>
>> Bryan
>>
>>
>> ...
>>>
>>> Does anyone know what is possibly wrong with MacPorts?
>>>
>>> Happy programming,
>>>
>>> Unnsse
>>
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Problem with MacPorts on OS X Leopard

2008-08-03 Thread Bryan Blackburn
On Aug 3, 2008, at 6:16 PM, Unnsse Khan wrote:

...
>
> sudo install subversion
>
> I received this error message:
>
> --->  Building sqlite3 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_databases_sqlite3/work/sqlite-3.5.9" &&
> gnumake all " returned error 2
...
> /bin/sh: f: command not found
> gnumake: [parse.c] Error 127 (ignored)
> cat parse.h ./src/vdbe.c |  -f ./mkopcodeh.awk >opcodes.h
> /bin/sh: -f: command not found
> cat: stdout: Broken pipe
> gnumake: *** [opcodes.h] Error 127
>

Welcome to 10.5, where the tclsh is buggy...that is a known issue:



If you run 'sudo port clean --work sqlite3' then run your original  
port command again, it should finish (or at least get further).

Bryan


> Error: The following dependencies failed to build: apr-util sqlite3
> cyrus-sasl2 neon serf
> Error: Status 1 encountered during processing.
>
> Thanks again,
>
> -Unnsse
>

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


Re: ATLAS 3.8.2

2008-08-05 Thread Bryan Blackburn
On Aug 5, 2008, at 12:10 PM, Peter Chen wrote:

> Is ATLAS 3.8.2 available? I see it on the list, but I can not  
> install it.

What happens when you try?  If you see "Error: Port atlas not found"  
you need to update your MacPorts installation first [1].

If some other error, what is it?

Bryan

[1] - 

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


Re: Having a pretty rough time getting php5 installed

2008-08-08 Thread Bryan Blackburn
On Aug 8, 2008, at 8:31 PM, Scott Haneda wrote:

...
> And here is what I want to install:
> sudo port install php5 +apache2 +mysql5 +pear +imap +sqlite +tidy
>
> * As a side note, this is a test machine, an identical one is at a
> colo fascility, and I do not want to run ports on that machine, but
> take the install from this machine, to that machine, how would I do
> that, and how would I change the path and final location of php5 to
> something other than /opt
>

The problem here is that Mac OS X records library path locations in  
executables and libraries.  You could, I suppose, use  
install_name_tool to rewrite all of them, but that would be very, very  
tedious.  Also, it would require everything built to have enough room  
in the binaries for the new paths, which means they need to be built  
with -headerpad_max_install_names when linking (and most probably  
aren't).

> ** In the future, if I need to add some other config option to php5,
> like maybe I want to add pspell or something, what would that process
> be to get it on the live server?
>

You'd have to rebuild the port with the additional variant (if  
available), eg, 'sudo port install php5 +pspell' in this case.

> ports runs, and then bails on me, here is what it says:
> Password:
...
> --->  Fetching mysql5
> --->  Attempting to fetch mysql-5.0.51a.tar.gz from 
> http://distfiles.macports.org/mysql5
> --->  Verifying checksum(s) for mysql5
> --->  Extracting mysql5
> --->  Configuring mysql5
> --->  Building mysql5 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_databases_mysql5/work/mysql-5.0.51a" &&
> make all " returned error 2
> Command output: /usr/bin/sed \
> -e 's!@''AWK''@!!' \

Hmm, switching AWK with an empty string, smells a lot like the Tcl  
environment bug:



Clean the affected port (sudo port clean --work mysql5) and continue  
with your original install command.

...
> [EMAIL PROTECTED]:/opt/local/lib/ $sudo port install php5
> +apache2 +mysql5
> Password:
> Error: Requested variants do not match original selection.
> Please perform 'port clean php5' or specify the force option.
> Error: Status 1 encountered during processing.

You just changed the list of variants, so that's why it complained here.

>
> [EMAIL PROTECTED]:/opt/local/lib/ $sudo port clean php5
> --->  Cleaning php5

That's the proper way to clear out the build configuration.

But mysql5 is the one that failed, so it's the one that needs the  
clean.  After that, you can either clean php5 again and reuse the  
original list of variants, or not clean php5 and use this new set of  
variants for php5.

Bryan


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


Re: netcat won't install

2008-08-12 Thread Bryan Blackburn
On Aug 12, 2008, at 8:20 AM, myron wrote:

> I tried installing netcat and the following problems came up. I  
> couldn't find anything in the macports archvies on this issue.
> I'm new to macports (and really love it), but it looks like the  
> checksum is wrong in Portfile. Should I just change it to what the  
> target has?
>
> myron$ sudo port -dnv install netcat
...
> Error: Checksum (md5) mismatch for nc110.tgz
> Portfile checksum: nc110.tgz md5 402632f2fe01c169ff19a0ad6e9d608c
> Distfile checksum: nc110.tgz md5 13826ef466aeb862635f89688b8a74bc

One of two possibilities here, either the download became corrupted  
during transfer, or you happened to grab it from the third mirror  
listed, which returns an HTML page [1].  Try running

sudo port clean --all netcat

Then try your install again.  If it still fails, do the clean again,  
then before you do the install, run
sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/netcat port - 
v fetch netcat
This will force port to grab from the MacPorts mirror first [2].   
After that, the install should work.

Bryan

[1] - 
[2] - 


>
> Error: Target org.macports.checksum returned: Unable to verify file  
> checksums
> Warning: the following items did not execute (for netcat):  
> org.macports.activate org.macports.extract org.macports.checksum  
> org.macports.patch org.macports.configure org.macports.build  
> org.macports.destroot org.macports.install
> Error: Status 1 encountered during processing.
>
>
> --myron
> =
> Myron Kowalski
> MoCoSIN Network/Systems Administrator
> Moravian College
> [EMAIL PROTECTED]

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


Re: netcat won't install

2008-08-12 Thread Bryan Blackburn
On Aug 12, 2008, at 2:00 PM, myron wrote:
...
>
> But it doesn't seem to have installed anything in /opt/local/bin
> myron$ sudo find / -name netcat -print
> /opt/local/share/doc/netcat
> /opt/local/var/macports/distfiles/netcat
> /opt/local/var/macports/receipts/netcat
> /opt/local/var/macports/software/netcat
> /opt/local/var/macports/software/netcat/1.10_2/opt/local/share/doc/
> netcat
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/
> netcat
>
> port installed returns that netcat is installed, though
> ...
> netcat @1.10_2 (active)
> ...
>

It should be /opt/local/bin/nc (called netcat, but the executable is  
just nc).  If you ever want to know what a port installs, you can use

port contents netcat

That will list everything that comes with the port.

Bryan

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


Re: Nagios/Macports on PowerMac G5

2008-08-12 Thread Bryan Blackburn
On Aug 12, 2008, at 2:14 PM, Dirk H. Schulz wrote:

> Hi Mark,
>
> --On 12. August 2008 09:54:43 -0700 [EMAIL PROTECTED] wrote:
>
...
>
>> I don't have a running installation
>> of nagios right now so I couldn't answer any questions they might  
>> ask.
>
> Do you have any experience with tracing processes on MacOS X? That  
> could be
> interesting, but I never looked into that.
>

If you're running 10.5, you can try watching what it's doing with  
dtruss:



Bryan


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


Re: Building subversion : "f: command not found"

2008-08-13 Thread Bryan Blackburn
On Aug 13, 2008, at 2:44 PM, Charles Brossollet wrote:

> Hello,
>
> A "port install subversion" failed with the following message:
>
> config: Leopard 10.5.4, Mac mini Intel, MacPorts 1.6
>
> --->  Building sqlite3 with target all
...
> f ./addopcodes.awk parse.h.temp >parse.h
> /bin/sh: f: command not found

This is a known issue:



Run 'sudo port clean --work sqlite3' then run your install of  
subversion again.

Bryan


>
> gnumake: [parse.c] Error 127 (ignored)
> cat parse.h ./src/vdbe.c |  -f ./mkopcodeh.awk >opcodes.h
> /bin/sh: -f: command not found
> cat: stdout: Broken pipe
> gnumake: *** [opcodes.h] Error 127
>
> Thanks for your help!
>
> Charles
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Checksum problem with molden

2008-08-14 Thread Bryan Blackburn
On Aug 14, 2008, at 1:29 AM, Angyan Janos wrote:
...
>
> I wonder if this is not an inconsistency with the database itself.
> Although in a somewhat different context, a similar problem was
> reported in (as far as I understand):
> http://lists.macosforge.org/pipermail/macports-tickets/2008-July/011798.html
> Anyhow, I do not see what to do...
>

Looks like molden has experienced a stealth update (from HISTORY):

---
Tue Aug 12

- Fixed a bug when going up one directory (..) in the filemanager.
   This one managed to escape my attention for a long time.

- Minor changes to scrolling
---

Bryan


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


Re: Fetch failing for ntfs-3g port

2008-08-14 Thread Bryan Blackburn
On Aug 14, 2008, at 11:48 PM, William Damon wrote:

> Hi,
>
...
> [Users/wedamon] > install ntfs-3g
> --->  Fetching ntfs-3g
> --->  Attempting to fetch ntfs-3g-1.2412.tgz from http://www.ntfs-3g.org/
> --->  Attempting to fetch ntfs-3g-1.2412.tgz from
> http://svn.macports.org/repository/macports/distfiles/ntfs-3g
> --->  Attempting to fetch ntfs-3g-1.2412.tgz from
> http://svn.macports.org/repository/macports/distfiles/general/
> --->  Attempting to fetch ntfs-3g-1.2412.tgz from
> http://svn.macports.org/repository/macports/downloads/ntfs-3g
> Error: Target org.macports.fetch returned: fetch failed
> Error: Status 1 encountered during processing.
>

Looks like that version is no longer available in the usual places,  
and the port needs to be updated [1].  Until that happens, you can  
install this version by telling port to grab the file from the  
MacPorts mirror [2] by running:

sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/ntfs-3g port - 
v fetch ntfs-3g

After that you should be able to install as usual.

Bryan

[1] - 
[2] - 



> What's the trick to getting this package downloaded/installed?
>
> Many thanks,
> -wd
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: py25-libxml2 fails to build

2008-08-16 Thread Bryan Blackburn
On Aug 16, 2008, at 7:00 AM, Brad Allison wrote:

> --->  Building py25-libxml2 with target build
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_python_py25-libxml2/work/libxml2- 
> python-2.6.21" && /opt/local/bin/python2.5 setup.py build " returned  
> error 1
> Command output: /opt/local/Library/Frameworks/Python.framework/ 
> Versions/2.5/lib/python2.5/distutils/dist.py:247: UserWarning:  
> 'licence' distribution option is deprecated; use 'license'
>   warnings.warn(msg)
> running build
> running build_py
> running build_ext
> building 'libxml2mod' extension
> -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_REENTRANT=1 -I/ 
> opt/local/include/libxml2 -I/opt/local/include -I/opt/local/Library/ 
> Frameworks/Python.framework/Versions/2.5/include/python2.5 -c  
> libxml2-py.c -o build/temp.macosx-10.3-i386-2.5/libxml2-py.o
> unable to execute -DNDEBUG: No such file or directory
> error: command '-DNDEBUG' failed with exit status 1
>

Looks like the Tcl env bug [1,2], run

sudo port clean --work py25-libxml2

After that completes you can run your original port install again.  It  
may crop up again, so if it does you'll need to do a clean on the  
particular port that fails before continuing.

Bryan

[1] - 
[2] - 



> Error: The following dependencies failed to build: gnome-platform- 
> suite gtk-doc gnome-doc-utils py25-libxml2 py25-numeric libart_lgpl  
> libbonoboui libglade2 libgnome libgnomecanvas libgnomeui gnome-icon- 
> theme hicolor-icon-theme icon-naming-utils p5-getopt-long p5- 
> pathtools p5-xml-simple p5-xml-namespacesupport p5-xml-sax libsoup  
> gnutls lzo opencdk readline nspr nss
> Error: Status 1 encountered during processing.
>

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


Re: help with Bzip2

2008-08-19 Thread Bryan Blackburn
On Aug 19, 2008, at 3:35 PM, Gary Law wrote:

> Hi
>
> Got a brand new machine, patched it to latest version of leopard, plus
> security update.
>
> Then downloaded and installed Xcode tools and Macports. And my very
> first port install blows up!
>
> Last login: Sun Aug 17 11:00:43 on console
> [EMAIL PROTECTED]:~ $ sudo port install bzip2
> Password:
> --->  Building bzip2 with target all
...
> /usr/bin/libtool: for architecture ppc64 object: /usr/lib/gcc/i686-
> apple-darwin8/4.0.1/../../../libSystem.dylib malformed object (unknown
> load command 4)
> make: *** [libbz2.dylib] Error 1
>

This usually happens when an older version of Xcode is being used.   
Which version did you install?  For 10.5, 3.0 or 3.1 would be the ones  
to use.

Bryan


> Error: Status 1 encountered during processing.
> [EMAIL PROTECTED]:~ $
>
> Anyone seen this before?
>
> -- 
> Gary Law
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: problem installing Psycopg2

2008-08-23 Thread Bryan Blackburn
On Aug 23, 2008, at 10:43 PM, Nehemiah Dacres wrote:

> it failed to install after resolving all dependancies. It seems to  
> be an error in the portfile, like a flag being missparsed as a  
> command but I dont know Tcl enough to efficiently deliver a patch.
>
> here's the message
> "
> creating build/temp.macosx-10.3-ppc-2.5/psycopg
> -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes - 
> DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=5 -DHAVE_PYBOOL=1 - 
> DHAVE_DECIMAL=1 -DHAVE_PYDATETIME=1 -DPSYCOPG_DEFAULT_PYDATETIME=1 - 
> DPSYCOPG_VERSION="2.0.5.1 (dec dt ext pq3)" -DPG_MAJOR_VERSION=8 - 
> DPG_MINOR_VERSION=3 -DPG_PATCH_VERSION=1 -DPSYCOPG_EXTENSIONS=1 - 
> DPSYCOPG_DISPLAY_SIZE=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 - 
> DHAVE_PQPROTOCOL3=1 -I/opt/local/include/python2.5 -I. -I/opt/local/ 
> include/postgresql83 -I/opt/local/include/postgresql83/server -c  
> psycopg/psycopgmodule.c -o build/temp.macosx-10.3-ppc-2.5/psycopg/ 
> psycopgmodule.o
> unable to execute -DNDEBUG: No such file or directory
> error: command '-DNDEBUG' failed with exit status 1
>

That's the Tcl environment bug, as documented on the 10.5 problems page:



Do a clean of the port that failed (sudo port clean ), and  
run your original port install command again.

Bryan


> Error: Status 1 encountered during processing.
> "
>
> I hope you can make sense of this or fix it
> .
> -- 
>
> "lalalalala! it's not broken because I can use it"
>
> http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703

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


Re: was there any way to make Psycopg2 compile against python2.5 instead of 2.4?

2008-08-23 Thread Bryan Blackburn
On Aug 24, 2008, at 12:01 AM, Nehemiah Dacres wrote:

> I ask because its' bad enough that I'll have 2 versions of 2.5 but  
> to have 24 taking up space also is kind of annoying. plus I have a  
> feeling that the program that is using this postgres adaptor is  
> mostly written in 2.5
> should I go directly to the package maintainer about this?

A search shows both a py-psycopg2 and py25-psycopg2 so if you want the  
one that goes with python 2.5, use the latter.  Generally, the py-  
prefixed ports are for python 2.4, the rest should indicate which  
version of python is used.

Bryan


>
> -- 
>
> "lalalalala! it's not broken because I can use it"
>
> http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703

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


Re: cdrtools is not building and installing mkisofs, cdda2wav and various other programs

2008-09-06 Thread Bryan Blackburn
On Sep 6, 2008, at 8:00 AM, David Evans wrote:

>
> In cdrtools version 2.01.01a46_0,  it does not build and install  
> mkisofs,
> cdda2wav and various other programs. It does build and install
> cdrecord
>

I just attached a patch to ticket #15934 [1] which updates cdrtools to  
the current version and switches to using smake; hopefully using smake  
to do the build will fix these issues you've seen.

Bryan

[1] - 


> I do not know whether it is related to this error message:
>
> -
>W A R N I N GMessages like:
>
> gmake[2]: Entering directory `/tmp/cdrtools-2.01/libschily'
>
> ../RULES/r-gmake.dep:76: OBJ//ffilewrite.d: No such file or
> directory
> ../RULES/r-gmake.dep:76: OBJ//fgetline.d: No such file or
> directory
> ../RULES/r-gmake.dep:76: OBJ//fgetstr.d: No such file or  
> directory
> ../RULES/r-gmake.dep:76: OBJ//file_raise.d: No such file or
> directory
> ../RULES/r-gmake.dep:76: OBJ//fileclose.d: No such file or
> directory
> 
>
> are caused by a GNU make bug and not by the Schily makefile system.
>
> The related bug has been reported to the GNU make maintainers in  
> 1998 but
> as the bug has not yet been fixed, it seems that GNU make is
> unmaintained :-(
> A working highly portable make program is at ftp://ftp.berlios.de/pub/smake
> --
>
>
> Perhaps we should be using smake.
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Macports, mri ports problem with AFNI...

2008-09-08 Thread Bryan Blackburn
On Sep 8, 2008, at 12:10 PM, David Perlman wrote:

> Hello all, I'm new to this list but I've been successfully using afni
> installed and updated with macports for a couple of years now.
> However, earlier this year I tried to update afni and ever since then
> I haven't been able to get any version to install successfully with
> macports.  I'm getting errors on port install afni, afni-latest, or
> afni-devel.  I have Xcode 3.0, OS X 10.5.4 with all updates.  I've
> done port clean --all and port uninstall and port selfupdate and
> update_jb_ports.sh and everything I can think of, but I get this huge
> mess of errors:
>
>
> gratitude:~ omgoleus$ sudo nice port clean --all afni-devel
> --->  Cleaning afni-devel
> gratitude:~ omgoleus$ sudo nice port install afni-devel
...
> cc -march=pentium-m -mtune=prescott -DDARWIN  -Wcomment -Wformat -
> DUSE_TRACING -DHAVE_XDBE -no-cpp-precomp -DDONT_USE_MCW_MALLOC -O -
> DSUMA_COMPILED   -I/usr/X11R6/include -I./ -I../ -Igts/src -I/opt/
> local/include -I../nifti/niftilib -I../nifti/nifticdf -I../nifti/
> znzlib -I../3DEdge/src -c SUMA_trackball.c
> In file included from SUMA_trackball.c:1:
> SUMA_suma.h:100:60: error: GL/GLwDrawA.h: No such file or directory

It would appear that 10.5's X11 package doesn't include this header  
file (I do see it on the one shipped with 10.4, however).  It is  
included if you install xquartz [1] if you would like to update your  
X11 install to a newer version than what Apple ships.  Also, this  
makes me wonder if the afni port should have an X11 dependency...

[1] - 

Bryan


>
> make[1]: *** [SUMA_trackball.o] Error 1
> cp: SUMA/libSUMA.a: No such file or directory
> cp: SUMA/libSUMA.a: No such file or directory
> make: *** [libSUMA.a] Error 1
>
> Error: Status 1 encountered during processing.
> gratitude:~ omgoleus$
>
> 
>
>
> The errors are slightly different depending on whether I try afni,
> afni-latest, or afni-devel.  Google search found a message from
> someone a couple months ago on this list, but I didn't see any replies
> at all.  I just subscribed here in hopes that there will be some
> answer now!
>
> Thanks in advance for any help you can offer.
>
> --
> -dave
> Where does the deep and philosophical begin, and where does the
> loony and preposterous end?-Salvador Dalí
>
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: p5-perlmagick won't install

2008-09-09 Thread Bryan Blackburn
On Sep 9, 2008, at 1:16 AM, Paul Rauschelbach wrote:

> I have setup a new machine with OS X 10.5.4, XCode 3.1, and MacPorts
> 1.6. The MacPorts installer didn't put a .profile in for me, but I
> added the path and manpath exports myself. I first attempted to
> install p5-perlmagick. This installed all the dependencies (including
> ImageMagick) without any errors, but the p5-perlmagick port itself
> wouldn't install. CPAN will also not install Image::Magick. Any  
> advice?
> Here's the output from the port command:
> $ sudo port install p5-perlmagick
[...]

According to ticket #13234 [1], it sounds like you should use the  
ImageMagick port with the +perl variant instead of the p5-perlmagick  
port.  Since it installed ImageMagick as a dependency, you'll have to  
uninstall ImageMagick then reinstall it with +perl.

Bryan

[1] - 

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


Re: mutt, ISO-8859-1, and Terminal.app

2008-09-09 Thread Bryan Blackburn
On Sep 9, 2008, at 3:05 PM, Ryan Schmidt wrote:

> On Sep 9, 2008, at 1:03 PM, Jens Troeger wrote:
>
>> On Tue, Sep 09, 2008 at 07:49:23AM -1000, Baron Fujimoto wrote:
>>
>>> On Tue, 9 Sep 2008, Jens Troeger wrote:
>>>
 I'm running on OS-X 10.4.11 and Terminal version 1.5.1 (133-1).
 Just
 recently I installed MacPorts, including mutt-devel so that I can
 access
 my gmail.com account.  It all works nicely; however, there's one  
 big
>
...

You mention gmail, so check mutt ticket 2997:



Maybe you're running into that, which is apparently a bug with gmail?

Bryan


> So could it be that mutt does not support RFC 822-/2047-style subject
> encoding? You'll have to ask the developers of mutt what's going on
> here.
>

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


Re: Building sqlite3 fails

2008-09-12 Thread Bryan Blackburn
On Fri, Sep 12, 2008 at 01:54:53PM +0200, Normen Müller said:
> He all,
> 
> can anyone help how to build sqlite3?
> 
> ---
> # port upgrade outdated
> --->  Building sqlite3 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_databases_sqlite3/work/sqlite-3.6.2"
>  && gnumake all " returned error 2
> Command output: sqlite3.c:80990: error: 'TK_LSHIFT' undeclared (first use in 
> this function)

This is caused by the Tcl env bug, see tickets #13953 [1] (sqlite3-specific)
and #13930 [2] (the general issue).  Running:

$ sudo port clean --work sqlite3

then your original command should get things going.

Bryan

[1] - 
[1] - 


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


Re: Installing without root privileges: what about /Applications/MacPorts?

2008-09-12 Thread Bryan Blackburn
On Fri, Sep 12, 2008 at 03:13:36PM +0100, Michael Williams said:
> Hi,
> 
> I think I've successfully installed MacPorts without root privileges.  
> I installed from source using:
> 
> ./configure --prefix=$HOME/.macports --with-install-user=$USER --with- 
> install-group=staff --with-tclpackage=~/Library/Tcl
> 
> (this was based on my interpretation of 
> https://trac.macports.org/wiki/gsoc08-privileges) 
> .
> 
> However, I've run into trouble with a couple of packages. These errors  
> boil down to:
> 
> Error: Target org.macports.activate returned: can't create directory "/ 
> Applications/MacPorts": permission denied
> 
> Is there any way to change this directory to, say, ~/Applications/ 
> MacPorts or is it hard-coded?
> 

Which source-based install are you using?  Running off trunk allows you to
change the location of the Applications and Frameworks install locations by
editing etc/macports/macports.conf and setting:

applications_dir/path/to/Applications
frameworks_dir  /path/to/Library/Frameworks

If you're running from 1.6 source, then you can't do this...Also note that
the GSoC stuff you were looking into is on its own branch still, not on the
trunk.

> p.s. if anyone knows mutt and MacPorts well, I have another package  
> problem which I think it mutt-related rather than MacPorts, but  
> comments welcome: 
> http://groups.google.com/group/mailing.unix.mutt-users/browse_thread/thread/49b65590cb94eea5#
> 

It looks like mutt would need to have its install routines patched a bit to
maybe ignore an error when the chgrp fails, though that may be a bad thing
to do do the base mutt, so perhaps only in MacPorts.

Bryan


> Thanks,
> -- Mike Williams
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: problem building parts of KDE

2008-09-12 Thread Bryan Blackburn
On Fri, Sep 12, 2008 at 12:57:32PM -0600, Glenn English said:
> 
> I installed MacPorts last night (MacPorts-1.6.0-10.5-Leopard.dmg on a
> Mac Pro), so I claim n00b :-)
> 
[...]
> 
> > maxi:bin root# ./port -v install kmymoney
> > --->  Fetching libidn

Looks like the fetch location for libidn may have been unavailable (or you
aren't able to access ftp-based sites from your location at all or without a
proxy).  If another attempt doesn't work, have a look at



since the file is on the MacPorts mirror.

Bryan


[...]
> - --
> Glenn English
> [EMAIL PROTECTED]
> 
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: problem building parts of KDE

2008-09-12 Thread Bryan Blackburn
On Fri, Sep 12, 2008 at 04:54:01PM -0600, Glenn English said:
> 
> Still no joy. The build of kdebase3 failed, and I think this is the
> relevant part of the screen output:
> 
> > gcc -Os -Os -fPIC -D_GNU_SOURCE -DQT_THREAD_SUPPORT 
> > -I/opt/local/include/freetype2 -I/opt/local/include -fno-common 
> > -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include 
> > -I/usr/X11R6/include -D_LARGE_FILES=1 -Wl,-dylib_file 
> > -Wl,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> >  -o ./kwin/kompmgr/kompmgr ./kwin/kompmgr/kompmgr.o  -L/opt/local/lib 
> > -L/usr/X11/lib /usr/X11/lib/libXcomposite.1.0.0.dylib 
> > /usr/X11/lib/libXdamage.1.1.0.dylib /usr/X11/lib/libXfixes.3.1.0.dylib 
> > /opt/local/lib/libXrender.dylib -L/usr/X11R6/lib 
> > /usr/X11/lib/libXext.6.4.0.dylib /usr/X11/lib/libX11.6.2.0.dylib 
> > /usr/X11/lib/libXdmcp.6.0.0.dylib /usr/X11/lib/libXau.6.0.0.dylib -lm
> > i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXdamage.1.1.0.dylib: No such 
> > file or directory
> > Error creating ./kwin/kompmgr/kompmgr. Exit status 1.
> > kdebase3-3.5.8-0 make failed!
> >
> > Error: The following dependencies failed to build: kdebase3
> > Error: Status 1 encountered during processing.
> 
>  looking for the missing file...
> 
> > maxi:bin root# find /usr/X11/lib/libXd 
> > libXdamage.1.0.0.dylib  libXdamage.1.dylib  libXdamage.dylib
> > libXdamage.la   libXdmcp.6.0.0.dyliblibXdmcp.6.dylib
> > libXdmcp.dylib  libXdmcp.la
> 
> I have 1.0.0, but not 1.1.0. Googling the missing filename, I find this:
> 
> > http://lists.macosforge.org/pipermail/macports-tickets/2008-July/012312.html
> 

The ticket [1] says if you update your xquartz install [2], then you should 
have the
1.1.0 version as well, though on my install (which is a 2.3.1 release
candidate) it is simply a symlink to libXdamage.1.dylib just like the 1.0.0
one is.

Bryan

[1] - 
[2] - 


> It looks to me like this problem came up a couple months ago; it's in
> the works at macports; and there's nothing for me to do but wait until
> it gets fixed. Is that right? Or is there somewhere I can get 1.1.0?
> 
> My OS X is completely up to date, AFAIK...
> 
> - --
> Glenn English
> [EMAIL PROTECTED]
> 
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Building sqlite3 fails

2008-09-13 Thread Bryan Blackburn
On Sat, Sep 13, 2008 at 09:58:00AM +0200, Normen Müller said:
[...]
> 
> 
> # sudo port clean --work sqlite3
> --->  Cleaning sqlite3
> brain:~ root# sudo port install sqlite3
> --->  Fetching sqlite3
> --->  Verifying checksum(s) for sqlite3
> --->  Extracting sqlite3
> --->  Configuring sqlite3
> --->  Building sqlite3 with target all
> --->  Staging sqlite3 into destroot
> --->  Installing sqlite3 3.6.2_0
> --->  Activating sqlite3 3.6.2_0
> Error: Target org.macports.activate returned: Image error: Another version of 
> this port (sqlite3 @3.6.1_0) is already active.
> Error: Status 1 encountered during processing.
> 
> 
> As I am still new to macprots, could you please give me further advices?
> 

Since you already have a version of sqlite3 installed (3.6.1_0), install (or
technically, activate) fails.  Since you've already done the install, you
can simply uninstall the older version with

$ sudo port uninstall sqlite3 @3.6.1_0

then activate the new version

$ sudo port activate sqlite3

In the future, you can avoid that by just using

$ sudo port upgrade sqlite3

See the guide's section on this (and the guide in general if you're new to
MacPorts):



Bryan


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


Re: MacPorts-1.6.0 Won't Build

2008-09-13 Thread Bryan Blackburn
On Sat, Sep 13, 2008 at 01:34:27PM -0600, Etherous said:
> Running MacBook: Intel Core Duo with Mac OS 10.5.4
>
> I already tried the DarwinPorts-1.6.0-10.5-Leopard.dmg version. The .pkg 
> SEEMED to run successfully, but whatever it did, it didn't install 
> DarwinPorts.

Where did you find a DarwinPorts 1.6 DMG?  DarwinPorts ended prior to 1.6 so
all DMG's [1] should be called MacPorts-1.6.0*.

> So next, I tried to manually build the MacPorts-1.6.0.tar.gz 
> version. However, during ./configure, the following was displayed 
> immediately before terminating:
>
> configure: Using Apple Objective-C runtime
> checking for Apple Foundation library... no
> configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your  
> environment, preventing the use of GNUstep's Foundation library
> configure: error: Could not find a working Foundation implementation
>

Make sure you have Xcode installed, as this is probably failing to find all
the necessary bits for compilation (the runtime stuff is obviously installed
for basic OS functionality but I don't believe headers are by default).  
You'll need Xcode anyway to build ports once MacPorts is successfully 
installed.

Bryan

[1] - 


> I know for a fact the Apple Foundation library exists (obviously) and, to 
> no avail, tried setting the following two environment variables:
> APPLE_FOUNDATION_LIBS="-framework Foundation"
> APPLE_FOUNDATION_CFLAGS="-framework Foundation"
>
> I could use some help at this point. Googling found absolutely nothing I 
> could use. If someone could either help me to fix the ./configure or  
> figure out where the package from the DMG installed to, I would greatly 
> appreciate it.

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


Re: cdrtools is not building and installing mkisofs, cdda2wav and various other programs

2008-09-16 Thread Bryan Blackburn
On Tue, Sep 16, 2008 at 11:29:33AM +0100, David Evans said:
> Bryan Blackburn wrote:
> > I just attached a patch to ticket #15934 [1] which updates cdrtools to  
> > the current version and switches to using smake; hopefully using smake  
> > to do the build will fix these issues you've seen.
> >
> > Bryan
> >
> > [1] - <http://trac.macports.org/ticket/15934>
> >
> >   
> I've been patiently waiting for cdrtools to appear in my list of 
> outdated ports.
> Today, I decided to force the build, whereupon port detected that the
> port file had been changed and rebuilt and installed cdrtools.
> 
> 
> Should there have been a version number bump so that outdated will
> recognise it?

How often do you run selfupdate?  macsforever2000@ committed the update [1]
over a week ago so 'port outdated' should have seen the change with the
next PortIndex (within 12 hours) and a selfupdate.

Bryan

[1] - <http://trac.macports.org/changeset/39825>

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


Re: Installing without root privileges: what about /Applications/MacPorts?

2008-09-16 Thread Bryan Blackburn
On Tue, Sep 16, 2008 at 03:39:08PM +0100, Michael Williams said:
> 
[...]
> 
> Forgive my ignorance, but if I installed from 1.6 source and then ran  
> "port -v selfupdate" am I still running from 1.6 or am I on trunk?
> 

selfupdate will keep you on the official release which is 1.6.0 still; it
will not switch you over to a trunk-based build.  The only way to run off of
trunk is to checkout the source and build it [1].

> How does the --with-applications-dir ./configure option that Ryan  
> mentions interest with this macports.conf option? Do I need both?

The configure option will set what gets put into macports.conf (unless you
already have a macports.conf, then it will not be overwritten).  With a
fresh install, either method works but if you forget to give configure that
option, you can simply update macports.conf and the end result is the same.

Bryan

[1] - 


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


Re: sane-backends ck sum error

2008-09-16 Thread Bryan Blackburn
On Tue, Sep 16, 2008 at 11:39:24AM -0700, Scott C. Kennedy said:
> I'm still having this issue after waiting 6+ hours. :)
> 
> Biko:~ sck$ sudo port selfupdate
> 
> MacPorts base version 1.600 installed
> 
> Downloaded MacPorts base version 1.600
> 
> The MacPorts installation is not outdated and so was not updated
> sudo porselfupdate done!
> Biko:~ sck$ sudo port sync

FYI, selfupdate also does what sync does, so this is redundant.

> Biko:~ sck$ sudo port clean --all sane-backends
> --->  Cleaning sane-backends
> Biko:~ sck$ sudo port install sane-backends
> --->  Fetching sane-backends
> --->  Attempting to fetch sane-backends-1.0.19.tar.gz from
> http://alioth.debian.org/frs/download.php/1669/

That's odd, this is the old location, so it seems like the selfupdate/sync
didn't grab the latest.  Try using

$ sudo port -d selfupdate

This will output quite a bit of stuff, you want to watch for something along
the lines of

sent 50740 bytes  received 414170 bytes  29994.19 bytes/sec
total size is 18806023  speedup is 40.45

That means it successfully retrieved files; if you see error messages from
rsync, do you have a firewall in your way that doesn't allow rsync and
perhaps need a proxy?

Bryan


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


Re: sane-backends ck sum error

2008-09-16 Thread Bryan Blackburn
On Tue, Sep 16, 2008 at 01:45:07PM -0700, Scott C. Kennedy said:
[...]
> --->  Fetching sane-backends
> --->  Attempting to fetch sane-backends-1.0.19.tar.gz from
> http://alioth.debian.org/frs/download.php/1669/
> --->  Verifying checksum(s) for sane-backends
> Error: Checksum (md5) mismatch for sane-backends-1.0.19.tar.gz
> Error: Checksum (sha1) mismatch for sane-backends-1.0.19.tar.gz
> Error: Checksum (rmd160) mismatch for sane-backends-1.0.19.tar.gz
> Error: Target org.macports.checksum returned: Unable to verify file
> checksums
> Error: Status 1 encountered during processing.

Actually, looks like Ryan's message is the one to pay attention to, as my
1.6 install is also not picking up the latest version, so seems like a
server issue at this point...

Bryan


> 
> Scott
> PS> I know about sync & selfupdate, I was just doing that to ensure that
> I had the most recent MacPorts, and I cut & pasted my previous commands.
> My bad.

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


Re: cdrtools is not building and installing mkisofs, cdda2wav and various other programs

2008-09-16 Thread Bryan Blackburn
On Tue, Sep 16, 2008 at 10:33:36PM +0100, David Evans said:
[...]
> >   
> I hardly ever run port selfupdate.  I thought that port sync was 
> sufficient every couple of days.
> Perhaps that's where I'm going wrong.

sync will get updated port information (and is done when you do
selfupdate), but doesn't update the base MacPorts code when things are
updated there.  For cdrtools, a sync should have been sufficient, but it
sounds like there may have been an issue with the rsync server recently, so
trying again should see cdrtools as upgraded.

Bryan

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


Re: errors encountered while installing Python -- please advise

2008-09-19 Thread Bryan Blackburn
On Fri, Sep 19, 2008 at 03:27:25PM -0400, Richard Rucker said:
> Here's the installation command being executed:
> $ sudo port install py25-gtk py-serial py25-xml py25-hashlib
> 

Any particular reason why you're using py-serial instead of py25-serial?
py-* ports are usually python 2.4 (some may be 2.3, not sure).

> 
> Here's the relevant portion of the installing script's reports:
[...]
> --->  Building py25-hashlib with target build
> Error: Target org.macports.build returned: shell command " cd "/opt/ 
> local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync 
> .macports.org_release_ports_python_py25-hashlib/work/Python-2.5.2/ 
> Modules" && /opt/local/bin/python2.5 setup.py build " returned error 1
> Command output: running build
> running build_ext
> building '_hashlib' extension
> creating build
> creating build/temp.macosx-10.3-i386-2.5
> -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include  
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/ 
> python2.5 -c _hashopenssl.c -o build/temp.macosx-10.3-i386-2.5/ 
> _hashopenssl.o
> unable to execute -DNDEBUG: No such file or directory
> error: command '-DNDEBUG' failed with exit status 1
> 

That's the Tcl environment bug:



$ sudo port clean py25-hashlib

then your original install should make it through.

Bryan


> Error: The following dependencies failed to build: py25-cairo py25- 
> numpy py25-hashlib py25-gobject libxslt
> Error: Status 1 encountered during processing.
> 
> So should I do now?
> 
> Dick
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: errors encountered while installing Python -- please advise

2008-09-19 Thread Bryan Blackburn
On Fri, Sep 19, 2008 at 05:34:59PM -0400, Richard Rucker said:
> 
> On Sep 19, 2008, at 4:36 PM, Bryan Blackburn wrote:
> 
> > On Fri, Sep 19, 2008 at 03:27:25PM -0400, Richard Rucker said:
> >> Here's the installation command being executed:
> >> $ sudo port install py25-gtk py-serial py25-xml py25-hashlib
> >>
> >
> > Any particular reason why you're using py-serial instead of py25- 
> > serial?
> > py-* ports are usually python 2.4 (some may be 2.3, not sure).
> 
> I'm just following the instructions given for installing D-Rats on a  
> Mac. Here's a copy:
> 
> -
> Go to http://www.macports.org/install.php and follow the directions  
> there
> Once macports is installed, you can open a terminal and install the  
> dependencies:
> 
> % sudo port install py25-gtk py-serial py25-xml py25-hashlib
> 
> This will take a long time.
> When it's done, you'll need to link the pyserial package into the  
> python2.5 library:
> 
> % sudo ln -s /opt/local/lib/python2.4/site-packages/serial /opt/local/ 
> lib/python2.5/site-packages/serial
> 
> After that, you should be able to download the latest source release,  
> untar it, and run:
> 
> % /opt/local/bin/python2.5 d-rats.py
> ---
> 
> I'm a novice at this command line stuff. So what's the difference  
> between
> py-serial and py25-serial?  And what do they do?
> 

If you use py25-serial instead, then that 'sudo ln -s ...' above would not
be needed (and in theory, could be a bad idea though sounds like it works
for the serial module).

Both py-serial and py25-serial install the serial module, but the former
installs it with python 2.4 (hence the python2.4 in that path above), and
the latter for python 2.5.  Since all of the other modules listed are for
2.5, using py25-serial should be much simpler as then you won't have to
build/install both 2.4 and 2.5 of python.  Especially if you'll just be
linking the one module from 2.4 into 2.5.

Bryan


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


Re: I get the error "C compiler cannot create executables" when I try to install a port...

2008-09-21 Thread Bryan Blackburn
On Sun, Sep 21, 2008 at 02:34:00PM +0200, Otto Roberson Bertsch said:
> I get the error "C compiler cannot create executables" when I try to install
> a port
> I had installed first XCode from the Apple "311_2517_developerdvd.dmg". I
> thought maybe that was the problem since the FAQ states "you need XCode 3.0"
> - so I installed that from the DVD. I still have the problem and XCode seems
> to be installed.
> 

That DMG has Xcode 3.1.1 which should be just fine (works for me at any
rate).  The doc should read 'Xcode 3.0 or later for 10.5'...

Usually that error message does indicate either no Xcode installed or the
wrong one (eg, upgrading to 10.5 but not also upgrading Xcode).  It could
also indicate that not all of Xcode was installed, so did you just accept
the defaults or did you disable anything when installing it?

Finally, which port, just in case it turns out to be a port-specific issue,
or did you try several?

Bryan

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


Re: I get the error "C compiler cannot create executables" when I try to install a port...

2008-09-21 Thread Bryan Blackburn
On Sun, Sep 21, 2008 at 03:28:55PM -0500, Ryan Schmidt said:
> 
> On Sep 21, 2008, at 7:34 AM, Otto Roberson Bertsch wrote:
> 
> > I had installed first XCode from the Apple  
> > "311_2517_developerdvd.dmg". I thought maybe that was the problem  
> > since the FAQ states "you need XCode 3.0" - so I installed that  
> > from the DVD. I still have the problem and XCode seems to be  
> > installed.
> 
> I'm unable to find a page where we state that Xcode 3.0 is required  
> for Leopard. Could you please tell me the URL so I can fix it to show  
> that 3.0 is a minimum requirement? Thanks.
> 

The www site, not the guide, at



specifically lists 3.0 and 2.4.1, without any kind of "or newer" type of
phrasing...

Bryan

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


Re: exlive_base 2007 not working

2008-09-22 Thread Bryan Blackburn
On Tue, Sep 23, 2008 at 02:02:49AM +0200, Florian Kühnlenz said:
> I just tried to install doxygen.
> After 10min I recived a failure. After some research I found out i could 
> install texlive_base:
> any suggestions?
>
> --->  Building texlive_base 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_tex_texlive_base/work/texlive_base-2007" && 
> make all " returned error 2
[...]
> /usr/bin/gcc-4.0 -o xdvi-xaw.bin browser.o dvi-draw.o dvi-init.o dvisel.o 
> encodings.o events.o filehist.o font-open.o gf.o hypertex.o  
> image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o  
> print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o  
> search-internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o 
> xserver-info.o x_util.o 1  -L/opt/local/lib ./gui/libgui.a 
> .../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a 
> -L/usr/lib/ruby -L/usr/X11/lib -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext 
> -lXpm -lX11 -lXau -lXdmcp -liconv ../kpathsea/.libs/libkpathsea.a -lm
> i686-apple-darwin9-gcc-4.0.1: 1: No such file or directory

Hmm, an errant '1' in there; maybe related to the "X11R6 1" issue, mentioned
at



See if you have any "* 1" directories in /usr.

Bryan


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


Re: taglib won't install (problem with gcc4.0 blacklisted)

2008-09-23 Thread Bryan Blackburn
On Tue, Sep 23, 2008 at 02:59:08PM -0700, rhubbell said:
> Hello all,
> 
> I'm new to macports and have run into a problem. I installed macports
> 1.60 on Tiger and everything went fine after a few fits and starts. But
> the last package I wanted to install failed. 
> 
> I attempted to install:
> 
> sudo port install taglib
> 
> It gets to the configure stage and bails out stating that gcc4.0 is
> blacklisted and to either upgrade or downgrade gcc.
> 

That's odd, as taglib's configure doesn't mind gcc4.0 here at all:

checking whether /usr/bin/gcc-4.0 is blacklisted... no

Make sure you're up to date on your MacPorts by running

$ sudo port selfupdate

Then try installing taglib again.

> To me it seems like the tail wants to wag the dog.  I'd rather not
> change gcc unless someone can show me a painless way to do it with
> breaking things.
> 
> Thanks for any advice.
> 
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: taglib won't install (problem with gcc4.0 blacklisted)

2008-09-23 Thread Bryan Blackburn
On Tue, Sep 23, 2008 at 05:18:35PM -0700, rhubbell said:
[...]
> 
> Yes I've already tried this.  Thanks. For now I'm not using taglib.
> Although I'm missing some functionality because I'm not using taglib.
> Actually I'm building the app now so I'll find out if it can function
> without taglib.
> 

It looks like taglib is only disliking 4.0.0, so I'm guessing if you run "gcc
--version" it'll say 4.0.0 and not 4.0.1 (which is what's shipped with
current Xcode versions).  In that case I'd suggest you upgrade Xcode.

Bryan


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


Re: taglib won't install (problem with gcc4.0 blacklisted)

2008-09-23 Thread Bryan Blackburn
On Tue, Sep 23, 2008 at 10:25:17PM -0500, Ryan Schmidt said:
> 
> On Sep 23, 2008, at 10:12 PM, rhubbell wrote:
> 
> > On Tue, 2008-09-23 at 20:22 -0600, Bryan Blackburn wrote:
> >
> >> It looks like taglib is only disliking 4.0.0, so I'm guessing if  
> >> you run "gcc
> >> --version" it'll say 4.0.0 and not 4.0.1 (which is what's shipped  
> >> with
> >> current Xcode versions).  In that case I'd suggest you upgrade Xcode.
> >
> > I guess xcode doesn't get updated when other software gets updated via
> > software update.
> 
> No, it does not. You must download Xcode updates from Apple Developer  
> Connection.
> 
> http://connect.apple.com/
> 

Also note, that if you have gcc 4.0.0 from Xcode, you have a very old
version, as Apple upgraded gcc4 to 4.0.1 as of Xcode 2.2; MacPorts works
best with 2.4.1 or 2.5 on Mac OS X 10.4.

Bryan

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


Re: taglib won't install (problem with gcc4.0 blacklisted)

2008-09-24 Thread Bryan Blackburn
On Wed, Sep 24, 2008 at 07:40:10AM -0700, rhubbell said:
[...]
> 
> I don't recall where I got Xcode, I thought it came with the OS.
> But I'll check that link to see how to upgrade.
> 

Yes, the OS DVD does include Xcode, but as time goes on that version goes
further out of date...To upgrade you just download the DMG for the latest
version and install the packages from it.  There should be documentation in
the DMG if you feel like reading beforehand.

> BTW I found a taglib.dmg on the taglib site, if I installed that would
> worlds collide?
> 

I'm guessing it'll install in /usr/local which won't break things, but
anything you install from MacPorts won't see it since they'll be looking only
for MacPorts-installed items to satisfy dependencies.

Bryan

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


Re: audiofile checksum failure

2008-09-24 Thread Bryan Blackburn
On Wed, Sep 24, 2008 at 12:28:49PM -0700, Bill Parducci said:
[...]
> --->  Verifying checksum(s) for audiofile
> Error: No checksum set for audiofile-0.2.6.tar.gz
[...]
> 
> I tried cleaning and repulling with no luck. I also manually pulled  
> the file from a few sites and diff'd the results (all files are the  
> same). Any ideas?
> 

I take it you did try cleaning audiofile, not the main port you were trying
to install?  Also, were you in interactive mode, as if you were, I think if
this is the bug that's come up before [1], you'll need to restart port?

If neither of those solves the issue, can you run

$ sudo port clean --all audiofile

then show the output of running

$ sudo port -d checksum audiofile

Maybe something there will be helpful.

Bryan

[1] - 


> thanks in advance.
> 
> b
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: arpwatch

2008-09-25 Thread Bryan Blackburn
On Fri, Sep 26, 2008 at 01:46:20AM +0100, Mark Hattam said:
> Is there something amiss with my MacPorts system?
> 
> I did a
> sudo port install arpwatch
> 
> and it installed arpwatch into /opt/local/sbin ... just the 
> executable, no directory.
> 
> and without making a default (empty) arp.dat and without the ethercodes.dat
> 

When did you last run a 'sudo port selfupdate'?  On my system, arpwatch is
version 2.1a15 and installs more than just the arpwatch binary itself:

${prefix}/sbin/arpsnmp
${prefix}/sbin/arpwatch
${prefix}/share/examples/arpwatch-2.1a15/arp2ethers
${prefix}/share/examples/arpwatch-2.1a15/d.awk
${prefix}/share/examples/arpwatch-2.1a15/e.awk
${prefix}/share/examples/arpwatch-2.1a15/ethercodes.dat
${prefix}/share/examples/arpwatch-2.1a15/p.awk
${prefix}/share/man/man8/arpsnmp.8.gz
${prefix}/share/man/man8/arpwatch.8.gz

> It also didn't seem to complain about not installing libpcap which 
> seems to be a pre-requisite according to all the online documentation 
> about arpwatch. But arpwatch does seem to work regardless.
> 

It's apparently simply linking against the OS-installed libpcap in /usr/lib.
In theory it should probably be linking against the libpcap port.

> It would also be helpful to put in how to generate a up-to-date 
> ethercodes.dat file, not least as I had to work out how to achieve 
> this
> sh massagevendor /opt/local/sbin/oui.txt >/opt/local/sbin/ethercodes.dat
> having downloaded the oui.txt from
> http://standards.ieee.org/regauth/oui/oui.txt
> 

I'd say file a ticket against this bit as it could probably install more
files (eg, that massagevendor script at least, perhaps others).

Bryan


> (or even generate an up to date ethercodes.dat file as part of the 
> port install)
> 
> 
> Mark Hattam
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Gnome won't install

2008-09-29 Thread Bryan Blackburn
On Tue, Sep 30, 2008 at 02:18:38PM +1000, Benedick Miller said:
> Hello,
> I am new here. I couldn't find this issue in the archives, in fact I  
> couldn't find a way to effectively search the archives. I have  
> installed Macports mainly so I can install Gnucash 2.2.7 from source,  
> for which I need gnome2 guile and slib . I have an intel MacBook pro  
> with OS X 10.5.5 and Xcode 311_2517 (the latest I could find) and  
> MacPorts 1.6.0 and  I did a "port selfupdate" before starting.
> 

Note that many of the gnome-related ports have been recently upgraded to the
latest version (including the libgnomeui port which failed for you which is
now 2.24.0).  So first be sure to run

$ sudo port selfupdate

to get all the current Portfiles, then try again.  Also note that there are
many gnome-based ports, so some may have been missed or could fail because
of the upgrade.  If that happens, be sure to open tickets.

Bryan

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


Re: Gnome won't install

2008-09-30 Thread Bryan Blackburn
On Tue, Sep 30, 2008 at 05:27:31PM +1000, Benedick Miller said:
> 
> On 30 Sep 2008, at 15:09, Bryan Blackburn wrote:
> 
> > On Tue, Sep 30, 2008 at 02:18:38PM +1000, Benedick Miller said:
> >> Hello,
> >> I am new here. I couldn't find this issue in the archives, in fact I
> >> couldn't find a way to effectively search the archives. I have
> >> installed Macports mainly so I can install Gnucash 2.2.7 from source,
> >> for which I need gnome2 guile and slib . I have an intel MacBook pro
> >> with OS X 10.5.5 and Xcode 311_2517 (the latest I could find) and
> >> MacPorts 1.6.0 and  I did a "port selfupdate" before starting.
> >>
> >
> > Note that many of the gnome-related ports have been recently  
> > upgraded to the
> > latest version (including the libgnomeui port which failed for you  
> > which is
> > now 2.24.0).  So first be sure to run
> >
> > $ sudo port selfupdate
> >
> > to get all the current Portfiles, then try again.  Also note that  
> > there are
> > many gnome-based ports, so some may have been missed or could fail  
> > because
> > of the upgrade.  If that happens, be sure to open tickets.
> >
> > Bryan
> >
> > [...]
> 
> Thanks for the reply, but if you read my initial post I did "sudo port  
> update" first you even quoted it! See above.
> 

Hmm, did it fail then?  If I run 'port info libgnomeui':

libgnomeui 2.24.0, gnome/libgnomeui (Variants: universal)
...

So you for some reason aren't picking up the latest, which selfupdate should
have done.  You can try 'sudo port -d selfupdate' to see more information on
what it is and isn't doing.

Bryan

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


Re: libglade2 fails to install with an xmlcatalog error?

2008-09-30 Thread Bryan Blackburn
On Tue, Sep 30, 2008 at 10:26:16PM -0500, Ryan Schmidt said:
> On one of my systems I got:
> 
> Error: Target org.macports.activate returned: shell command  
> "xmlcatalog --noout --add system http://glade.gnome.org/ 
> glade-2.0.dtd /mp/share/xml/libglade/glade-2.0.dtd /mp/etc/xml/ 
> catalog" returned error 2
> Command output: could not open /mp/etc/xml/catalog for saving
> add command failed
> 
> /mp is my MacPorts prefix. There is a directory /mp/etc but no  
> directory /mp/etc/xml.
> 

If creating the ${prefix}/etc/xml directory gets this to work, perhaps
libxml2 (which provides xmlcatalog) should install that directory?

Bryan


> 
> On Sep 30, 2008, at 3:39 PM, Scott C. Kennedy wrote:
> 
> > Apart from a single person with a "me too", I haven't seen much  
> > traffic on this issue. Are other people having it? Or is it a  
> > weirdness with my environment?
> >
> > Scott
> >
> > Scott C. Kennedy wrote:
> >>
> >> I noticed during this week's selfupdate that there was a bunch of  
> >> things that got released, so I just did an uninstall of 2.6.2 and  
> >> an install of 2.6.3 of libglade2 and got this error...
> >> Biko-2:~ sck$ sudo port install libglade2
> >> --->  Fetching libglade2
> >> --->  Verifying checksum(s) for libglade2
> >> --->  Extracting libglade2
> >> --->  Configuring libglade2
> >> --->  Building libglade2 with target all
> >> --->  Staging libglade2 into destroot
> >> --->  Installing libglade2 2.6.3_0
> >> --->  Activating libglade2 2.6.3_0
> >> Error: Target org.macports.activate returned: shell command  
> >> "xmlcatalog --noout --add system http://glade.gnome.org/ 
> >> glade-2.0.dtd/opt/local/share/xml/libglade/glade-2.0.dtd /opt/ 
> >> local/etc/xml/catalog" returned error 3
> >> Command output: add command failed
> 
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: libglade2 fails to install with an xmlcatalog error?

2008-10-01 Thread Bryan Blackburn
On Wed, Oct 01, 2008 at 12:44:01AM -0500, Ryan Schmidt said:
> 
> On Sep 30, 2008, at 10:57 PM, Bryan Blackburn wrote:
> 
> >> On one of my systems I got:
> >>
> >> Error: Target org.macports.activate returned: shell command
> >> "xmlcatalog --noout --add system http://glade.gnome.org/
> >> glade-2.0.dtd /mp/share/xml/libglade/glade-2.0.dtd /mp/etc/xml/
> >> catalog" returned error 2
> >> Command output: could not open /mp/etc/xml/catalog for saving
> >> add command failed
> >>
> >> /mp is my MacPorts prefix. There is a directory /mp/etc but no
> >> directory /mp/etc/xml.
> >
> > If creating the ${prefix}/etc/xml directory gets this to work, perhaps
> > libxml2 (which provides xmlcatalog) should install that directory?
> 
> It doesn't really help. If I create ${prefix}/etc/xml, then when  
> activating libglade2, a file ${prefix}/etc/xml/catalog is created,  
> but it is empty, and I still get:
> 
> --->  Activating libglade2 @2.6.3_0
> Error: Target org.macports.activate returned: shell command  
> "xmlcatalog --noout --add system http://glade.gnome.org/ 
> glade-2.0.dtd /mp/share/xml/libglade/glade-2.0.dtd /mp/etc/xml/ 
> catalog" returned error 3
> Command output: add command failed
> 

Looks like the xmlcatalog in libglade2 needs the --create switch then
(and ${prefix}/etc/xml probably still should be created by libxml2):

   system "xmlcatalog --create --noout --add system \
  http://glade.gnome.org/glade-2.0.dtd \
  ${prefix}/share/xml/libglade/glade-2.0.dtd \
  ${prefix}/etc/xml/catalog"

Fortunately it appears that --create doesn't overwrite entries already
present, at least with my quick bit of testing.  I believe the file exists
on my system because of one of the docbook ports.

Bryan

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


Re: Error Message

2008-10-01 Thread Bryan Blackburn
On Wed, Oct 01, 2008 at 07:41:49AM -0700, john wu said:
> Hi,
> 
> I tried to install shibboleth to Mac 10.4.11 and got the following error 
> message:
> Warning: It looks like your PortIndex file may be corrupt.
> Error: search for portname shibboleth failed: bad argument "": should be 
> "nonewline"
> 
> Is this related to macports or shibboleth? Sorry, I am new to macports and 
> try to narrow down the problem.
> 

I don't see a port by that name:

$ port info shibboleth
Error: Port shibboleth not found
$ port search shibboleth
No match for shibboleth found

Did you see mention that this was a port someplace?

Bryan


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


Re: Upgrading python25 -> python26

2008-10-03 Thread Bryan Blackburn
On Fri, Oct 03, 2008 at 03:38:36PM +0100, Uldis Bojars said:
> Python 2.6 is now released and a port for it is available on MacPorts.
> 
> Could you tell me if there is any straightforward way to upgrade
> Python 2.5 and packages dependent on it
> (all installed using MacPorts) to the version 2.6?
> 
> One could find all the packages that depend on py25, remove them,
> remove py25, install py26 and reinstall all the packages that were
> removed. But I am hoping there is an easier way.
> 

Note that there are currently no py26- ports at all, so there's really
nothing to reinstall module-wise to use 2.6 as yet.

Since this would get messy fast (another group of modules duplicating py-
and py25-), jmr@'s ticket 16723 [1] will hopefully be the future, getting
rid of all the duplication.

Bryan

[1] - 


> Thanks,
> Uldis
> 
> [ http://captsolo.net/info/ ]
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: can't find rsync?

2008-10-04 Thread Bryan Blackburn
On Sat, Oct 04, 2008 at 05:21:30PM -0500, Steven Rogers said:
> I'm trying to build another package (git-core) which requires rsync,  
> and it seems to be missing from the 10 or places that it tries to  
> download from, such as:
> 
> --->  Attempting to fetch rsync-2.6.9.tar.gz from http://samba.org/ftp/rsync/
> 
> any idea what's up with that?
> 

Yeah, your MacPorts install is months out of date, rsync has been 3.0.x for
some time now.

Run

$ sudo port selfupdate

You should also be installing a newer version of git-core at that point.

Bryan


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


Re: Gnome won't install

2008-10-04 Thread Bryan Blackburn
On Sun, Oct 05, 2008 at 11:45:31AM +1000, Benedick Miller said:
[...]
> 
> In fact I tried this: uninstall macports completely. Reinstall  
> Macports. sudo port selfupdate. sudo port install gnucash. Error log  
> below. Sorry I can't work out what I am doing wrong! Does anyone have  
> gnucash working with macports?
> 
> miranda:~ ben$ sudo port install gnucash
> 
> {{{--->  Activating libglade2 2.6.3_0
> Error: Target org.macports.activate returned: shell command  
> "xmlcatalog --noout --add system http://glade.gnome.org/glade-2.0.dtd / 
> opt/local/share/xml/libglade/glade-2.0.dtd /opt/local/etc/xml/catalog"  
> returned error 2
> Command output: could not open /opt/local/etc/xml/catalog for saving
> add command failed
> 

That's an issue with the libglade2 port [1] which should be using the
--create switch when it runs xmlcatalog.  Since this is run post-activate,
I'm not sure if the port is still activated or not though.

Bryan

[1] - 

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


Re: problem with fontconfig

2008-10-05 Thread Bryan Blackburn
On Sun, Oct 05, 2008 at 11:12:11AM +0200, maurizio toncelli said:
> I have a little problem with fontconfig, macport  don' t arrive to  
> download it.
> What I  can do?

Perhaps the server was unavailable when you tried, it just downloaded fine
here.  Otherwise, do you need to use a proxy to download over HTTP?

Bryan


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


Re: ruby - pg

2008-10-06 Thread Bryan Blackburn
On Mon, Oct 06, 2008 at 05:23:19PM -0400, Tom Allison said:
> I'm struggling here between the different mailing lists and postings.
> 
> What I would like to get running is the ruby DBI on postgresql 8.3.
> 
> macports seems to support 8.1 only.
> rubygems is mostly DOA every time I try to install and run them.
> 
> They install without error, but cannot be loaded.
> 
> Is there a path I need to set?
> Some other method?
> 
> There's a lot pf pages out there talking about a lot of different 
> packages available.  As near as I can tell - ruby-pg is the one I want 
> to install under the DBI library.
> 

For Ruby and DBI, it looks like you want to use the rb-dbi port with the
dbd_pg variant for PostGreSQL.  The dbd_pg variant requires the rb-postgres
port which is what brings in postgresql81 unfortantely; there is a ticket
about this:



Bryan


> One thing that is a must have is prepared statements for performance.  I 
> don't think ORM do this very well.
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: linking to libssl and libcrypt

2008-10-08 Thread Bryan Blackburn
On Wed, Oct 08, 2008 at 01:44:19PM -0700, Shawn Protsman said:
> I'm attempting to build a static library that links to both libssl.a  
> and libcrypto.a. When I build it I get these "has no symbols"  
> messages. Any advice on resolving this? Thanks.
> 

Ignore them?  Some source files end up, based on #defines, to have nothing
in them, so when compiled, they have no symbols.  Eg, rand_os2.c:



when built on anything other than OS/2 will have nothing, hence the message
you see from libtool below.  Note also at the end that it finished building
the library, so does it work as expected?

Bryan


> # Building liballkeyrtv.a
> libtool -static -o liballkeyrtv.a allkeyrtv.o parseini.o tksc.o  
> TkscTls.o TkscSockets.o skeys.o writelogs.o tThreads.o /opt/local/lib/ 
> libssl.a /opt/local/lib/libcrypto.a
> libtool: file: /opt/local/lib/libssl.a(kssl.o) has no symbols
> libtool: file: /opt/local/lib/libcrypto.a(ebcdic.o) has no symbols
> libtool: file: /opt/local/lib/libcrypto.a(rand_win.o) has no symbols
> libtool: file: /opt/local/lib/libcrypto.a(rand_os2.o) has no symbols
> libtool: file: /opt/local/lib/libcrypto.a(rand_nw.o) has no symbols
> libtool: file: /opt/local/lib/libcrypto.a(e_camellia.o) has no symbols
> libtool: file: /opt/local/lib/libcrypto.a(e_seed.o) has no symbols
> libtool: file: /opt/local/lib/libcrypto.a(e_rc5.o) has no symbols
> libtool: file: /opt/local/lib/libcrypto.a(m_mdc2.o) has no symbols
> libtool: file: /opt/local/lib/libcrypto.a(v3_asid.o) has no symbols
> libtool: file: /opt/local/lib/libcrypto.a(v3_addr.o) has no symbols
> Finished building target: liballkeyrtv.a
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: macports and Xcode

2008-10-08 Thread Bryan Blackburn
On Wed, Oct 08, 2008 at 02:16:08PM -0700, rhubbell said:
> Hello all,
> 
> Probably a ridiculous question. (never stopped me before)
> Is macports always and forever dependent upon Xcode?
> Can it be de-coupled?
> 

As long as MacPorts builds ports from source, then Xcode is an absolute
requirement (for gcc etc).  If the day comes that MacPorts distributes
binary packages, then Xcode may only be needed by some ports and not
MacPorts as a whole.

Bryan

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


Re: linking to libssl and libcrypt

2008-10-08 Thread Bryan Blackburn
On Wed, Oct 08, 2008 at 02:27:07PM -0700, Shawn Protsman said:
[...]
> Thanks for the quick reply. I copied the static lib to /usr/local/lib  
> and then tried to compile my binary which links to liballkeyrtv.a:
> 
> Building target: keyreq
> ##gcc -lallkeyrtv -o keyreq keyreq.o
> gcc -o keyreq keyreq.o /usr/local/lib/liballkeyrtv.a
> Undefined symbols:
>"_inflateEnd", referenced from:
>_zlib_stateful_free_ex_data in liballkeyrtv.a(c_zlib.o)
>_bio_zlib_free in liballkeyrtv.a(c_zlib.o)
[...]

Looks like you need to link libz as well.

Bryan

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


Re: Unable to fetch libxml2

2008-10-09 Thread Bryan Blackburn
On Thu, Oct 09, 2008 at 08:06:11PM -0700, Trevor Robinson said:
> I've been trying to libxml2 (to install gimp 2.6) for the past few hours,
> but I've been unable to fetch it from any mirror. xmlsoft.org seems to be
> down, and other mirrors seem to have older (e.g. 2.6.30) or newer (2.7.2)
> versions. I can't find a 2.7.1 source tgz with matching checksums. Any idea
> what's going on or an easy workaround?
> 

Looks like, with the update to 2.7.2, they've moved the older tarball to the
old/ subdirectory, as mentioned in ticket #16781 [1].  Until the port is
updated to either the current version or to find the 2.7.1 version, you can
follow the fetch failures [2] step on the problem hotlist page of the wiki.

Bryan

[1] -
[2] - 


> Thanks,
> Trevor

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


Re: cups-headers, gtk2, 10.3 - re-messed up?

2008-10-09 Thread Bryan Blackburn
On Thu, Oct 09, 2008 at 09:53:41PM -0700, Walt Pawley said:
> I initially attempted to install gimp on my G4 PB, running
> 10.3.9. It failed,  so I started trying to see if I could
> figure things out (fat chance!). In the process I tried
> installing gtk2. This failed because it the symbols ppd_attr_t
> and ppd_attr were undefined.
> 
> My research indicated that these symbols were/are defined in
> the cups-headers port, via the file ppd.h. But, I didn't find
> any symbols containing even "att" in the ppd.h file installed
> via the cups-headers @1.1.15+darwin_7 (active) port.
> 
> Looking back into the archives, difficulty with this issue
> seems to have arisen sporadically. The version of ppd.h
> mentioned as the solution to this problem was  1.1.23.
> Apparently I'm missing the incantation to get this installed.

Sounds like perhaps updating the cups-headers port to 1.1.23 would be the
solution, and has a ticket:



Though the number of people running 10.3 and needing cups-headers is
probably quite small at this point, so you may be the only one available now
to actually test this...

Bryan


> -- 
> 
> Walter M. Pawley <[EMAIL PROTECTED]>
> Wump Research & Company
> 676 River Bend Road, Roseburg, OR 97471
>  541-672-8975
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: New versions of CLISP and ECL

2008-10-10 Thread Bryan Blackburn
On Fri, Oct 10, 2008 at 08:04:37PM -0500, Gabriel Dos Reis said:
> Hi,
> 
>   Is there a plan to have a port for the latest release of CLisp and ECL?
> 

There are tickets for both:




Bryan


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


Re: Can anyone explain why I can't uninstall rb-sqlite3?

2008-10-15 Thread Bryan Blackburn
On Wed, Oct 15, 2008 at 05:05:05AM -0700, Scott C. Kennedy said:
> Oh, ns yes, I've tried port clean, port selfupdate, port uninstall -d -f...
> 
> Biko-2:~ sck$ sudo port selfupdate
> 
> MacPorts base version 1.600 installed
> 
> Downloaded MacPorts base version 1.600
> 
> The MacPorts installation is not outdated and so was not updated
> selfupdate done!
> Biko-2:~ sck$ sudo port clean --all rb-sqlite3
> --->  Cleaning rb-sqlite3
> Warning: Distfiles directory
> '/opt/local/var/macports/distfiles/ruby' may contain distfiles
> needed for other ports, use the -f flag to force removal
> Biko-2:~ sck$ sudo port -d -f uninstall  rb-sqlite3 @1.2.1_0
> --->  Uninstalling rb-sqlite3 1.2.1_0
> DEBUG: skip missing file: /Users/sck/0

That's an odd file...especially since everything should be in /opt/local.

> DEBUG: /Users/sck is not empty
> DEBUG: /Users is not empty
> DEBUG: / is not empty
> --->  Uninstall is removing rb-sqlite3 from the port registry.

After this, 'port installed rb-sqlite3' still shows it as installed?  If so,
sounds like it's actually failing to delete the receipt.  See what's located
in /opt/local/var/macports/receipts/rb-sqlite3 with

$ ls -lR /opt/local/var/macports/receipts/rb-sqlite3

I know there is/was an issue with abnormal characters in some places that
can confuse port, but rb-sqlite3 doesn't appear to have any such issues that
I can see.

Bryan


> Biko-2:~ sck$
> 
> Scott
> 
> Scott C. Kennedy wrote:
> > I did this multiple times...
> >
> > Biko-2:~ sck$ port installed | grep sqlite
> >   rb-sqlite3 @1.2.1_0
> >   sqlite3 @3.6.3_0 (active)
> > Biko-2:~ sck$ sudo port  uninstall rb-sqlite3
> > --->  Uninstalling rb-sqlite3 1.2.1_0
> > Biko-2:~ sck$ port installed | grep sqlite
> > *  rb-sqlite3 @1.2.1_0*
> >   sqlite3 @3.6.3_0 (active)
> > Biko-2:~ sck$ sudo port  uninstall rb-sqlite3
> > --->  Uninstalling rb-sqlite3 1.2.1_0
> > Biko-2:~ sck$ sudo port* -f * uninstall rb-sqlite3
> > --->  Uninstalling rb-sqlite3 1.2.1_0
> > Biko-2:~ sck$ sudo port *-f * uninstall rb-sqlite3
> > --->  Uninstalling rb-sqlite3 1.2.1_0
> > Biko-2:~ sck$ sudo port *-f * uninstall rb-sqlite3
> > --->  Uninstalling rb-sqlite3 1.2.1_0
> > Biko-2:~ sck$ port installed | grep sqlite
> > *  rb-sqlite3 @1.2.1_0*
> >   sqlite3 @3.6.3_0 (active)
> > Biko-2:~ sck$ sudo port activate   rb-sqlite3 @1.2.1_0
> > --->  Activating rb-sqlite3 1.2.1_0
> > Error: port activate failed: Image error: rb-sqlite3 @1.2.1_0 not
> > installed as an image.
> > Biko-2:~ sck$ sudo port uninstall  rb-sqlite3 @1.2.1_0
> > --->  Uninstalling rb-sqlite3 1.2.1_0
> > Biko-2:~ sck$ port installed | grep sqlite
> >   rb-sqlite3 @1.2.1_0
> >   sqlite3 @3.6.3_0 (active)
> > Biko-2:~ sck$
> >
> > But, I can't seem to uninstall/install/activate this port...
> >
> > Any ideas?
> >
> > Scott
> 
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Error upgrading ffmpeg - running from trunk

2008-10-15 Thread Bryan Blackburn
On Wed, Oct 15, 2008 at 02:09:32PM -0700, Chris Janton said:
> On 2008-10-15 , at 09:38 , nox wrote:
> 
> > Fixed in r40824.
> 
> 
> mac 15 # svn info
> Path: .
> URL: http://svn.macports.org/repository/macports/trunk/base
> Repository Root: http://svn.macports.org/repository/macports
> Repository UUID: d073be05-634f-4543-b044-5fe20cf6d1d6
> Revision: 40829
> Node Kind: directory
> Schedule: normal
> Last Changed Author: [EMAIL PROTECTED]
> Last Changed Rev: 40824
> Last Changed Date: 2008-10-15 09:35:54 -0700 (Wed, 15 Oct 2008)
> 

Make sure you rebuild/install from base as well.  If you did, then you'll
want to follow ticket #16877:



Bryan

[...]
> --
> 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: how to detect installed gtk variant

2008-10-15 Thread Bryan Blackburn
On Wed, Oct 15, 2008 at 06:07:04AM -0700, MySchizoBuddy said:
> 
> For webkit-gtk it has a quartz variant. I want to detect if gtk2 was
> installed with the quartz variant or not. if not then spit an error and tell
> the users to uninstall gtk and install it with quartz
> 

You might be able to use a test in a pre-fetch phase like (not tested at
all):

pre-fetch {
   if {![file exists ${prefix}/path/only/installed/by/variant]} {
  return -code error "Please install gtk2 with the +quartz"
   }
}

Though this is quite fragile, and really a bug in the dependency engine.
The real way around it is to get ticket #126 done:



Bryan


> one problem, since gtk2 is a dependency and i cannot select the variant of
> it. the user will be installing gtk2 with X11 and then will have to
> uninstall it and reinstall it manually with quartz.
> kinda messy. is quartz variant worth the hassle.
> -- 
> View this message in context: 
> http://www.nabble.com/how-to-detect-installed-gtk-variant-tp19993089p19993089.html
> Sent from the MacPorts - Users mailing list archive at Nabble.com.
> 
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


  1   2   3   4   5   >