Happy New Year and Many, Many Thanks
To the MacPorts Team, Happy New Year and Thank You!! For the Great work, enthusiasm and support you guys provide to the worldwide community I think you guys are making a difference and helping maintain the Open Source community and the Mac platform healthy with your never-ending commitment to this work I truly Thank You guys for all your help Sincerely, --Rodolfo ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
How do I install the debug version of perl 5.12?
Thanks, Jim ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
How to set a particular version as the default?
I have multiple versions of perl installed. Is there a way to select one of them as the default version? Jim ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to set a particular version as the default?
On Jan 2, 2012, at 2:01 p.m., Jim Anderson wrote: I have multiple versions of perl installed. Is there a way to select one of them as the default version? Install the perl5 port with your desired variant (+perl5_8, +perl5_10, +perl5_12, or +perl5_14). vq ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
port variants or different port
Hello, 1. I want to write a portfile for install the package auctex for emacs. I have two emacs installed, one is Emacs.app(Cocoa), the other is emacs(for non-graphical command line). Accordingly, I need to specify different configuration for auctex, i.e., set -with-emacs -with-lisp-dir to different locations. I want both Emacs.app and emacs can find the package auctex. In this case, should I write two different port files and give the port different names (auctex and auctex-app, for example) or should I make one portfile with two different variants? I try the latter, but it seems that only one variant is activated, that is, the lisp files only exist in one lisp-dir. Are there any other options I can use to make two variants activated at the same time? 2. How can I see the the definition of Portfiles for a particular port return by port search xxport? Thanks. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Permission Denied with source installation
First off, I've already tried port clean. So I'm wondering if it's an issue specific to how I'm installing from source. I built and installed v2.0.3 using the following scripts: src_env.sh #!/bin/sh export MACPORTS=/Users/arno/Code/macports/development/macports export PATH=/bin:/sbin:/usr/bin:/usr/sbin export PATH=$MACPORTS/bin:$MACPORTS/sbin:$PATH export MANPATH=$MACPORTS/share/man export EDITOR=/usr/bin/nano export LDFLAGS=-L${MACPORTS}/lib export CPPFLAGS=-I${MACPORTS}/include export PKG_CONFIG_PATH=$MACPORTS/lib/pkgconfig export LD_LIBRARY_PATH=$MACPORTS/lib export LD_RUN_PATH=$MACPORTS/lib build.sh #!/bin/sh . /Users/arno/Code/macports/util/src_env.sh export PATH=/bin:/sbin:/usr/bin:/usr/sbin ./configure --prefix=/Users/arno/Code/macports/development/macports/ --with-tclpackage=/Users/arno/Code/macports/development/tcl/ --with-applications-dir=/Users/arno/Code/macports/development/Applications/ --with-frameworks-dir=/Users/arno/Code/macports/development/Frameworks/ --with-ports-dir=/Users/arno/Code/macports/development/ports/ make echo echo now \sudo make install\ I then run sudo make install, source src_env.sh, and run a selfupdate. And that's where I start seeing the permission problems on any installation actions (pasted below). It does indeed seem like it's the issue that should be cleared up by a port clean, but I'm seeing the same behavior after that. Any ideas or additional information that I can provide? Thanks for your help. $ sudo port -d fetch bash-completion DEBUG: Changing to port directory: /Users/arno/Code/macports/development/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/bash-completion DEBUG: OS darwin/11.2.0 (Mac OS X 10.7) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', 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: only one arch supported, so not adding the default universal variant DEBUG: Attempting ln -sf /Users/arno/Code/macports/development/macports/var/macports/build/_Users_arno_Code_macports_development_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_bash-completion/bash-completion/work /Users/arno/Code/macports/development/macports/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/bash-completion/work DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 501 DEBUG: euid changed to: 503 DEBUG: couldn't open /Users/arno/Code/macports/development/macports/var/macports/build/_Users_arno_Code_macports_development_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_bash-completion/bash-completion/work/.macports.bash-completion.state: permission denied while executing open $statefile a+ (procedure open_statefile line 63) invoked from within open_statefile (procedure check_variants line 29) invoked from within check_variants fetch invoked from within $workername eval check_variants $target (procedure mportexec line 7) invoked from within mportexec $workername $target Error: Unable to execute port: couldn't open /Users/arno/Code/macports/development/macports/var/macports/build/_Users_arno_Code_macports_development_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_bash-completion/bash-completion/work/.macports.bash-completion.state: permission denied To report a bug, see http://guide.macports.org/#project.tickets -- arno s hautala /-| a...@alum.wpi.edu pgp b2c9d448 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: port variants or different port
On Jan 2, 2012, at 2:38 p.m., Shiyuan wrote: 1. I want to write a portfile for install the package auctex for emacs. There's already a port called auctex, if you haven't seen it already. I have two emacs installed, one is Emacs.app(Cocoa), the other is emacs(for non-graphical command line). Accordingly, I need to specify different configuration for auctex, i.e., set -with-emacs -with-lisp-dir to different locations. I want both Emacs.app and emacs can find the package auctex. In this case, should I write two different port files and give the port different names (auctex and auctex-app, for example) or should I make one portfile with two different variants? I try the latter, but it seems that only one variant is activated, that is, the lisp files only exist in one lisp-dir. Are there any other options I can use to make two variants activated at the same time? Variants are not mutually exclusive unless you define them to be. In this case, AUCTeX's configure script might only accept one --with-lisp-dir argument and one --with-emacs argument. Your best bet might be separate ports, or maybe subports. I'm not familiar with what AUCTeX installs, so I can't say whether separate ports would step on each other's toes by trying to install the same files. 2. How can I see the the definition of Portfiles for a particular port return by port search xxport? You can print a portfile to stdout by using port cat portname or open it in your default ${EDITOR} with port edit portname. For instance, to open the portfile for emacs-app, use port edit emacs-app. Throw in an option to pick your editor/viewer: port edit --editor vim emacs-app. vq ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: port variants or different port
On Mon, Jan 02, 2012 at 01:38:58PM -0600, Shiyuan wrote: 1. I want to write a portfile for install the package auctex for emacs. First, were you aware that there's already a port for auctex? I have two emacs installed, one is Emacs.app(Cocoa), the other is emacs(for non-graphical command line). Accordingly, I need to specify different configuration for auctex, i.e., set -with-emacs -with-lisp-dir to different locations. I want both Emacs.app and emacs can find the package auctex. Both emacs and emacs-app (as well as the other available emacsen) should be configured so that they'll look for lisp packages in /opt/local/share/emacs/site-lisp. Our elisp packages should probably all install there. In this case, should I write two different port files and give the port different names (auctex and auctex-app, for example) or should I make one portfile with two different variants? I try the latter, but it seems that only one variant is activated, that is, the lisp files only exist in one lisp-dir. Are there any other options I can use to make two variants activated at the same time? You can build a port with multiple variants selected but that probably wouldn't help you in this case. You can't have multiple installations of the port active at once, different variants or otherwise. You could probably do that with subports but I'm not sure that's the best approach here. 2. How can I see the the definition of Portfiles for a particular port return by port search xxport? `port file name` will print the path to the portfile; also, `port cat name` will print the contents. Dan -- Dan R. K. Ports MIT CSAILhttp://drkp.net/ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How do I install the debug version of perl 5.12?
I don't think we have one. These are the variants that are available: $ port variants perl5.12 perl5.12 has the variants: dtrace: Build with DTrace probes shared: Build shared perl library threads: Build with thread support universal: Build for multiple architectures ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Permission Denied with source installation
On Jan 2, 2012, at 14:04, Arno Hautala wrote: DEBUG: couldn't open /Users/arno/Code/macports/development/macports/var/macports/build/_Users_arno_Code_macports_development_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_bash-completion/bash-completion/work/.macports.bash-completion.state: permission denied You've installed MacPorts into your home directory, but are still using the macports user, which does not have permission to access things in your home directory. Either configure MacPorts to use a different user (for example your user), or (not recommended) give the macports user permission to read your home directory. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Permission Denied with source installation
On Mon, Jan 2, 2012 at 20:42, Ryan Schmidt ryandes...@macports.org wrote: You've installed MacPorts into your home directory, but are still using the macports user, which does not have permission to access things in your home directory. Either configure MacPorts to use a different user (for example your user), or (not recommended) give the macports user permission to read your home directory. Yep, while not there yet, I was starting to understand the permissions problem. For now I've simply added a repository to my standard MP install. Thanks for the clarification. -- arno s hautala /-| a...@alum.wpi.edu pgp b2c9d448 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Permission Denied with source installation
On Jan 2, 2012, at 10:23 p.m., Arno Hautala wrote: Yep, while not there yet, I was starting to understand the permissions problem. Next time you try installing into your home directory, you might want to try ./configure --with-no-root-privileges vq ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Permission Denied with source installation
On Mon, Jan 2, 2012 at 22:31, Lawrence Velázquez larry.velazq...@gmail.com wrote: On Jan 2, 2012, at 10:23 p.m., Arno Hautala wrote: Next time you try installing into your home directory, you might want to try ./configure --with-no-root-privileges Thanks for the tip. Though I think I recall that some ports have a problem with this. -- arno s hautala /-| a...@alum.wpi.edu pgp b2c9d448 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users