Re: lost terminal after quitting python3
> On Mar 20, 2016, at 3:31 PM, Brandon Allberywrote: > >> On Sun, Mar 20, 2016 at 3:13 PM, wrote: >> Still lost keyboard. When I start new terminal I see what I have typed into >> the dead one in command history. >> I will try to reinstall python33 with +readline. > > Sorry, I meant that's what to type into the "dead" terminal to make it behave > again. When python3 is using libedit, for some reason it doesn't reset to > linemode+echo on exit. Seeing stuff in command history would seem to confirm > this. Type "reset". I think that's the answer you're looking for here based on my understanding of the question. All the best, Jason___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Error installing gnu cash with xquartz: libcanberra must be installed with +x11
On Wed, Jun 4, 2014 at 10:15 PM, Gustavo Seabra gustavo.sea...@gmail.com wrote: Hi Guys, I’m trying to install gnucash by following the instructions here: http://wiki.gnucash.org/wiki/MacOSX/MacPortsDetail According to them, it gnucash needs to use xquartz, so that’s what I’m using. However, after a long, long time, the installation stops with the message below. Isn’t it possible to install gnucash with xquartz anymore? It looks like not all of the variants are getting set appropriately in the dependencies (either that or some of the dependencies were already installed without the proper variants). If I had to guess, I would say it's probably a subtle error with some of the MacPorts dependency trees. You can try rebuilding libcanberra with the +x11 variant and then try gnucash again. This is the approach I've used in the past when I've gotten similar errors. It sometimes takes a bit of prodding (basically doing this over and over for all unsatisfied dependencies until it works). All the best, Jason -- Jason M. Swails BioMaPS, Rutgers University Postdoctoral Researcher ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: macports or meld issue?
On Mon, 2014-05-05 at 11:54 -0400, Gus Heck wrote: I'm having more or less exactly this issue: https://www.mail-archive.com/meld-list@gnome.org/msg02071.html on OSX 10.9.2... I had never found need to use any of homebrew/fink/macports but apparently fink or macports is the recommended way to get meld and I wanted to get meld... after many many minutes of downloading dependencies (my connection is 25/25 Business class fiber, so clearly the source locations must be slow or meld is bigger than TexShop... ) all I got for my effort was http://pastebin.com/3QptJPsz. FWIW, I run meld on Mac OS X 10.9 all the time. You have to start dbus like Jeremy said, but that's all I had to do to get meld working through MacPorts. All the best, Jason -- Jason M. Swails BioMaPS, Rutgers University Postdoctoral Researcher ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: uninstalling a selected port ...
On Fri, 2014-02-28 at 14:53 +0100, Peter Danecek wrote: On 28 Feb 2014, at 14:44, Jason Swails jason.swa...@gmail.com wrote: On Fri, 2014-02-28 at 14:33 +0100, Peter Danecek wrote: Hi all, I observe a behaviour, which I believe is due to the fact that I uninstalled an selected port (see below). This seems to leave the selection mechanism in an undesired state and should be handled. Now I wonder which is the expected behaviour, so that I can eventually file a ticket against the right component. Thanks! --- snip --- petr% sudo port select --list postgresql Available versions for postgresql: none (active) postgresql93 petr% sudo port select --set postgresql postgresql93 Selecting 'postgresql93' for 'postgresql' failed: symlink: /opt/local/etc/select/postgresql/current- postgresql93: file already exists Try forcing the issue. sudo port -f select --set postgresql postgresql93 In my opinion, such protection is a Good Thing (TM). There's a way to work around it if you know the reason behind the file collision, but I certainly wouldn't want a program (especially one I run as root) to go around clobbering existing files without me knowing it. Well, I understand your point and it would be fine if it is decided to leave ALL untouched. But then in expect consistent information, i.e. all should be left pointing to `postgresql92` (even if it does not exist), so at least you know the status. If I am informed that it point to `none` this should be the case. I believe it is consistent. As I understand it, the simlinks created by port select are not *owned* by the selected port. Since the port itself does not maintain these simlinks (but rather 'port select' does), there are good arguments to be made that the port should _not_ own simlinks created by select. As a result, uninstalling that port should not touch those simlinks. This results in the errors you saw. An alternative when you know that you are uninstalling a port is to select none. So something like sudo port select --set postgresql none to get rid of the simlinks, then another sudo port select --set postgresql postgresql93 to set the simlinks to the new version you want to track. (This approach is untested, but I think it should work.) A feature request may be for port select to detect dangling links and print an informative message (perhaps with a suggested command to eliminate the dangling links). That's largely aesthetic, though. All the best, Jason -- Jason M. Swails BioMaPS, Rutgers University Postdoctoral Researcher ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: uninstalling a selected port ...
On Fri, Feb 28, 2014 at 9:30 AM, Peter Danecek peter.dane...@bo.ingv.itwrote: On 28 Feb 2014, at 15:17, Jason Swails jason.swa...@gmail.com wrote: An alternative when you know that you are uninstalling a port is to select none. So something like sudo port select --set postgresql none to get rid of the simlinks, then another sudo port select --set postgresql postgresql93 to set the simlinks to the new version you want to track. (This approach is untested, but I think it should work.) A feature request may be for port select to detect dangling links and print an informative message (perhaps with a suggested command to eliminate the dangling links). That's largely aesthetic, though. This does not work (tested). You cannot set new pointers after uninstalling the port, not even to none. I have not tested forcing but remove the link to be able to use port select again. I am not sure this is only aesthetic! I'll agree with you now. -f should only be required if you do something atypical -- I don't like it as part of a required workflow. I've needed it before, but that was when I deleted /opt/local to reinstall MacPorts and file collisions occurred inside other folders (like /Applications/MacPorts). (should we move this discussion on devel?) I have no opinion here. I'm not subscribed to that list and do not actively help to maintain MacPorts... All the best, Jason -- Jason M. Swails BioMaPS, Rutgers University Postdoctoral Researcher ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Why .gz files are not colored with `ls --color=auto`?
On Mon, 2013-12-02 at 12:17 -0600, Peng Yu wrote: Hi, On ubuntu, `ls --color=auto` colors .gz files. But it (the one from macports) does not .gz files on Mac. Does anybody know how to make it color .gz files as well on mac? Thanks. According to the GNU manpage for ls (on Linux): Using color to distinguish file types is disabled both by default and with --color=never. With --color=auto, ls emits color codes only when standard output is connected to a terminal. The LS_COLORS environment variable can change the settings. Use the dircolors command to set it. So you can use the dircolors command to set the LS_COLORS environment variable so that ls will appropriately color files the way you want them colored. If you like the way Ubuntu does it, though, you can just copy the LS_COLORS value from Ubuntu and put it in your Mac's .bashrc file: swails@ubuntu $ echo $LS_COLORS rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli =01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: swails@mac $ export LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=0 1;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: HTH, Jason -- Jason M. Swails BioMaPS, Rutgers University Postdoctoral Researcher ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: How to let g++ search for library directory /opt/local/lib/
On Sat, Mar 16, 2013 at 11:40 AM, Peng Yu pengyu...@gmail.com wrote: Hi, g++ does not search /opt/local/lib/ by default. Does anybody know how to let it search /opt/local/lib/ by default? ~/linux/test/cpp/library/pcrecpp$ port select gcc Available versions for gcc: apple-gcc42 (active) llvm-gcc42 mp-gcc45 mp-gcc47 none ~/linux/test/cpp/library/pcrecpp$ g++ main.o -lpcrecpp -o main -L/opt/local/lib/ ~/linux/test/cpp/library/pcrecpp$ g++ main.o -lpcrecpp -o main ld: library not found for -lpcrecpp collect2: ld returned 1 exit status You should activate one of the MacPorts compilers instead of the apple version. mp-gcc47 and mp-gcc45 should automatically search in /opt/local/lib for libraries. Alternatively, you can add /opt/local/lib to LD_LIBRARY_PATH: export LD_LIBRARY_PATH=/opt/local/lib:$LD_LIBRARY_PATH g++ main.o -lpcrecpp -o main Good luck, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: processing wxWidgets failed
On Wed, Aug 29, 2012 at 11:10 AM, Murray Eisenberg murrayeisenb...@gmail.com wrote: I attempted 'sudo port install wxWidgets' and got an Error: Processing of port wxWidgets failed. This is under OS X 10.8.1 with current XCode command-line tools installed and using MacPorts 2.1.2. Here's output from 'sudo port -d install wxWidgets': [snip] DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8' DEBUG: Assembled command: 'cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build /usr/bin/make -w' DEBUG: Executing command line: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build /usr/bin/make -w make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build/bk-deps /usr/bin/llvm-g++-4.2 -c -o basedll_dynlib.o -I./.pch/wxprec_basedll -D__WXMAC__ -DWXBUILDING -I../src/regex -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -dynamic -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_wxWidgets/wxWidgets/work/wxWidgets-2.8.12/build/lib/wx/include/mac-unicode-release-2.8 -I../include -fpascal-strings -I../src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon -I/opt/local/include -arch i386 -I/opt/local/include -DWX_PRECOMP -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -pipe -O2 -arch i386 -fno-common ../src/common/dynlib.cpp In file included from ../include/wx/mac/private.h:4, from ../src/common/dynlib.cpp:48: ../include/wx/mac/carbon/private.h:1459: error: ‘Cursor’ does not name a type ../include/wx/mac/carbon/private.h:1488: error: ‘ClassicCursor’ does not name a type make: *** [basedll_dynlib.o] Error 1 This package is failing for me as well with similar error messages... (Many 'name does not have a type' errors, can't remember if it's these two specifically). This is following a recent selfupdate, as well. All the best, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: gfortran with Xcode 4.3.2 unreliable
On Sun, Jun 10, 2012 at 7:49 AM, Vincent Habchi vi...@macports.org wrote: On 10 juin 2012, at 09:08, Ryan Schmidt ryandes...@macports.org wrote: This problem with the gmp port has already been fixed in r94119. Was there a new test suite applied after this patch? The conclusion we must use llvm-gcc42 instead of clang seems to bear a relation with something I noticed on Atlas (together with the maintainer), that is (purely mathematical) code fails testing. As if the FP code produced by clang was somehow buggy. I've been using llvm-gcc42: Jasons-MacBook-Pro:~ swails$ port installed | grep -i clang Jasons-MacBook-Pro:~ swails$ Also, after doing a port selfupdate and port upgrade outdated (and just installing MacPorts from scratch) resolves the issue. Before the update: Jasons-MacBook-Pro:~ swails$ ./a.out selected_real_kind(15,307) = 10 selected_real_kind(6,37) =8 selected_real_kind(13,307) = 10 After the update: Jasons-MacBook-Pro:~ swails$ gfortran test.F90 Jasons-MacBook-Pro:~ swails$ ./a.out selected_real_kind(15,307) =8 selected_real_kind(6,37) =4 selected_real_kind(13,307) =8 This program was designed to test the behavior of selected_real_kind, and it now behaves properly. I can't report regarding clang, but llvm-gcc42 works fine. Thanks! Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
gfortran with Xcode 4.3.2 unreliable
Hello, There was a thread ~1 month ago regarding gfortran that was acting strangely. Here's a link to that thread: http://lists.macosforge.org/pipermail/macports-dev/2012-May/019098.html I haven't seen any responses or anything to this, and I was wondering if anyone else had run into issues trying to use gfortran from any of the gcc4X builds using Xcode 4.3.x on Lion. There seems to be something *seriously* wrong with the Fortran compiler built with MacPorts -- in a very Fortran-heavy program suite, nearly half of the tests are suddenly failing when built with these compilers even after the selected_real_kind() issues are resolved. And the failures are not blatantly ridiculous, they're subtle, but currently I'm wary of trusting anything the MacPorts-built GCC compilers (at least the Fortran compilers) spit out. Thanks! Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: gfortran with Xcode 4.3.2 unreliable
On Sat, Jun 9, 2012 at 1:47 PM, Sean Farley sean.michael.far...@gmail.comwrote: There was a thread ~1 month ago regarding gfortran that was acting strangely. Here's a link to that thread: http://lists.macosforge.org/pipermail/macports-dev/2012-May/019098.html I haven't seen any responses or anything to this, and I was wondering if anyone else had run into issues trying to use gfortran from any of the gcc4X builds using Xcode 4.3.x on Lion. There seems to be something *seriously* wrong with the Fortran compiler built with MacPorts -- in a very Fortran-heavy program suite, nearly half of the tests are suddenly failing when built with these compilers even after the selected_real_kind() issues are resolved. And the failures are not blatantly ridiculous, they're subtle, but currently I'm wary of trusting anything the MacPorts-built GCC compilers (at least the Fortran compilers) spit out. Yes, you are correct that this is seriously wrong and very subtle. The issue is with gmp and causes gfortran to erroneously double the size of (at least) ints. I opened a ticket here with a patch: It's not just ints -- it's floats, too. reals are erroneously passed as doubles, and doubles as 10-byte floats (??), but only sometimes... It's hard to determine what exactly is happening (especially since I'm more of a user of programming and less of a pure programmer). However, a comprehensive test suite that tests out fine with GCC 4.2, 4.3, 4.4, 4.5, 4.6, and 4.7, along with all flavors of (buggy) intel fortran compilers, and the PGI compilers all fail with this particular gfortran build. I will look through your patch and see if it fixes my problems (this is affecting quite a few users of this program suite). If so, hopefully the port maintainer (or some other dev) can apply this fix, because just fixing it for me is not enough (I have the 10.6 SDK, so I'm not even affected by this). For what it's worth, the compilers on hpc.sourceforge.net appear to work just fine, but I'm not a fan of always using the bleeding-edge, latest-checkout-version of the compiler suite... It's bitten me on a couple of occasions. https://trac.macports.org/ticket/34491 that fixes the gmp issue and also fixes debuggers loading shared symbols; but haven't heard back from the macports devs at all on the issue. You should be able to apply the patch yourself and rebuild everything from source with the -s option: $ sudo port uninstall --follow-dependents gmp $ sudo port -vs install gcc47 or whichever gcc you have installed. Hope that helps! The debug symbols are great! Thanks for this! Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: gcc45 and gfortran issue
You should install gcc_select and make sure you set the proper compiler suite: sudo port install gcc_select sudo port select gcc mp-gcc45 That should set up the symlinks so that 'gfortran' in /opt/local/bin links to gfortran-mp-4.5 HTH, Jason On Tue, May 1, 2012 at 7:17 AM, Marcelo Chiapparini marcelo.chiappar...@gmail.com wrote: Hello, I am running macports 2.04. I've installed gcc45: $ port installed gcc45 The following ports are currently installed: gcc45 @4.5.3_3 (active) but I am unable to run gfortran: $ gfortran -bash: gfortran: command not found What do I need in order to activate gfortran? Thanks in advance, Marcelo ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: gnuplot on MacPorts with aqua?
Have you tried rebuilding aquaterm with MacPorts? On Fri, Apr 27, 2012 at 5:08 PM, Marko Käning mk-macpo...@techno.ms wrote: On Apr 27, 2012, at 11:04 PM, Jason Swails wrote: $ port installed gnuplot The following ports are currently installed: gnuplot @4.4.4_0+luaterm+pangocairo (active) It plots on aqua just fine... This is on an OS X 10.7.3 box that was upgraded from 10.6, running Xcode 4.2. Same on my end, except that I am on OS X 10.6.8 with Xcode 3.2.6! Well, and it doesn't work with aqua, unfortunately. :-/ ___ 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: gnuplot on MacPorts with aqua?
On Fri, Apr 27, 2012 at 5:16 PM, Marko Käning mk-macpo...@techno.ms wrote: On Apr 27, 2012, at 11:13 PM, Jason Swails wrote: Have you tried rebuilding aquaterm with MacPorts? Hmm, well, I have it installed just fine: $ port installed aquaterm The following ports are currently installed: aquaterm @1.0.1_5 (active) Could rebuilding it change the situation? Potentially -- MacPorts doesn't check to see if there is something wrong with the files that belong to each installed port -- just that it's there. If something has changed, I could imagine aquaterm breaking (I've had trouble with it in the past, but not with my current system). To be thorough, I would uninstall and reinstall both aquaterm (first) and gnuplot (after). Hopefully this works... Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: strange gfortran problem
The problem is actually with MacPorts 4.3.2. A little more accurately, this is NOT an actual bug. The problem is that the behavior you are seeing is allowed under the Fortran standard -- that's why selected_int_kind exists in the first place. I had to issue a patch for a piece of software that used selected_real_kind(), but assumed that it would always return 8 as used. From all the searching I did, I found that this behavior was perfectly within the Fortran standard, and that we had to become compliant with it. My suggestion is to avoid roll-your-own precision to avoid problems like this. If you need to use it, make sure you always use the enquiry intrinsics (selected_real_kind and selected_int_kind), and never assume it will take a particular value. To reiterate, this behavior ONLY arose when I built all my ports with Xcode 4.3.2, and never with older Xcodes (that is, if I built gcc4x with Xcode 4.3.2, it would happen regardless of which FCC I built). I agree the behavior differs in my experiences with Linux, but there are other OSes and compilers that behave differently as well (or so I read). HTH, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 On Apr 26, 2012, at 11:23 PM, Victor Eijkhout eijkh...@tacc.utexas.edu wrote: 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. ___ 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: tcsh -- bash
On Sun, Apr 22, 2012 at 11:09 AM, M. Daniel Becque mdbec...@gmail.comwrote: When I installed Macports my machine was configured with tcsh as the default shell [it's a G4 mac running 10.4]. I want to change the default shell to bash. Easy to do but my question is what do I need to change in my Macports setup? It looks like I'll need to add the Macports path to my ~/.profile, but is there anything else I am missing? When MacPorts installed, it just dumped the statement: export PATH=/opt/local/bin:/opt/local/sbin:$PATH to my ~/.bash_profile. Since everything else should be shell-independent, I don't think there's anything else you need. If you're making the switch to bash, though, I highly recommend installing the bash-completion port and putting the line: test -f /opt/local/etc/bash_completion . /opt/local/etc/bash_completion in your ~/.bashrc or ~/.bash_profile. Bash-completion is awesome, and they have completion for just about anything you could want :) (git, ssh, rsync, make, configure, cvs, cups, bip2, autoconf, coreutils--just to name a few. One of my machines claims to have over 200 available bash completion options). All the best, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: help
On Thu, Jan 26, 2012 at 5:45 PM, Chris Jones jon...@hep.phy.cam.ac.ukwrote: gfortran comes installed as part of gcc44 and gcc45 (and maybe gcc46, now, I'm not sure). gcc 4.6 has it. I know 4.6 has it (I've installed it and used it), but the last time I installed 4.6, _that_ was the current developer version and gfortran was only available as a variant. Since it's now among the stable releases, I didn't know if MacPorts built gfortran into the standard build without needing to specify a specific variant. Since I use the Fortran compiler extensively to build the software I use every day, and the OP's email address suggests a similar field to mine, I'll post a walkthrough for how to use MacPorts to set a Mac up to use computational modelling software: http://jswails.wikidot.com/mac-os-x. Hopefully it's helpful there (since the emails are not particularly helpful when it comes to debugging the issues). All the best, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: help
On Tue, Jan 24, 2012 at 10:36 PM, Jirina R Stone j.st...@physics.ox.ac.ukwrote: I need to install gfortran for my new computer - Mac OS X 10.6. gcc47 which supposedly includes gfotran variant does not work. There's no reason to use gcc47, in my opinion unless you need one of the bleeding-edge Fortran 2010 standard features that doesn't exist in any of the older versions. If you're using it to compile existing software (that is, not stuff that you have written yourself), there's very little chance that gfortran from 4.6, 4.5, or even 4.4 will not work, so I would suggest just building one of those instead. I have 4.3, 4.4, 4.5, and 4.6 all installed, but not 4.7 so I can't comment about whether it works or not, or how to get it to work if it does fail. gfortran comes installed as part of gcc44 and gcc45 (and maybe gcc46, now, I'm not sure). Hope this helps, Jason What shall I do? Please help stone __**_ macports-users mailing list macports-users@lists.**macosforge.orgmacports-users@lists.macosforge.org http://lists.macosforge.org/**mailman/listinfo.cgi/macports-**usershttp://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Does gcc45 support -arch?
As far as I know, only the Apple compilers support -arch. The GCCs from MacPorts accept different arguments for the architecture (for instance, -m64 for 64-bit and -m32 for 32-bit). In any case, that's the behavior I get as well. HTH, Jason On Fri, Dec 16, 2011 at 9:13 AM, Peng Yu pengyu...@gmail.com wrote: Hi, gcc from gcc45 seems not able to recognize the -arch option. I'm wondering whether it should be the case or I did anything wrong? -- Regards, Peng ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: prerequisites of knowledge
On Mon, Oct 17, 2011 at 12:14 AM, trout swim gray32...@gmail.com wrote: hello i have looked at the FAQ in Macports and in the wiki and have yet to see any prerequisites for a persons knowledge base and that persons ability to work with the Bash command line or conditional programming. In the last few years while i have self taught in the http document mark up and dynamic aspects in PHP, MySQL, and some Javascript i have come to see a lot of screaming help me in forums as well as a lot of miss leading dog`y do. I have a few books in the Mac area of Unix, but i see it all boils down to the shell. either bash or korn or any other that i cannot remember at this time of writing. I have found the GNU web page http://www.gnu.org/s/bash/manual/bash.html and i am studying that. So if there were any prerequisites written some where in relationship to the Macports project would those prerequisites boil down to being comfortable with simple commands and complex commands using a host of predefined command line characters in conjunction with supporting options and any and all of the characters and their pre defined uses. As Bradley mentioned, the only commands really needed to run MacPorts is sudo and port, (and Google :). However, there are GUI front-ends (at least PortAuthority, written by Kevin Walzer) that remove the need to interact with the CL to install ports. However, most ports don't build a double-clickable App package, so most you need to run the program from the command-line anyway. Furthermore, debugging build issues for various ports requires a much deeper knowledge depending on the particular package (for instance, I had problems with meld that I fixed by hacking the meld script to call a different Python version on the shebang line...). All the best, Jason ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: system git vs MacPorts git for fetching source
On Sun, Oct 16, 2011 at 11:18 AM, Adam Mercer r...@macports.org wrote: Hi As the source for certain ports are obtained by Git I've been seeing a problem regarding fetching the source related to a setting I have in my ~/.gitconfig, specifically: [push] default = upstream You could always change this to tracking instead for the time being. From git 1.7.7 manpage: otracking - deprecated synonym for upstream. I believe this option was added in Git-1.7.0, when source is fetched for port that use git the fetch fails with the following error: :debug:fetch Executing: /usr/bin/git clone -q https://github.com/pieter/gitx.git /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_GitX/GitX/work/GitX-0.7.1 21 :info:fetch error: Malformed value for push.default: upstream :info:fetch error: Must be one of nothing, matching, tracking or current. i.e. the system git is being used and as this does not recognise the configuration option it is therefore failing. Can't the MacPorts git be used in preference to the one supplied by Xcode? Can you simply rearrange PATH (so that `which git` returns /opt/local/bin/git rather than /usr/bin/git if it doesn't already), or is /usr/bin/git hard-coded into port somewhere? Also, since when has Apple started supplying git with Xcode? Lion? And what version is it? I'm hesitant to make the jump since I really don't want to break my current setup (and I still remember 10.6 being quasi-painful)... All the best, Jason Cheers Adam ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: system git vs MacPorts git for fetching source
On Sun, Oct 16, 2011 at 12:08 PM, Ryan Schmidt ryandes...@macports.orgwrote: On Oct 16, 2011, at 10:40, Jason Swails wrote: On Sun, Oct 16, 2011 at 11:18 AM, Adam Mercer wrote: Can't the MacPorts git be used in preference to the one supplied by Xcode? Can you simply rearrange PATH (so that `which git` returns /opt/local/bin/git rather than /usr/bin/git if it doesn't already), or is /usr/bin/git hard-coded into port somewhere? Also, since when has Apple started supplying git with Xcode? Lion? MacPorts finds git and other utilities at configure time and hardcodes them into itself. Into compiled files or scripts? If it's the latter, sed -i would work to hack the MacPorts files to force it to use /opt/local/bin/git. If it's the former, I've actually managed to use sed -i on compiled binaries to change a hard-coded path successfully. It'd be a more permanent fix than changing upstream to tracked, but still not ideal... I don't have a /usr/bin/git on my Snow Leopard system with Xcode 3.2.6 so I'd believe that Apple started shipping it in Lion. So on Lion, MacPorts will use /usr/bin/git (even if /opt/local/bin/git exists), and on Snow Leopard and earlier, MacPorts will use any git binary that exists in the binpath, installing the git port if necessary. Another option (perhaps not ideal) is to just build new git by hand specifying --prefix=/usr to overwrite Xcode's version. Normally I'd be hesitant to overwrite any system tools, but I think git does a very good job of maintaining backwards compatibility with later versions (I've never had a problem with it before across a whole range of versions from 1.5.x to now, and I use git quite a bit on several different platforms). All the best, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: MacPorts design (curiosity)
Interesting stuff. Thanks for sharing the knowledge! All the best, Jason (And for what it's worth, as a youngin, I've actually used AIX and Solaris before ;) -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
MacPorts design (curiosity)
Hey, What was the inspiration behind the MacPorts design? Were ideas borrowed from a specific Linux package manager (the portage system seems pretty similar). I like MacPorts as my Mac package manager, and would love to check out a Linux distro's package manager that inspired it (if such a one exists). Just curious. Thanks! Jason ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to start an app?
On Tue, Oct 4, 2011 at 11:44 AM, John konaexpr...@mail.com wrote: Hi, at the risk of sounding like an idiot, how do you start/find an app that you installed using MacPorts? Not all programs are turned into apps that are dumped into the /Applications/MacPorts folder. Some of them are just binaries that reside in /opt/local/bin that you have to launch from the terminal itself. However, there are also some ports (like ImageMagick) that do not build *any* programs that even resemble the package name. Another example is synergy, which builds 2 binaries synergyc and synergys. The contents property of the port command takes the guesswork out of all of this. Use the command: port contents package to list all of the files added/installed for a particular port. In your case port contents koffice I'm guessing you'll see something like /opt/local/bin/something (koffice, kwrite, kcalc? I've never used that suite before). Then, just write that as a command on the command-line and it will open the program. Hope this helps, Jason I am not new t Macs but I am new to the unix side of it. Using MacPorts is the first time I have ever used the terminal in about 12 years of using a Mac. I installed Macports and then installed Koffice but I can not find an icon to start it. Then I downloaded Pallet and I was able to find it in the MacPort folder and used it to install Geany so I can learn Python. Pallet can not find Koffice in it's listings, it also said that I installed Geany but I can not find the Launcher for it. Do I have to use the term to start a program? If so, what do I put in? i.e. start or begin and then the app name? Thanks for the help guys -John ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to start an app?
On Tue, Oct 4, 2011 at 12:26 PM, John konaexpr...@mail.com wrote: Thanks for the help, Ok so I had to put in activate to get Geany to work but I got a RANDR error but it still started. I get those all the time (Linux and Mac OS X alike), and it's never caused me to lose sleep :). It said that Koffice is not installed? Wow, the old MacBook crunched on that install for a while last night, I will try it again. Look for an error. It may have had a problem (in which case you can email this list for possible help if you can't find anything in the bug tracker). On a side note, do I have to always put in sudo and port to do anything with MacPorts? Seems like it though this is not stated on the website. It depends. It's a permission issue. I adjusted the permissions on my MacPorts directories, and tinkered with the groups of my user so I don't have to use sudo. (I'm using OS X 10.6, I've heard stuff on the list about creating a dedicated MacPorts user to handle this stuff). If you don't bother with any of those (or if you don't know what I'm talking about), then you'll need to use sudo for any command that modifies files in your MacPorts directories. That is, you'll need to use sudo for port activate, install, uninstall, deactivate, select, etc. You don't have to for querying tasks like port list, contents, provides, etc. Hope this helps, Jason Thanks again -John - Original Message - From: Jason Swails Sent: 10/04/11 09:11 AM To: John Subject: Re: How to start an app? On Tue, Oct 4, 2011 at 11:44 AM, John konaexpr...@mail.com wrote: Hi, at the risk of sounding like an idiot, how do you start/find an app that you installed using MacPorts? Not all programs are turned into apps that are dumped into the /Applications/MacPorts folder. Some of them are just binaries that reside in /opt/local/bin that you have to launch from the terminal itself. However, there are also some ports (like ImageMagick) that do not build *any* programs that even resemble the package name. Another example is synergy, which builds 2 binaries synergyc and synergys. The contents property of the port command takes the guesswork out of all of this. Use the command: port contents package to list all of the files added/installed for a particular port. In your case port contents koffice I'm guessing you'll see something like /opt/local/bin/something (koffice, kwrite, kcalc? I've never used that suite before). Then, just write that as a command on the command-line and it will open the program. Hope this helps, Jason I am not new t Macs but I am new to the unix side of it. Using MacPorts is the first time I have ever used the terminal in about 12 years of using a Mac. I installed Macports and then installed Koffice but I can not find an icon to start it. Then I downloaded Pallet and I was able to find it in the MacPort folder and used it to install Geany so I can learn Python. Pallet can not find Koffice in it's listings, it also said that I installed Geany but I can not find the Launcher for it. Do I have to use the term to start a program? If so, what do I put in? i.e. start or begin and then the app name? Thanks for the help guys -John ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: p5-gd is replaced by p5.12-gd
I've seen it, but with help2man. But it was complaining about a different p5.12 perl package. I was going to hack the Portfile and take out the .12, since that was actually found in the port list... I'd love to hear what the real problem is, though. Thanks! Jason On Wed, Aug 24, 2011 at 5:07 AM, Banana m...@bananas-playground.net wrote: Hello everyone, I just updated my macports tree (port -d sync) and tried to upgrade the outdated ports ( port upgrade outdated ). When it comes to the p5-gd port it exits with the following error message (debug mode on): DEBUG: epoch: in tree: 0 installed: 0 DEBUG: p5-gd 2.450.0_3 exists in the ports tree DEBUG: p5-gd 2.45_2 is the latest installed DEBUG: p5-gd 2.45_2 is active DEBUG: Merging existing variants '' into variants DEBUG: new fully merged portvariants: --- p5-gd is replaced by p5.12-gd Error: No port p5.12-gd found. To report a bug, see http://guide.macports.org/#**project.ticketshttp://guide.macports.org/#project.tickets Does anybody has this problem, too ? Regards, J.Keßler __**_ macports-users mailing list macports-users@lists.**macosforge.orgmacports-users@lists.macosforge.org http://lists.macosforge.org/**mailman/listinfo.cgi/macports-**usershttp://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: openmpi versus mpich2
Coming from the world of high performance computing, MPICH2 and related variants (like mvapich2) tend to enjoy more support than OpenMPI due to performance considerations. I personally use mpich2 myself, but tend to compile my own MPIs, as the multiplicity can get you in trouble (if you link serial libraries to MPI code, you can run into lots of problems if the compiler version used to build the MPI libraries, and therefore the ones you're using to build the MPI code if you use mpicc/mpif90, is not the same as the compiler version you used to build the serial libraries). HTH, Jason On Mon, Aug 8, 2011 at 9:43 AM, Eric A. Borisch ebori...@macports.orgwrote: On Sun, Aug 7, 2011 at 11:07 PM, Rodolfo Aramayo raram...@gmail.com wrote: Basic question: Can these two ports be installed side by side: openmpi and mpich2 and which one is better for what purposes or are they equivalent in function and performance? --Thanks --R Provided mpich2 is not installed with +default (conflict is noted in variant description) the two should happily coexist. (I say *should* as I haven't tried it recently.) As to which is better... it depends. They both implement the MPI2 standard, so they both solve the same problem, in many respects. IMHO, OpenMPI is designed to provide lots of run-time adjustments, while MPICH2 tends to be more set at (mpich2) compile time. I'm sure you can find plenty of opinions online with a Google search. I prefer mpich2 as I use mvapich2 on other (linux-based Infiniband cluster) systems, which is itself based on mpich2. Good luck, Eric -- Eric A. Borisch (mpich2 port maintainer) ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: openmpi versus mpich2
On Mon, Aug 8, 2011 at 2:19 PM, Rodolfo Aramayo raram...@gmail.com wrote: The developer of the package I want to run (Velvet) told me I should just install 'libgomp' Can you guys translate this for me? Is he talking about openmpi or mpich2?? or something else?? Something else. libgomp is the GNU implementation of the OpenMP parallelization scheme. Note that OpenMPI and mpich2 are both message passing interface (MPI) implementations designed for shared and distributed memory systems (oversimplified; multi-core computers and many multi-core computers networked together) by passing messages between the different threads. OpenMP is a shared memory parallelization scheme that has different syntax and design philosophy to MPI. OpenMP is (from what I've heard) simpler to write and implement than MPI, yet it is limited to shared-memory machines and thus cannot scale as high as MPI. However, if you're just trying to compile code that someone else has already written, you need to know which one they used to parallelize their code and link with those libraries. If the developer of the package you're trying to use says to install libgomp, then just do that (or some other OpenMP implementation if it's available) and leave MPI alone ;). Hope this helps, Jason Thanks On Mon, Aug 8, 2011 at 09:21, Eric A. Borisch ebori...@macports.org wrote: On Mon, Aug 8, 2011 at 8:57 AM, Jason Swails jason.swa...@gmail.com wrote: I personally use mpich2 myself, but tend to compile my own MPIs, as the multiplicity can get you in trouble (if you link serial libraries to MPI code, you can run into lots of problems if the compiler version used to build the MPI libraries, and therefore the ones you're using to build the MPI code if you use mpicc/mpif90, is not the same as the compiler version you used to build the serial libraries). HTH, Jason FWIW, The mpich2 port supports a number of underlying compilers through the variants... Hopefully your favorite in the list. -Eric -- Eric A. Borisch -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: GCC Version
Yes, it's certainly possible. You have to install one of the newer GCC packages (gcc43, gcc44, gcc45, or gcc46), then install the gcc_select package to toggle between them. To make things easier, you could also install glib2 through MacPorts as well, and it will build the necessary components for you: sudo port install glib2 Hope this helps, Jason On Thu, Jul 21, 2011 at 6:02 AM, Paul C crispy1...@gmail.com wrote: Hi, Is there an easy way to use the newer versions of gcc contained in the MacPorts tree instead of the version that is installed with what I assume is Xcode (3.1.4)? I had complie errors on glib2 and after submitting a bug report to the gnome people it might be down to the old version of gcc installed not supporting various things. Currently I have: Power-Mac-G5:~ crispy$ gcc --version powerpc-apple-darwin9-gcc-4.0.**1 (GCC) 4.0.1 (Apple Inc. build 5493) However I see the apple-gcc-42 and gcc46 available. Thoughts? Thanks. Paul __**_ macports-users mailing list macports-users@lists.**macosforge.orgmacports-users@lists.macosforge.org http://lists.macosforge.org/**mailman/listinfo.cgi/macports-**usershttp://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: GCC Version
On Thu, Jul 21, 2011 at 10:45 AM, Paul C crispy1...@gmail.com wrote: Hi, The main reason for the switch to a newer version of gcc is that I cannot compile glib2 with using the port command, it fails towards the end of the compile. I'll give gcc_select a go with a new version of gcc and see what happens. That seems like an issue with MacPorts itself. If a newer gcc was required, it would have built it as part of the dependencies and automatically used it. I also think MacPorts will force the build process to use the XCode compilers (as it usually does for packages that don't require a newer gcc or fortran). That said, I don't know how well MacPorts supports the PowerPC architectures (on Tiger/Leopard) anymore, and I don't have a machine to test that on. All the best, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
gcc_select @0.1_5
Hello everyone, It seems as though gcc_select 0.1_5 isn't staging properly... Jason-Swailss-MacBook-Pro:patches swails$ port upgrade gcc_select --- Fetching gcc_select --- Verifying checksum(s) for gcc_select --- Extracting gcc_select --- Configuring gcc_select --- Building gcc_select --- Staging gcc_select into destroot --- Installing gcc_select @0.1_5 --- Deactivating gcc_select @0.1_4 --- Activating gcc_select @0.1_5 --- Cleaning gcc_select Jason-Swailss-MacBook-Pro:patches swails$ which gcc_select Jason-Swailss-MacBook-Pro:patches swails$ gcc_select -bash: gcc_select: command not found I had to revert to gcc_select @0.1_4 in order to get it to work again. Any thoughts? Thanks! Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: gcc_select @0.1_5
On Wed, Jun 1, 2011 at 1:23 PM, André Kaplan ak...@laposte.net wrote: It seems as though gcc_select 0.1_5 isn't staging properly... I had to revert to gcc_select @0.1_4 in order to get it to work again. Any thoughts? Hi Jason, All *_select ports (gcc_select, python_select, ...) are now handled by the port action. You can safely upgrade! The new command is $ port select gcc For the generic syntax $ port help select Unfortunately it's not documented in the manual page. Ah. And here I've just been downgrading everybody in my lab to 0.1_4. I'll check out the new functionality and update our on-site documentation. Was there any obvious way to know this (i.e. changelogs or something of the like? I'd not have thought to look at the port manpage for this update (even though you say it was non-existent). Perhaps gcc_select could have been relegated to a simple script that just echoed use the new syntax message, and then phased out for the next version. Thanks for the info! Jason Regards, André ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: GCC44 Build Time
On Sat, May 21, 2011 at 8:02 AM, Zuzubot zuzu...@gmail.com wrote: Hi folks, I am using Macports on a Macbook Pro running 10.6.7. I recently tried to install PyGTK2 and all was going well until it came to my computer building GCC44. This was taking over 30 minutes and my computer's fans were running pretty fast so I stopped to installation as I wasn't sure what was going on. My questions are: How long does it take to build GCC44? A long time. Is there anything that can be done to speed up the process? No. It does parallel builds by default (which is why the fans are so fast/loud -- it's putting your computer under heavy load). Is there anyway that I can get a read out of what exactly is happening when my computer is installing PyGTK2? Like a verbose mode? {sudo} port -v install pygtk2 (notice the -v, AND its location). This is described in the manpage, I think. HTH, Jason Many thanks!!! ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: PyGTK - Not Found
Did you install the python 2.7 GTK? That is, py27-gtk? My guess is that it installed to a different python than the one you're trying to use. It could also be that Nicotine forces python2.6 (i.e., is there a /usr/bin/env python2.6 on the #! lines?). To test that your GTK installed correctly, just launch the python interpreter and try to import the package. (import gtk). HTH, Jason On Sat, May 21, 2011 at 9:45 AM, Zuzubot zuzu...@gmail.com wrote: Hi again folks, Well, I posted a message a while ago about installing Python GTK and I am pleased to report that I got it installed without any problems. The reason I wanted to install this was to run a P2P program called Nicotine +. I downloaded Nicotine +, using SVN Checkout, and when I went to run it I get this message: Can not find required PyGTK. The current search path is ['/Users/user/nicotine+', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages'] Exception: No module named pygtk This is strange because I definitely do have Python GTK installed.. Can anyone help me here please? Thanks again! ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: OBJECTMARKER FAIL
On Tue, May 10, 2011 at 12:37 PM, Marcelo Gallego Moreno marcelogallegomor...@gmail.com wrote: Inicio del mensaje reenviado: *De: *macports-users-ow...@lists.macosforge.org *Fecha: *10 de mayo de 2011 12:20:12 GMT+02:00 *Para: *marcelogallegomor...@gmail.com *Asunto: **OBJECTMARKER FAIL* You are not allowed to post to this mailing list, and your message has been automatically rejected. If you think that your messages are being rejected in error, contact the mailing list owner at macports-users-ow...@lists.macosforge.org. *De: *Marcelo Gallego Moreno marcelogallegomor...@gmail.com *Fecha: *10 de mayo de 2011 12:26:44 GMT+02:00 *Para: *macports-users@lists.macosforge.org *Asunto: **OBJECTMARKER FAIL* Intel Core 2 Duo Mac OS X 10.6.7 Xcode 3.2.4 try to install objectmarker with this line sudo port install objectmarker and result this error Error: Checksum (md5) mismatch for ObjectMarker.cpp Error: Checksum (sha1) mismatch for ObjectMarker.cpp Error: Checksum (rmd160) mismatch for ObjectMarker.cpp Error: Target org.macports.checksum returned: Unable to verify file checksums PLease, How can I work objectmarker ? It´s absolutely impossible to me. I really need to use it, please help. Thanks and greetings. Edit the Portfile and replace the checksums with the actual ones (if you're confident that the files are OK). HTH, Jason ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Python 2.7 and python_select
On Sun, May 8, 2011 at 2:25 AM, T. S. Ferreira tsferre...@gmail.com wrote: I installed Python 2.7 and then ran python_select python, but it Run sudo python_select python27 (unless you set up your system so you don't have to use sudo). To see the available python versions you have, use python_select -l. HTH, Jason does not seem to have any effect. When I invoke python, I get the version 2.6. My Mac OS X is 10.6.7. -- T. S. Ferreira ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Python 2.7 and python_select
On Sun, May 8, 2011 at 2:16 PM, T. S. Ferreira tsferre...@gmail.com wrote: Taht's what I did and it does not work! Ah -- you said you just typed python_select python, not python_select python27. The first one definitely won't work, the second one might. What does which python return? If it returns /usr/bin/python, then your PATH got reordered (/usr/bin is in your PATH before /opt/local/bin). The way the *_select scripts work is it redirects symlinks to the desired executables (gcc_select and python_select). Therefore, python_select python27 will redirect the /opt/local/bin/python link to point to /opt/local/bin/python27. You can check this with ls -l /opt/local/bin/py*. However, if python invokes the version in /usr/bin/, then all this means nothing... During installation, MacPorts puts the lines # MacPorts Installer addition on 2010-03-09_at_17:43:11: adding an appropriate PATH variable for use with MacPorts. export PATH=/opt/local/bin:/opt/local/sbin:$PATH # Finished adapting your PATH environment variable for use with MacPorts. In your ~/.bash_profile to avoid these types of issues (I'm not sure if/how it handles other shells, since I only use bash). HTH, Jason -- tsf On Sun, May 8, 2011 at 4:31 AM, Jason Swails jason.swa...@gmail.com wrote: On Sun, May 8, 2011 at 2:25 AM, T. S. Ferreira tsferre...@gmail.com wrote: I installed Python 2.7 and then ran python_select python, but it Run sudo python_select python27 (unless you set up your system so you don't have to use sudo). To see the available python versions you have, use python_select -l. HTH, Jason does not seem to have any effect. When I invoke python, I get the version 2.6. My Mac OS X is 10.6.7. -- T. S. Ferreira ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 -- T. S. Ferreira -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: segfault
On Wed, Apr 27, 2011 at 5:31 PM, Roger Pack rogerdpa...@gmail.com wrote: Hello all. Thanks for macports! This is my first post here, so not quite sure the protocol, but here's what occurred. I did a $ sudo port install wine it eventually overheated my [poorly fanned] macbook, causing a system reboot. What version of Mac OS are you running? Try installing wine-devel instead. That has always worked just fine for me. HTH, Jason Now when I re-run it, I get this seg fault: https://gist.github.com/f3ad8f88db22c083adab Cheers! -r ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: segfault
On Apr 27, 2011, at 5:52 PM, Ryan Schmidt ryandes...@macports.org wrote: On Apr 27, 2011, at 19:39, Jason Swails wrote: On Wed, Apr 27, 2011 at 5:31 PM, Roger Pack wrote: I did a $ sudo port install wine it eventually overheated my [poorly fanned] macbook, causing a system reboot. What version of Mac OS are you running? Try installing wine-devel instead. That has always worked just fine for me. wine should also work. The choice between wine and wine-devel is whether you want the stable version Ah, for me it said wine wouldn't work for me -- I had to install wine-devel instead. I forget why, it was a long time ago. I thought maybe the portfile was hacked to remove this check or the development version. Whether you want MacPorts to crash or your Mac to reboot itself is not a factor in the decision. (Obviously you never want MacPorts to crash or your Mac to reboot itself, and no port in our collection is known to exhibit that behavior.) I must not have read carefully enough. If it was indeed a forced reboot and crash I'd guess with you. Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: GCC44 fails to build in MacOSXServer
On Mon, Apr 18, 2011 at 8:45 PM, Ryan Schmidt ryandes...@macports.orgwrote: On Apr 18, 2011, at 21:15, Rodolfo Aramayo wrote: I am getting the following error in MacOSXServer (Darwin 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:16:10 PST 2011; root:xnu-1504.9.37~1/RELEASE_X86_64 x86_64): [snip] --- Building gcc44 [snip] :info:build ../../gcc-4.4.6/gcc/fortran/module.c:108: error: conflicting types for 'pointer_t' :info:build /usr/include/mach/vm_types.h:40: note: previous declaration of 'pointer_t' was here See this ticket: https://trac.macports.org/ticket/24541 Two users there solved the problem by removing a symlink that they had manually created for some other reason. This is probably unnecessary, but removing the malloc.h symlink I created in /usr/include fixed this problem for me as well. What I had been doing before I learned about this fix was just comment out the definition of pointer_t in /usr/include/mach/vm_types.h, which also worked (but I would strongly suggest just removing the symlink). What I've heard from C programmers is that malloc.h should rarely (never?) be explicitly included anymore, anyway. In any case, I think Apple omitted that header from /usr/include for a reason. All the best, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How do I do a complete uninstall of a port?
On Wed, Apr 6, 2011 at 10:29 AM, Barrie Stott zen146...@zen.co.uk wrote: I installed a port because it read as though it was just what I wanted. When I started to use it I found it wasn't so I uninstalled it using 'sudo port uninstall --follow-dependencies openbrowser'. Will this get rid of ALL the files that were brought across in the install? The reason I ask is that if I search for openbrowser in Finder using cmd-F there are 5 instances where openbrowser is part of the filename and 12 files that contain the string openbrowser. These could have been there before I installed it but they might be left lying around. In case it helps, one of the files is: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/sysutils/openbrowser/files/openbrowser. These were there before. MacPorts carries along with it a complete list of sources that are supported and maintained. Rest assured that the only things that reside here are patches required to make the build process go smoothly for Macs and the Portfile that defines how the install is done. All the best, Jason Barrie. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Can I uninstall xcode 4 after installing the required macports?
Keep in mind that make is also installed with xcode tools and doesn't build automatically with any of the gcc compilers built with MacPorts (assuming you built them to compile software). If you want to get rid of MacPorts yet still be able to build some of your own packages with make, you'll either need to install an alternative with MacPorts or keep XCode around. Good luck, Jason On Sat, Mar 19, 2011 at 9:58 PM, Ryan Schmidt ryandes...@macports.orgwrote: On Mar 19, 2011, at 23:51, Dontino wrote: if say at a later date I wish to install other ports, can I just reinstall xcode and then it would work? Yes, I think that should work. I suppose xcode is only needed for installation? Hence am I right that uninstalling a port wouldn't require xcode? Yes, Xcode is only needed for the compilers and other build utilities it provides, which are generally only used during the configure, build and destroot phases. The install and activate phases are merely MacPorts copying files around, just as deactivate and uninstall are just MacPorts deleting files. If you're going to uninstall Xcode, I recommend you use the script Apple includes to do that: sudo /Developer/Library/uninstall-devtools --mode=all That should ensure everything is uninstalled properly, and can be unproblematically reinstalled later if desired. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re:
Use Ctrl-C to kill the process rather than suspend it. You can run it in the foreground again using fg and then hit Ctrl-C, or just use the kill command with its PID to kill it. Good luck, Jason 2011/3/9 Bruno DOUTRIAUX - Youmé-TECH harloc...@gmail.com Hello, i was trying to install gcc45 using mac port but it hanged so i did ctrl z and it stopped then i redid sudo port install gcc45 and then i had a lock. how can i unlock it ? imac-de-meriem-lentz:~ harlock59$ sudo port -d install gcc45 DEBUG: Found port in file:///opt/local/var/ macports/sources/rsync.macports.org/release/ports/lang/gcc45 DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/lang/gcc45 DEBUG: OS Platform: darwin DEBUG: OS Version: 9.8.0 DEBUG: Mac OS X Version: 10.5 DEBUG: System Arch: powerpc DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/ rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port gcc45. DEBUG: Requested variant macosx is not provided by port gcc45. DEBUG: Executing variant powerpc provides powerpc Waiting for lock on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc45/work/.macports.gcc45.state -- -- Bruno DOUTRIAUX EI Youmé-TECH Artisan Auto-Entrepreneur 03 27 41 13 54 (fixe) 06 58 60 39 53 (gsm) Technicien Dépannages Informatique www.youmetech.fr www.depannage-informatique-valenciennes.fr - ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Installing gcc into a separate diretory
To add on to Ryan's statement, gcc versions typically do a good job of isolating themselves from each other (if this is what you're worried about). If you install multiple gcc's alongside each other, the libraries and headers and such will be placed in a version-specific folder, and the real binaries will have version-specific names. Coupled with gcc_select (another port package I would suggest installing to have multiple GCCs), you should be able to have as many GCC versions installed at once as you want. To demonstrate, on my system: $ gcc_select -l Available versions: gcc40 gcc42 llvm-gcc42 mp-gcc43 mp-gcc44 mp-gcc45 mp-gcc46 and I can seamlessly switch through them as I want. Hope this helps, Jason On Mon, Feb 21, 2011 at 4:54 PM, Ryan Schmidt ryandes...@macports.orgwrote: On Feb 21, 2011, at 15:44, Paul van Hoven wrote: Is it possible to install the gcc43 package into a certain directory, i.e. when I configure/compile one normally is able to set the installation directory by ./configure --prefix=/desired/path/to/installation and the program will be completely placed in there. Now, is this somehow also possible whne installing the gcc43 package? Something like macports --prefix=/path/to/installation install gcc43 No; MacPorts is in control of where the software will be installed and you cannot change this (except for changing the prefix globally, for all ports, a decision which you can make at MacPorts install time before you've installed any ports). Ports that depend on gcc43 and other ports depend on them being in predictable locations. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Problem running python_select
What problems do you have with python_select? MacPorts should put pythons in /opt/local/Library, but if you don't install any python versions that won't happen. Note that python_select is just a script to choose between different pythons (including the system python). python_select should be in /opt/local/bin. To take a look at the python versions you have available, use the command python_select -l You should see something like this: username$ python_select -l Available versions: current none python24 python25 python26 python26-apple python27 python32 If all you see is python26-apple, that means you haven't installed any other python versions yet. These have to be installed separately from python_select. For example, try installing python27: sudo port install python27 Now you should be able to choose between these two versions using python_select. To actually use python_select to change default python versions, just select the version you want to run from the list provided with -l: python_select python27 My last comment -- on Mac, python is installed as a framework, so the vanilla ./configure make make install won't work for its source code. You need additional cflags and compiler options, which is what makes MacPorts so nice. Hope this helps, Jason On Fri, Feb 18, 2011 at 1:15 PM, Salman Zubair Toor salman.t...@it.uu.sewrote: Hi, I am new to the Macports. I have Snow Leopard and I have installed macports using Macports-1.9.2-10.6.dmg. The problem is, after installation it don't have /opt/local/Library directory. When I install python it puts everything in /opt/local/ (I mean in lib and bin directories). macport.conf have - # Directory containing Applications from ports. applications_dir/Applications/MacPorts - Thats why I think python_select fails to set the current version. Do I need to specify any flag while installation, which install things in Frameworks? I have also tried with the source but with the standard commands (./configure , make, make install) but no luck. Regards.. Salman. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: preventing sleep during compilation
Check out Caffeine at the Mac app store. It drops something in your toolbar at the top of your screen (looks like a coffee mug). A single click and it prevents your computer from going to sleep and/or showing the screen saver. (Easiest manual way of turning sleep on/off I've seen) I've never had my MacBook Pro turn off, either (I don't have a desktop to try it out on), but the hardware is different. It could be that your HDD cache is bigger/better on the iMac so it doesn't have to spin up as often (indeed, maybe not even often enough to register before going to sleep). Does it actually go to sleep mid-compile? Or does it get stuck somewhere (i.e. in download stage) where computer resources aren't used so it assumes all is safe to sleep? Hope some of that helped, Jason (I always forget to reply to all!) On Thu, Feb 3, 2011 at 10:30 PM, Scott Webster sewebs...@gmail.com wrote: I have a new imac and it just went to sleep during the install of gimp2 and it's dependencies. I could have sworn that my macbook does not go to sleep when compiling. Anyone aware of any relevant differences between these two systems? Or a way to prevent this problem other than just turning sleep on and off manually all the time? Thanks, Scott ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: preventing sleep during compilation
On Thu, Feb 3, 2011 at 10:55 PM, Jason Swails jason.swa...@gmail.comwrote: Check out Caffeine at the Mac app store. It drops something in your toolbar at the top of your screen (looks like a coffee mug). A single click and it prevents your computer from going to sleep and/or showing the screen saver. (Easiest manual way of turning sleep on/off I've seen) I've never had my MacBook Pro turn off, either (I don't have a desktop to try it out on), but the hardware is different. It could be that your HDD cache is bigger/better on the iMac so it doesn't have to spin up as often (indeed, maybe not even often enough to register before going to sleep). Ha, followup -- this is because may laptop is not set to go to sleep while plugged in (only on battery). This explains my observations. Does it actually go to sleep mid-compile? Or does it get stuck somewhere (i.e. in download stage) where computer resources aren't used so it assumes all is safe to sleep? Hope some of that helped, Jason (I always forget to reply to all!) On Thu, Feb 3, 2011 at 10:30 PM, Scott Webster sewebs...@gmail.comwrote: I have a new imac and it just went to sleep during the install of gimp2 and it's dependencies. I could have sworn that my macbook does not go to sleep when compiling. Anyone aware of any relevant differences between these two systems? Or a way to prevent this problem other than just turning sleep on and off manually all the time? Thanks, Scott ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Cleaning distfiles
{sudo} port clean --all uninstalled Does that do the trick? You can optionally replace --all with --dist to just get rid of the distfiles. I don't want to do this to test it since I actually want to hold on to those files. You can also do {sudo} port -u uninstall to clean out all old, inactive versions (you can get the list via port inactive). Hope this helps, Jason On Tue, Jan 25, 2011 at 11:31 PM, Adam Mercer r...@gravity.phys.uwm.eduwrote: Hi My distfiles directory is getting quite large with old distfiles and sources for ports I no longer have installed, is there a simple way to clean this out so that the only distfiles remaining are for the ports that are installed? Cheers Adam ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Build_arch
Did you try installing libusb with the universal variant? {sudo} port install libusb +universal That should support multiple architectures. Hope this helps, Jason On Mon, Jan 24, 2011 at 1:26 AM, Ryan Schmidt ryandes...@macports.orgwrote: On Jan 23, 2011, at 23:11, Xander Flood wrote: I'm running Mac OS X 10.6.4 on an Intel Core 2 Duo Macbook Pro. I'm trying to get libusb (for use with libfreenect to create MEX-file wrapper). Core 2 Duo supports both the x86_64 and i386 architectures. The MATLAB libraries I need to use are i386 (there's nothing I can do about that short of buying a 64-bit license all over again), but libusb is being built as x86_64, and I obviously can't link the two together. I edited macports.conf to change: build_arch = i386 but it still build an x86_64 library. That is the correct way to request this; if it doesn't work, it is a bug in that port. I've run sudo port install libusb-devel -build-arch=i386 and again the result is the same. That doesn't do anything. I'm not sure what to do, but is there any way I can *actually* change the build architecture? If setting build_arch in macports.conf does not have any effect for a particular port, file a bug report against that port. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: latexmk checksum error
Hello, Retry with verbose set: {sudo} port -v install latexmk You should get some message like The correct checksum line may be: checksums md5 12f916ba257967abea305d317c3cb840 \ sha16fdf7331d2d0c3f9dca58a1bbf459eda94c29308 \ rmd160 7b4322ab339082077b7630dc4d16aa7853e9cbb0 Error Copy these 3 checksum lines and change the lines in /opt/local/var/macports/sources/ rsync.macports.org/release/ports/tex/latexmk/Portfile so that the checksums that MacPorts matches against are the same as the checksums of your file. This is the workaround for all checksum errors. However, I would make sure that you've downloaded the correct file (run port clean --all latexmk) and try again before doing the above. Hope this helps, Jason On Mon, Jan 24, 2011 at 10:44 AM, Tim Campbell tim.campb...@nrlssc.navy.mil wrote: Is there a work-around for the latexmk checksum error (Ticket #27863)? -Tim ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: gtkada install
Hello, I'm guessing that the root user doesn't have /usr/local/gnat/bin in the PATH. Try the following sudo -s echo $PATH | grep /usr/local/gnat/bin || export PATH=$PATH\:/usr/local/gnat/bin port -v install gnat-gcc +gnatgpl exit You can also try sudo -E port install gnat-gcc +gnatgpl as -E preserves your environment when you enter the root shell. Alternatively, you can take a different approach where you don't need to use sudo at all (and you avoid all issues involved with launching a root shell), and is the practice that I use. Change ownership of /Applications/Macports and /opt to a user that you grant install privileges there (i.e. yourself, or create a special user for it if you want). sudo chmod -R `whoami` /opt sudo chmod -R `whoami` /Applications/MacPorts Then you will never have to use sudo again (which I think is an added level of protection for your system) when installing via MacPorts. As a note, also consider changing the ownership of /usr/local as well so you don't need root privileges there either. Hope this helps, Jason On Sat, Jan 22, 2011 at 5:34 PM, M ms...@trakas.org wrote: Hi, First time MacPorts user. I installed MacPorts 1.9.2 on Mac OS 10.6.5 (Xcode 3.2.5). First port I wanted to install was gnat-gtkada. I ran: sudo port install gnat-gtkada. Everything went fine until I got this message: # Ada is self hosted (http://en.wikipedia.org/wiki/Self-hosting) # # You need to install an existing Ada compiler and then choose # an appropiate variant. For more info use: # # port variants gnat-gcc I already have GNAT AdaCore's GPS installed (20100603). Not knowing how to tell MacPorts that GNAT is already installed, I tried this: sudo port -v install gnat-gcc +gnatgpl, and got this message: # Ada is self hosted (http://en.wikipedia.org/wiki/Self-hosting) # # Bootstrap compiler not found. Please download and install from # http://libre.adacore.com That's what I've already got installed. How do I tell MacPorts that I have GNAT installed (and is already in my command path at /usr/local/gnat/bin), so that I can get gtkada installed. Thanks ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: gtkada install
--with-system-zlib --disable-nls --program-suffix=-gnat-4.4 --with-gxx-include-dir=/opt/local/include/gnat-gcc/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local returned error 77 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing $procedure $targetname :info:configure Warning: the following items did not execute (for gnat-gcc): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Log for gnat-gcc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gnat-gcc/main.log It looks like it wants to use it's own install to do the work instead of my current install of gnat (and/or the gcc under /usr/local/gnat/bin). Although there are some references to /opt/local paths in some messages in main.log. On Jan 22, 2011, at 5:43 PM, Jason Swails wrote: Hello, I'm guessing that the root user doesn't have /usr/local/gnat/bin in the PATH. Try the following sudo -s echo $PATH | grep /usr/local/gnat/bin || export PATH=$PATH\:/usr/local/gnat/bin port -v install gnat-gcc +gnatgpl exit You can also try sudo -E port install gnat-gcc +gnatgpl as -E preserves your environment when you enter the root shell. Alternatively, you can take a different approach where you don't need to use sudo at all (and you avoid all issues involved with launching a root shell), and is the practice that I use. Change ownership of /Applications/Macports and /opt to a user that you grant install privileges there (i.e. yourself, or create a special user for it if you want). sudo chmod -R `whoami` /opt sudo chmod -R `whoami` /Applications/MacPorts Then you will never have to use sudo again (which I think is an added level of protection for your system) when installing via MacPorts. As a note, also consider changing the ownership of /usr/local as well so you don't need root privileges there either. Hope this helps, Jason On Sat, Jan 22, 2011 at 5:34 PM, M ms...@trakas.org wrote: Hi, First time MacPorts user. I installed MacPorts 1.9.2 on Mac OS 10.6.5 (Xcode 3.2.5). First port I wanted to install was gnat-gtkada. I ran: sudo port install gnat-gtkada. Everything went fine until I got this message: # Ada is self hosted (http://en.wikipedia.org/wiki/Self-hosting) # # You need to install an existing Ada compiler and then choose # an appropiate variant. For more info use: # # port variants gnat-gcc I already have GNAT AdaCore's GPS installed (20100603). Not knowing how to tell MacPorts that GNAT is already installed, I tried this: sudo port -v install gnat-gcc +gnatgpl, and got this message: # Ada is self hosted (http://en.wikipedia.org/wiki/Self-hosting) # # Bootstrap compiler not found. Please download and install from # http://libre.adacore.com That's what I've already got installed. How do I tell MacPorts that I have GNAT installed (and is already in my command path at /usr/local/gnat/bin), so that I can get gtkada installed. Thanks ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Emacs not launching independent Xwindow (emacs shell)
You can also install xemacs and alias emacs to xemacs. There is no trick to getting around the built-in emacs -- any emacs in /opt/local/bin should be launched before the system emacs due to the way MacPorts sets up the PATH variable. Good luck! Jason On Tue, Jan 18, 2011 at 6:22 PM, gmail gregkee...@gmail.com wrote: I have installed macports and use many of the other applications without problems. I have had a problem in getting any of the emacs versions to provide a x-window in the command “emacs test ” which should launch GNU emacs into its own window as in a Linux environment. I have X11 working properly on my Mac as I get xclock and other X11 dependent objects/programs to work fine so it isn’t the display variable or anything like this that I am aware of as I have tested many things. Is there a trick to get around the emacs that is already installed on the Macbook Pro and Air? I have tried both of these laptops and they both have the same problem with emacs from macports even though it is supposed to be the GNU emacs which supports the emacs program shell. Your help would be greatly appreciated. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Problems with gnuplot from marcports
On Sun, Jan 9, 2011 at 6:07 AM, Andrea D'Amore and.dam...@macports.orgwrote: On Sat, Jan 8, 2011 at 2:30 AM, Brandon S Allbery KF8NH allb...@kf8nh.com wrote: There's always gvim :) (although, why isn't there an aqua version?) I'm not sure what you mean, but I have MacVim.app from MacPorts installed. gvim is a GUI vim (installable as gvim in most/all linux distributions from their package managers). Brandon pointed out to me that it was available as a variant of vim (gtk1/gtk2). MacVim is similar, but (as the name would suggest) more natively 'mac'. All the best, Jason -- Andrea ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: FORTRAN for Snow Leopard?
On Sun, Jan 9, 2011 at 2:00 PM, Marcelo Chiapparini marcelo.chiappar...@gmail.com wrote: Hi! after installing gcc_select, and before installing any gcc form macports, I ran it and got the following output: $ gcc_select -l Available versions: gcc40 gcc42 llvm-gcc42 My guess is that gcc40 came installed with Snow Leopard by default, and gcc42 was installed by the latest version of Xcode I installed to run macports. Now I will install gcc45 or gcc46+gfrotan in order to run frotran. My question is the following: each time I need to install a port from macports, where Xcode is used, I should switch gcc to gcc42, the one installed with Xcode? The ports *should* automatically use /usr/bin/gcc-4.2 to avoid this issue altogether, and in my experience this is almost always the case. The notable exception for me has been with git-core. In my opinion, you should switch back to gcc42 if you can remember (all it does is shuffle around symlinks, so it's cheap and easy), but it'll probably be fine if you don't. One other comment -- if you're using gcc46 +gfortran, take care to spell gfortran correctly, since port will not complain about misspellings and silently ignore it. Good luck! Jason thanks in advance Marcelo 2011/1/7 Jason Swails jason.swa...@gmail.com Hello, I use Fortran extensively on my Mac for my work (scientific computing -- all applications are written in Fortran). I have tried both of the methods that you have below, but I've had problems with all of them. The problem with installing just gfortran through binaries is that they're typically incompatible with the Xcode GCC compiler (they're different versions of GCC), so it's far more difficult to link C- and Fortran- object files. If you do find one that's compatible with the Xcode GCC, then that means you're using GCC 4.2, which is quite old. gfortran from that era is not yet stable and reliable, especially for legacy F77. IMO, the best approach is actually provided by MacPorts. Just install an updated GCC with the +gfortran variant. sudo port -v install gcc45 +gfortran (this may take a little while) Then you can install gcc_select to help manage different versions of the GCC compiler (i.e. the xcode version and the MacPorts version, or multiple MacPorts versions if you install gcc44, gcc43, gcc46, etc.) sudo port -v install gcc_select (this should be fast) To use gcc_select, do the following gcc_select -l (lists all of the available versions) sudo gcc_select mp-gcc45 (selects the GCC 4.5 installed with MacPorts) Hope this helps, Jason On Fri, Jan 7, 2011 at 8:49 AM, Marcelo Chiapparini marcelo.chiappar...@gmail.com wrote: Hi! I need to run FORTRAN in my iMac with OSX 10.6 installed. I've done some research, but the results are not conclusive: http://www.webmo.net/support/fortran_osx.html http://hpc.sourceforge.net/ http://gcc.gnu.org/wiki/GFortranBinaries http://r.research.att.com/tools/ I am not sure which method is the most convenient: to installing the FORTRAN binaries for Leopard or to installing the gfortran extension for Xcode... So, I would like very much to know about experiences from people already running FORTRAN in a Mac (if any!). Thanks a lot in advance for the help! Regards Marcelo ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 -- Marcelo Chiapparini http://sites.google.com/site/marcelochiapparini ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: FORTRAN for Snow Leopard?
Hello, I use Fortran extensively on my Mac for my work (scientific computing -- all applications are written in Fortran). I have tried both of the methods that you have below, but I've had problems with all of them. The problem with installing just gfortran through binaries is that they're typically incompatible with the Xcode GCC compiler (they're different versions of GCC), so it's far more difficult to link C- and Fortran- object files. If you do find one that's compatible with the Xcode GCC, then that means you're using GCC 4.2, which is quite old. gfortran from that era is not yet stable and reliable, especially for legacy F77. IMO, the best approach is actually provided by MacPorts. Just install an updated GCC with the +gfortran variant. sudo port -v install gcc45 +gfortran (this may take a little while) Then you can install gcc_select to help manage different versions of the GCC compiler (i.e. the xcode version and the MacPorts version, or multiple MacPorts versions if you install gcc44, gcc43, gcc46, etc.) sudo port -v install gcc_select (this should be fast) To use gcc_select, do the following gcc_select -l (lists all of the available versions) sudo gcc_select mp-gcc45 (selects the GCC 4.5 installed with MacPorts) Hope this helps, Jason On Fri, Jan 7, 2011 at 8:49 AM, Marcelo Chiapparini marcelo.chiappar...@gmail.com wrote: Hi! I need to run FORTRAN in my iMac with OSX 10.6 installed. I've done some research, but the results are not conclusive: http://www.webmo.net/support/fortran_osx.html http://hpc.sourceforge.net/ http://gcc.gnu.org/wiki/GFortranBinaries http://r.research.att.com/tools/ I am not sure which method is the most convenient: to installing the FORTRAN binaries for Leopard or to installing the gfortran extension for Xcode... So, I would like very much to know about experiences from people already running FORTRAN in a Mac (if any!). Thanks a lot in advance for the help! Regards Marcelo ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Problems with gnuplot from marcports
On Fri, Jan 7, 2011 at 3:13 AM, Andrea D'Amore and.dam...@macports.orgwrote: On Fri, Jan 7, 2011 at 3:58 AM, Ryan Schmidt ryandes...@macports.org wrote: open -e file is the same as dragging the file file onto the program TextEdit I have a tedit alias for open -e in order to do quick GUI text editing and to differentiate it from Bare Bones Software's edit. Why not set tedit to your default text editor and use open -t instead? (also described in said man page) -- Andrea -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: FORTRAN for Snow Leopard?
On Fri, Jan 7, 2011 at 9:13 AM, Ryan Schmidt ryandes...@macports.orgwrote: On Jan 7, 2011, at 08:06, Jason Swails wrote: Just install an updated GCC with the +gfortran variant. sudo port -v install gcc45 +gfortran (this may take a little while) You can see with port variants gcc45 that it does not have a +gfortran variant; fortran support in gcc45 is always on. Only the latest development version gcc port (currently gcc46) has a +gfortran (and a +java) variant. The maintainer of the gcc ports explained to me that gcc's java support (and perhaps its fortran support) frequently broke during the development versions, and he did not want to hold up the release of a new version of the port for that reason alone. By the time a version of gcc became stable, its java and fortran support would be stable as well, so the maintainer permanently enables it at that time. A quick perusal of the Portfiles verifies your statement, thanks for clarifying. However, I've installed gcc43, 44, 45, and 46 all with the +gfortran variant (of which only gcc46 needs it) and it's always worked as expected. Perhaps port quietly ignores any specified, non-existent variants? If your gcc45 port does in fact still have +gfortran and +java variants, then your port definitions are out of date; use sudo port selfupdate to update them, then port outdated to see which ports are outdated and in need of updating. I keep my definitions updated (religiously), and have actually rid myself of the need to use sudo by changing permissions of /Applications/MacPorts and /opt, (I like to reserve the necessity of using root privileges for mucking about in /usr, /bin, /include, etc.; not /usr/local or /opt or any other place I choose to install compiled software) All the best, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Problems with gnuplot from marcports
Ha, I misread that. I thought tedit was a program you aliased with open -e (not sure how I thought that worked). Your way makes much more sense. I like my vi, so I don't use open for text files in any case. I only just learned about -e and -t when looking at the man page again. Happy times, Jason On Fri, Jan 7, 2011 at 6:14 PM, Andrea D'Amore and.dam...@macports.orgwrote: On Fri, Jan 7, 2011 at 3:09 PM, Jason Swails jason.swa...@gmail.com wrote: Why not set tedit to your default text editor and use open -t instead? (also described in said man page) Because I find it easier to type tedit than open -e with the space and the dash. My default editor is edit already. -- Andrea -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: mpich2 and python
Hi Joerg, MPICH2 uses python fairly extensively (the mpirun and mpiexec executables are actually just python scripts, as are mpd/mpdboot). Those developers tend to hard-code the python version that they use into their execution since they know that works and will be free of any new bugs that may get introduced by new versions. That's the same reason a lot of OS vendors strap an old, stripped-out python distribution with their OS: their system python utilities work just fine with that version and they're hesitant to invest the time to ensure upwards compatibility (especially when Python makes a jump like 2.x - 3.x). You should not change this to python2.7 because mpirun/mpiexec are unlikely to work, since the top line stays as: #!/usr/bin/env /opt/local/bin/python2.5 (I made the change in the Portfile just to make sure) MPI *stuff* are among the very few things I prefer to do myself (without MacPorts, although the python's I add mpi4py to are MP versions), since it allows me more flexibility. You can also install the OpenMPI variant of mpi4py and avoid this issue altogether. I tend to use OpenMPI for my Macs, anyway (though I like mpich2 better for my Linux boxes, for no special reason, I get similar performance out of both). Happy tidings, Jason On Sat, Jan 8, 2011 at 1:02 AM, Jörg Frauendiener joerg.frauendie...@mac.com wrote: I have recently come across a somewhat surprising issue: I installed py27-mpi4py which depends on mpich2 and python27. I was surprised to see that mpich2 itself depends on python25. Can someone explain to me why that should be the case? The same is true for py26-mpi4py. I have played around with the Portfile, replacing the references in mpich2 to python25 with python27 and it installs perfectly. I have not done any other tests, though. So the question is: is this dependency on python25 a necessity or can it be replaced with python2[67]? Joerg -- Jorg Frauendiener | Tel.: +64-3-479-7770 Mathematics Statistics | Fax: +64-3-479-8427 University of Otago | joe...@maths.otago.ac.nz P.O. Box 56 | jorg.frauendie...@otago.ac.nz Dunedin 9010 | http://www.maths.otago.ac.nz Skype: frauendiener ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Problems with gnuplot from marcports
man open ;) 'open file' will open file with its default program if there is one. 'open -a program file' will open file with program and my personal favorite, 'open -a program' just launches the program as though you clicked it on the dock or double-clicked it in the finder (and remember that Mac is case-insensitive). i.e. open -a textedit or open -a app\ store if you've downloaded the latest update. --Jason On Thu, Jan 6, 2011 at 3:53 PM, Marcelo Chiapparini marcelo.chiappar...@gmail.com wrote: Hi all! I've just turned off the hide extension feature in Finder. Thanks to all of you for the help. After years of working with Linux, this is my first time with a Mac... and I am loving. BTW, what is the 'open utility Apple added to BSD'? can you point me to some information? Thanks! 2011/1/6 Jason Swails jason.swa...@gmail.com Or you can just live in the terminal :). I find it faster than navigating Finder, and the open utility Apple added to BSD is quite handy. On Wed, Jan 5, 2011 at 9:45 PM, Ryan Schmidt ryandes...@macports.orgwrote: On Jan 5, 2011, at 11:22, Marcelo Chiapparini wrote: TextEdit added an txt extension to the file, so, the file qhdmmint.gplt was saved as qhdmmint.gplt.txt in the disk. This was why gnuplot didn't find it! Now, erasing the txt and moving qhdmmint.gplt.txt to qhdmmint.gplt I got my graph normally. The weird thing is that qhdmmint.gplt.txt appeared without the txtextension in Finder, that was why I was confused with the names... Yes, the Finder hides filename extensions by default. One of the first things I do on my Macs is disable that feature. It may help Grandma be less scared of her computer, but it does not help people who know how computers work. To disable this feature, choose Preferences from the Finder menu in the menubar, click Advanced, and check the checkbox Show all filename extensions. -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Marcelo Chiapparini http://sites.google.com/site/marcelochiapparini ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Problems with gnuplot from marcports
Does it work if you just specify the script with gnuplot on the CL? gnuplot qhdmmint.gplt The nice thing about the aqua terminal is that the window should stick around. Good luck, Jason On Wed, Jan 5, 2011 at 10:05 AM, Marcelo Chiapparini marcelo.chiappar...@gmail.com wrote: Hi Jean-Francois, thanks for the reply, using the full path the error message is the same: Yggdrasill2:cbpf marcelo$ gnuplot G N U P L O T Version 4.4 patchlevel 2 last modified Wed Sep 22 12:10:34 PDT 2010 System: Darwin 10.5.0 Copyright (C) 1986-1993, 1998, 2004, 2007-2010 Thomas Williams, Colin Kelley and many others gnuplot home: http://www.gnuplot.info faq, bugs, etc: type help seeking-assistance immediate help: type help plot window: hit 'h' Terminal type set to 'aqua' gnuplot load /Users/marcelo/Dropbox/trabalho/pesquisa/materia-nuclear/t-finita/cbpf/qhdmmint.gplt ^ Cannot open load file '/Users/marcelo/Dropbox/trabalho/pesquisa/materia-nuclear/t-finita/cbpf/qhdmmint.gplt' util.c: No such file or directory May be a environmental variable issue, I don't know... Thanks Marcelo 2011/1/5 Jean-Francois Gobin j...@gobinjf.be Marcelo, Could you try loading the script using the full path? Thanks, J. On Wed, Jan 5, 2011 at 11:41 AM, Marcelo Chiapparini marcelo.chiappar...@gmail.com wrote: Hello, I've just bought a new iMac, running OS X 10.6. I am using it at home. In order to maintain compatibility with files created at work, under Linux, I want to install gnuplot on my Imac. So, I am using MacPorts, which I've found a very helpful and clever project (thank you guys!). So, I followed the instructions from the MacPorts site, and installed macports, xcode (the latest version available) and gnuplot. Everything went fine. Gnuplot works well from the command line. The problems appears when I try to load and script. When I call gnuplot from the directory of the scritp, I get the following: Yggdrasill2:cbpf marcelo$ gnuplot G N U P L O T Version 4.4 patchlevel 2 last modified Wed Sep 22 12:10:34 PDT 2010 System: Darwin 10.5.0 Copyright (C) 1986-1993, 1998, 2004, 2007-2010 Thomas Williams, Colin Kelley and many others gnuplot home: http://www.gnuplot.info faq, bugs, etc: type help seeking-assistance immediate help: type help plot window: hit 'h' Terminal type set to 'aqua' gnuplot load qhdmmint.gplt ^ Cannot open load file 'qhdmmint.gplt' util.c: No such file or directory The file qhdmmint.gplt is in the directory from which I called gnuplot, so I don't understand the error... I've googled the internet, with no success. Any help will be very welcome, Regards Marcelo ___ 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 -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Graduate Student 352-392-4032 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users