Re: strange gfortran problem

2012-04-26 Thread Victor Eijkhout
On Apr 26, 2012, at 11:22 PM, Jason Swails wrote: > The problem is that the behavior you are seeing is allowed under the Fortran > standard I'll take your word for it. I ran into this when I compiling some software that used kind(5) as a synonym for INTEGER*4 (after all, 32k is 5 digits) and s

Re: strange gfortran problem

2012-04-26 Thread Victor Eijkhout
On Apr 26, 2012, at 9:58 PM, Ryan Schmidt wrote: > Test with gcc47 and gcc48 I did, at least version 4.8. But the problem is that it behaves differently with MacPorts than the gcc distribution on Linux, so the package maintainer for gcc might know more about it. Victor. __

strange gfortran problem

2012-04-26 Thread Victor Eijkhout
this may be more suited for the dev list…. I have a small fortran program that gives different (read: wrong) output on macports from on linux. [albook:~/Current/petsc-course/course20120514/fsolutions] %% gfortran --version GNU Fortran (GCC) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc

Re: gcc selecting does not update gfortran

2012-04-26 Thread Victor Eijkhout
On Apr 26, 2012, at 6:18 PM, Ryan Schmidt wrote: > Does "sudo port select --set gcc none" properly delete the gfortran and other > links? My problem may have been due to there being an alias in addition to the links. Dang. Sorry to have bothered you. Victor. _

gcc selecting does not update gfortran

2012-04-26 Thread Victor Eijkhout
[albook:~/Current/petsc-course/course20120514/fsolutions] %% port select gcc Available versions for gcc: gcc42 llvm-gcc42 mp-gcc46 (active) mp-gcc48 none [albook:~/Current/petsc-course/course20120514/fsolutions] %% sudo port select --set gcc mp-gcc46 Selecti

texlive / beamer / pgfxxx problem

2010-07-29 Thread Victor Eijkhout
This used to work a few weeks ago. Using pdflatex with the beamer package leads to "pgfcore.sty" not found. Looking through the log I find that macros are found on this path: /opt/local/share/texmf-texlive-dist/tex/latex/beamer/beamer.cls but the only pgf macros are in this directory: /opt/loc

Re: mayavi conundrum

2010-07-08 Thread Victor Eijkhout
On 2010/07/08, at 4:10 PM, Ryan Schmidt wrote: > It looks like py26-mayavi requires vtk5 be installed with the carbon variant, > and that you cannot install vtk5 with the carbon variant if you are also > requesting the x11 variant. That's what the message says. > So don't request the x11 vari

mayavi conundrum

2010-07-08 Thread Victor Eijkhout
---> Verifying checksum(s) for vtk5 ---> Extracting vtk5 ---> Configuring vtk5 ---> Building vtk5 ---> Staging vtk5 into destroot ---> Installing vtk5 @5.2.1_2+tcltk+x11 ---> Activating vtk5 @5.2.1_2+tcltk+x11 ---> Cleaning vtk5 ---> Fetching py26-mayavi Error: vtk must be installed with t

Re: where do I find gfortran?

2010-06-13 Thread Victor Eijkhout
On 2010/06/13, at 5:17 PM, Anthony Michael Agelastos wrote: > $ which gfortran-mp-4.6 > /opt/local/bin/gfortran-mp-4.6 Ah. Thanks. Victor. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinf

where do I find gfortran?

2010-06-13 Thread Victor Eijkhout
It seems installed, but it's not in the usual paths. [albook:~] %% which gfortran [albook:~] %% port installed gcc46 The following ports are currently installed: gcc46 @4.6-20100508_0 gcc46 @4.6-20100508_0+gfortran (active) Victor. ___ macports-user

Re: gcc install problems

2010-05-24 Thread Victor Eijkhout
On 2010/05/23, at 5:12 PM, Ryan Schmidt wrote: > Several others have reported this problem before, e.g. > > http://trac.macports.org/ticket/24664 I did the port clean and reinstall and that solved it for me. Victor. ___ macports-users mailing list ma

gcc install problems

2010-05-23 Thread Victor Eijkhout
I've deinstalled & reinstalled everything for the transition to Snow Leopard, but I'm still having trouble with gcc, various versions. ---> Computing dependencies for gcc46 ---> Building gcc46 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_loc

Re: gcc > libmpc : libgmp not found

2010-05-19 Thread Victor Eijkhout
On 2010/05/19, at 9:01 PM, Ryan Schmidt wrote: > So the problem shown in the log is: > > ld: warning: in /opt/local/lib/libgmp.dylib, file was built for i386 which is > not the architecture being linked (x86_64) > > So you're trying to build libmpc for x86_64 but its dependency gmp is built >

Re: gcc > libmpc : libgmp not found

2010-05-19 Thread Victor Eijkhout
On 2010/05/19, at 7:16 PM, Rainer Müller wrote: > On 2010-05-19 18:22 , Victor Eijkhout wrote: >> checking for __gmpz_init in -lgmp... no >> configure: error: libgmp not found or uses a different ABI. > > Could you please provide the following file? > $(port work libm

gcc > libmpc : libgmp not found

2010-05-19 Thread Victor Eijkhout
[albook:~/Installation/libflame] %% sudo port install gcc45 Password: ---> Computing dependencies for gcc45 ---> Configuring libmpc Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.

new build of python?

2010-05-14 Thread Victor Eijkhout
Python has been build with gcc 4.0.1, which was described to me as "ancient". Is there a python version build with 4.2.whatever? In particular, I have trouble interfacing python to C libraries because python is built with 32 bit pointers, my libraries with 64-bit. Would it make sense for pytho

no py.test? also: use of macport python packages under other python

2010-05-11 Thread Victor Eijkhout
I'm not finding py.test under "port list | grep test". Not there? Ok, maybe it's not there. Second question: I have a bunch of python packages installed. And I have probably 3 different pythons on my system. How do I tell the other two where the macports packages are so that they can import them

python/nltk problem

2010-03-08 Thread Victor Eijkhout
This worked before I did "upgrade outdated" a couple of days ago. %% python Python 2.6.4 (r264:75706, Nov 14 2009, 07:09:21) [GCC 4.0.1 (Apple Inc. build 5490)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import nltk Traceback (most recent call last): Fi

strange error installing wxpython

2009-09-04 Thread Victor Eijkhout
8.9.1/wxPython" && /opt/local/bin/python2.5 setup.py build " returned error 1 Command output: sh: line 0: cd: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_python_py25-wxpython/work/wxPython- src-2.8.9.1/wxPython: No such fi

numpy question: how to get started

2009-05-11 Thread Victor Eijkhout
e "", line 1, in ImportError: No module named multarray ?? Victor. -- Victor Eijkhout, 512 471 5809 (w), 512 499 0504 (h) Texas Advanced Computing Center, The University of Texas at Austin ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: problem installing doxygen on 10.5.6

2009-04-21 Thread Victor Eijkhout
ports/macports.conf | awk 'p==1 {print; p=0} /architecture/ {p=1}' universal_archs ppc i386 [albook:~] %% Anything else? Victor. -- Victor Eijkhout, 512 471 5809 (w), 512 499 0504 (h) Texas Advanced Computing Center, The University of Texas at Austin _

problem installing doxygen on 10.5.6

2009-04-21 Thread Victor Eijkhout
: error: initializing argument 2 of 'size_t libiconv(void*, const char**, size_t*, char**, size_t*)' make[2]: *** [../objects/portable.o] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2 -- Victor Eijkhout, 512 471 5809 (w), 512 499 0504 (h) Texas Advanced Computing Center,