Reconfiguring WxWidgets
Hi, I have successfully installed wxwidgets 2.8 using macports. I need a slightly different configuration of wxwidgets and have therefore edited the setup.h file accordingly. What's the easyest way to apply the new settings (i.e. recompile wxwidgets with the new setup.h file)? Thanks, Adrian ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Claws-mail port question
Doctor Who wrote: However, I can't figure out how to get the spell check feature working. I have no dictionary listed in the Configuration preferences. Can anyone help with that? I have enchant and gtkspell2 installed. enchant uses the aspell dictionaries, just install any of the aspell-dict-* ports and they will appear in this list. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: sudo: port: command not found
On Jan 12, 2009, at 05:30, Marion Dumas wrote: Hello, I just installed the latest version of MacPorts for Leopard, but the command port does not work (error message; sudo: port: command not found). I am not very experienced with Unix, so I am not too sure what is going wrong. Could anybody help? Thank you very much Marion Welcome to MacPorts, Marion. I'm sending this reply to the macports- users mailing list, where you should continue the topic if necessary. Subscribe to the list first so that your posts will be accepted. The address macports-users-ow...@lists.macosforge.org only reaches the owners of the list and you would be better served by interacting with the entire community. What you describe was a problem with the MacPorts 1.6.0 installer, but if you are using the latest version of MacPorts, 1.7.0, you should not see this problem anymore. You can read about the problem and the various ways to fix it in the problem hotlist in the wiki: http://trac.macports.org/wiki/ProblemHotlist#a.profilenotsetup ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: perl5 install errors
On 2009-01-11 21:18:52 -0800, Bradley Giesbrecht wrote: While struggling to get perl5 reinstalled I noticed a lot of files referencing /opt/local/bin/perl in /usr/share/bin. What do you mean by referencing? Do you have an example? -- Vincent Lefèvre vinc...@vinc17.org - Web: http://www.vinc17.org/ 100% accessible validated (X)HTML - Blog: http://www.vinc17.org/blog/ Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
install trouble Mac OSX 10.4
hello all, I have installed X Code 2.5, and then MacPorts 1.7 on my Mac, and when i run sudo port selfupdate, I get the error listed below wbp-user10:~ silliemunkie$ sudo port selfupdate sudo: port: command not found the entry in my .bash_profile is: export PATH= opt/local/bin: /opt/local/sbin:$PATH any guidance would be greatly appreciated Cheers, Jason ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: install trouble Mac OSX 10.4
Hi, the entry in my .bash_profile is: export PATH= opt/local/bin: /opt/local/sbin:$PATH You are missing an initial / on the first path. That line should be export PATH= /opt/local/bin: /opt/local/sbin:$PATH Chris___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: trying to build 'mg' on Panther
Chris Janton wrote: fi_mtime is a timespec can't see any options/variants that might indicate a setting I can change. ad...@x:admin:200 $ sudo port install mg --- Building mg Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_mg/work/mg-20081211 make all returned error 2 Command output: gcc -O2 -pipe -g -Wall -Werror -Wno-strict-aliasing -c autoexec.c In file included from def.h:13, from autoexec.c:5: sysdef.h:49: error: field `fi_mtime' has incomplete type make: *** [autoexec.o] Error 1 You'll pick up a definition for struct timespec if you #include time.h (or sys/time.h), if that helps. - Josh ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: trying to build 'mg' on Panther
On 2009-01-12 , at 08:06 , Joshua Root wrote: You'll pick up a definition for struct timespec if you #include time.h (or sys/time.h), if that helps. Yes, that will do for now. As long as mg doesn't change too much ;-) I modified the source file with #include time.h and mg built and installed. Thanks. 8) -- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: trying to build 'mg' on Panther
Chris Janton wrote: On 2009-01-12 , at 08:06 , Joshua Root wrote: You'll pick up a definition for struct timespec if you #include time.h (or sys/time.h), if that helps. Yes, that will do for now. As long as mg doesn't change too much ;-) I modified the source file with #include time.h and mg built and installed. Might as well open a ticket requesting that it be patched in that way on darwin 7. - Josh ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Two MacPorts installs: problem with Python
Hi, I shouted victory to soon, as I get the following error when installing gtk2: i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXdamage.1.1.0.dylib: No such file or directory I have a libXdamage.1.dylib in /Developer/SDKs/MacOSX10.5.sdk/usr/X11/ lib. Should I include this path in my environment library variable? I didn't have this problem with the installer... Bart ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Two MacPorts installs: problem with Python
Bart Masschelein wrote: Hi, I shouted victory to soon, as I get the following error when installing gtk2: i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXdamage.1.1.0.dylib: No such file or directory I have a libXdamage.1.dylib in /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib. Should I include this path in my environment library variable? I didn't have this problem with the installer... http://trac.macports.org/wiki/LeopardProblems#usrX11liblibXrandr.2.0.0.dylib:Nosuchfileordirectory - Josh ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Two MacPorts installs: problem with Python
Too hasty... I recall that I have installed the gtk2 without x11 (+quartz variant) previously, so that probably explains why I didn't have a problem. Bart ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
installing boost-python
Hi all, I have a problem installing the boost python libraries over macports. It actually installs fine, but it looks like the libboost_python* libraries don't pick up the macport python headers/libraries, but the system ones. Eg: $ otool -L libboost_python-mt.dylib libboost_python-mt.dylib: /opt/local/lib/libboost_python-mt.dylib (compatibility version 0.0.0, current version 0.0.0) /System/Library/Frameworks/Python.framework/Versions/2.5/Python (compatibility version 2.5.0, current version 2.5.1) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0 where I would have expected the python line to be prepended with /opt/local at least. The problem shows up once I try to compile a file with libboost_python into a python so module, because the python interpreter (which is the /opt/local/bin/python25 one) doesn't agree with the version number: the module was linked with 2.5.1 system libraries, not with the 2.5.4 macport ones. I've tried uninstalling and installing boost, but that doesn't appear to work. The boost portfile does explicitly seem to link to the macport python libraries, so I cannot see any problem there. I realise this may not completely be a macports issue, but possibly something to ask the maintainer, but if anyone on the list has some suggestions where to look or what to change, I'd appreciate that. For the record, the system is a G5 pro running Leopard. Evert ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Claws-mail port question
On Mon, Jan 12, 2009 at 4:24 AM, Rainer Müller rai...@macports.org wrote: Doctor Who wrote: However, I can't figure out how to get the spell check feature working. I have no dictionary listed in the Configuration preferences. Can anyone help with that? I have enchant and gtkspell2 installed. enchant uses the aspell dictionaries, just install any of the aspell-dict-* ports and they will appear in this list. Rainer So, I want to try to remove and then re-install claws-mail so that it picks up the aspell dictionary. I tried: sudo port deactivate claws-mail sudo port uninstall claws-mail I then re-installed claws-mail but all of my previous account settings were still there and the drop-down for dictionaries was still blank. So how do I do this 'correctly'? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: installing boost-python
it looks like the libboost_python* libraries don't pick up the macport python headers/libraries, but the system ones. Did you install boost with any of the python variants (python24, python25, or python26)? Yes (sorry, forgot to mention that earlier): $ port install boost +python25+icu (well, the icu isn't necessary, and shouldn't matter anyways) If yes, then this is a boost bug you should report. Ok, I'll file a ticket at the macports website. I use the python26 variant, and it finds the correct MacPorts python. Which does make me suspicious that it doesn't work me. I wonder if it's worth uninstalling/deactiving the python25 variant, and installing the python26 variant, to see what happens for me. If no, then this is also a bug you should report, but an easy workaround would be to reinstall boost with the python variant of your choice. -Marcus ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Claws-mail port question
Doctor Who wrote: I have the aspell-dict-en port installed, but it may have been done *after* I installed claws-mail. Perhaps I need to uninstall and reinstall the claws-mail port for it to pick up the aspell dictionary? No, there should not be any need to reinstall things. I just installed additional aspell-dict-* ports and they are shown in preferences in claws-mail. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Claws-mail port question
On Mon, Jan 12, 2009 at 6:48 PM, Rainer Müller rai...@macports.org wrote: Doctor Who wrote: I have the aspell-dict-en port installed, but it may have been done *after* I installed claws-mail. Perhaps I need to uninstall and reinstall the claws-mail port for it to pick up the aspell dictionary? No, there should not be any need to reinstall things. I just installed additional aspell-dict-* ports and they are shown in preferences in claws-mail. Rainer Hmmm...not sure why it's not working for me :-( Any ideas? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: install trouble Mac OSX 10.4
On Jan 12, 2009, at 08:43, Chris Jones wrote: the entry in my .bash_profile is: export PATH= opt/local/bin: /opt/local/sbin:$PATH You are missing an initial / on the first path. That line should be export PATH= /opt/local/bin: /opt/local/sbin:$PATH Actually there should not be spaces there. The line should read: export PATH=/opt/local/bin:/opt/local/sbin:$PATH Did the MacPorts installer do this to your .bash_profile or did you set it up manually? If the former, then we have a bug in the setup script somewhere ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Reconfiguring WxWidgets
On Jan 7, 2009, at 10:31, Adrian Grigore wrote: I have successfully installed wxwidgets 2.8 using macports. I need a slightly different configuration of wxwidgets and have therefore edited the setup.h file accordingly. What's the easyest way to apply the new settings (i.e. recompile wxwidgets with the new setup.h file)? You could: port deactivate wxWidgets port clean wxWidgets port extract wxWidgets Make whatever changes you want to the files in `port dir wxWidgets`/ work, then: port install wxWidgets These changes will of course not persist next time you reinstall or update wxWidgets. What changes are you making? Would they be generally useful to the MacPorts population? If so, perhaps they can be incorporated into the wxWidgets portfile. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Error on environment?
On Jan 11, 2009, at 14:13, Doctor Who wrote: I installed the findutils and coreutils packages so that I could use locate on my Mac. FYI, locate works fine on my Mac without installing anything extra with MacPorts... I'm on Tiger, though I've probably enabled something somewhere along the way to get this to work. When I attempt to update the database using 'updatedb', I get: /usr/bin/sort: string comparison failed: Illegal byte sequence /usr/bin/sort: Set LC_ALL='C' to work around the problem. /usr/bin/sort: The strings compared were `/APPLICATIONS/BURN.APP/CONTENTS/RESOURCES/JAPANESE.LPROJ/BURN Ã\230Ã\253Ã\225Â\232/TY/TASK_STYLE.CSS' and `/APPLICATIONS/BURN.APP/CONTENTS/RESOURCES/JAPANESE.LPROJ/ CREDITS.HTML'. Hopefully someone can tell me how to fix this. Is your LANG environment variable set to anything? If so, what? I assume you need to set it to a reasonable value for your terminal. For example, I set LANG to en_US.UTF-8. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: perl5 install errors
On Jan 12, 2009, at 4:09 AM, Vincent Lefevre wrote: On 2009-01-11 21:18:52 -0800, Bradley Giesbrecht wrote: While struggling to get perl5 reinstalled I noticed a lot of files referencing /opt/local/bin/perl in /usr/share/bin. What do you mean by referencing? Do you have an example? Sure, heres what surprises me: bash-3.2# grep -R /opt/local/bin/ /usr/share/bin/ /usr/share/bin/c2ph:#!/opt/local/bin/perl /usr/share/bin/c2ph:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/corelist:#!/opt/local/bin/perl /usr/share/bin/corelist:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/cpan:#!/opt/local/bin/perl /usr/share/bin/cpan:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/dprofpp:#!/opt/local/bin/perl /usr/share/bin/enc2xs:#!/opt/local/bin/perl /usr/share/bin/enc2xs:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/enc2xs.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/enc2xs.mp_1231737032:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/find2perl:#!/opt/local/bin/perl /usr/share/bin/find2perl:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/find2perl:/opt/local/bin/perl /usr/share/bin/find2perl.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/find2perl.mp_1231737032:eval 'exec /opt/local/bin/ perl -S $0 ${1+$@}' /usr/share/bin/find2perl.mp_1231737032:/opt/local/bin/perl /usr/share/bin/h2ph:#!/opt/local/bin/perl /usr/share/bin/h2ph:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/h2ph.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/h2ph.mp_1231737032:eval 'exec /opt/local/bin/perl - S $0 ${1+$@}' /usr/share/bin/h2xs:#!/opt/local/bin/perl /usr/share/bin/h2xs:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/h2xs.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/h2xs.mp_1231737032:eval 'exec /opt/local/bin/perl - S $0 ${1+$@}' /usr/share/bin/instmodsh:#!/opt/local/bin/perl /usr/share/bin/instmodsh:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/instmodsh.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/instmodsh.mp_1231737032:eval 'exec /opt/local/bin/ perl -S $0 ${1+$@}' /usr/share/bin/libnetcfg:#!/opt/local/bin/perl /usr/share/bin/libnetcfg:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/libnetcfg.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/libnetcfg.mp_1231737032:eval 'exec /opt/local/bin/ perl -S $0 ${1+$@}' /usr/share/bin/perlbug:#!/opt/local/bin/perl /usr/share/bin/perlbug:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/perlbug.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/perlbug.mp_1231737032:eval 'exec /opt/local/bin/ perl -S $0 ${1+$@}' /usr/share/bin/perlcc:#!/opt/local/bin/perl /usr/share/bin/perlcc:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/perlcc.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/perlcc.mp_1231737032:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/perldoc:#!/opt/local/bin/perl /usr/share/bin/perldoc:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/perldoc.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/perldoc.mp_1231737032:eval 'exec /opt/local/bin/ perl -S $0 ${1+$@}' /usr/share/bin/perlivp:#!/opt/local/bin/perl /usr/share/bin/perlivp:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/perlivp:my $perlpath = '/opt/local/bin/perl'; /usr/share/bin/perlivp.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/perlivp.mp_1231737032:eval 'exec /opt/local/bin/ perl -S $0 ${1+$@}' /usr/share/bin/perlivp.mp_1231737032:my $perlpath = '/opt/local/bin/ perl'; /usr/share/bin/perlthanks:#!/opt/local/bin/perl /usr/share/bin/perlthanks:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/piconv:#!/opt/local/bin/perl /usr/share/bin/piconv:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/piconv.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/piconv.mp_1231737032:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/pl2pm:#!/opt/local/bin/perl /usr/share/bin/pl2pm:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/pl2pm.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/pl2pm.mp_1231737032:eval 'exec /opt/local/bin/perl - S $0 ${1+$@}' /usr/share/bin/pod2html:#!/opt/local/bin/perl /usr/share/bin/pod2html:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/pod2html.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/pod2html.mp_1231737032:eval 'exec /opt/local/bin/ perl -S $0 ${1+$@}' /usr/share/bin/pod2latex:#!/opt/local/bin/perl /usr/share/bin/pod2latex:eval 'exec /opt/local/bin/perl -S $0 ${1+$@}' /usr/share/bin/pod2latex.mp_1231737032:#!/opt/local/bin/perl /usr/share/bin/pod2latex.mp_1231737032:eval 'exec /opt/local/bin/ perl -S $0 ${1+$@}' /usr/share/bin/pod2man:#!/opt/local/bin/perl /usr/share/bin/pod2man:eval 'exec
Re: gd2 fails on perl5
On Jan 11, 2009, at 11:36 PM, Joshua Root wrote: Bradley Giesbrecht wrote: I still don't understand why perl5 is writing anything to /usr/share/bin. I've used fink, darwinports and now macports for years and I thought they installed in complete isolation under /sw or / opt/local. Everything being under /opt/local is indeed the expected behaviour, bar the few exceptions that have a good reason to install files elsewhere. And indeed that is the case for perl5.8 here, according to 'port contents perl5.8'. It really does look as though your prefix has somehow been set to /usr/share. If it is I don't know where. bash-3.2# env SHELL=/bin/bash TERM=xterm-color USER=root SUDO_USER=brad SUDO_UID=501 SSH_AUTH_SOCK=/tmp/501/nl.uu.phil.SSHAgent.socket __CF_USER_TEXT_ENCODING=0x1F5:0:0 PATH=/Users/brad/bin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/ sbin:/usr/local/bin:/usr/local/sbin:/usr/share/bin:/usr/local/php5/ bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin PWD=/Users/brad/Sandbox/pecl/runkit LANG=en_US.UTF-8 SHLVL=1 SUDO_COMMAND=/bin/bash HOME=/Users/brad LOGNAME=root SUDO_GID=501 DISPLAY=/tmp/launch-UjAiw0/:0 _=/usr/bin/env OLDPWD=/Users/brad bash-3.2# grep -R prefix /opt/local/etc/macports/ /opt/local/etc/macports/macports.conf:prefix/opt/local /opt/local/etc/macports/macports.conf:x11prefix /usr/X11 /opt/local/etc/macports/variants.conf:# in the system wide ${prefix}/ etc/macports/macports.conf bash-3.2# grep -R /usr/share /opt/local/etc/macports/ bash-3.2# cat ~/.profile bind -x '\C-p':'echo $PWD' PS1='\h: \u\$ ' alias ls='ls -G' alias tclsh='rlwrap tclsh' export PATH=~/bin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/ usr/local/bin:/usr/local/sbin:/usr/share/bin:/usr/local/php5/bin:$PATH export MANPATH=/opt/local/share/man:/usr/local/ch5.5.0/docs/man:$MANPATH bash-3.2# cat /etc/profile # System-wide .profile for sh(1) if [ -x /usr/libexec/path_helper ]; then eval `/usr/libexec/path_helper -s` fi if [ ${BASH-no} != no ]; then [ -r /etc/bashrc ] . /etc/bashrc fi bash-3.2# cat /etc/bashrc # System-wide .bashrc file for interactive bash(1) shells. if [ -z $PS1 ]; then return fi PS1='\h:\W \u\$ ' # Make bash check its window size after a process completes shopt -s checkwinsize ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users