Re: python_select

2016-03-28 Thread Mark Brethen
So if you have a single python version installed use python_select, whereas 
python2_select and python3_select allow you to set those default versions if 
you need both?

> On Mar 28, 2016, at 5:46 AM, Joshua Root <j...@macports.org> wrote:
> 
> Mark Brethen wrote:
>> Why are there a python_select, python2_select and python3_select? When is 
>> one vs the others used?
> 
> They allow creating links 'python', 'python2' and 'python3' respectively.
> 
> - Josh
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users

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


python_select

2016-03-27 Thread Mark Brethen

Why are there a python_select, python2_select and python3_select? When is one 
vs the others used?

Thanks,

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


py-pip usage

2016-03-26 Thread Mark Brethen
How is the py-pip port used to install python packages and where are they 
installed? Is this advisable?

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


Re: Time Machine restore

2016-03-05 Thread Mark Brethen

> On Mar 5, 2016, at 7:38 PM, Brandon Allbery <allber...@gmail.com> wrote:
> 
> On Sat, Mar 5, 2016 at 8:35 PM, Mark Brethen <mark.bret...@gmail.com> wrote:
> I had my hard drive wiped with a clean install of El Capitan. I noticed in 
> the Time Machine checklist a MacPorts item with a message that MacPorts Home 
> would moved to my user (size was zero kb). What is this and do I need to 
> re-install macports? port command seems to work fine and I did not change 
> operating systems.
> 
> MacPorts sets up a non-GUI user that it does builds under (instead of doing 
> them as root). Apparently Time Machine doesn't like this and wants to make it 
> match your user,
> 
> I would skip that part of it and reinstall MacPorts to make sure the user is 
> set up properly. I don't know offhand if TM will restore things like launchd 
> plists properly, or if you should follow Migration to make sure installed 
> ports haven't lost anything.
> 
> -- 
> brandon s allbery kf8nh   sine nomine associates
> allber...@gmail.com  ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net

Does that include all of the ports I have installed?

Mark




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


Time Machine restore

2016-03-05 Thread Mark Brethen
I had my hard drive wiped with a clean install of El Capitan. I noticed in the 
Time Machine checklist a MacPorts item with a message that MacPorts Home would 
moved to my user (size was zero kb). What is this and do I need to re-install 
macports? port command seems to work fine and I did not change operating 
systems.


Mark




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


Re: Packaging a compiled port to App

2016-02-25 Thread Mark Brethen

> On Feb 18, 2016, at 3:15 PM, Ryan Schmidt  wrote:
> 
> If what you are packaging is only an OS X application bundle, you can 
> consider instead using the dylibbundler port to make a distributable app that 
> can be drag-and-drop installed.

On a similar note: is it possible to do this with the Spyder port (and place it 
in the Applications/macports folder)?___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


gimp-app Abort trap: 6

2016-01-28 Thread Mark Brethen
gimp-app fails to build on 10.11.3:

:info:build sh: line 1: 55927 Abort trap: 6   /usr/bin/xcodebuild 
-alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ 
MACOSX_DEPLOYMENT_TARGET=10.11 ARCHS=x86_64 SDKROOT="" 
GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"
:info:build Command failed: cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_gimp-app/gimp-app/work/GIMPskel/ScriptExecCocoa"
 && /usr/bin/xcodebuild  -alltargets -configuration Deployment build 
OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.11 ARCHS=x86_64 
SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 
CLANG_CXX_LIBRARY="libc++" 
:info:build Exit code: 134
:error:build org.macports.build for port gimp-app returned: command execution 
failed
:debug:build Error code: NONE

I do not know what this means, but I did not find a ticket for this particular 
failure.


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


Re: gimp-app Abort trap: 6

2016-01-28 Thread Mark Brethen

> On Jan 28, 2016, at 12:24 PM, Mark Brethen <mark.bret...@gmail.com> wrote:
> 
> gimp-app fails to build on 10.11.3:
> 
> :info:build sh: line 1: 55927 Abort trap: 6   /usr/bin/xcodebuild 
> -alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ 
> MACOSX_DEPLOYMENT_TARGET=10.11 ARCHS=x86_64 SDKROOT="" 
> GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++"
> :info:build Command failed: cd 
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_gimp-app/gimp-app/work/GIMPskel/ScriptExecCocoa"
>  && /usr/bin/xcodebuild  -alltargets -configuration Deployment build 
> OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.11 ARCHS=x86_64 
> SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 
> CLANG_CXX_LIBRARY="libc++" 
> :info:build Exit code: 134
> :error:build org.macports.build for port gimp-app returned: command execution 
> failed
> :debug:build Error code: NONE
> 
> I do not know what this means, but I did not find a ticket for this 
> particular failure.
> 
> 
> Mark

Attaching log file.


main.log
Description: Binary data


Mark




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


Re: el capitan

2016-01-27 Thread Mark Brethen
Here is a list of messages I have observed while installing ports:

1/27/16 8:07:05.232 PM sandboxd[116]: ([327]) xcodebuild(327) deny 
file-write-data 
/opt/local/var/macports/home/Library/Preferences/com.apple.dt.xcodebuild.plist

1/27/16 7:54:01.522 PM sandboxd[116]: ([95150]) mdworker(95150) deny 
file-read-data /opt/local/share/devhelp/books/vala-0.30/default.css (import 
fstype:hfs fsflag:480D000 flags:5E diag:0 isXCode:0 uti:public.html 
plugin:/Library/Spotlight/RichText.mdimporter - find suspect file using: sudo 
mdutil -t 4063742)

1/27/16 7:11:59.062 PM sandboxd[116]: ([1526]) Python(1526) deny 
file-write-unlink 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_sysconfigdata.pyc

1/27/16 6:55:33.014 PM sandboxd[116]: ([95150]) mdworker(95150) deny 
file-read-data 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/work/vala-0.30.0/doc/vala/default.css
 (import fstype:hfs fsflag:480D000 flags:24005E diag:0 isXCode:0 
uti:public.html plugin:/Library/Spotlight/RichText.mdimporter - find suspect 
file using: sudo mdutil -t 4062840)

1/27/16 9:27:14.350 AM sandboxd[116]: ([95150]) mdworker(95150) deny 
file-read-data /opt/local/share/gtk-doc/html/libxml2/left.png (import 
fstype:hfs fsflag:480D000 flags:5E diag:0 isXCode:0 uti:public.html 
plugin:/Library/Spotlight/RichText.mdimporter - find suspect file using: sudo 
mdutil -t 3254918)



> On Jan 27, 2016, at 1:52 PM, Brandon Allbery <allber...@gmail.com> wrote:
> 
> On Wed, Jan 27, 2016 at 2:32 PM, Mark Brethen <mark.bret...@gmail.com> wrote:
> I'm migrating from Yosemite to a clean install of El Capitan. I'm seeing 
> several of these "deny" messages for various reasons besides Java. This is 
> affecting both file and directory creation. Should I post the list here?
> 
> Anything that was using /usr or various other paths in 10.10 will get errors 
> on 10.11 because of SIP/"rootless". You can post the list but I suspect it 
> will just confirm that you need SIP-compatible versions of some things.
> 
> -- 
> brandon s allbery kf8nh   sine nomine associates
> allber...@gmail.com  ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net

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


Re: el capitan

2016-01-27 Thread Mark Brethen
I'm migrating from Yosemite to a clean install of El Capitan. I'm seeing 
several of these "deny" messages for various reasons besides Java. This is 
affecting both file and directory creation. Should I post the list here?

Sent from my iPhone

> On Jan 27, 2016, at 11:49 AM, Daniel J. Luke <dl...@geeklair.net> wrote:
> 
> Not in this case.
> 
> Macports makes use of the sandbox feature of Mac OS X to make it a little 
> less likely that a poorly written Portfile (or upstream software build 
> system) can cause unintended changes to your system.
> 
> The original poster is setting the error because 'javac' is trying to update 
> the java usage tracker 
> (https://docs.oracle.com/javacomponents/usage-tracker/overview/). There seems 
> to be a java bug that causes the usage tracker folder to be created even if 
> the usage tracker isn't enabled 
> (https://community.oracle.com/thread/3783686?start=0=0)
> 
> This particular message is safe to ignore. 
> 
>> On Jan 27, 2016, at 12:42 PM, William H. Magill <mag...@mac.com> wrote:
>> This is obviously "one of those important things" that Apple won't tell us 
>> about - or Fix - or tell "us" how to fix it.
>> If you scan the forums, it has been around for a while.
>> It is clearly related to Apple's security, nominally to the new "rootless" 
>> (or whatever its name is) environment, and "sandboxing."
>> 
>>> On Jan 27, 2016, at 08:38 AM, Mark Brethen <mark.bret...@gmail.com> wrote:
>>> On el capitan I’ve noticed when installing ports messages in the console 
>>> like the following:
>>> 
>>> 1/27/16 7:31:48.671 AM sandboxd[116]: ([33785]) javac(33785) deny 
>>> file-write-create /opt/local/var/macports/home/.oracle_jre_usage
>>> 
>>> Is this anything to be concerned about?
> 
> -- 
> Daniel J. Luke
>
> ++ 
> | * dl...@geeklair.net * |
>   
> | *-- http://www.geeklair.net -* |
>   
> ++ 
> |   Opinions expressed are mine and do not necessarily   |
>   
> |  reflect the opinions of my employer.  |
>   
> ++
> 
> 
> 
> 
> 
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


el capitan

2016-01-27 Thread Mark Brethen
On el capitan I’ve noticed when installing ports messages in the console like 
the following:

1/27/16 7:31:48.671 AM sandboxd[116]: ([33785]) javac(33785) deny 
file-write-create /opt/local/var/macports/home/.oracle_jre_usage

Is this anything to be concerned about?
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


defect: hugin-app can't find Lensfun at configure

2016-01-14 Thread Mark Brethen
Hugin-app fails at configure with the following message:


{{{
:info:configure -- The C compiler identification is AppleClang 6.1.0.6020053
:info:configure -- The CXX compiler identification is AppleClang 6.1.0.6020053
:info:configure -- Check for working C compiler: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
:info:configure -- Check for working C compiler: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
 -- works
:info:configure -- Detecting C compiler ABI info
:info:configure -- Detecting C compiler ABI info - done
:info:configure -- Detecting C compile features
:info:configure -- Detecting C compile features - done
:info:configure -- Check for working CXX compiler: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
:info:configure -- Check for working CXX compiler: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -- works
:info:configure -- Detecting CXX compiler ABI info
:info:configure -- Detecting CXX compiler ABI info - done
:info:configure -- Detecting CXX compile features
:info:configure -- Detecting CXX compile features - done
:info:configure -- Current HG revision is 4692917e7a55
:info:configure -- Assuming this is a tarball (release) build for 2013.0.0
:info:configure -- Looking for log2
:info:configure -- Looking for log2 - found
:info:configure -- Found wxWidgets: 
-L/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib;;;-framework
 IOKit;-framework Carbon;-framework Cocoa;-framework AudioToolbox;-framework 
System;-framework 
OpenGL;-lwx_baseu-3.0;-lwx_osx_cocoau_core-3.0;-lwx_osx_cocoau_aui-3.0;-lwx_osx_cocoau_xrc-3.0;-lwx_osx_cocoau_html-3.0;-lwx_baseu_xml-3.0;-lwx_osx_cocoau_adv-3.0;-lwx_osx_cocoau_gl-3.0;-lwx_baseu_net-3.0
 (found version "3.0.2") 
:info:configure -- Found TIFF: /opt/local/include
:info:configure -- Found JPEG: /opt/local/include
:info:configure -- Found ZLIB: /opt/local/include
:info:configure -- Found PNG: /opt/local/include
:info:configure -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use 
FindPkgConfig
:info:configure -- Found OPENEXR: 
/opt/local/lib/libImath.dylib;/opt/local/lib/libIlmImf.dylib;/opt/local/lib/libIex.dylib;/opt/local/lib/libHalf.dylib;/opt/local/lib/libIlmThread.dylib
:info:configure -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use 
FindPkgConfig
:info:configure -- Found Exiv2 release >= 0.12
:info:configure -- Found Exiv2: /opt/local/lib/libexiv2.dylib
:info:configure -- Found OpenGL: //System/Library/Frameworks/OpenGL.framework  
:info:configure -- GLUT Found
:info:configure -- Found Glew: /opt/local/lib/libGLEW.dylib
:info:configure -- libpano13 version: 2.9.19 major 2 minor 9 patch 19
:info:configure -- Boost version: 1.59.0
:info:configure -- Found the following Boost libraries:
:info:configure --   thread
:info:configure --   date_time
:info:configure --   regex
:info:configure --   filesystem
:info:configure --   iostreams
:info:configure --   system
:info:configure --   signals
:info:configure -- Program msgfmt found (/opt/local/bin/msgfmt)
:info:configure -- Looking for pthread.h
:info:configure -- Looking for pthread.h - found
:info:configure -- Looking for pthread_create
:info:configure -- Looking for pthread_create - found
:info:configure -- Found Threads: TRUE  
:info:configure -- ZThread library not found. falling back to included copy
:info:configure -- flann library found
:info:configure CMake Error at 
CMakeModules/FindPackageHandleStandardArgs.cmake:51 (MESSAGE):
:info:configure   Could not find REQUIRED package Lensfun
:info:configure Call Stack (most recent call first):
:info:configure   CMakeModules/FindLensfun.cmake:33 
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
:info:configure   CMakeLists.txt:303 (FIND_PACKAGE)
:info:configure 
:info:configure 
:info:configure -- Configuring incomplete, errors occurred!
:info:configure See also 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_hugin-app/hugin-app/work/hugin-2013.0.0/CMakeFiles/CMakeOutput.log".
:info:configure Command failed:  cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_hugin-app/hugin-app/work/hugin-2013.0.0"
 && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/local 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON 
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON 
-DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib 
-DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" 
-DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_FIND_FRAMEWORK=LAST 
-Wno-dev -DINSTALL_OSX_BUNDLE_DIR=/Applications/MacPorts 
-DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python
 

Tickets #45740 and #45739

2015-11-11 Thread Mark Brethen
There are a couple of tickets I have been working on for over a year that I 
would like to get checked out.

Thanks,


Mark




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


texlive-bin

2015-11-07 Thread Mark Brethen
Since the current texlive-bin port is broken, is it possible to revert back to 
a previous version? The other option is to copy the existing portfile to my 
local repo and debug it.


Mark




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


Re: texlive-bin

2015-11-07 Thread Mark Brethen
I get a trac error when I try to browse the repository.


> On Nov 7, 2015, at 4:28 PM, Ryan Schmidt <ryandes...@macports.org> wrote:
> 
> 
> On Nov 7, 2015, at 11:31 AM, Mark Brethen wrote:
> 
>> Since the current texlive-bin port is broken, is it possible to revert back 
>> to a previous version? The other option is to copy the existing portfile to 
>> my local repo and debug it.
> 
> https://trac.macports.org/wiki/howto/InstallingOlderPort
> 
> 
> 



Mark




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


Re: texlive-bin

2015-11-07 Thread Mark Brethen
svn info will give me the revision.

> On Nov 7, 2015, at 6:41 PM, Brandon Allbery <allber...@gmail.com> wrote:
> 
> On Sat, Nov 7, 2015 at 7:40 PM, Mark Brethen <mark.bret...@gmail.com> wrote:
> I get a trac error when I try to browse the repository.
> 
> Yes, that part of Trac has been messed up for a while; I gather you currently 
> have to do a svn checkout of the MacPorts repository.
> 
> -- 
> brandon s allbery kf8nh   sine nomine associates
> allber...@gmail.com  ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net



Mark




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


Re: texlive-bin

2015-11-07 Thread Mark Brethen
Just older revs of the texlive ports, not the whole repository.

> On Nov 7, 2015, at 6:41 PM, Brandon Allbery <allber...@gmail.com> wrote:
> 
> On Sat, Nov 7, 2015 at 7:40 PM, Mark Brethen <mark.bret...@gmail.com> wrote:
> I get a trac error when I try to browse the repository.
> 
> Yes, that part of Trac has been messed up for a while; I gather you currently 
> have to do a svn checkout of the MacPorts repository.
> 
> -- 
> brandon s allbery kf8nh   sine nomine associates
> allber...@gmail.com  ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net



Mark




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


Re: texlive-bin

2015-11-07 Thread Mark Brethen
$ port contents texlive-htmlxml
Port texlive-htmlxml contains:
  /opt/local/bin/ht
  /opt/local/bin/htcontext
  /opt/local/bin/htlatex
  /opt/local/bin/htmex
  /opt/local/bin/httex
  /opt/local/bin/httexi
  /opt/local/bin/htxelatex
  /opt/local/bin/htxetex
  /opt/local/bin/jadetex
  /opt/local/bin/mk4ht -> /opt/local/libexec/texlive/binaries/mk4ht
  /opt/local/bin/pdfjadetex
  /opt/local/bin/pdfxmltex
  /opt/local/bin/t4ht
  /opt/local/bin/tex4ht
  /opt/local/bin/xmltex
  .
  .
  .
  /opt/local/libexec/texlive/texbin/ht
  /opt/local/libexec/texlive/texbin/htcontext
  /opt/local/libexec/texlive/texbin/htlatex
  /opt/local/libexec/texlive/texbin/htmex
  /opt/local/libexec/texlive/texbin/httex
  /opt/local/libexec/texlive/texbin/httexi
  /opt/local/libexec/texlive/texbin/htxelatex
  /opt/local/libexec/texlive/texbin/htxetex
  /opt/local/libexec/texlive/texbin/jadetex
  /opt/local/libexec/texlive/texbin/mk4ht -> 
/opt/local/libexec/texlive/binaries/mk4ht
  .
  .
  .
  /opt/local/share/texmf-texlive/scripts/tex4ht/ht.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htcontext.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htcopy.pl
  /opt/local/share/texmf-texlive/scripts/tex4ht/htlatex.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htmex.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htmove.pl
  /opt/local/share/texmf-texlive/scripts/tex4ht/httex.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/httexi.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htxelatex.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/htxetex.sh
  /opt/local/share/texmf-texlive/scripts/tex4ht/mk4ht.pl<— here is the 
actual script!!!

  /opt/local/libexec/texlive/binaries/mk4ht -> /scripts/tex4ht/mk4ht.pl

This last symlink is part of the texlive-bin port. It was patched by the 
portfile as follows:

reverted:
--- texk/tex4htk/Makefile.in.orig   2015-06-01 16:46:04.0 -0700
+++ texk/tex4htk/Makefile.in2015-06-01 16:47:01.0 -0700
@@ -407,12 +407,12 @@
 LDADD = $(KPATHSEA_LIBS)
 perl_scripts = mk4ht
 shell_scripts = ht htcontext htlatex htmex httex httexi htxelatex htxetex
+scriptsdir = scripts/tex4ht
-scriptsdir = texmf-dist/scripts/tex4ht
 nodist_bin_SCRIPTS = $(am__append_1)
 all_scripts = $(lua_scripts) $(perl_scripts) $(shell_scripts)
 @WIN32_TRUE@@WIN32_WRAP_TRUE@wrappers = $(all_scripts:=.exe)
 @WIN32_TRUE@@WIN32_WRAP_TRUE@runscript = 
$(top_srcdir)/../../texk/texlive/$(WIN_WRAPPER)/runscript.exe
+texmfdir = @@TEXMFDIST@@/$(scriptsdir)
-texmfdir = $(datarootdir)/$(scriptsdir)
 dist_texmf_SCRIPTS = $(perl_scripts:=.pl) $(shell_scripts:=.sh)
 @WIN32_TRUE@dist_bin_SCRIPTS = $(shell_scripts:=.bat)
 CLEANFILES = $(nodist_bin_SCRIPTS)
@@ -1071,17 +1071,12 @@
  echo 'script_links.am:install-links: could not find relpath script'; \
  exit 1; \
}; \
-   REL=`$(SHELL) $$relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \
-   if test -z "$$REL"; then \
- echo 'script_links.am:install_links: unable to compute relative path 
for linked $(TYPE) scripts' >&2; \
- exit 1; \
-   fi; \
cd $(DESTDIR)$(bindir) && \
  for f in $($(TYPE)_scripts); do \
rm -f $$f; \
+   if $(AM_V_P); then echo "creating link '$$f' -> 
'$(texmfdir)/$(scriptsdir)/$$f.$(EXT)'"; \
-   if $(AM_V_P); then echo "creating link '$$f' -> 
'$$REL/$(scriptsdir)/$$f.$(EXT)'"; \
  else echo "  LINK $$f"; fi; \
+   $(LN_S) $$(texmfdir)/$(scriptsdir)/$$f.$(EXT) $$f || exit 1; \
-   $(LN_S) $$REL/$(scriptsdir)/$$f.$(EXT) $$f || exit 1; \
  done  
 
 uninstall-links:


I think scriptsdir should point to 
/opt/local/share/texmf-texlive/scripts/tex4ht/.


> On Nov 7, 2015, at 6:41 PM, Brandon Allbery <allber...@gmail.com> wrote:
> 
> On Sat, Nov 7, 2015 at 7:40 PM, Mark Brethen <mark.bret...@gmail.com> wrote:
> I get a trac error when I try to browse the repository.
> 
> Yes, that part of Trac has been messed up for a while; I gather you currently 
> have to do a svn checkout of the MacPorts repository.
> 
> -- 
> brandon s allbery kf8nh   sine nomine associates
> allber...@gmail.com  ballb...@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net



Mark




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


Re: Command Line Tools warning

2015-10-30 Thread Mark Brethen
I'm going to reinstall 6 and see if it fixes the warning message.

Sent from my iPhone

> On Oct 30, 2015, at 8:59 AM, Mathieu Deaudelin-Lemay 
> <macpo...@mdeaudelin.net> wrote:
> 
> > or should I go ahead and install 7.1?
> 
> Just for the record, if you are planning on staying on OS X 10.10 (Yosemite), 
> do not upgrade to Xcode 7 as it does not include the SDK for that OS (only 
> 10.11).
> 
> This shouldn't be a problem much of the time, but there are some ports that 
> will fail to build (e.g. wireshark), as they'll be looking for a SDK matching 
> your system version and will fail to find it.
> 
> > Subject: Re: Command Line Tools warning
> > To: mark.bret...@nasa.gov
> > From: jon...@hep.phy.cam.ac.uk
> > Date: Fri, 30 Oct 2015 13:26:40 +
> > CC: macports-users@lists.macosforge.org
> > 
> > 
> > 
> > On 30/10/15 13:21, Brethen, Mark Douglas. (MSFC-ES22)[ESSSA] wrote:
> > > Did that.
> > >
> > > Is it possible to reinstall 6.2,
> > 
> > https://developer.apple.com/downloads/
> > 
> > you probably want to reinstall command line tools and Xcode...
> > 
> > or should I go ahead and install 7.1?
> > >
> > >> On Oct 30, 2015, at 2:31 AM, Chris Jones <jon...@hep.phy.cam.ac.uk> 
> > >> wrote:
> > >>
> > >>
> > >> Try starting Xcode, and make sure in the preferences section for updates 
> > >> everything is up to date. Also accept any licenses etc.
> > >>
> > >> On 30/10/15 05:30, Mark Brethen wrote:
> > >>> I don’t plan on installing El Capitain for a while. Macports website 
> > >>> says 6.1 or later for Yosemite. I have 6.2.
> > >>>
> > >>> xcode-select -print-path
> > >>> /Applications/Xcode.app/Contents/Developer
> > >>>
> > >>> So that’s not it.
> > >>>
> > >>> I’m stumped.
> > >>>
> > >>>> On Oct 30, 2015, at 12:09 AM, Stephen J. Butler 
> > >>>> <stephen.but...@gmail.com> wrote:
> > >>>>
> > >>>> I think 6.2 is too old for El Capitain (and maybe even for Yosemite). 
> > >>>> You need to upgrade to 7 or 7.1 for El Capitain.
> > >>>>
> > >>>> On Thu, Oct 29, 2015 at 11:58 PM, Mark Brethen 
> > >>>> <mark.bret...@gmail.com> wrote:
> > >>>> I upgrading to Yosemite and followed the macports migration document. 
> > >>>> Now, though the 'port install' command succeeds, I get the following 
> > >>>> warning whenever I install a port:
> > >>>>
> > >>>> Warning: The Xcode Command Line Tools don't appear to be installed; 
> > >>>> most ports will likely fail to build.
> > >>>>
> > >>>> I have Xcode 6.2 and installed the Command Line Tools using 
> > >>>> 'xcode-select —install’
> > >>>>
> > >>>> Have overlooked something?
> > >>>>
> > >>>>
> > >>>> Mark
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>> ___
> > >>>> macports-users mailing list
> > >>>> macports-users@lists.macosforge.org
> > >>>> https://lists.macosforge.org/mailman/listinfo/macports-users
> > >>>>
> > >>>
> > >>>
> > >>>
> > >>> Mark
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> ___
> > >>> macports-users mailing list
> > >>> macports-users@lists.macosforge.org
> > >>> https://lists.macosforge.org/mailman/listinfo/macports-users
> > >>>
> > >> ___
> > >> macports-users mailing list
> > >> macports-users@lists.macosforge.org
> > >> https://lists.macosforge.org/mailman/listinfo/macports-users
> > >
> > > Thanks,
> > >
> > > Mark
> > >
> > > Mark D. Brethen
> > > Stress Analyst
> > > DSI - Jacobs
> > > Marshall Space Flight Center
> > > Bldg 4203, Cube 4321
> > > Work: (256) 961-2147
> > > Email: mark.bret...@nasa.gov
> > > Web: http://www.davisdsi.com/
> > >
> > >
> > >
> > >
> > ___
> > macports-users mailing list
> > macports-users@lists.macosforge.org
> > https://lists.macosforge.org/mailman/listinfo/macports-users
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Command Line Tools warning -- Fixed!

2015-10-30 Thread Mark Brethen

After installing Xcode 6.4, in preferences, under the “Locations” tab, it 
showed that the command line tools were installed. However, the warning message 
didn’t go away until I issued a separate 'sudo xcode-select —install’ in the 
terminal.


Mark




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


Re: Command Line Tools warning

2015-10-29 Thread Mark Brethen
I don’t plan on installing El Capitain for a while. Macports website says 6.1 
or later for Yosemite. I have 6.2.

xcode-select -print-path
/Applications/Xcode.app/Contents/Developer

So that’s not it.

I’m stumped.

> On Oct 30, 2015, at 12:09 AM, Stephen J. Butler <stephen.but...@gmail.com> 
> wrote:
> 
> I think 6.2 is too old for El Capitain (and maybe even for Yosemite). You 
> need to upgrade to 7 or 7.1 for El Capitain.
> 
> On Thu, Oct 29, 2015 at 11:58 PM, Mark Brethen <mark.bret...@gmail.com> wrote:
> I upgrading to Yosemite and followed the macports migration document. Now, 
> though the 'port install' command succeeds, I get the following warning 
> whenever I install a port:
> 
> Warning: The Xcode Command Line Tools don't appear to be installed; most 
> ports will likely fail to build.
> 
> I have Xcode 6.2 and installed the Command Line Tools using 'xcode-select 
> —install’
> 
> Have overlooked something?
> 
> 
> Mark
> 
> 
> 
> 
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
> 



Mark




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


Command Line Tools warning

2015-10-29 Thread Mark Brethen
I upgrading to Yosemite and followed the macports migration document. Now, 
though the 'port install' command succeeds, I get the following warning 
whenever I install a port:

Warning: The Xcode Command Line Tools don't appear to be installed; most ports 
will likely fail to build.

I have Xcode 6.2 and installed the Command Line Tools using 'xcode-select 
—install’

Have overlooked something?


Mark




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


installing R with tcltk

2015-06-11 Thread Mark Brethen
I'd like to use the Rcmdr GUI with R but it requires tclk. I tried to install 
R with the +tcltk variant but received this error message:

---  Computing dependencies for R
---  Fetching archive for R
Error: org.macports.archivefetch for port R returned: tk must be installed with 
+x11.
Please see the log file for port R for details:

I believe tk installs with quartz by default (and is preferred). Is this a 
limitation of the R port? BTW R version 3.2 is already released and the port 
should be updated. 


Mark




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


Re: port self update failed

2015-03-22 Thread Mark Brethen
That was a while ago.


On Mar 22, 2015, at 2:35 PM, Ryan Schmidt ryandes...@macports.org wrote:

 
 On Mar 22, 2015, at 8:33 AM, Mark Brethen wrote:
 
 I switched to this mirror because of all the connection problems with the 
 main. What do I do now?
 
 You've been having connection problems with the main server?
 
 



Mark




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


Re: port self update failed

2015-03-22 Thread Mark Brethen
Nevermind, I forgot to use 'sudo'. It's funny how much you can overlook when 
you've been away from it for awhile.


On Mar 22, 2015, at 8:33 AM, Mark Brethen mark.bret...@gmail.com wrote:

 ###
 
 This mirror is managed by Pacific Northwest National Labratory. 
 It is located in Richland, WA. 
 
 If you have any questions, or problems, please email:
 mirror at pnnl dot gov
 
 ###
 
 
 receiving file list ... done
 rsync: mkstemp 
 /opt/local/var/macports/sources/sea.us.rsync.macports.org/release/tarballs/.base.tar.uSsmL1
  failed: Permission denied (13)
 inflate returned -3 (19 bytes)
 rsync error: error in rsync protocol data stream (code 12) at 
 /SourceCache/rsync/rsync-42/rsync/token.c(419) [receiver=2.6.9]
 rsync: connection unexpectedly closed (31 bytes received so far) [generator]
 rsync error: error in rsync protocol data stream (code 12) at 
 /SourceCache/rsync/rsync-42/rsync/io.c(452) [generator=2.6.9]
 Command failed: /usr/bin/rsync -rtzv --delete-after 
 rsync://sea.us.rsync.macports.org/release/tarballs/base.tar 
 /opt/local/var/macports/sources/sea.us.rsync.macports.org/release/tarballs
 Exit code: 12
 Error: Error synchronizing MacPorts sources: command execution failed
 To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
 Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing 
 MacPorts sources: command execution failed
 
 
 I switched to this mirror because of all the connection problems with the 
 main. What do I do now?
 
 
 Mark
 
 
 
 



Mark




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


port self update failed

2015-03-22 Thread Mark Brethen
###

This mirror is managed by Pacific Northwest National Labratory. 
It is located in Richland, WA. 

If you have any questions, or problems, please email:
mirror at pnnl dot gov

###


receiving file list ... done
rsync: mkstemp 
/opt/local/var/macports/sources/sea.us.rsync.macports.org/release/tarballs/.base.tar.uSsmL1
 failed: Permission denied (13)
inflate returned -3 (19 bytes)
rsync error: error in rsync protocol data stream (code 12) at 
/SourceCache/rsync/rsync-42/rsync/token.c(419) [receiver=2.6.9]
rsync: connection unexpectedly closed (31 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at 
/SourceCache/rsync/rsync-42/rsync/io.c(452) [generator=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after 
rsync://sea.us.rsync.macports.org/release/tarballs/base.tar 
/opt/local/var/macports/sources/sea.us.rsync.macports.org/release/tarballs
Exit code: 12
Error: Error synchronizing MacPorts sources: command execution failed
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing 
MacPorts sources: command execution failed


I switched to this mirror because of all the connection problems with the main. 
What do I do now?


Mark




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


Re: something's not right

2014-11-23 Thread Mark Brethen

On Nov 22, 2014, at 11:05 PM, Brandon Allbery allber...@gmail.com wrote:

 On Sun, Nov 23, 2014 at 4:51 AM, Jeremy Lavergne jer...@lavergne.gotdns.org 
 wrote:
 Sounds like macports cannot connect to download the list of packages 
 available. Are you able to run the rsync command manually? Any rsync outside 
 your network?
 
 rsync.macorts.org and trac.macports.org are not responding.
 
 -- 
 brandon s allbery kf8nh   sine nomine associates
 allber...@gmail.com  ballb...@sinenomine.net
 unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net

Is there a mirror we can use, until these are back online?

Mark




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


Re: something's not right

2014-11-23 Thread Mark Brethen

On Nov 23, 2014, at 12:19 PM, Jeremy Lavergne jer...@lavergne.gotdns.org 
wrote:

 Oh the irony.
 
 On Nov 23, 2014, at 1:19 PM, Jeremy Lavergne wrote:
 
 # A list of rsync mirrors is available at
 # https://trac.macports.org/wiki/Mirrors#Portfiles.
 
 On Nov 23, 2014, at 1:13 PM, Mark Brethen wrote:
 
 Is there a mirror we can use, until these are back online?
 
 

I didn't see the irony of the situation until I tried the link! :D

Mark




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


Re: something's not right

2014-11-23 Thread Mark Brethen

On Nov 23, 2014, at 12:19 PM, Jeremy Lavergne jer...@lavergne.gotdns.org 
wrote:

 # A list of rsync mirrors is available at
 # https://trac.macports.org/wiki/Mirrors#Portfiles.
 
 On Nov 23, 2014, at 1:13 PM, Mark Brethen wrote:
 
 Is there a mirror we can use, until these are back online?
 

Is svn hosed too?

Mark




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


Re: something's not right

2014-11-23 Thread Mark Brethen

On Nov 23, 2014, at 1:55 PM, Lawrence Velázquez lar...@macports.org wrote:

 On Nov 23, 2014, at 1:23 PM, Mark Brethen mark.bret...@gmail.com wrote:
 
 On Nov 23, 2014, at 12:19 PM, Jeremy Lavergne jer...@lavergne.gotdns.org 
 wrote:
 
 # A list of rsync mirrors is available at
 # https://trac.macports.org/wiki/Mirrors#Portfiles.
 
 On Nov 23, 2014, at 1:13 PM, Mark Brethen wrote:
 
 Is there a mirror we can use, until these are back online?
 
 https://web.archive.org/web/20140820214433/https://trac.macports.org/wiki/Mirrors
 
 Is svn hosed too?
 
 Doesn't appear to be.
 
 vq

Trying to install from the Seattle mirror:

localhost:macports marbre$ sudo port -v selfupdate
---  Updating MacPorts base sources using rsync
###

This mirror is managed by Pacific Northwest National Labratory. 
It is located in Richland, WA. 

If you have any questions, or problems, please email:
mirror at pnnl dot gov

###


receiving file list ... done

sent 36 bytes  received 408 bytes  296.00 bytes/sec
total size is 27013120  speedup is 60840.36
###

This mirror is managed by Pacific Northwest National Labratory. 
It is located in Richland, WA. 

If you have any questions, or problems, please email:
mirror at pnnl dot gov

###


receiving file list ... done

sent 36 bytes  received 415 bytes  300.67 bytes/sec
total size is 512  speedup is 1.14
MacPorts base version 2.3.3 installed,
MacPorts base version 2.3.3 downloaded.
---  Updating the ports tree
Synchronizing local ports tree from 
rsync://rsync.macports.org/release/tarballs/ports.tar
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at 
/SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after  
rsync://rsync.macports.org/release/tarballs/ports.tar 
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
Error: Synchronization of the local ports tree failed doing rsync
Error: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports 
tree: Synchronization of 1 source(s) failed

In macports.conf I changed:

'rsync_server   sea.us.rsync.macports.org'
'rsync_dir   release/tarballs/base.tar'

Is there another setting I need to change?

Mark




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


Re: something's not right

2014-11-23 Thread Mark Brethen

On Nov 23, 2014, at 3:31 PM, Lawrence Velázquez lar...@macports.org wrote:

 On Nov 23, 2014, at 4:22 PM, Mark Brethen mark.bret...@gmail.com wrote:
 
 Is there another setting I need to change?
 
 As the comment directly above the rsync_server setting says, macports.conf 
 only controls where base is fetched from. You need to edit sources.conf for 
 the ports tree.
 
 vq

I noticed in /opt/local/var/macports/sources there are 2 directories:

rsync.macports.org [empty]
sea.us.rsync.macports.org

and the sync ended with an error:

Error: Couldn't sync the ports tree: Synchronization of 1 source(s) failed

Also when using the port command, for example:

localhost:macports marbre$ port search emacs
Warning: Can't open index file for source: 
rsync://rsync.macports.org/release/tarballs/ports.tar
Warning: Can't open index file for source: 
rsync://rsync.macports.org/release/tarballs/ports.tar
Warning: Can't open index file for source: 
rsync://rsync.macports.org/release/tarballs/ports.tar
Warning: Can't open index file for source: 
rsync://rsync.macports.org/release/tarballs/ports.tar
auctex @11.88 (editors, print)
A major emacs mode for editing TeX files.

cedet @1.1 (editors)
Infrastructure for parser based text analysis in Emacs

[list continues]

Obviously this is do to the empty source directory 'rsync.macports.org'.  How 
do I suppress these messages and when the main url is up again, what should I 
continue to use the mirror? If not, then how do I migrate to the main source?

Mark




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


Re: something's not right

2014-11-23 Thread Mark Brethen

On Nov 23, 2014, at 4:24 PM, Lawrence Velázquez lar...@macports.org wrote:

 On Nov 23, 2014, at 4:45 PM, Mark Brethen mark.bret...@gmail.com wrote:
 
 Obviously this is do to the empty source directory 'rsync.macports.org'.  
 How do I suppress these messages and when the main url is up again, what 
 should I continue to use the mirror? If not, then how do I migrate to the 
 main source?
 
 What does your sources.conf look like?
 
 vq

It occurred to me to comment out the default rsync and make the mirror default. 
I think this was the culprit. Will it be easy to migrate to the main site once 
its up again?

Mark




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


Which Xcode?

2014-11-22 Thread Mark Brethen
I had to do a clean install of the OS (Mavericks) and now ready to re-install 
macports. Should I install xcode 6.1 or stick with 5? (I've heard that 6 is 
buggy).




Mark




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


Re: Which Xcode?

2014-11-22 Thread Mark Brethen
AFAIK 5.0.1 or later is supported on Mavericks.

On Nov 22, 2014, at 11:32 AM, Brandon Allbery allber...@gmail.com wrote:

 On Sat, Nov 22, 2014 at 5:28 PM, Mark Brethen mark.bret...@gmail.com wrote:
 I had to do a clean install of the OS (Mavericks) and now ready to re-install 
 macports. Should I install xcode 6.1 or stick with 5? (I've heard that 6 is 
 buggy).
 
 5 won't have Mavericks support (and it probably won't even install). 6.0 
 doesn't either, IIRC.
 
 -- 
 brandon s allbery kf8nh   sine nomine associates
 allber...@gmail.com  ballb...@sinenomine.net
 unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net



Mark




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


something's not right

2014-11-22 Thread Mark Brethen
After a clean install of Mavericks, I installed xcode 6.1, the command line 
tools for 6.1 and MacPorts-2.3.3-10.9-Mavericks.pkg. But when try 'port search',

port search emacs
Warning: Can't open index file for source: 
rsync://rsync.macports.org/release/tarballs/ports.tar
Error: search for name emacs failed: No index(es) found! Have you synced your 
port definitions? Try running 'port selfupdate'.

and then,

localhost:~ marbre$ sudo port -v selfupdate
Password:
---  Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at 
/SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after 
rsync://rsync.macports.org/release/tarballs/base.tar 
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
Error: Error synchronizing MacPorts sources: command execution failed



Mark




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


Re: something's not right

2014-11-22 Thread Mark Brethen
localhost:~ marbre$ sudo port -d sync
DEBUG: Copying /Users/marbre/Library/Preferences/com.apple.dt.Xcode.plist to 
/opt/local/var/macports/home/Library/Preferences
---  Updating the ports tree
Synchronizing local ports tree from 
rsync://rsync.macports.org/release/tarballs/ports.tar
DEBUG: /usr/bin/rsync -rtzv --delete-after  
rsync://rsync.macports.org/release/tarballs/ports.tar 
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at 
/SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after  
rsync://rsync.macports.org/release/tarballs/ports.tar 
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 10
Error: Synchronization of the local ports tree failed doing rsync
DEBUG: Synchronization of 1 source(s) failed
while executing
mportsync [array get global_options]
port sync failed: Synchronization of 1 source(s) failed

On Nov 22, 2014, at 10:51 PM, Jeremy Lavergne jer...@lavergne.gotdns.org 
wrote:

 Sounds like macports cannot connect to download the list of packages 
 available. Are you able to run the rsync command manually? Any rsync outside 
 your network?
 
 On November 22, 2014 11:40:05 PM EST, Mark Brethen mark.bret...@gmail.com 
 wrote:
 After a clean install of Mavericks, I installed xcode 6.1, the command
 line tools for 6.1 and MacPorts-2.3.3-10.9-Mavericks.pkg. But when try
 'port search',
 
 port search emacs
 Warning: Can't open index file for source:
 rsync://rsync.macports.org/release/tarballs/ports.tar
 Error: search for name emacs failed: No index(es) found! Have you
 synced your port definitions? Try running 'port selfupdate'.
 
 and then,
 
 localhost:~ marbre$ sudo port -v selfupdate
 Password:
 ---  Updating MacPorts base sources using rsync
 rsync: failed to connect to rsync.macports.org: Operation timed out
 (60)
 rsync error: error in socket IO (code 10) at
 /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
 Command failed: /usr/bin/rsync -rtzv --delete-after
 rsync://rsync.macports.org/release/tarballs/base.tar
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
 Exit code: 10
 Error: Error synchronizing MacPorts sources: command execution failed
 
 
 
 Mark
 
 
 
 
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 https://lists.macosforge.org/mailman/listinfo/macports-users
 



Mark




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


Re: Undo universal?

2014-08-19 Thread Mark Brethen

On Aug 19, 2014, at 9:36 AM, Adam Dershowitz Ph.D., P.E. de...@alum.mit.edu 
wrote:

 I had OpenSceneGraph installed, but, for another application I was testing, I 
 needed a universal version.  So, I did 
 sudo port install OpenSceneGraph +universal  
 It then proceeded to upgrade MANY things to universal.  I hadn’t realized how 
 many dependencies there were.
 My question is, is there a way to undo that?  If I am done with that testing, 
 so I no longer need the universal version of OpenScenegraph (and then the 
 many dependencies).  If I just do:
 sudo port deactivate OpenSceneGraph +universal
 sudo port activate OpenSceneGraph 
 sudo port uninstall OpenSceneGraph +universal
 I believe that it would remove that one thing.  But, it won’t then follow all 
 the dependencies.  Is there any way to make all the dependencies that would 
 no longer have to be universal be removed and just have the original versions 
 made active?
 
 Essentially I am looking for a command:  
   Make OpenSceneGraph and all dependents no longer universal
 
 
 --Adam
 
 
 
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 https://lists.macosforge.org/mailman/listinfo/macports-users

This happened to me a while ago. As I recall, It was easier to reinstall 
macports, as you would when migrating to a new OS release. 

Mark




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


Re: Undo universal?

2014-08-19 Thread Mark Brethen

On Aug 19, 2014, at 1:22 PM, Brandon Allbery allber...@gmail.com wrote:

 On Tue, Aug 19, 2014 at 2:14 PM, Mark Brethen mark.bret...@gmail.com wrote:
 This happened to me a while ago. As I recall, It was easier to reinstall 
 macports, as you would when migrating to a new OS release.
 
 Hm. We need a snapshot capability
 
 -- 
 brandon s allbery kf8nh   sine nomine associates
 allber...@gmail.com  ballb...@sinenomine.net
 unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net

If you perform a regular backup, could you not restore your macports directory 
to its previous state?

Mark




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


Re: OpenSCAD 2014.03_2 fails to build

2014-08-16 Thread Mark Brethen

On Aug 16, 2014, at 11:50 AM, Mark Brethen mark.bret...@gmail.com wrote:

 Performed a port upgrade outdated this morning and noticed openSCAD failed to 
 build:
 
 :info:build clang++ -c -pipe -I/opt/local/include/glib-2.0 
 -I/opt/local/lib/glib-2.0/include -O2 -arch x86_64 -Wall -W 
 -Wno-overloaded-virtual -Wno-unused-parameter -Wno-unused-variable 
 -Wno-unused-function -Wno-c++11-extensions -Wno-sign-compare 
 -DOPENSCAD_VERSION=2014.03 -DOPENSCAD_YEAR=2014.0 -DOPENSCAD_MONTH=03.0 
 -DOPENSCAD_DAY=.0 -DENABLE_MDI -DUSE_PROGRESSWIDGET -DENABLE_CGAL 
 -DENABLE_OPENCSG -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 
 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
 -I/opt/local/share/qt4/mkspecs/unsupported/macx-clang -I. -Iobjects 
 -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers 
 -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers 
 -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Isrc 
 -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers 
 -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers 
 -I/opt/local/include/eigen3 -I/opt/local/incl
 ude -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers 
-I/opt/local/include/eigen3 -I/opt/local/include -I/opt/local/include 
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers 
-I/System/Library/Frameworks/AGL.framework/Headers -Iobjects 
-F/opt/local/Library/Frameworks -F/opt/local/lib -o objects/lexer_lex.o 
lexer_lex.cpp
 :info:build src/lexer.l:33:10: fatal error: 'parser_yacc.h' file not found
 :info:build #include parser_yacc.h
 :info:build  ^
 :info:build rm -f parser_yacc.h parser_yacc.cpp
 :info:build mv -f parser.tab.h parser_yacc.h
 :info:build mv -f parser.tab.c parser_yacc.cpp
 :info:build clang++ -c -pipe -I/opt/local/include/glib-2.0 
 -I/opt/local/lib/glib-2.0/include -O2 -arch x86_64 -Wall -W 
 -Wno-overloaded-virtual -Wno-unused-parameter -Wno-unused-variable 
 -Wno-unused-function -Wno-c++11-extensions -Wno-sign-compare 
 -DOPENSCAD_VERSION=2014.03 -DOPENSCAD_YEAR=2014.0 -DOPENSCAD_MONTH=03.0 
 -DOPENSCAD_DAY=.0 -DENABLE_MDI -DUSE_PROGRESSWIDGET -DENABLE_CGAL 
 -DENABLE_OPENCSG -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 
 -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
 -I/opt/local/share/qt4/mkspecs/unsupported/macx-clang -I. -Iobjects 
 -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers 
 -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers 
 -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -Isrc 
 -I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers 
 -I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers 
 -I/opt/local/include/eigen3 -I/opt/local/incl
 ude -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers 
-I/opt/local/include/eigen3 -I/opt/local/include -I/opt/local/include 
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers 
-I/System/Library/Frameworks/AGL.framework/Headers -Iobjects 
-F/opt/local/Library/Frameworks -F/opt/local/lib -o objects/parser_yacc.o 
parser_yacc.cpp
 :info:build 1 error generated.
 :info:build make: *** [objects/lexer_lex.o] Error 1
 
 
 
 Mark
 
 
 
 

Wierd behaviour... I issued 'sudo port clean openscad' followed by a 'sudo port 
-p upgrade outdated' and openscad installed without any errors.

Mark




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


Automating your MacPorts upgrades

2014-08-16 Thread Mark Brethen
Is automating your macports upgrades recommended? I checked the howtos and faq, 
but didn't find instructions. What is the method to set this up?


Mark




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


Re: Automating your MacPorts upgrades

2014-08-16 Thread Mark Brethen

On Aug 16, 2014, at 3:17 PM, Ryan Schmidt ryandes...@macports.org wrote:

 
 On Aug 16, 2014, at 2:53 PM, Mark Brethen wrote:
 
 Is automating your macports upgrades recommended? I checked the howtos and 
 faq, but didn't find instructions. What is the method to set this up?
 
 I don't believe we have anything written up about that. For myself, I like to 
 be in control of what is updated and when.
 
 

One suggestion I found is to create the script '/etc/daily.local' (could also 
be weekly or monthly) that runs selfupdate followed by upgrade outdated and 
sends the output to a log file. I haven't tried it and don't know what issues 
you might run into.

Mark




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


Re: py-cvxopt +DSDP

2014-07-29 Thread Mark Brethen

On Jul 28, 2014, at 11:56 AM, Jonathan Stickel jjstic...@gmail.com wrote:

 Date: Sun, 27 Jul 2014 13:47:20 -0500
 From: Mark Brethen mark.bret...@gmail.com
 Subject: py-cvxopt +DSDP
 
 py-cvxopt installed fine without any errors. However, when I tried running 
 example code it reports:
 
 Symbol not found: _ATL_cGetNB
  Referenced from: 
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cvxopt/lapack.so
 
 Why does numpy and cvxopt use Apple's Accelerate framework by default and 
 DSDP use macport's ATLAS?
 
 Ticket #37097 describes issues building DSDP and other ports that depend on 
 it (like cvxopt) due to linker issues with building against macports' ATLAS. 
 I uninstalled DSDP and ATLAS and then patched DSDP as suggested in the 
 ticket, but when I tried to install DSDP again it failed because it could 
 not find Apple's Accelerate framework:
 
 :info:build /usr/bin/clang -O3 -arch x86_64 -o maxcut maxcut.o 
 /opt/local/var/macports/build/_Users_marbre_ports_math_DSDP/DSDP/work/DSDP5.8/lib/libdsdp.a
  -latlas -lm
 :info:build ld: library not found for -latlas
 :info:build clang: error: linker command failed with exit code 1 (use -v to 
 see invocation)
 
 I guess if you do this, you also need to provide the path to Apple's 
 Accelerate framework?
 
 
 It seems that DSDP does not work with Apple's Accelerate framework,
 and hence if you use the +dsdp variant for py-cvxopt (not required),
 then you must use also use the +atlas variant for py-cvxopt. I suppose
 it is a bug that this conflict is not flagged in the py-cvxopt
 portfile. You could open a ticket for that part, if you like. In the
 meantime, just reinstall with consistent variants (I recommend using
 +atlas for all of the above, including numpy and scipy).
 
 Regards,
 Jonathan

I was able to build DSDP with Apple's Accelerate.framework by patching 
'make.include' at this line:

-LAPACKBLAS  = -llapack -lblas -lg2c -lm
+LAPACKBLAS  = -Wl,-framework -Wl,Accelerate -lm

and test that it works with the following python program:

 from cvxopt.base import matrix,spmatrix
from cvxopt import solvers

clst=[0.0, 0.0, 0.0, 0.0, 0.0, 2.0, 2.0, 2.0]
hlst=[0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
  0.0, 0.0, 0.0, 0.0, 0.0, -1.0]
Gr=[0, 7, 14, 21, 28, 1, 5, 8]+[35]*5
Gc=[0, 1, 2, 3, 4, 5, 6, 7]+range(5)
Gmtr=spmatrix([1.0]*8+[-1.0]*5,Gr,Gc,(36,8))
c=-matrix(clst)
Gs=[-Gmtr]
h=[-matrix(hlst,(6,6))]
try:
  sol=solvers.sdp(c,Gs=Gs,hs=h,solver='dsdp')
  print 'optimal value: %.2f'%(1+(matrix(clst,(1,8))*sol['x'])[0],)
except:
  print 'could not use dsdp'
  sol=solvers.sdp(c,Gs=Gs,hs=h)
  print 'optimal value: %.2f'%(1+(matrix(clst,(1,8))*sol['x'])[0],)
  raise

which returns: 'optimal value: 2.00'


I'd suggest updating the port to use Apple's accelerated.framework by default 
(as does numpy and cvxopt).


Mark




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


Re: py-cvxopt +DSDP

2014-07-28 Thread Mark Brethen
I installed cvxopt with -DSDP and that also worked (Not sure what I lose  not 
installing it).

Sent from my iPhone

On Jul 28, 2014, at 11:56 AM, Jonathan Stickel jjstic...@gmail.com wrote:

 Date: Sun, 27 Jul 2014 13:47:20 -0500
 From: Mark Brethen mark.bret...@gmail.com
 Subject: py-cvxopt +DSDP
 
 py-cvxopt installed fine without any errors. However, when I tried running 
 example code it reports:
 
 Symbol not found: _ATL_cGetNB
  Referenced from: 
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cvxopt/lapack.so
 
 Why does numpy and cvxopt use Apple's Accelerate framework by default and 
 DSDP use macport's ATLAS?
 
 Ticket #37097 describes issues building DSDP and other ports that depend on 
 it (like cvxopt) due to linker issues with building against macports' ATLAS. 
 I uninstalled DSDP and ATLAS and then patched DSDP as suggested in the 
 ticket, but when I tried to install DSDP again it failed because it could 
 not find Apple's Accelerate framework:
 
 :info:build /usr/bin/clang -O3 -arch x86_64 -o maxcut maxcut.o 
 /opt/local/var/macports/build/_Users_marbre_ports_math_DSDP/DSDP/work/DSDP5.8/lib/libdsdp.a
  -latlas -lm
 :info:build ld: library not found for -latlas
 :info:build clang: error: linker command failed with exit code 1 (use -v to 
 see invocation)
 
 I guess if you do this, you also need to provide the path to Apple's 
 Accelerate framework?
 
 
 It seems that DSDP does not work with Apple's Accelerate framework,
 and hence if you use the +dsdp variant for py-cvxopt (not required),
 then you must use also use the +atlas variant for py-cvxopt. I suppose
 it is a bug that this conflict is not flagged in the py-cvxopt
 portfile. You could open a ticket for that part, if you like. In the
 meantime, just reinstall with consistent variants (I recommend using
 +atlas for all of the above, including numpy and scipy).
 
 Regards,
 Jonathan
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


py-cvxopt +DSDP

2014-07-27 Thread Mark Brethen
py-cvxopt installed fine without any errors. However, when I tried running 
example code it reports:

Symbol not found: _ATL_cGetNB
  Referenced from: 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cvxopt/lapack.so

Why does numpy and cvxopt use Apple's Accelerate framework by default and DSDP 
use macport's ATLAS?

Ticket #37097 describes issues building DSDP and other ports that depend on it 
(like cvxopt) due to linker issues with building against macports' ATLAS. I 
uninstalled DSDP and ATLAS and then patched DSDP as suggested in the ticket, 
but when I tried to install DSDP again it failed because it could not find 
Apple's Accelerate framework:

:info:build /usr/bin/clang -O3 -arch x86_64 -o maxcut maxcut.o 
/opt/local/var/macports/build/_Users_marbre_ports_math_DSDP/DSDP/work/DSDP5.8/lib/libdsdp.a
 -latlas -lm
:info:build ld: library not found for -latlas
:info:build clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

I guess if you do this, you also need to provide the path to Apple's Accelerate 
framework?


Mark




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


reinplace

2014-06-26 Thread Mark Brethen
I have tried using reinplace to insert a comment in a line but keep getting an 
error:

 reinplace  -E s|^LIBS=\$sim_ac_uniqued_list$|\# LIBS=\$sim_ac_uniqued_list|g 
\
${worksrcpath}/configure

What am I doing wrong?

Mark




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


Re: reinplace

2014-06-26 Thread Mark Brethen

On Jun 26, 2014, at 10:02 PM, Brandon Allbery allber...@gmail.com wrote:

 On Thu, Jun 26, 2014 at 10:53 PM, Mark Brethen mark.bret...@gmail.com wrote:
 I have tried using reinplace to insert a comment in a line but keep getting 
 an error:
 
  reinplace  -E s|^LIBS=\$sim_ac_uniqued_list$|\# 
 LIBS=\$sim_ac_uniqued_list|g \
 ${worksrcpath}/configure
 
 What am I doing wrong?
 
 Including the error is usually helpful.
 
 At a guess, though, what you're doing wrong is using double quotes. Tcl is 
 converting \$ to $ and \# to #, then you get a regex error because you have 
 an end anchor not at the end; it may also be trying to expand the $| and 
 failing because it's an illegal Tcl variable name.
 
 In Tcl, you need to enclose things in braces {...} to protect them from 
 expansion. Otherwise, you'll need extra backslashes (\$ becomes \\\$, \# 
 becomes \\\#, $ becomes \$).
 
 -- 
 brandon s allbery kf8nh   sine nomine associates
 allber...@gmail.com  ballb...@sinenomine.net
 unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net

That was it, the brackets worked! However, I'm still having issues with SoQt.


Mark




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


Coin manpages

2014-06-23 Thread Mark Brethen
The following error occurred during destroot:

:debug:destroot Executing proc-post-org.macports.destroot-destroot-0
:error:destroot org.macports.destroot for port Coin returned: error renaming 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/share/man/man3/threads.3:
 no such file or directory
:debug:destroot Error code: NONE
:debug:destroot Backtrace: error renaming 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/share/man/man3/threads.3:
 no such file or directory
   while executing
proc-post-org.macports.destroot-destroot-0 org.macports.destroot
   (eval body line 1)
   invoked from within
eval $post $targetname
:info:destroot Warning: targets not executed for Coin: org.macports.activate 
org.macports.destroot org.macports.install

This happens when invoked with the aqua variant. This did not occur with X11 
enabled.


Mark




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


Coin aqua variant warnings

2014-06-23 Thread Mark Brethen
With the aqua variant, numerous warning messages are issued when updating 
database of binaries: 

---  Updating database of binaries
Warning: Error determining file type of 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Headers':
 
lstat(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Headers):no
 such file or directory
Warning: A file belonging to the `Coin' port is missing or unreadable. Consider 
reinstalling it.
Warning: Error determining file type of 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Inventor':
 
lstat(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Inventor):no
 such file or directory
Warning: A file belonging to the `Coin' port is missing or unreadable. Consider 
reinstalling it.

(there too many to list in this post).

Warning: Error determining file type of 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Versions/Current':
 
lstat(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Versions/Current):no
 such file or directory
Warning: A file belonging to the `Coin' port is missing or unreadable. Consider 
reinstalling it.
---  Scanning binaries for linking errors
---  No broken files found.  


Mark




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


Fwd: Coin aqua variant warnings

2014-06-23 Thread Mark Brethen


Begin forwarded message:

 From: Mark Brethen mark.bret...@gmail.com
 Subject: Coin aqua variant warnings
 Date: June 23, 2014 at 9:43:42 PM CDT
 To: MacPorts Users macports-users@lists.macosforge.org
 
 With the aqua variant, numerous warning messages are issued when updating 
 database of binaries: 
 
 ---  Updating database of binaries
 Warning: Error determining file type of 
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Headers':
  
 lstat(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Headers):no
  such file or directory
 Warning: A file belonging to the `Coin' port is missing or unreadable. 
 Consider reinstalling it.
 Warning: Error determining file type of 
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Inventor':
  
 lstat(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Inventor):no
  such file or directory
 Warning: A file belonging to the `Coin' port is missing or unreadable. 
 Consider reinstalling it.
 
 (there too many to list in this post).
 
 Warning: Error determining file type of 
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Versions/Current':
  
 lstat(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Versions/Current):no
  such file or directory
 Warning: A file belonging to the `Coin' port is missing or unreadable. 
 Consider reinstalling it.
 ---  Scanning binaries for linking errors
 ---  No broken files found.  
 
 
 Mark
 
 
 
 

Port Coin contains:
  /opt/local/bin/coin-config
  /opt/local/lib/pkgconfig/Coin.pc
  /opt/local/share/Coin/conf/coin-default.cfg
  /opt/local/share/aclocal/coin.m4
  
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/destroot/opt/local/Library/Frameworks/Inventor.framework/Headers

(too many to list here)

It appears that the Inventor.framework did not get moved to the correct 
directory in destroot. Hence the warning messages after activating the port!

Mark




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


Coin @3.1.3 build failure on OS X 10.9 / Xcode 5.02

2014-06-19 Thread Mark Brethen
I am getting this runtime error:

:info:build 11 errors generated.
:info:build make[4]: *** [SbTime.lo] Error 1
:info:build make[4]: *** Waiting for unfinished jobs
:info:build  /usr/bin/clang++ -DHAVE_CONFIG_H -I../../include -I../../include 
-I../../src -I../../src -I/opt/local/include -no-cpp-precomp -D_REENTRANT 
-DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/usr/X11R6/include -pipe -Os -arch x86_64 
-stdlib=libc++ -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual 
-fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts -Wparentheses 
-MT SbVec2ub.lo -MD -MP -MF .deps/SbVec2ub.Tpo -c SbVec2ub.cpp  -fno-common 
-DPIC -o .libs/SbVec2ub.o
:info:build  /usr/bin/clang++ -DHAVE_CONFIG_H -I../../include -I../../include 
-I../../src -I../../src -I/opt/local/include -no-cpp-precomp -D_REENTRANT 
-DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/usr/X11R6/include -pipe -Os -arch x86_64 
-stdlib=libc++ -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual 
-fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts -Wparentheses 
-MT SbVec2s.lo -MD -MP -MF .deps/SbVec2s.Tpo -c SbVec2s.cpp  -fno-common -DPIC 
-o .libs/SbVec2s.o
:info:build  /usr/bin/clang++ -DHAVE_CONFIG_H -I../../include -I../../include 
-I../../src -I../../src -I/opt/local/include -no-cpp-precomp -D_REENTRANT 
-DCOIN_DEBUG=1 -DCOIN_INTERNAL -I/usr/X11R6/include -pipe -Os -arch x86_64 
-stdlib=libc++ -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual 
-fno-builtin -finline-functions -Wreturn-type -Wchar-subscripts -Wparentheses 
-MT SbVec2us.lo -MD -MP -MF .deps/SbVec2us.Tpo -c SbVec2us.cpp  -fno-common 
-DPIC -o .libs/SbVec2us.o
:info:build make[4]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/Coin-3.1.3/src/base'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/Coin-3.1.3/src'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/Coin-3.1.3/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/Coin-3.1.3'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/Coin-3.1.3'
:info:build Command failed:  cd 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_Coin/Coin/work/Coin-3.1.3
  /usr/bin/make -j5 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port Coin returned: command execution failed
:debug:build Error code: CHILDSTATUS 18883 2
:debug:build Backtrace: command execution failed
while executing
system -nice 0 $fullcmdstring
(eval body line 1)
invoked from within
eval system $notty $nice \$fullcmdstring
invoked from within
command_exec build
(procedure portbuild::build_main line 8)
invoked from within
portbuild::build_main org.macports.build
(eval body line 1)
invoked from within
eval $procedure $targetname
:info:build Warning: targets not executed for Coin: org.macports.activate 
org.macports.build org.macports.destroot org.macports.install

with Coin @3.1.3 on OS X 10.9 / Xcode 5.02. It appears this is a known error: 
https://trac.macports.org/ticket/41786. Has a fix been identified? Coin is 
required for FreeCAD to compile.

Thanks,


Mark




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


Re: Coin @3.1.3 build failure on OS X 10.9 / Xcode 5.02

2014-06-19 Thread Mark Brethen

On Jun 19, 2014, at 9:07 PM, Brandon Allbery allber...@gmail.com wrote:

 On Thu, Jun 19, 2014 at 9:45 PM, Mark Brethen mark.bret...@gmail.com wrote:
 I am getting this runtime error:
 
 :info:build 11 errors generated.
 
 This is remarkable precision in starting your log snippet *right after* the 
 useful errors. :/ It even tells us you chopped off 11 error messages!
 
 -- 
 brandon s allbery kf8nh   sine nomine associates
 allber...@gmail.com  ballb...@sinenomine.net
 unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net

You mean this? 

:info:build In file included from SbTime.cpp:42:
:info:build 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:679:86:
 error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float   acos(float __x) 
_NOEXCEPT   {return acosf(__x);}
:info:build 
 ^
:info:build ../../include/Inventor/C/base/math-undefs.h:54:18: note: expanded 
from macro 'acosf'
:info:build #define acosf(x) NO_SINGLEPREC
:info:build  ^
:info:build In file included from SbTime.cpp:42:
:info:build 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:694:86:
 error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float   asin(float __x) 
_NOEXCEPT   {return asinf(__x);}
:info:build 
 ^
:info:build ../../include/Inventor/C/base/math-undefs.h:56:18: note: expanded 
from macro 'asinf'
:info:build #define asinf(x) NO_SINGLEPREC
:info:build  ^
:info:build In file included from SbTime.cpp:42:
:info:build 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:709:86:
 error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float   atan(float __x) 
_NOEXCEPT   {return atanf(__x);}
:info:build 
 ^
:info:build ../../include/Inventor/C/base/math-undefs.h:58:18: note: expanded 
from macro 'atanf'
:info:build #define atanf(x) NO_SINGLEPREC
:info:build  ^
:info:build In file included from SbTime.cpp:42:
:info:build 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:724:116:
 error: too many arguments provided to function-like macro invocation
:info:build inline _LIBCPP_INLINE_VISIBILITY float   atan2(float __y, float 
__x) _NOEXCEPT {return atan2f(__y, __x);}
:info:build 
   ^
:info:build ../../include/Inventor/C/base/math-undefs.h:60:9: note: macro 
'atan2f' defined here
:info:build #define atan2f(x) NO_SINGLEPREC
:info:build ^
:info:build In file included from SbTime.cpp:42:
:info:build 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:724:104:
 error: cannot initialize return object of type 'float' with an lvalue of type 
'float (float, float)'
:info:build inline _LIBCPP_INLINE_VISIBILITY float   atan2(float __y, float 
__x) _NOEXCEPT {return atan2f(__y, __x);}
:info:build 
   ^~
:info:build 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:765:85:
 error: use of undeclared identifier 'NO_SINGLEPREC'
:info:build inline _LIBCPP_INLINE_VISIBILITY float   cos(float __x) 
_NOEXCEPT   {return cosf(__x);}
:info:build 
^
:info:build ../../include/Inventor/C/base/math-undefs.h:44:17: note: expanded 
from macro 'cosf'
:info:build #define cosf(x) NO_SINGLEPREC /* whatever that'll give us a compile 
error... */
:info:build ^
:info:build In file included from SbTime.cpp:42:
:info:build 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cmath:949:112:
 error: too many arguments provided to function-like macro invocation
:info:build inline _LIBCPP_INLINE_VISIBILITY float   pow(float __x, float 
__y) _NOEXCEPT {return powf(__x, __y);}
:info:build 
   ^
:info:build ../../include/Inventor/C/base/math-undefs.h:50:9: note: macro 
'powf' defined here
:info:build #define powf(x) NO_SINGLEPREC
:info:build ^
:info:build In file included from

Re: z88 Aurora

2014-06-09 Thread Mark Brethen
On Jun 9, 2014, at 7:12 PM, Craig Treleaven ctrelea...@cogeco.ca wrote:
 At 7:37 PM -0400 6/9/14, Adam Dershowitz Ph.D., P.E. wrote:
 On Jun 9, 2014, at 7:27 PM, Adam Dershowitz Ph.D., P.E. 
 mailto:de...@alum.mit.edude...@alum.mit.edu wrote:
 On Jun 9, 2014, at 7:09 PM, Brandon Allbery 
 mailto:allber...@gmail.comallber...@gmail.com wrote:
 On Mon, Jun 9, 2014 at 7:06 PM, Adam Dershowitz Ph.D., P.E. 
 mailto:de...@alum.mit.edude...@alum.mit.edu wrote:
 
 /usr/local/lib/libpng12.0.dylib: no matching architecture in universal 
 wrapper
 That's not from MacPorts. Where did you get it?
 
 I am not sure which install did that.  But, it has been there for a long 
 time.
 Since z88 is searching for 1.2 anyway could that make a difference? Might 
 it find and use 1.6 if I dump that old libpng out?
 
 As I suspected, dumping that just changed the error message:
 
 ./aurorastartv2
 dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
  Referenced from: /Users/adershowitz/z88aurorav2/bin/mac/./z88aurora
  Reason: image not found
 ./aurorastartv2: line 5: 20674 Trace/BPT trap: 5   z88aurora
 
 
 Seems that as built, Z88 was linked against libpng12 and not 16. So, it 
 looks like the developers just used an older version of MacPorts to develop 
 and release the library files, and then copied the key files over.  A bit 
 ironic that they use MacPorts, but then make an installer that is not 
 compatible with it.
 
 I think you're missing the point.  '/opt/local' is the default prefix for 
 MacPorts--it _owns_ all the files under there. Your Z88 installer _should 
 not_ be writing to /opt/local/... BAD things will happen if you keep mixing 
 their broken installer with the default prefix.
 
 It is virtually certain that the developer of Z88 has a Portfile they use to 
 build and package their Mac installer. Either:
 
 1) get them to give you the Z88 portfile (and associated files directory, if 
 any) and you can use MacPorts to build a current copy of Z88.  Then you won't 
 have a version mismatch on libpng.
 
 2) get them to submit their Z88 portfile here and then everyone will be able 
 to build an appropriate version of their software, OR
 
 3) get them to reinstall their copy of MacPorts to any other prefix (say 
 '/opt/z88') and create a new version of their installer.  Then they won't 
 stomp on stuff MacPorts owns.
 
 Craig
 
 -- 
 --
 Craig Treleaven, CA -- Clearview Consulting
 (905) 829-2054  ctrelea...@cogeco.ca
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 https://lists.macosforge.org/mailman/listinfo/macports-users

Has anyone else attempted to contact them? I used their contact email provided 
on their web site, but have not received a response. 

Mark




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


Re: z88 Aurora

2014-06-08 Thread Mark Brethen

On Jun 7, 2014, at 6:02 PM, Ryan Schmidt ryandes...@macports.org wrote:

 
 On Jun 7, 2014, at 5:10 PM, Mark Brethen wrote:
 
 I don't know for certain that the developers used MacPorts, what gave you 
 that impression?
 
 The fact that it installed files into /opt/local.
 
 

The installation consists of two compressed files:

gtk4z88.tar.gz
z88aurorav2_en.tar.gz

The first is a GTK+-package needed for execution of Z88Aurora. It contains an 
/opt/local directory tree, with files in /opt/local/etc and opt/local/lib. I 
compared the contents of /lib with my macports /lib directory and noticed only 
these files are missing:

/opt/local/lib/libgdkglext-x11-1.0.0.dylib
/opt/local/lib/libgtkglext-x11-1.0.0.dylib
/opt/local/lib/libpangox-1.0.0.dylib
/opt/local/lib/libpng12.0.dylib

The second file contains the program, which can be launched from the terminal 
or with an accompanying app. You are instructed to uncompress it in your user 
directory.

So It looks like he may have used macports to build the GTK+ package for his 
program. If one were to write a port file for this, could you just check for 
GTK and all its dependencies and then move the app into the macports 
applications directory?

There are also some fonts in the /opt/local/etc/fonts directory which are not 
present in my macports install. I don't know the source of these fonts.

I've emailed the developer and waiting for a response.

Mark




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


z88 Aurora

2014-06-07 Thread Mark Brethen
z88 Aurora is open source finite element software and the installation places 
files in /opt/local. Before proceeding with the installation, I wanted to check 
with the users group to see if this will interfere with my macports 
installation? There are detailed instructions for manually installing the files 
which I could use to create a port file. A GTK+-package is required and XQuartz 
(for Mountain Lion and Mavericks).

One caveat is that you have to change the ownership of /opt/local to 
root:wheel or YOURUSERNAME:staff“.

Thanks.

Mark




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


Re: z88 Aurora

2014-06-07 Thread Mark Brethen

On Jun 7, 2014, at 3:56 PM, Ryan Schmidt ryandes...@macports.org wrote:

 
 On Jun 7, 2014, at 10:14 AM, Mark Brethen wrote:
 
 z88 Aurora is open source finite element software and the installation 
 places files in /opt/local. Before proceeding with the installation, I 
 wanted to check with the users group to see if this will interfere with my 
 macports installation?
 
 Yes, that will interfere with MacPorts, unless you have installed MacPorts to 
 a custom prefix that is not /opt/local.
 
 Please ask the developers of Z88 to repackage it in a different prefix that 
 is not /opt/local so that it does not interfere with MacPorts. We are pleased 
 that the developers of Z88 were able to use MacPorts in their packaging 
 efforts, but would appreciate it if they would not increase our support 
 burden by distributing software that interferes with MacPorts.
 
 One caveat is that you have to change the ownership of /opt/local to 
 root:wheel or YOURUSERNAME:staff“.
 
 You should probably not modify the permissions MacPorts has set  for 
 /opt/local.
 
 

I don't know for certain that the developers used MacPorts, what gave you that 
impression?

Mark




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


wine .NET framework

2013-12-04 Thread Mark Brethen
Has anyone installed a .NET package for wine? I've looked at the wine site and 
it appears there are two ways to go about this: 1) let wine install Mono 
automatically; or 2) Use winetricks to install MS .NET framework (there is a 
port of winetricks available). What's recommended?

Thanks,


Mark




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


Re: Error updating macports on lion

2013-08-02 Thread Mark Brethen
That worked, thanks. 

On my installation, the following ports are dependent on webkit-gtk:
gimp2
gimp-app
ufraw
xsane

I'll have to stick with the older gimp2 until the webkit-gtk problems are 
resolved.

On Aug 2, 2013, at 12:41 AM, Lawrence Velázquez wrote:

 sudo port upgrade outdated and not \( webkit-gtk or rdependentof:webkit-gtk \)



Mark




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


Re: Error updating macports on lion

2013-08-02 Thread Mark Brethen
I can't roll back to 2.7.1, I'll have to install it. What's the best way to do 
this?


On Aug 2, 2013, at 10:34 AM, Jeremy Huddleston Sequoia wrote:

 Just roll back bison to 2.7.1, and you'll be fine.
 
 On Aug 2, 2013, at 4:11, Mark Brethen mark.bret...@gmail.com wrote:
 
 That worked, thanks. 
 
 On my installation, the following ports are dependent on webkit-gtk:
   gimp2
   gimp-app
   ufraw
   xsane
 
 I'll have to stick with the older gimp2 until the webkit-gtk problems are 
 resolved.
 
 On Aug 2, 2013, at 12:41 AM, Lawrence Velázquez wrote:
 
 sudo port upgrade outdated and not \( webkit-gtk or rdependentof:webkit-gtk 
 \)
 
 
 
 Mark
 
 
 
 
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 https://lists.macosforge.org/mailman/listinfo/macports-users
 



Mark




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


Error updating macports on lion

2013-08-01 Thread Mark Brethen
Hi everyone,

I'm doing a macports update but I get this error:

---  Building webkit-gtk
Error: org.macports.build for port webkit-gtk returned: command execution failed
Please see the log file for port webkit-gtk for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/main.log
Error: Unable to upgrade port: 1

I checked the log and found 2 errors:

:info:build 1 error generated.
:info:build make[1]: *** [DerivedSources/ANGLE/libWebCore_la-glslang_tab.lo] 
Error 1

:info:build Exit code: 2
:error:build org.macports.build for port webkit-gtk returned: command execution 
failed
:debug:build Error code: CHILDSTATUS 293 2
:debug:build Backtrace: command execution failed
while executing
system -nice 0 $fullcmdstring
(eval body line 1)
invoked from within
eval system $notty $nice \$fullcmdstring
invoked from within
command_exec build
(procedure portbuild::build_main line 8)
invoked from within
$procedure $targetname

I'm don't know how to fix it.

Mark




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


Re: Error updating macports on lion

2013-08-01 Thread Mark Brethen
This doesn't work. I even tried variations of this and it still tries to update 
webkit-gtk.


On Aug 1, 2013, at 7:27 PM, Lawrence Velázquez wrote:

 For now, you should be able to avoid trying to update webkit-gtk with 
 something like this.
 
% sudo port upgrade outdated and not \( webkit-gtk or 
 dependentof:webkit-gtk \)



Mark




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


Re: how long for changes to propagate in macports?

2012-07-02 Thread Mark Brethen
I submitted a revised Portfile for reduce algebra months ago. It still has not 
been committed.

###

-Mark

On Jul 2, 2012, at 1:36 PM, Lawrence Velázquez larry.velazq...@gmail.com 
wrote:

 On Jul 2, 2012, at 2:03 p.m., James Long wrote:
 
 How long does it normally take for changes to ports to propagate from
 check in to being able to be updated via selfupdate?
 
 I think it's usually less than an hour. A couple of hours at most. Someone 
 more knowledgeable should correct me on this.
 
 I'm asking because I am in need of version 0.8.0 of py-pandas which
 appears to have been added to macports ~5 hours ago:
 https://trac.macports.org/changeset/94919
 
 However when I do a selfupdate then an `upgrade outdated` macports
 thinks everything is up to date.
 
 Hm, I just did a selfupdate, and it looks like it's there:
 
% port list py-pandas
py-pandas  @0.8.0  python/py-pandas
 
 
 vq
 
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


port upgrade outdated errors

2012-06-09 Thread Mark Brethen
After performing a selfupdate and successfully upgrading the MacPorts system, I 
then ran 'sudo port upgrade outdated' with the following errors. How do I fix 
this mess?

---  Updating database of binaries: 100.0%
---  Scanning binaries for linking errors: 100.0%
---  Found 7 broken file(s), matching files to ports
---  Found 5 broken port(s), determining rebuild order
---  Rebuilding in order
 libopenraw @0.0.9 
 libgnomecanvas @2.30.3 
 gtkimageview @1.6.4 
 gtk2-aurora @1.5.1 
 gtk2-extra @2.1.2 
---  Computing dependencies for libopenraw
---  Cleaning libopenraw
---  Computing dependencies for libgnomecanvas
---  Cleaning libgnomecanvas
---  Computing dependencies for gtkimageview
---  Cleaning gtkimageview
---  Computing dependencies for gtk2-aurora
---  Cleaning gtk2-aurora
---  Computing dependencies for gtk2-extra
---  Cleaning gtk2-extra
---  Scanning binaries for linking errors: 100.0%
---  Found 7 broken file(s), matching files to ports
---  Found 5 broken port(s), determining rebuild order
---  Rebuilding in order
 libopenraw @0.0.9 
 libgnomecanvas @2.30.3 
 gtkimageview @1.6.4 
 gtk2-aurora @1.5.1 
 gtk2-extra @2.1.2 
---  Computing dependencies for libopenraw
---  Cleaning libopenraw
---  Unable to uninstall libopenraw @0.0.9_0, the following ports depend on it:
---gegl @0.1.8_1+python27
---gegl @0.1.8_2+python27
Warning: Uninstall forced.  Proceeding despite dependencies.
---  Deactivating libopenraw @0.0.9_0
---  Unable to deactivate libopenraw @0.0.9_0, the following ports depend on 
it:
---gegl @0.1.8_2+python27
Warning: Deactivate forced.  Proceeding despite dependencies.
---  Cleaning libopenraw
---  Uninstalling libopenraw @0.0.9_0
---  Cleaning libopenraw
---  Computing dependencies for libopenraw
---  Fetching distfiles for libopenraw
---  Verifying checksum(s) for libopenraw
---  Extracting libopenraw
---  Applying patches to libopenraw
---  Configuring libopenraw
---  Building libopenraw
---  Staging libopenraw into destroot
---  Installing libopenraw @0.0.9_0
---  Activating libopenraw @0.0.9_0
---  Cleaning libopenraw
---  Computing dependencies for libgnomecanvas
---  Cleaning libgnomecanvas
---  Unable to uninstall libgnomecanvas @2.30.3_1, the following ports depend 
on it:
---libbonoboui @2.24.5_1
---libbonoboui @2.24.5_3
Warning: Uninstall forced.  Proceeding despite dependencies.
---  Deactivating libgnomecanvas @2.30.3_1
---  Unable to deactivate libgnomecanvas @2.30.3_1, the following ports depend 
on it:
---libbonoboui @2.24.5_3
Warning: Deactivate forced.  Proceeding despite dependencies.
---  Cleaning libgnomecanvas
---  Uninstalling libgnomecanvas @2.30.3_1
---  Cleaning libgnomecanvas
---  Computing dependencies for libgnomecanvas
---  Fetching distfiles for libgnomecanvas
---  Verifying checksum(s) for libgnomecanvas
---  Extracting libgnomecanvas
---  Configuring libgnomecanvas
---  Building libgnomecanvas
---  Staging libgnomecanvas into destroot
---  Installing libgnomecanvas @2.30.3_1
---  Activating libgnomecanvas @2.30.3_1
---  Cleaning libgnomecanvas
---  Computing dependencies for gtkimageview
---  Cleaning gtkimageview
---  Unable to uninstall gtkimageview @1.6.4_3, the following ports depend on 
it:
---ufraw @0.18_1
Warning: Uninstall forced.  Proceeding despite dependencies.
---  Deactivating gtkimageview @1.6.4_3
---  Unable to deactivate gtkimageview @1.6.4_3, the following ports depend on 
it:
---ufraw @0.18_1
Warning: Deactivate forced.  Proceeding despite dependencies.
---  Cleaning gtkimageview
---  Uninstalling gtkimageview @1.6.4_3
---  Cleaning gtkimageview
---  Computing dependencies for gtkimageview
---  Fetching distfiles for gtkimageview
---  Verifying checksum(s) for gtkimageview
---  Extracting gtkimageview
---  Applying patches to gtkimageview
---  Configuring gtkimageview
---  Building gtkimageview
---  Staging gtkimageview into destroot
---  Installing gtkimageview @1.6.4_3
---  Activating gtkimageview @1.6.4_3
---  Cleaning gtkimageview
---  Computing dependencies for gtk2-aurora
---  Cleaning gtk2-aurora
---  Deactivating gtk2-aurora @1.5.1_1
---  Cleaning gtk2-aurora
---  Uninstalling gtk2-aurora @1.5.1_1
---  Cleaning gtk2-aurora
---  Computing dependencies for gtk2-aurora
---  Fetching distfiles for gtk2-aurora
---  Verifying checksum(s) for gtk2-aurora
---  Extracting gtk2-aurora
---  Configuring gtk2-aurora
---  Building gtk2-aurora
Error: org.macports.build for port gtk2-aurora returned: command execution 
failed
Please see the log file for port gtk2-aurora for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2-aurora/gtk2-aurora/main.log
---  Computing dependencies for gtk2-extra
---  Cleaning gtk2-extra
---  Deactivating gtk2-extra @2.1.2_0
---  Cleaning gtk2-extra
---  Uninstalling gtk2-extra @2.1.2_0
---  Cleaning gtk2-extra
---  Computing dependencies for gtk2-extra
---  Fetching 

Re: port upgrade outdated errors

2012-06-09 Thread Mark Brethen

On Jun 9, 2012, at 12:46 PM, Lawrence Velázquez wrote:

 On Jun 9, 2012, at 1:08 p.m., Mark Brethen wrote:
 
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2-aurora/gtk2-aurora/main.log
 
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2-extra/gtk2-extra/main.log
 
 
 Could you show us these logs?
 
 vq
 

From the gtk2-aurora log:

:info:build In file included from ./src/animation.c:10:
:info:build /opt/local/include/glib-2.0/glib/gtimer.h:28:2: error: #error Only 
glib.h can be included directly.
:info:build #error Only glib.h can be included directly.
:info:build  ^
:info:build 1 error generated.
:info:build make: *** [animation.lo] Error 1

:info:build 1 warning generated.
:info:build mv -f .deps/support.Tpo .deps/support.Plo
:info:build 14 warnings generated.
:info:build mv -f .deps/aurora_style.Tpo .deps/aurora_style.Plo
:info:build make: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2-aurora/gtk2-aurora/work/aurora-1.5'
:info:build Command failed:  cd 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk2-aurora/gtk2-aurora/work/aurora-1.5
  /usr/bin/make -j5 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port gtk2-aurora returned: command 
execution failed
:debug:build Error code: CHILDSTATUS 90305 2
:debug:build Backtrace: command execution failed
while executing
system -nice 0 $fullcmdstring
(eval body line 1)
invoked from within
eval system $notty $nice \$fullcmdstring
invoked from within
command_exec build
(procedure portbuild::build_main line 8)
invoked from within
$procedure $targetname
:info:build Warning: targets not executed for gtk2-aurora: 
org.macports.activate org.macports.build org.macports.destroot 
org.macports.install

From the gtk2-extra log:

:info:build In file included from gtkcharsel.c:21:
:info:build /opt/local/include/glib-2.0/glib/gunicode.h:23:2: error: #error 
Only glib.h can be included directly.
:info:build #error Only glib.h can be included directly.

:info:build make[2]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2-extra/gtk2-extra/work/gtk+extra-2.1.2/gtkextra'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2-extra/gtk2-extra/work/gtk+extra-2.1.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2-extra/gtk2-extra/work/gtk+extra-2.1.2'
:info:build Command failed:  cd 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2-extra/gtk2-extra/work/gtk+extra-2.1.2
  /usr/bin/make -j5 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port gtk2-extra returned: command execution 
failed
:debug:build Error code: CHILDSTATUS 93590 2
:debug:build Backtrace: command execution failed
while executing
system -nice 0 $fullcmdstring
(eval body line 1)
invoked from within
eval system $notty $nice \$fullcmdstring
invoked from within
command_exec build
(procedure portbuild::build_main line 8)
invoked from within
$procedure $targetname
:info:build Warning: targets not executed for gtk2-extra: org.macports.activate 
org.macports.build org.macports.destroot org.macports.install

Could the gtk2 port update have broken these two ports? Should I open tickets 
and upload the log files? What about the 7 broken file(s) and 5 broken port(s) 
messages?


Mark




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


Re: How do I run py-spyder once installed?

2012-03-08 Thread Mark Brethen
Use Terminal.

I wrote an applescript that does this and saved it as an app, placing it on my 
dock.

I don't have access to my MacBook at the moment. Let me know, and I can forward 
it to you this evening.

###

-Mark

On Mar 8, 2012, at 9:17 AM, Andrew Mark andrew.g.m...@gmail.com wrote:

 Hi,
 
 I have what is hopefully a stupid and therefore easy question. I've
 installed the py-spyder port. The installation of the program and all
 its dependencies completed successfully. The install added several
 new things to Launcher, including a folder called MacPorts(other), but
 nothing that I can see for running Spyder. So, now that I've
 successfully installed Spyder, how do I run it?
 
 Thanks,
 
 -Andrew Mark
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


universal variants on Lion

2011-12-18 Thread mark brethen
I couldn't get TeXmacs to build on lion (OS 10.7.2), so I tried with the 
universal variant, and all of a sudden Macports started replacing other ports 
with their universal variant. Will this cause any problems down the road?

-Mark



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


py27-spyder fails to update

2011-10-07 Thread mark brethen
Ran 'port upgrade outdated' this morning:

---  Computing dependencies for py27-spyder
---  Fetching py27-spyder
---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
http://spyderlib.googlecode.com/files/
---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/py-spyder
---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
http://distfiles.macports.org/py-spyder
---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
http://lil.fr.distfiles.macports.org/py-spyder
---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/py-spyder
---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/py-spyder
---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
http://sea.us.distfiles.macports.org/macports/mpdistfiles/py-spyder
---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
http://svn.macports.org/repository/macports/distfiles/py-spyder
Error: Target org.macports.fetch returned: fetch failed
Log for py27-spyder is at: 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-spyder/py27-spyder/main.log
Error: Unable to upgrade port: 1

Why is it not finding the widget patch? 

-Mark



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


Re: py27-spyder fails to update

2011-10-07 Thread mark brethen

On Oct 7, 2011, at 11:06 AM, Ryan Schmidt wrote:

 
 On Oct 7, 2011, at 08:49, mark brethen wrote:
 
 Ran 'port upgrade outdated' this morning:
 
 ---  Computing dependencies for py27-spyder
 ---  Fetching py27-spyder
 ---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
 http://spyderlib.googlecode.com/files/
 ---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
 http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/py-spyder
 ---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
 http://distfiles.macports.org/py-spyder
 ---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
 http://lil.fr.distfiles.macports.org/py-spyder
 ---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
 http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/py-spyder
 ---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
 http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/py-spyder
 ---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
 http://sea.us.distfiles.macports.org/macports/mpdistfiles/py-spyder
 ---  Attempting to fetch patch-widgets-pylintgui.py.diff from 
 http://svn.macports.org/repository/macports/distfiles/py-spyder
 Error: Target org.macports.fetch returned: fetch failed
 Log for py27-spyder is at: 
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-spyder/py27-spyder/main.log
 Error: Unable to upgrade port: 1
 
 Why is it not finding the widget patch? 
 
 Please selfupdate and try again. There was about an hour on August 16 when 
 the files directory was incorrectly named Files, which, if you have a 
 case-sensitive filesystem, could have caused this problem.
 
 If that doesn't work, delete the directory $(port dir py27-spyder)/files 
 and/or $(port dir py27-spyder)/Files, selfupdate again, and try again. 
 Sometimes case-only renames (Files - files) don't work right on 
 case-insensitive filesystems, and it's simpler to just delete the directory 
 and let selfupdate recreate it.
 
 
 
 

I guess I should have mentioned that I ran selfupdate first (which was the 
reason for upgrading). Anyway it installed this time around:

---  Updating MacPorts base sources using rsync
MacPorts base version 2.0.3 installed,
MacPorts base version 2.0.3 downloaded.
---  Updating the ports tree
---  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
brethen-mbp:~ marbre$ sudo port upgrade outdated
---  Computing dependencies for py27-spyder
---  Fetching py27-spyder
---  Verifying checksum(s) for py27-spyder
---  Extracting py27-spyder
---  Applying patches to py27-spyder
---  Configuring py27-spyder
---  Building py27-spyder
---  Staging py27-spyder into destroot
---  Installing py27-spyder @2.0.12_6
---  Cleaning py27-spyder
---  Computing dependencies for py27-spyder
---  Deactivating py27-spyder @2.0.12_3
---  Cleaning py27-spyder
---  Activating py27-spyder @2.0.12_6
---  Cleaning py27-spyder


-Mark



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


svn question

2011-08-14 Thread mark brethen
For ports that use svn, can I use the svn installed with mac os, or install the 
svn port first?

-Mark



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


spyder ports and python

2011-08-13 Thread mark brethen
I see recently that a couple of new keywords have been added to the spyder 
ports: python.versions and python.default_version. How do these work? 

As a side question, I've been reading about keeping project code in a virtual 
environment to maintain a clean python Installation. The virtualenv and 
virtualenvwrapper ports are a means to that end, and switching between 
environments looks pretty easy. Have any macports users out there tried this? 
And which python ports would be considered a pure python installation 
(everything else being installed in the virtual env)? In the write up, it was 
suggested to prepend your path with, for example, 
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin'. Is this 
recommended?

Thanks.

-Mark



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


Re: Python frameworks

2011-08-09 Thread mark brethen
OK, here's how I understand it. Taking a look at  'spyder' in /opt/local/bin:

Marks-MacBook-Pro:bin marbre$ more spyder
#!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
from spyderlib import spyder
spyder.main()

And in 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python,
 the Python 2.7.2 Launcher is run.  Which explains why spyder will run Python 
2.7 in its console regardless of what is in PATH. 

The 'programs.py' script seems to be where module existence is checked by 
spyder. This function is called by 'pylintgui.py' to check for pylint:

def is_program_installed(basename, get_path=False):
Return True if program is installed and present in PATH
for path in os.environ[PATH].split(os.pathsep):
abspath = osp.join(path, basename)
if osp.isfile(abspath):
if get_path:
return abspath
else:
return True
else:
return False

I also found this function:

def is_module_installed(module_name):
Return True if module *module_name* is installed
try:
__import__(module_name)
return True
except ImportError:
return False

I'm sure what calls this, but I would think it would stand a better chance of 
success in the MacPorts python framework. 


-Mark



On Aug 8, 2011, at 5:43 PM, Brandon Allbery wrote:

 On Mon, Aug 8, 2011 at 12:48, Ryan Schmidt ryandes...@macports.org wrote:
 On Aug 6, 2011, at 11:20, mark brethen wrote:
  I'm kind of reluctant to handle this in Spyder's code (of course, if it's 
  the only way, we will take action anyway) because there is absolutely no 
  reason for MacPorts to differentiate pylint scripts depending on Python 
  minor version number: after all, this script is an executable that should 
  behaves exactly the same way on any Python version.
 
 I understand the developer's viewpoint, but he is probably not aware of all 
 of the complexities involving software packaging.
 
 We have multiple ports for spyder and pylint in MacPorts (for each of several 
 versions of Python). These can be installed simultaneously, so they cannot 
 install the same files. So none of these can install an executable 
 /opt/local/bin/pylint.
 
 Strictly speaking, it's not a package manager issue, it's a configuration 
 manager issue.  This kind of thing comes up most often in managed 
 environments using configuration managers such as Puppet, bcfg2, Chef, 
 cfengine, etc., as well as university environments such as depot (CMU), 
 Athena (MIT), and Nikola (UW); this is somewhat important for research 
 professors and students working on their Ph.D theses who don't want to risk 
 having to deal with path or version vagaries across platforms.
 
 The correct answer here is for spyder to use a global config file to get the 
 default values for these settings, so that $configuration_manager_of_choice 
 can configure the install in the local support tree to use programs from the 
 local support tree.
  
 -- 
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms
 

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


Re: Python frameworks

2011-08-09 Thread mark brethen
How about this?

http://jessenoller.com/2009/03/16/so-you-want-to-use-python-on-the-mac/

-Mark



On Aug 9, 2011, at 11:30 AM, Brandon Allbery wrote:

 On Tue, Aug 9, 2011 at 02:31, Russell Jones russell.jo...@physics.ox.ac.uk 
 wrote:
  If so, I would be strongly against that. port select is exclusively for a 
  user's convenience; no port should change how it installs or functions 
  based on what the user may or may not have port selected.
 
 I can kind of see why you wouldn't want this on principle, but could you 
 elaborate? Why should a user have to select which version of python they want 
 for every package, when in the majority of cases the same version will be 
 desired? Having a default doesn't exclude exceptions.
 
 When the user uses port select to change the default Python, what should 
 happen to all of these?  How do you plan to implement it?  What if there 
 isn't a version of something installed this way for the selected Python 
 variant?
 
 -- 
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms
 
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

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


Re: Python frameworks

2011-08-08 Thread mark brethen
With python27 port installed, and a reverse-engineered local portfile of 
py26-spyder, I was able to get spyder 2.0.12 running. I do not have multiple 
python frameworks installed on my mac. If I run python in a terminal window it 
uses:

Mark-Brethens-MacBook-Pro:bin marbre$ python
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type help, copyright, credits or license for more information.

Which is installed by the mac os. However, when I run spyder, it shows in its 
console:

Python 2.7.2 (default, Aug  5 2011, 19:07:44) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type copyright, credits or license for more information.

/opt/local/bin contains 'python2.7', which is a symbolic link of the same name 
as the binary it links to. Spyder's pylint widget searches PATH for 'pylint' 
but I have 'pylint-2.7' in /opt/local/bin, which is a symbolic link; it does 
not have the same name as the binary it links to. Spyder recognizes IPython 
even though the symlink in /opt/local/bin has a different name. I don't have an 
explanation for this.



-Mark



On Aug 8, 2011, at 11:48 AM, Ryan Schmidt wrote:

 
 On Aug 6, 2011, at 11:20, mark brethen wrote:
 
 Would it be best to create a 'pylint' group and use port select? This would 
 reflect the developer's viewpoint:
 
 I'm kind of reluctant to handle this in Spyder's code (of course, if it's 
 the only way, we will take action anyway) because there is absolutely no 
 reason for MacPorts to differentiate pylint scripts depending on Python 
 minor version number: after all, this script is an executable that should 
 behaves exactly the same way on any Python version.
 
 Of course this would make sense to differentiate pylint executable for 
 Python 2 and Python 3.
 
 So the purist in me would tend to say that when pylint is properly 
 installed, the command 'pylint' should work in a terminal.
 
 
 I understand the developer's viewpoint, but he is probably not aware of all 
 of the complexities involving software packaging.
 
 We have multiple ports for spyder and pylint in MacPorts (for each of several 
 versions of Python). These can be installed simultaneously, so they cannot 
 install the same files. So none of these can install an executable 
 /opt/local/bin/pylint.
 
 We could certainly entertain the idea of making the py*lint ports use the 
 select portgroup, which you've requested here:
 
 https://trac.macports.org/ticket/30626
 
 That would help users run pylint by that name, but it is not a solution for 
 other software (like spyder) that wants to run pylint, for reasons explained 
 in Joshua's comments in that ticket.
 
 

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


python_select/ipython_select

2011-08-06 Thread mark brethen
python_select and ipython_select are installed when versions of python and 
ipython ports are installed. I seem to recall that python_select was 
deprecated. Is this true for ipython_select?

What is the current procedure for setting the default python/ipython?

-Mark



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


Re: Python frameworks

2011-08-06 Thread mark brethen
Would it be best to create a 'pylint' group and use port select? This would 
reflect the developer's viewpoint:

 I'm kind of reluctant to handle this in Spyder's code (of course, if it's the 
 only way, we will take action anyway) because there is absolutely no reason 
 for MacPorts to differentiate pylint scripts depending on Python minor 
 version number: after all, this script is an executable that should behaves 
 exactly the same way on any Python version.
 
 Of course this would make sense to differentiate pylint executable for Python 
 2 and Python 3.
 
 So the purist in me would tend to say that when pylint is properly installed, 
 the command 'pylint' should work in a terminal.
 

-Mark



On Aug 1, 2011, at 8:46 PM, Ryan Schmidt wrote:

 
 On Aug 1, 2011, at 18:15, mark brethen wrote:
 
 On Aug 1, 2011, at 11:55 AM, Daniel J. Luke wrote:
 
 On Jul 30, 2011, at 12:00 AM, mark brethen wrote:
 
 I'm confused how the python frameworks work. For instance, I should be 
 able to type 'pylint script.py' in a command window, but the command isn't 
 found. So I looked in /opt/local/bin and found 'pylint-2.7' which is a 
 symbolic link to 
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pylint'. 
 Spyder displays Please install pylint in the PyLint Panel, which I 
 suspect is because it can't find pylint. How do you set your environment 
 so that programs like Spyder find python binaries?
 
 The pylint port should probably provide links to the stuff that should be 
 available (like the trac port does). I would recommend that you open a 
 ticket in the issue tracker to get it fixed.
 
 There is no pylint port. There are:
 
 $ port echo name:py.*lint
 py-lint 
 py25-lint   
 py26-lint   
 py27-lint  
 
 As such, none of these ports can claim /opt/local/bin/pylint. That is why 
 there is a suffix on each binary. This is not a bug. Any port using this 
 software needs to refer to it by the correct suffixed name.
 
 I did some digging in the spyder script that checks for the existence of 
 pylint. It looks to me that spyder checks for the binary in the User's path. 
 This will return false since a symbolic-link to pylint, named 'pylint-2.7' 
 is installed in '/opt/local/bin'; pylint being installed into 
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pylint'. As 
 a test, I created another symbolic link 'pylint' that points to 'pylint-2.7' 
 and as expected, was able to use the pylint widget in spyder.  It seems to 
 me, a better way to test for its existence would use PYTHONPATH.
 
 Great, so it's a bug in the py*-spyder port(s) for not looking for pylint by 
 its correct MacPorts name. Please file a ticket.
 
 

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


Re: Python frameworks

2011-08-01 Thread mark brethen
I did some digging in the spyder script that checks for the existence of 
pylint. It looks to me that spyder checks for the binary in the User's path. 
This will return false since a symbolic-link to pylint, named 'pylint-2.7' is 
installed in '/opt/local/bin'; pylint being installed into 
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pylint'. As a 
test, I created another symbolic link 'pylint' that points to 'pylint-2.7' and 
as expected, was able to use the pylint widget in spyder.  It seems to me, a 
better way to test for its existence would use PYTHONPATH.

-Mark



On Aug 1, 2011, at 11:55 AM, Daniel J. Luke wrote:

 On Jul 30, 2011, at 12:00 AM, mark brethen wrote:
 
 I'm confused how the python frameworks work. For instance, I should be able 
 to type 'pylint script.py' in a command window, but the command isn't found. 
 So I looked in /opt/local/bin and found 'pylint-2.7' which is a symbolic 
 link to 
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pylint'. 
 Spyder displays Please install pylint in the PyLint Panel, which I suspect 
 is because it can't find pylint. How do you set your environment so that 
 programs like Spyder find python binaries?
 
 The pylint port should probably provide links to the stuff that should be 
 available (like the trac port does). I would recommend that you open a ticket 
 in the issue tracker to get it fixed.
 
 --
 Daniel J. Luke

 ++
 
 | * dl...@geeklair.net * |
   
 | *-- http://www.geeklair.net -* |
   
 ++
 
 |   Opinions expressed are mine and do not necessarily   |
   
 |  reflect the opinions of my employer.  |
   
 ++
 
 
 

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


Python spyder error

2011-07-30 Thread mark brethen
I think I have found a error with the Spyder python script 'pylintgui.py'. 
Looking at these lines in the code:

from spyderlib.utils import programs

PYLINT_PATH = programs.get_nt_program_name('pylint')

def is_pylint_installed():
   return programs.is_program_installed(PYLINT_PATH)

This will return false since a symbolic-link to pylint, named 'pylint-2.7' is 
installed in '/opt/local/bin'; pylint being installed into 
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pylint'.

I've notified the developer, but until this is fixed, what would be the best 
way to work around this issue?

-Mark



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


Python frameworks

2011-07-29 Thread mark brethen
I'm confused how the python frameworks work. For instance, I should be able to 
type 'pylint script.py' in a command window, but the command isn't found. So I 
looked in /opt/local/bin and found 'pylint-2.7' which is a symbolic link to 
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pylint'. 
Spyder displays Please install pylint in the PyLint Panel, which I suspect is 
because it can't find pylint. How do you set your environment so that programs 
like Spyder find python binaries?

-Mark



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


gd2 MacPorts packaging bug

2011-07-28 Thread mark brethen
Arial is gnuplot's default font for making PNG files. That font is present in 
/Library/Fonts but gnuplot is not finding it. Neither did setting the 
GDFONTPATH variable work for wxMaxima. A way around this issue was to put 'set 
term png font /Library/Fonts/Arial.ttf 12' in the '.gnuplot' file located in 
my user directory. 

-Mark



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


Re: gd2 MacPorts packaging bug

2011-07-28 Thread mark brethen
The line I put in the .gnuplot file has the same effect as:

export GDFONTPATH=/Library/Fonts/
gnuplot set term png font Arial 12

Ticket #26897 discusses the font path issue. Since there's no shell involved 
with wxMaxima,  the environment variable doesn't get passed along. But gnuplot 
reads it's init file when ever a job is submitted to it..


-Mark



On Jul 28, 2011, at 6:48 PM, Scott Webster wrote:

 Filing a ticket on the macports trac system will likely provide a
 faster response, but thanks for the report.
 
 Here is a link to instructions on filing a ticket:
 
 http://guide.macports.org/#project
 
 Scott
 
 On Thu, Jul 28, 2011 at 4:43 PM, mark brethen mbret...@aim.com wrote:
 Arial is gnuplot's default font for making PNG files. That font is present 
 in /Library/Fonts but gnuplot is not finding it. Neither did setting the 
 GDFONTPATH variable work for wxMaxima. A way around this issue was to put 
 'set term png font /Library/Fonts/Arial.ttf 12' in the '.gnuplot' file 
 located in my user directory.
 
 -Mark
 
 
 
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
 

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


python IDE?

2011-07-28 Thread mark brethen
With all the python ports available (I've installed numpy, sympy and 
matplotlib) are there any IDE ports? If not, what alternatives can you 
recommend?


-Mark



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


Re: python IDE?

2011-07-28 Thread mark brethen
spyder and python toolkit (PTK) provide MATLAB-like features. I found on the 
spyder web page a link to macports py26-spyder. Will py26 interfere with py27 
already installed under macports?

-Mark



On Jul 28, 2011, at 10:40 PM, Ned Deily wrote:

 In article 5855904b-5153-4d72-ba09-dc597aea6...@aim.com,
 mark brethen mbret...@aim.com wrote:
 
 With all the python ports available (I've installed numpy, sympy and 
 matplotlib) are there any IDE ports? If not, what alternatives can you 
 recommend?
 
 IPython is closely associated with Numpy and scientific and numeric 
 processing.
 
 http://ipython.org/
 http://www.macports.org/ports.php?by=namesubstr=ipython
 
 There is the venerable but still useful IDLE that is included with 
 Python.   You'll need to install the Tkinter port for the corresponding 
 Python port:
 
 http://www.macports.org/ports.php?by=namesubstr=tkinter
 
 (Also, currently the MacPorts Tk is an X11-based one.  There are more 
 native Tk ones available with other Python installations like the 
 python.org OS X installers.)
 
 -- 
 Ned Deily,
 n...@acm.org
 
 ___
 macports-users mailing list
 macports-users@lists.macosforge.org
 http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

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


Re: gd2 MacPorts packaging bug

2011-07-28 Thread mark brethen
I created the environment.plist and entered the GDFONTPATH and 
GNUPLOT_DEFAULT_GDFONT string values. This worked also. So, are you saying I 
shouldn't use .bashrc anymore? 

-Mark



On Jul 28, 2011, at 8:14 PM, Brandon Allbery wrote:

 On Thu, Jul 28, 2011 at 20:17, mark brethen mbret...@aim.com wrote:
 wxMaxima,  the environment variable doesn't get passed along. But gnuplot 
 reads it's init file when ever a job is submitted to it..
 
 No *login* shell is involved anywhere along the way (setting environment 
 variables in e.g. .bashrc is not an especially good idea, because it's harder 
 to override them when some other program needs them to be different).  Most 
 Linux desktop environments behave much the same way, and they generally 
 provide some way to set the environment of the desktop system itself for 
 cases like this.
 
 For OS X you want to look at ~/.MacOSX/environment.plist.  There are several 
 preference pane add-ons for it, or you can edit it directly via the XCode 
 Property List Editor or as XML text.  
 http://developer.apple.com/library/mac/#qa/qa1067/_index.html 
 
 -- 
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms
 

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


gd2 default font path (Ticket #26897)

2011-07-27 Thread mark brethen
Ticket #26897 was an enhancement to link the gd2 default directory to an actual 
font directory in Mac OS X. It also mentions that the GDFONTPATH environment 
variable doesn't work if there's no shell involved, for example when wxMaxima 
directly calls gnuplot to get a png plot. I installed the wxMaxima port 
recently, however the message, Could not find/open font when opening font 
arial, using internal non-scalable font is displayed, in spite of a patch 
that was added to the gd2 port. 

-Mark



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


gperf and pkgconfig

2011-07-24 Thread mark brethen
After installing octave and maxima ports, I found the following leaves:

Mark-Brethens-MacBook-Pro:~ marbre$ port echo leaves
autoconf   @2.68_2 
automake   @1.11.1_0 
bison  @2.5_0 
cmake  @2.8.4_0 
flex   @2.5.35_0 
gawk   @4.0.0_0 
gperf  @3.0.4_2 
gperf  @3.0.4_2+universal 
grep   @2.9_0 
gsed   @4.2.1_1 
less   @444_0 
ncursesw   @5.8_0 
pkgconfig  @0.26_0 
pkgconfig  @0.26_0+universal 
texinfo@4.13_2 
xorg-bigreqsproto  @1.1.1_0 
xorg-inputproto@2.0.1_0 
xorg-util-macros   @1.14.0_0 
xorg-xcmiscproto   @1.2.1_0 
xorg-xf86bigfontproto  @1.2.0_0 
xorg-xtrans@1.2.6_0 
xz @5.0.3_0

Notice that gperf and pkgconfig have a default and +universal variant 
installed. Why? Can I remove one? If so, which one should I keep?


-Mark



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


Can't install octave packages with octave-devel installed

2011-07-23 Thread mark brethen
There is a conflict when trying to install octave packages (e.g. 
octave-general) if octave-devel is installed.

Mark-Brethens-MacBook-Pro:group marbre$ sudo port -v install 
octave-generalPassword:
---  Computing dependencies for octave-general..Error: Unable to execute port: 
Can't install octave because conflicting ports are installed: octave-devel

I can understand why you should not be able to install octave if octave-devel 
is already installed, but the packages will work with either version. Can the 
'conflicts' keyword be suppressed?

-Mark



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


Re: Octave

2011-07-04 Thread Mark Brethen
I've learned that one of the other package managers wrote a patch for the 
symbolic package to get it to work.

Another thing I discovered, which may, or may not, be related, was a warning 
that the XdesignCompilerPlugin.xcplugin failed to load upon issuing the port 
install command. Coincidence?

###

-Mark

On Jul 3, 2011, at 5:23 PM, Brandon Allbery allber...@gmail.com wrote:

 On Sun, Jul 3, 2011 at 16:50, mark brethen mbret...@aim.com wrote:
 This was on GiNaC 1.5.8, so I should file a port update request ticket for 
 GiNaC. Where is this done?
 
 Use the MacPorts Trac at https://trac.macports.org/wiki/Tickets
 
 -- 
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Octave

2011-07-03 Thread mark brethen
I did find it odd that ginac-devel is not  available at the GiNaC website. 
However Octave-Forge lists ginac-devel as a build dependency for the symbolic 
package. Should this make a difference?

-Mark



On Jul 2, 2011, at 11:58 PM, Ryan Schmidt wrote:

 
 On Jul 2, 2011, at 22:04, mark brethen wrote:
 
 There's an octave package (symbolic) I wanted to install, but the portfile 
 doesn't exist, and it requires ginac-devel, which contains the libraries, 
 include files and other resources you use to develop GiNaC applications.
 
 FYI, some other package managers have this distinction of binaries in the foo 
 port and include files and other resources in a corresponding foo-devel port. 
 MacPorts does not have this distinction. Everything you need for GiNaC should 
 be in the GiNaC port. If it is not, file an enhancement request ticket. Also, 
 it appears not to be up-to-date. If you require a newer version of GiNaC than 
 is in MacPorts, you should file a port update request ticket.
 
 MacPorts does have -devel ports, but they serve an entirely different and 
 unrelated purpose, described here:
 
 https://trac.macports.org/ticket/14540
 
 
 

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


Re: Octave

2011-07-03 Thread mark brethen
I looked at portfiles of various octave packages already created (e.g. 
octave-plot, octave-statistics, etc.) and am puzzled why there isn't a download 
URL listed. How does port know where to find them? Do I need to include one for 
an octave-symbolic portfile I'm creating?

-Mark



On Jul 3, 2011, at 9:12 AM, Ryan Schmidt wrote:

 
 On Jul 3, 2011, at 08:56, mark brethen wrote:
 
 I did find it odd that ginac-devel is not  available at the GiNaC website. 
 However Octave-Forge lists ginac-devel as a build dependency for the 
 symbolic package. Should this make a difference?
 
 Then those instructions for octave-forge must be written for one of those 
 other package managers that have this foo / foo-devel split. MacPorts does 
 not have this split, so that directive is not applicable in MacPorts land.
 
 
 

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


Re: Octave

2011-07-03 Thread mark brethen
I created the portfile and put it in a local repository.

firedrake:ports marbre$ port search octave-symbolic
octave-symbolic @1.0.9 (math, science)
Symbolic toolbox based on GiNaC and CLN.
firedrake:ports marbre$ sudo port install octave-symbolic
---  Computing dependencies for octave-symbolic
---  Fetching octave-symbolic
---  Attempting to fetch symbolic-1.0.9.tar.gz from 
http://downloads.sourceforge.net/octave
---  Verifying checksum(s) for octave-symbolic
---  Extracting octave-symbolic
---  Configuring octave-symbolic
---  Building octave-symbolic
---  Staging octave-symbolic into destroot
---  Installing octave-symbolic @1.0.9_0
---  Activating octave-symbolic @1.0.9_0
---  Cleaning octave-symbolic

However, this package causes octave to crash:

octave:1 symbols
octave:2 R1=sym(r1)
octave(47027) malloc: *** error for object 0x7fff709c6500: pointer being freed 
was not allocated
*** set a breakpoint in malloc_error_break to debug
panic: Abort trap -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Abort trap

A search on google found this on Octave-Forge:

After a bit of debugging-by-mail we were able to determine that the 
error happens in line 90 of 'sym-create.cc'. That is at the end of a 
block when the 'GiNaC::symbol' destructor is being called. Somehow this 
causes a crash; I have been unable to determine why.

This was on GiNaC 1.5.8, so I should file a port update request ticket for 
GiNaC. Where is this done?

-Mark



On Jul 3, 2011, at 2:05 PM, Brandon Allbery wrote:

 On Sun, Jul 3, 2011 at 14:48, mark brethen mbret...@aim.com wrote:
 I looked at portfiles of various octave packages already created (e.g. 
 octave-plot, octave-statistics, etc.) and am puzzled why there isn't a 
 download URL listed. How does port know where to find them? Do I need to 
 include one for an octave-symbolic portfile I'm creating?
 
 If you look up toward the top of the Portfiles, you'll see the line
 
PortGroup   octave 1.0
 
 which is a canned recipe for Octave-related ports.  You can find these under
 
mress:10062 Z$ ls
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group
archcheck-1.0.tcl  octave-1.0.tcl qt4-1.0.tcl
cmake-1.0.tcl  perl5-1.0.tcl  ruby-1.0.tcl
crossbinutils-1.0.tcl  php5extension-1.0.tcl  select-1.0.tcl
gnustep-1.0.tclpure-1.0.tcl   swigbinding-1.0.tcl
haskell-1.0.tclpython24-1.0.tcl   tests/
hocbinding-1.0.tcl python25-1.0.tcl   texlive-1.0.tcl
hunspelldict-1.0.tcl   python26-1.0.tcl   x11font-1.0.tcl
kde4-1.0.tcl   python27-1.0.tcl   xcode-1.0.tcl
kde4-1.1.tcl   python31-1.0.tcl   xcodeversion-1.0.tcl
muniversal-1.0.tcl python32-1.0.tcl   zope-1.0.tcl
 
 
 -- 
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms

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


Octave

2011-07-02 Thread mark brethen
There's an octave package (symbolic) I wanted to install, but the portfile 
doesn't exist, and it requires ginac-devel, which contains the libraries, 
include files and other resources you use to develop GiNaC applications. I 
found an x86_64 package but have no idea whether this will build on OS 10.6 or 
what it's dependancies are. 

Looking for some direction before I write the portfiles.

- Mark




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


failure building smpeg

2008-08-16 Thread mark brethen
Need help troubleshooting this one:

cpe-69-205-67-178:~ marbre$ sudo port install smpeg +darwin_7
---  Fetching smpeg
---  Attempting to fetch smpeg-0.4.4.tar.gz from  
ftp://ftp.lokigames.com/pub/open-source/smpeg/
---  Attempting to fetch smpeg-0.4.4.tar.gz from  
http://svn.macports.org/repository/macports/distfiles/smpeg
---  Attempting to fetch ltconfig13 from  
http://svn.macports.org/repository/macports/distfiles/lt
---  Attempting to fetch ltmain13 from  
http://svn.macports.org/repository/macports/distfiles/lt
---  Verifying checksum(s) for smpeg
---  Extracting smpeg
---  Applying patches to smpeg
---  Configuring smpeg
---  Building smpeg 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_multime 
dia_smpeg/work/smpeg-0.4.4  make all  returned error 2
Command output: (cd .libs  rm -f libsmpeg.la  ln -s ../libsmpeg.la  
libsmpeg.la)
/usr/bin/g++-3.3 -DPACKAGE=\smpeg\ -DVERSION=\0.4.4\  
-Dsocklen_t=int  -I. -I.-I/opt/local/include  -O2  
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE  
-DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -c  
plaympeg.c
/bin/sh ./libtool --mode=link /usr/bin/g++-3.3  -O2  
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE  
-DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video  
-L/opt/local/lib -o plaympeg  plaympeg.o libsmpeg.la -L/opt/local/lib  
-lSDLmain -lSDL -Wl,-framework,Cocoa
/usr/bin/g++-3.3 -O2 -I/opt/local/include/SDL -D_GNU_SOURCE=1  
-D_THREAD_SAFE -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I.  
-I./audio -I./video -L/opt/local/lib -o plaympeg plaympeg.o  
.libs/libsmpeg.a -lSDLmain -lSDL -lSDLmain -lSDL -lSDLmain -lSDL  
-L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa
ld: warning suggest use of -bind_at_load, as lazy binding may result in  
errors or different symbols being used
symbol _acosl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _tanl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _tanhl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _asinl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _atan2l used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _atanl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _ceill used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _coshl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _cosl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _expl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _floorl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _fmodl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _frexpl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _hypotl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _ldexpl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _log10l used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _logl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _modfl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _powl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _sinhl used from dynamic library  
/usr/lib/libstdc++.6.dylib(single module) not from earlier dynamic  
library 

Macports selfupdates

2008-08-15 Thread mark brethen
Hi folks,

I'm currently at v1.440 of Macports, running OS 10.3.9. I will soon be 
updating the Mac OS to 10.4.11. Anything I should know about Macports 
before I install the new OS?

Mark
mailto:[EMAIL PROTECTED]

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


Re: Macports selfupdates

2008-08-15 Thread mark brethen
Thanks for the heads-up Ryan! One thing puzzles me though:  
'/Applications/MacPorts' does not exist on my machine.

Mark
mailto:[EMAIL PROTECTED]
On Aug 15, 2008, at 10:55 PM, Ryan Schmidt wrote:

 rename /Applications/MacPorts to /Applications/MacPorts-10.3

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


Re: libmad developer package

2007-05-16 Thread mark brethen

On May 16, 2007, at 10:33 AM, [EMAIL PROTECTED] wrote:


mark brethen [EMAIL PROTECTED] on Wednesday, May 16, 2007 at 3:55 AM
-0800 wrote:

mark brethen [EMAIL PROTECTED] on Tuesday, May 15, 2007 at 5:59 PM
-0800
wrote:

Well, I already installed libmad, and checked its contents

Port libmad contains:
  /opt/local/include/mad.h
  /opt/local/lib/libmad.0.2.1.dylib
  /opt/local/lib/libmad.0.dylib
  /opt/local/lib/libmad.a
  /opt/local/lib/libmad.dylib
  /opt/local/lib/libmad.la

Why then does it not find it when I do a make root_install? The 
error

below,

checking for mad_frame_decode in -lmad... no
configure: error: libmad needed! Download the latest version at
   http://www.mars.org/home/rob/proj/mpeg/
make: *** [root_libmp3splt] Error 1


Well it looks like it has all the files:

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/audio/libmad/
pkg-plist?rev=1.3;content-type=text%2Fplain

I wonder if this is normal?  Anyone?

otool -L /opt/local/lib/libmad.0.2.1.dylib
/opt/local/lib/libmad.0.2.1.dylib:
/opt/local/lib/libmad.0.dylib (compatibility version 3.0.0,
current version 3.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current
version 88.3.4)

I'm beyond my knowledge on this, but I see the freebsd port set it in
pkg-config.  Could configure be consulting that?  If so, uninstall it
and
try the fixed up one I attached.  Just cd to the unzipped directory
and do
a port install from there.  It adds:

/opt/local/lib/pkgconfig/mad.pc

And so pkg-config works:

$ pkg-config --libs mad
-L/opt/local/lib -lmad -lm

If that doesn't do it I'm out of guesses.  If it does, tell me and 
I'll

commit the changes.

Mark



libmad.zip


I'll try it later today. One thing I noticed, this file:

libdata/pkgconfig/mad.pc

is not in my /opt/local directory. In fact, I can't find it anywhere.


That's the one that my modifications added.  That was the one that the
freebsd port had that the MacPorts one lacked.

Mark



I installed your modified port but I get this:

brethen-familys-Computer:~ marbre$ pkg-config --libs mad
Package mad was not found in the pkg-config search path.
Perhaps you should add the directory containing `mad.pc'
to the PKG_CONFIG_PATH environment variable
No package 'mad' found

Not sure why. Everything else is there.

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


Re: autoconf macport vs panther's

2007-05-15 Thread mark brethen
Modified the system-wide profile. It's working, but I've encountered 
another problem; this is on a compile


checking for mad_frame_decode in -lmad... no
configure: error: libmad needed! Download the latest version at
   http://www.mars.org/home/rob/proj/mpeg/

port installed gives

libmad @0.15.1b_0 (active)

why is it not finding the library?

Mark
mailto:[EMAIL PROTECTED]
On May 15, 2007, at 6:29 PM, Erik de Castro Lopo wrote:


mark brethen wrote:


I installed autoconf 2.61; is there a way to bypass the older version
panther installed in /usr/bin/ ? Do I even need it (i.e. could I just
change the name)?


If you modify your PATH environment variable to put /opt/usr/local/bin
before /usr/bin you will get the macport programs in place of the OS
supplied ones.

Erik
--
-
Erik de Castro Lopo
-
I saw `cout' being shifted Hello world times to the left
and stopped right there. -- Steve Gonedes
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users



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


libmad developer package

2007-05-15 Thread mark brethen
port search for libmad-dev  libmad-devel showed no ports available. 
What are my options? I need this to compile a program.


Mark
mailto:[EMAIL PROTECTED]

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


Re: libmad developer package

2007-05-15 Thread mark brethen

Well, I already installed libmad, and checked its contents

Port libmad contains:
  /opt/local/include/mad.h
  /opt/local/lib/libmad.0.2.1.dylib
  /opt/local/lib/libmad.0.dylib
  /opt/local/lib/libmad.a
  /opt/local/lib/libmad.dylib
  /opt/local/lib/libmad.la

Why then does it not find it when I do a make root_install? The error 
below,


checking for mad_frame_decode in -lmad... no
configure: error: libmad needed! Download the latest version at
   http://www.mars.org/home/rob/proj/mpeg/
make: *** [root_libmp3splt] Error 1


Mark
mailto:[EMAIL PROTECTED]
On May 15, 2007, at 8:37 PM, [EMAIL PROTECTED] wrote:

mark brethen [EMAIL PROTECTED] on Tuesday, May 15, 2007 at 5:18 PM 
-0800

wrote:

port search for libmad-dev  libmad-devel showed no ports available.
What are my options? I need this to compile a program.


Do you mean audio/libmad?  I'm not familiar with it but have you seen 
that?


Mark



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


Re: autoconf macport vs panther's

2007-05-15 Thread mark brethen

On May 15, 2007, at 9:08 PM, Ryan Schmidt wrote:



On May 15, 2007, at 18:31, mark brethen wrote:


checking for mad_frame_decode in -lmad... no
configure: error: libmad needed! Download the latest version at
   http://www.mars.org/home/rob/proj/mpeg/

port installed gives

libmad @0.15.1b_0 (active)

why is it not finding the library?


What isn't finding the library? What port are you trying to compile 
when you get this error?





I'm trying to compile the latest sbv of mp3splt. The current port 
doesn't work with freedb anymore. However, configure fails on libmad -- 
it acts like it's not linking with the library.


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


Re: subversion install error (file already exists)

2007-05-14 Thread mark brethen

On May 14, 2007, at 11:16 PM, Ryan Schmidt wrote:



On May 14, 2007, at 21:52, mark brethen wrote:


I get this error when trying to install subversion.

The following ports are currently installed:
  apr @1.2.8_0 (active)
  frotz @2.43_0 (active)
  lesstif @0.93.94_0 (active)
  libid3tag @0.15.1b_0 (active)
  libmad @0.15.1b_0 (active)
  libogg @1.1.2_0
  libogg @1.1.3_0 (active)
  libvorbis @1.1.0_0
  libvorbis @1.1.2_0 (active)
  mp3splt @2.1_0
  mutella @0.4.3_0
  mutella @0.4.5_0 (active)
  readline @5.0.005_0
  readline @5.1.004_0 (active)
  xephem @3.5.2_0 (active)
brethen-familys-Computer:~ marbre$ sudo port install subversion
---  Staging db44 into destroot
Error: Target com.apple.destroot returned: error deleting  
/opt/local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ 
dports_databases_db44/work/destroot/opt/local/share/db44-4.4.20/ 
api_c: file already exists
Error: The following dependencies failed to build: apr-util db44  
expat libiconv neon gettext openssl zlib


I don't know why that's happening, but do you really need Berkeley DB?  
It's generally not required for Subversion. To build without BDB:


$ sudo port install apr-util +no_bdb
$ sudo port install subversion +no_bdb





A selfupdate solved that problem, but now I get this:

---  Building libiconv with target all
Error: Target com.apple.build returned: shell command cd  
/opt/local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_textproc_libiconv/work/libiconv-1.11  make -f Makefile.devel  
returned error 2

Command output: gcc -O lib/genaliases.c -o genaliases
./genaliases  lib/aliases.gperf 3 canonical.sh 4 canonical_local.sh
rm -f genaliases
gperf -m 10 lib/aliases.gperf  tmp.h
gperf: invalid option -- m
Usage: gperf  
[- 
cCdDef[num]FinitializersGhHhashnameiinitIjkkeysKkeynamelLlang 
uagenNfunction nameorssizeSswitchestTvWwordlistnameZclass  
name7] [input-file]

Try `gperf --help' for more information.
make: *** [lib/aliases.h] Error 1

Any ideas?

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