Re: Please send contents of current mysqld file
On 03/09/2011 02:51 AM, David Gentry wrote: My Mac appears to corrupt the mysqld file whenever I download mysql5 and mysql5-server from MacPorts. I would very much like to see a current copy of the contents of mysqld. Maybe that way I can determine what my Mac is doing to mysqld. Could someone please send me a copy of the contents of mysqld? What makes you think it is corrupt? What is the error message or behavior you are seeing? Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
[no subject]
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
Re: Compile Octave with GraphicsMagick patched
I applied the patch to the source code but it seems not to prevent octave from crash when doing an imread() Can someone confirm on this? By the way, thanks Ryan Il giorno 09/mar/2011, alle ore 07.14, Ryan Schmidt ha scritto: On Mar 8, 2011, at 02:10, conahorse wrote: Hi all, I'm not able to use 'imread()' with the octave version provided with ports since it uses GraphicsMagick unpatched (the patch I'm talking about concerns a widespread problem and can be found here http://savannah.gnu.org/bugs/?29474). The patch attached there 8 months ago indicates changes to be made to both GraphicsMagick and octave to solve the problem. If this is so important, why have the developers of these software packages not incorporated these changes by now? More generally, is there a way to patch a port before building it? Sure: sudo port extract PORTNAME Then go into the directory identified by: port work PORTNAME Make the changes you desire. Then: sudo port install PORTNAME and it will pick up where it left off. Or, is there a way to tell ports to use an already existing dependency lib instead of fetching and configuring their own? No, MacPorts uses its own libraries only; we cannot support the uncertainty of allowing users to provide their own versions of things. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Sending mail with mutt
On Mar 8, 2011, at 9:00 PM, Gregory Seidman wrote: When I don't give mutt any outgoing mail configuration it seems to be happy sending, but no email ever arrives anywhere. It seems to be getting queued in /var/spool/postfix/active, but I am not familiar enough with postfix to figure out what I should be doing with it. Help? You can configure postfix to use a 'smarthost' to deliver mail. I believe all you need to do is put: relayhost = [remote.smtp.server]:port in your /etc/postfix/main.cf (see also http://www.postfix.org/postconf.5.html#relayhost) I don't recall if you need to tell launchd to run postfix or not, though (the included launchd .plist for postfix is nice, though. On your machine postfix will automatically start up and deliver mail to the smarthost when you send mail and after a little while of inactivity, it will quit) -- Daniel J. Luke ++ | * dl...@geeklair.net * | | *-- http://www.geeklair.net -* | ++ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | ++ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
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: Re:
If you noticed the number in square brackets next to the process when you suspended it, you can also say kill %n where n is the number, e.g. kill %1. You then need to type fg (or bg) to continue the process, so it can die. Russell From: macports-users-boun...@lists.macosforge.org [macports-users-boun...@lists.macosforge.org] on behalf of Jason Swails [jason.swa...@gmail.com] Sent: 09 March 2011 15:16 To: Bruno DOUTRIAUX - Youmé-TECH Cc: macports-users@lists.macosforge.org Subject: 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.commailto: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/gcc45http://rsync.macports.org/release/ports/lang/gcc45 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gcc45http://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.confhttp://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.frhttp://www.youmetech.fr/ www.depannage-informatique-valenciennes.frhttp://www.depannage-informatique-valenciennes.fr/ - ___ macports-users mailing list macports-users@lists.macosforge.orgmailto: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: Please send contents of current mysqld file
Ryan, I did not mean to imply that the MacPorts file, mysqld, is corrupt. Somehow it is getting corrupted on my system, and I intend to find out how. I did not know that every system will treat mysqld differently. That is good to know. However, that information just adds to the mystery. My system is a bread and butter Mac OS X version 10.6.6. The reason I asked for the file contents, such as a text file, is that if I get the executable file my system might mess it up. I will continue to pursue other avenues to solve the mystery of why my system corrupts the MacPorts mysqld. As I have more information, I will pass it on to the email list. It might help someone. From what I have learned, at this point I doubt that the MacPorts wiki is out of date. David On Mar 9, 2011, at 12:06 AM, Ryan Schmidt wrote: On Mar 8, 2011, at 19:51, David Gentry wrote: My Mac appears to corrupt the mysqld file whenever I download mysql5 and mysql5-server from MacPorts. I would very much like to see a current copy of the contents of mysqld. Maybe that way I can determine what my Mac is doing to mysqld. Could someone please send me a copy of the contents of mysqld? I can 100% assure you that if MacPorts extracts the downloaded file (and then patches, configures, builds, destroots, and installs it), it is not corrupt. MacPorts includes checksums on all distfiles and will not proceed if the file you downloaded is not exactly byte-for-byte the same file that I (in the case of the mysql ports) verified works correctly. mysqld is a compiled program, and how it is compiled depends on your operating system version and processor architecture. So getting one from someone else won't necessarily get you something that works on your system. From what you've written on this topic before, I have no reason so far to believe there is a fault in the mysqld program particularly. It's certainly possible our instructions in the wiki have gone out of date; I have not tried to follow them in a long time. David J. Gentry President Good Things -- Small Packages, LLC 205-637-8000 dgen...@localbusinesswebsites.com www.localbusinesswebsites.com ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Please send contents of current mysqld file
It's not really clear what leads you to suspect corruption in the first instance. Perhaps we might start with how you get to that conclusion and work out a shared understanding of the problem on that basis? On 9 Mar 2011, at 18:54, David Gentry wrote: Ryan, I did not mean to imply that the MacPorts file, mysqld, is corrupt. Somehow it is getting corrupted on my system, and I intend to find out how. I did not know that every system will treat mysqld differently. That is good to know. However, that information just adds to the mystery. My system is a bread and butter Mac OS X version 10.6.6. The reason I asked for the file contents, such as a text file, is that if I get the executable file my system might mess it up. I will continue to pursue other avenues to solve the mystery of why my system corrupts the MacPorts mysqld. As I have more information, I will pass it on to the email list. It might help someone. From what I have learned, at this point I doubt that the MacPorts wiki is out of date. David On Mar 9, 2011, at 12:06 AM, Ryan Schmidt wrote: On Mar 8, 2011, at 19:51, David Gentry wrote: My Mac appears to corrupt the mysqld file whenever I download mysql5 and mysql5-server from MacPorts. I would very much like to see a current copy of the contents of mysqld. Maybe that way I can determine what my Mac is doing to mysqld. Could someone please send me a copy of the contents of mysqld? I can 100% assure you that if MacPorts extracts the downloaded file (and then patches, configures, builds, destroots, and installs it), it is not corrupt. MacPorts includes checksums on all distfiles and will not proceed if the file you downloaded is not exactly byte-for-byte the same file that I (in the case of the mysql ports) verified works correctly. mysqld is a compiled program, and how it is compiled depends on your operating system version and processor architecture. So getting one from someone else won't necessarily get you something that works on your system. From what you've written on this topic before, I have no reason so far to believe there is a fault in the mysqld program particularly. It's certainly possible our instructions in the wiki have gone out of date; I have not tried to follow them in a long time. David J. Gentry President Good Things -- Small Packages, LLC 205-637-8000 dgen...@localbusinesswebsites.com www.localbusinesswebsites.com ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users smime.p7s Description: S/MIME cryptographic signature ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Sending mail with mutt
On Wed, Mar 09, 2011 at 09:58:39AM -0500, Daniel J. Luke wrote: On Mar 8, 2011, at 9:00 PM, Gregory Seidman wrote: When I don't give mutt any outgoing mail configuration it seems to be happy sending, but no email ever arrives anywhere. It seems to be getting queued in /var/spool/postfix/active, but I am not familiar enough with postfix to figure out what I should be doing with it. Help? You can configure postfix to use a 'smarthost' to deliver mail. I believe all you need to do is put: relayhost = [remote.smtp.server]:port in your /etc/postfix/main.cf (see also http://www.postfix.org/postconf.5.html#relayhost) I don't recall if you need to tell launchd to run postfix or not, though (the included launchd .plist for postfix is nice, though. On your machine postfix will automatically start up and deliver mail to the smarthost when you send mail and after a little while of inactivity, it will quit) That helps, but I don't know where to put the username and password for the outbound SMTP server I'm specifying in relayhost. Daniel J. Luke --Greg ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Sending mail with mutt
On Mar 9, 2011, at 3:37 PM, Gregory Seidman wrote: That helps, but I don't know where to put the username and password for the outbound SMTP server I'm specifying in relayhost. There are a bunch of tutorials online for this. A simple google search turned this up: http://wingloon.com/2008/06/21/setup-relay-host-port-and-smtp-authentication-client-in-postfix/ -- Daniel J. Luke ++ | * dl...@geeklair.net * | | *-- http://www.geeklair.net -* | ++ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | ++ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Sending mail with mutt
On Tue, Mar 08, 2011 at 09:00:17PM -0500, Gregory Seidman wrote: I've been trying to get mutt to be able to send email, but I don't know what I need to configure. the easiest way IMHO is to use the mutt-devel port (the 1.5 branch; the stable branch, 1.4, is almost four years old now) with the smtp variant. then specify your smpt server and username/password in .muttrc and off you go. -- Joost Kremers, PhD University of Göttingen Institute for German Philology Käte-Hamburger-Weg 3 37073 Göttingen, Germany ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
openvpn (how configure the client)
Hi folks :-) I installed openvpn client (I have cert, key and config client). Where I have to put these files and run openvpn client? thanks! Pol ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
[no subject]
hello i encountered an error trying to install py27-hgsvn and i don't know how to resolve it. imac-de-meriem-lentz:~ harlock59$ sudo port -d install py27-hgsvn Password: DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/python/py27-hgsvn DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/python/py27-hgsvn 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: Using group file /opt/local/var/macports/sources/ rsync.macports.org/release/ports/_resources/port1.0/group/python27-1.0.tcl DEBUG: not using configure, so not adding the default universal variant DEBUG: Requested variant powerpc is not provided by port py27-hgsvn. DEBUG: Requested variant darwin is not provided by port py27-hgsvn. DEBUG: Requested variant macosx is not provided by port py27-hgsvn. --- Computing dependencies for py27-hgsvn DEBUG: Searching for dependency: python27 DEBUG: Didn't find receipt, going to depspec regex for: python27 DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/lang/python27 DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/lang/python27 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: Using group file /opt/local/var/macports/sources/ rsync.macports.org/release/ports/_resources/port1.0/group/select-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/ rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant powerpc is not provided by port python27. DEBUG: Requested variant macosx is not provided by port python27. DEBUG: Executing variant darwin provides darwin DEBUG: Searching for dependency: py27-distribute DEBUG: Didn't find receipt, going to depspec regex for: py27-distribute DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/python/py27-distribute DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/python/py27-distribute 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: Using group file /opt/local/var/macports/sources/ rsync.macports.org/release/ports/_resources/port1.0/group/python27-1.0.tcl DEBUG: not using configure, so not adding the default universal variant DEBUG: Requested variant powerpc is not provided by port py27-distribute. DEBUG: Requested variant darwin is not provided by port py27-distribute. DEBUG: Requested variant macosx is not provided by port py27-distribute. DEBUG: Searching for dependency: gettext DEBUG: Found Dependency: receipt exists for gettext DEBUG: Searching for dependency: zlib DEBUG: Found Dependency: receipt exists for zlib DEBUG: Searching for dependency: openssl DEBUG: Found Dependency: receipt exists for openssl DEBUG: Searching for dependency: tk DEBUG: Found Dependency: receipt exists for tk DEBUG: Searching for dependency: sqlite3 DEBUG: Found Dependency: receipt exists for sqlite3 DEBUG: Searching for dependency: db46 DEBUG: Found Dependency: receipt exists for db46 DEBUG: Searching for dependency: ncurses DEBUG: Found Dependency: receipt exists for ncurses DEBUG: Searching for dependency: gdbm DEBUG: Found Dependency: receipt exists for gdbm DEBUG: Searching for dependency: bzip2 DEBUG: Found Dependency: receipt exists for bzip2 DEBUG: Searching for dependency: readline DEBUG: Found Dependency: receipt exists for readline DEBUG: Checking for conflicts against py27-distribute DEBUG: Searching for dependency: py27-setuptools DEBUG: Didn't find receipt, going to depspec regex for: py27-setuptools DEBUG: Searching for dependency: python27 DEBUG: Didn't find receipt, going to depspec regex for: python27 DEBUG: Found port in file:///opt/local/var/macports/sources/
Fwd: Please send contents of current mysqld file
Rainer, I am responding to your message of today: On 03/09/2011 02:51 AM, David Gentry wrote: My Mac appears to corrupt the mysqld file whenever I download mysql5 and mysql5-server from MacPorts. I would very much like to see a current copy of the contents of mysqld. Maybe that way I can determine what my Mac is doing to mysqld. Could someone please send me a copy of the contents of mysqld? What makes you think it is corrupt? What is the error message or behavior you are seeing? The behavior I am seeing: I am following the MacPorts wiki, and I run either sudo -u mysql mysql_install_db5 or sudo mysql_install_db5. I get the same response: FATAL ERROR: Could not find mysqld The following directories were searched: /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/libexec /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/sbin /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/bin If you compiled from source, you need to run 'make install' to copy the software into the correct location ready for operation. If you are using a binary release, you must either be at the top level of the extracted archive, or pass the --basedir option pointing to that location. I had trashed the directories searched, and then I had run secure empty trash. I can resolve that error by moving mysqld to the same directory as mysql_install_db, namely /opt/local/lib/mysql5/bin/, and then running sudo mysql_install_db5 --basedir=/opt/local/lib/mysql5/bin. The response is: FATAL ERROR: Could not find my_print_defaults The following directories were searched: /opt/local/lib/mysql5/bin/bin /opt/local/lib/mysql5/bin/extra If you compiled from source, you need to run 'make install' to copy the software into the correct location ready for operation. If you are using a binary release, you must either be at the top level of the extracted archive, or pass the --basedir option pointing to that location. If I move my_print_defaults to the same basedir as mysqld and mysql_install_db5, then the above error message will be resolved but another will appear concerning another file. If I move that file to the basedir, I will get another error message about another file. After I move 5-7 files and run the same command, I will get a message like Establishing tables [I don't remember the exact words] and the text of mysqld: 110309 14:31:30 [Warning] '--log' is deprecated and will be removed in a future release. Please use ''--general_log'/'--general_log_file'' instead. 110309 14:31:30 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead. 110309 14:31:30 [Warning] /opt/local/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead. 110309 14:31:30 [Warning] /opt/local/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead. 110309 14:31:30 [Warning] /opt/local/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead. 110309 14:31:30 [ERROR] Can't find messagefile '/usr/local/mysql-5.5.6-rc-osx10.6-x86_64/share/mysql5/mysql/__PREFIX/share/mysql/english/errmsg.sys' 110309 14:31:30 [Warning] Can't create test file /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/data/DAVID.lower-test 110309 14:31:30 [Warning] Can't create test file /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/data/DAVID.lower-test /opt/local/libexec/mysqld: Can't change dir to '/usr/local/mysql-5.5.6-rc-osx10.6-x86_64/data/' (Errcode: 2) 110309 14:31:30 [ERROR] Aborting 110309 14:31:30 [Note] Except for the timestamp, the text is the same as when I run /opt/local/lib/mysql5/bin/mysqld. The aborting message to me means that mysqld does not run fully. It seems to get derailed at the first ERROR message by a file which has been securely deleted from my Mac: /usr/local/mysql-5.5.6-rc-osx10.6-x86_64. Today, I did not go further than moving mysqld and my_print_defaults to a basedir [the same directory as mysql_install_db5]. A day or two ago, I moved 5-7 files as I describe above. Today, before I moved mysqld and my_print_defaults to a basedir, I ran port provides on them, and I got the response that they came from mysql5. After I moved them to my basedir, I ran port provides again, and I got the message that the files are not provided by a MacPorts port -- which makes sense because after I moved them they were no longer in the directories in which MacPorts installed them. David Begin forwarded message: From: David Gentry localbusinesswebsi...@earthlink.net Date: March 9, 2011 12:54:01 PM CST To: Ryan Schmidt ryandes...@macports.org Cc: MacPorts macports-users@lists.macosforge.org Subject: Re: Please send contents of current mysqld file Ryan, I did not mean to imply that the MacPorts file, mysqld, is corrupt.
Re: Please send contents of current mysqld file
I don't see anything in there that would indicate that anything has been corrupted? Scott On Wed, Mar 9, 2011 at 2:09 PM, David Gentry localbusinesswebsi...@earthlink.net wrote: Rainer, I am responding to your message of today: On 03/09/2011 02:51 AM, David Gentry wrote: My Mac appears to corrupt the mysqld file whenever I download mysql5 and mysql5-server from MacPorts. I would very much like to see a current copy of the contents of mysqld. Maybe that way I can determine what my Mac is doing to mysqld. Could someone please send me a copy of the contents of mysqld? What makes you think it is corrupt? What is the error message or behavior you are seeing? The behavior I am seeing: I am following the MacPorts wiki, and I run either sudo -u mysql mysql_install_db5 or sudo mysql_install_db5. I get the same response: FATAL ERROR: Could not find mysqld The following directories were searched: /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/libexec /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/sbin /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/bin If you compiled from source, you need to run 'make install' to copy the software into the correct location ready for operation. If you are using a binary release, you must either be at the top level of the extracted archive, or pass the --basedir option pointing to that location. I had trashed the directories searched, and then I had run secure empty trash. I can resolve that error by moving mysqld to the same directory as mysql_install_db, namely /opt/local/lib/mysql5/bin/, and then running sudo mysql_install_db5 --basedir=/opt/local/lib/mysql5/bin. The response is: FATAL ERROR: Could not find my_print_defaults The following directories were searched: /opt/local/lib/mysql5/bin/bin /opt/local/lib/mysql5/bin/extra If you compiled from source, you need to run 'make install' to copy the software into the correct location ready for operation. If you are using a binary release, you must either be at the top level of the extracted archive, or pass the --basedir option pointing to that location. If I move my_print_defaults to the same basedir as mysqld and mysql_install_db5, then the above error message will be resolved but another will appear concerning another file. If I move that file to the basedir, I will get another error message about another file. After I move 5-7 files and run the same command, I will get a message like Establishing tables [I don't remember the exact words] and the text of mysqld: 110309 14:31:30 [Warning] '--log' is deprecated and will be removed in a future release. Please use ''--general_log'/'--general_log_file'' instead. 110309 14:31:30 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead. 110309 14:31:30 [Warning] /opt/local/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead. 110309 14:31:30 [Warning] /opt/local/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead. 110309 14:31:30 [Warning] /opt/local/libexec/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead. 110309 14:31:30 [ERROR] Can't find messagefile '/usr/local/mysql-5.5.6-rc-osx10.6-x86_64/share/mysql5/mysql/__PREFIX/share/mysql/english/errmsg.sys' 110309 14:31:30 [Warning] Can't create test file /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/data/DAVID.lower-test 110309 14:31:30 [Warning] Can't create test file /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/data/DAVID.lower-test /opt/local/libexec/mysqld: Can't change dir to '/usr/local/mysql-5.5.6-rc-osx10.6-x86_64/data/' (Errcode: 2) 110309 14:31:30 [ERROR] Aborting 110309 14:31:30 [Note] Except for the timestamp, the text is the same as when I run /opt/local/lib/mysql5/bin/mysqld. The aborting message to me means that mysqld does not run fully. It seems to get derailed at the first ERROR message by a file which has been securely deleted from my Mac: /usr/local/mysql-5.5.6-rc-osx10.6-x86_64. Today, I did not go further than moving mysqld and my_print_defaults to a basedir [the same directory as mysql_install_db5]. A day or two ago, I moved 5-7 files as I describe above. Today, before I moved mysqld and my_print_defaults to a basedir, I ran port provides on them, and I got the response that they came from mysql5. After I moved them to my basedir, I ran port provides again, and I got the message that the files are not provided by a MacPorts port -- which makes sense because after I moved them they were no longer in the directories in which MacPorts installed them. David Begin forwarded message: From: David Gentry localbusinesswebsi...@earthlink.net Date: March 9, 2011 12:54:01 PM CST To: Ryan Schmidt ryandes...@macports.org Cc: MacPorts macports-users@lists.macosforge.org Subject: Re: Please send contents of current mysqld file Ryan, I did not mean to imply
Re: your mail
On Wed, Mar 09, 2011 at 11:00:16PM +0100, Bruno DOUTRIAUX - Youmé-TECH said: hello i encountered an error trying to install py27-hgsvn and i don't know how to resolve it. imac-de-meriem-lentz:~ harlock59$ sudo port -d install py27-hgsvn [...] DEBUG: Skipping completed org.macports.extract (python27) DEBUG: Executing org.macports.patch (python27) --- Applying patches to python27 --- Applying /opt/local/var/macports/sources/ rsync.macports.org/release/ports/lang/python27/files/patch-Makefile.pre.in.diff DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7b1 /usr/bin/patch -p0' patching file Makefile.pre.in Hunk #1 FAILED at 394. Hunk #2 FAILED at 993. Hunk #3 FAILED at 1073. 3 out of 3 hunks FAILED -- saving rejects to file Makefile.pre.in.rej The python27 port hasn't been at the 2.7b1 version in months, I believe you need to selfupdate (it is currently 2.7.1). Bryan [...] -- -- 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
Re: your mail
ok, i'll do a sudo port selfupdate 2011/3/9 Bryan Blackburn b...@macports.org On Wed, Mar 09, 2011 at 11:00:16PM +0100, Bruno DOUTRIAUX - Youmé-TECH said: hello i encountered an error trying to install py27-hgsvn and i don't know how to resolve it. imac-de-meriem-lentz:~ harlock59$ sudo port -d install py27-hgsvn [...] DEBUG: Skipping completed org.macports.extract (python27) DEBUG: Executing org.macports.patch (python27) --- Applying patches to python27 --- Applying /opt/local/var/macports/sources/ rsync.macports.org/release/ports/lang/python27/files/patch-Makefile.pre.in.diff DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7b1 /usr/bin/patch -p0' patching file Makefile.pre.in Hunk #1 FAILED at 394. Hunk #2 FAILED at 993. Hunk #3 FAILED at 1073. 3 out of 3 hunks FAILED -- saving rejects to file Makefile.pre.in.rej The python27 port hasn't been at the 2.7b1 version in months, I believe you need to selfupdate (it is currently 2.7.1). Bryan [...] -- -- 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 -- -- 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
Re: Please send contents of current mysqld file
On Mar 9, 2011, at 2:09 PM, David Gentry wrote: Rainer, I am responding to your message of today: On 03/09/2011 02:51 AM, David Gentry wrote: My Mac appears to corrupt the mysqld file whenever I download mysql5 and mysql5-server from MacPorts. I would very much like to see a current copy of the contents of mysqld. Maybe that way I can determine what my Mac is doing to mysqld. Could someone please send me a copy of the contents of mysqld? What makes you think it is corrupt? What is the error message or behavior you are seeing? The behavior I am seeing: I am following the MacPorts wiki, and I run either sudo -u mysql mysql_install_db5 or sudo mysql_install_db5. I get the same response: FATAL ERROR: Could not find mysqld The following directories were searched: /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/libexec /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/sbin /usr/local/mysql-5.5.6-rc-osx10.6-x86_64/bin David, MacPorts does not support having anything in a directory named /usr/ local. Please reply with the output of the following comments. $ echo $PATH $ ls -la /usr/local $ port contents mysql5 Regards, Bradley Giesbrecht___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Fwd: Re:
hello, the command ps-a gives me that so i tried kill %22766 but it gave me that -bash: kill: %22766: no such job imac-de-meriem-lentz:~ harlock59$ ps -a PID TTY TIME CMD 1432 ttys0000:00.47 login -pf harlock59 1433 ttys0000:00.24 -bash 15395 ttys0000:00.01 ps -a 22766 ttys0000:00.74 /usr/bin/tclsh /opt/local/bin/port -d install gcc45 75531 ttys0000:00.02 man port 75540 ttys0000:00.01 sh -c (cd '/opt/local/share/man' (echo .ll 7.7i; echo 75541 ttys0000:00.01 sh -c (cd '/opt/local/share/man' (echo .ll 7.7i; echo 75546 ttys0000:00.00 sh -c (cd '/opt/local/share/man' (echo .ll 7.7i; echo 75547 ttys0000:00.21 /usr/bin/less -is 15386 ttys0010:01.64 /usr/bin/tclsh /opt/local/bin/port selfupdate 15388 ttys0010:12.54 /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.o 15389 ttys0010:10.54 /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.o 18343 ttys0010:00.05 login -pf harlock59 18344 ttys0010:00.18 -bash 22117 ttys0010:00.02 /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.5.0; 22126 ttys0010:00.01 /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.5.0; 22136 ttys0010:00.94 /usr/bin/make DESTDIR= RPATH_ENVVAR=DYLD_LIBRARY_PATH TARGET 22139 ttys0010:00.02 /bin/sh -c fail= failcom='exit 1'; for f in x $MAKEFLAGS; do 29283 ttys0010:06.95 /usr/bin/make AR_FLAGS=rc CC_FOR_BUILD=/usr/bin/gcc-4.0 CFLA 31824 ttys0010:57.85 /usr/bin/tclsh /opt/local/bin/port install gcc45 55997 ttys0010:00.01 sh -c cd /opt/local/var/macports/build/_opt_local_var_macp 55998 ttys0010:00.37 /usr/bin/make -j1 bootstrap 58420 ttys0010:00.02 /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.5.0; 58433 ttys0010:00.47 /usr/bin/make DESTDIR= RPATH_ENVVAR=DYLD_LIBRARY_PATH TARGET 62780 ttys0010:19.34 /bin/sh ./libtool --tag=CXX --mode=link /opt/local/var/macpo 67253 ttys0010:01.92 dsymutil .libs/libgcj.11.dylib 67659 ttys0010:00.76 /usr/bin/tclsh /opt/local/bin/port install gcc45 69244 ttys0010:00.73 /usr/bin/tclsh /opt/local/bin/port -d install gcc45 62770 ttys0020:00.08 login -pf harlock59 62779 ttys0020:00.35 -bash 63361 ttys0020:06.44 top 11306 ttys0030:00.25 login -pf harlock59 11307 ttys0030:00.04 -bash 41378 ttys0040:00.06 login -pf harlock59 41432 ttys0040:00.05 -bash 50931 ttys0041:40.20 top 85107 ttys0040:00.06 man top 85113 ttys0040:00.02 sh -c (cd '/usr/share/man' /usr/bin/tbl /usr/share/man/ma 85115 ttys0040:00.01 sh -c (cd '/usr/share/man' /usr/bin/tbl /usr/share/man/ma 85122 ttys0040:00.00 sh -c (cd '/usr/share/man' /usr/bin/tbl /usr/share/man/ma 85124 ttys0040:00.08 /usr/bin/less -is 86474 ttys004 327:18.24 top -o cpu 2011/3/9 Russell Jones russell.jo...@physics.ox.ac.uk If you noticed the number in square brackets next to the process when you suspended it, you can also say kill %n where n is the number, e.g. kill %1. You then need to type fg (or bg) to continue the process, so it can die. Russell -- *From:* macports-users-boun...@lists.macosforge.org [ macports-users-boun...@lists.macosforge.org] on behalf of Jason Swails [ jason.swa...@gmail.com] *Sent:* 09 March 2011 15:16 *To:* Bruno DOUTRIAUX - Youmé-TECH *Cc:* macports-users@lists.macosforge.org *Subject:* 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
Re: Re:
and imac-de-meriem-lentz:~ harlock59$ sudo kill %22766 Password: kill: illegal process id: %22766 imac-de-meriem-lentz:~ harlock59$ Le 9 mars 2011 23:34, Bruno DOUTRIAUX - Youmé-TECH harloc...@gmail.com a écrit : hello, the command ps-a gives me that so i tried kill %22766 but it gave me that -bash: kill: %22766: no such job imac-de-meriem-lentz:~ harlock59$ ps -a PID TTY TIME CMD 1432 ttys0000:00.47 login -pf harlock59 1433 ttys0000:00.24 -bash 15395 ttys0000:00.01 ps -a 22766 ttys0000:00.74 /usr/bin/tclsh /opt/local/bin/port -d install gcc45 75531 ttys0000:00.02 man port 75540 ttys0000:00.01 sh -c (cd '/opt/local/share/man' (echo .ll 7.7i; echo 75541 ttys0000:00.01 sh -c (cd '/opt/local/share/man' (echo .ll 7.7i; echo 75546 ttys0000:00.00 sh -c (cd '/opt/local/share/man' (echo .ll 7.7i; echo 75547 ttys0000:00.21 /usr/bin/less -is 15386 ttys0010:01.64 /usr/bin/tclsh /opt/local/bin/port selfupdate 15388 ttys0010:12.54 /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.o 15389 ttys0010:10.54 /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.o 18343 ttys0010:00.05 login -pf harlock59 18344 ttys0010:00.18 -bash 22117 ttys0010:00.02 /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.5.0; 22126 ttys0010:00.01 /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.5.0; 22136 ttys0010:00.94 /usr/bin/make DESTDIR= RPATH_ENVVAR=DYLD_LIBRARY_PATH TARGET 22139 ttys0010:00.02 /bin/sh -c fail= failcom='exit 1'; for f in x $MAKEFLAGS; do 29283 ttys0010:06.95 /usr/bin/make AR_FLAGS=rc CC_FOR_BUILD=/usr/bin/gcc-4.0 CFLA 31824 ttys0010:57.85 /usr/bin/tclsh /opt/local/bin/port install gcc45 55997 ttys0010:00.01 sh -c cd /opt/local/var/macports/build/_opt_local_var_macp 55998 ttys0010:00.37 /usr/bin/make -j1 bootstrap 58420 ttys0010:00.02 /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.5.0; 58433 ttys0010:00.47 /usr/bin/make DESTDIR= RPATH_ENVVAR=DYLD_LIBRARY_PATH TARGET 62780 ttys0010:19.34 /bin/sh ./libtool --tag=CXX --mode=link /opt/local/var/macpo 67253 ttys0010:01.92 dsymutil .libs/libgcj.11.dylib 67659 ttys0010:00.76 /usr/bin/tclsh /opt/local/bin/port install gcc45 69244 ttys0010:00.73 /usr/bin/tclsh /opt/local/bin/port -d install gcc45 62770 ttys0020:00.08 login -pf harlock59 62779 ttys0020:00.35 -bash 63361 ttys0020:06.44 top 11306 ttys0030:00.25 login -pf harlock59 11307 ttys0030:00.04 -bash 41378 ttys0040:00.06 login -pf harlock59 41432 ttys0040:00.05 -bash 50931 ttys0041:40.20 top 85107 ttys0040:00.06 man top 85113 ttys0040:00.02 sh -c (cd '/usr/share/man' /usr/bin/tbl /usr/share/man/ma 85115 ttys0040:00.01 sh -c (cd '/usr/share/man' /usr/bin/tbl /usr/share/man/ma 85122 ttys0040:00.00 sh -c (cd '/usr/share/man' /usr/bin/tbl /usr/share/man/ma 85124 ttys0040:00.08 /usr/bin/less -is 86474 ttys004 327:18.24 top -o cpu 2011/3/9 Russell Jones russell.jo...@physics.ox.ac.uk If you noticed the number in square brackets next to the process when you suspended it, you can also say kill %n where n is the number, e.g. kill %1. You then need to type fg (or bg) to continue the process, so it can die. Russell -- *From:* macports-users-boun...@lists.macosforge.org [ macports-users-boun...@lists.macosforge.org] on behalf of Jason Swails [ jason.swa...@gmail.com] *Sent:* 09 March 2011 15:16 *To:* Bruno DOUTRIAUX - Youmé-TECH *Cc:* macports-users@lists.macosforge.org *Subject:* 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'
Re: Re: Re:
You're trying to kill a job with a process id!!! There's a difference between jobs and processes on a Unix system. Try this instead: sudo kill -9 22766 On Wed, Mar 9, 2011, at 17:36, Bruno DOUTRIAUX - Youmé-TECH wrote: and imac-de-meriem-lentz:~ harlock59$ sudo kill %22766 Password: kill: illegal process id: %22766 imac-de-meriem-lentz:~ harlock59$ Le 9 mars 2011 23:34, Bruno DOUTRIAUX - Youmé-TECH harloc...@gmail.com a écrit : hello, the command ps-a gives me that so i tried kill %22766 but it gave me that -bash: kill: %22766: no such job imac-de-meriem-lentz:~ harlock59$ ps -a PID TTY TIME CMD 1432 ttys0000:00.47 login -pf harlock59 1433 ttys0000:00.24 -bash 15395 ttys0000:00.01 ps -a 22766 ttys0000:00.74 /usr/bin/tclsh /opt/local/bin/port -d install gcc45 75531 ttys0000:00.02 man port 75540 ttys0000:00.01 sh -c (cd '/opt/local/share/man' (echo .ll 7.7i; echo 75541 ttys0000:00.01 sh -c (cd '/opt/local/share/man' (echo .ll 7.7i; echo 75546 ttys0000:00.00 sh -c (cd '/opt/local/share/man' (echo .ll 7.7i; echo 75547 ttys0000:00.21 /usr/bin/less -is 15386 ttys0010:01.64 /usr/bin/tclsh /opt/local/bin/port selfupdate 15388 ttys0010:12.54 /usr/bin/rsync -rtzv --delete-after rsync:// rsync.macports.o 15389 ttys0010:10.54 /usr/bin/rsync -rtzv --delete-after rsync:// rsync.macports.o 18343 ttys0010:00.05 login -pf harlock59 18344 ttys0010:00.18 -bash 22117 ttys0010:00.02 /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.5.0; 22126 ttys0010:00.01 /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.5.0; 22136 ttys0010:00.94 /usr/bin/make DESTDIR= RPATH_ENVVAR=DYLD_LIBRARY_PATH TARGET 22139 ttys0010:00.02 /bin/sh -c fail= failcom='exit 1'; for f in x $MAKEFLAGS; do 29283 ttys0010:06.95 /usr/bin/make AR_FLAGS=rc CC_FOR_BUILD=/usr/ bin/gcc-4.0 CFLA 31824 ttys0010:57.85 /usr/bin/tclsh /opt/local/bin/port install gcc45 55997 ttys0010:00.01 sh -c cd /opt/local/var/macports/build/ _opt_local_var_macp 55998 ttys0010:00.37 /usr/bin/make -j1 bootstrap 58420 ttys0010:00.02 /bin/sh -c r=`${PWDCMD-pwd}`; export r; s=`cd ../gcc-4.5.0; 58433 ttys0010:00.47 /usr/bin/make DESTDIR= RPATH_ENVVAR=DYLD_LIBRARY_PATH TARGET 62780 ttys0010:19.34 /bin/sh ./libtool --tag=CXX --mode=link / opt/local/var/macpo 67253 ttys0010:01.92 dsymutil .libs/libgcj.11.dylib 67659 ttys0010:00.76 /usr/bin/tclsh /opt/local/bin/port install gcc45 69244 ttys0010:00.73 /usr/bin/tclsh /opt/local/bin/port -d install gcc45 62770 ttys0020:00.08 login -pf harlock59 62779 ttys0020:00.35 -bash 63361 ttys0020:06.44 top 11306 ttys0030:00.25 login -pf harlock59 11307 ttys0030:00.04 -bash 41378 ttys0040:00.06 login -pf harlock59 41432 ttys0040:00.05 -bash 50931 ttys0041:40.20 top 85107 ttys0040:00.06 man top 85113 ttys0040:00.02 sh -c (cd '/usr/share/man' /usr/bin/tbl / usr/share/man/ma 85115 ttys0040:00.01 sh -c (cd '/usr/share/man' /usr/bin/tbl / usr/share/man/ma 85122 ttys0040:00.00 sh -c (cd '/usr/share/man' /usr/bin/tbl / usr/share/man/ma 85124 ttys0040:00.08 /usr/bin/less -is 86474 ttys004 327:18.24 top -o cpu 2011/3/9 Russell Jones russell.jo...@physics.ox.ac.uk If you noticed the number in square brackets next to the process when you suspended it, you can also say kill %n where n is the number, e.g. kill %1. You then need to type fg (or bg) to continue the process, so it can die. Russell From: macports-users-boun...@lists.macosforge.org [macports-users-boun...@lists.macosforge.org ] on behalf of Jason Swails [jason.swa...@gmail.com] Sent: 09 March 2011 15:16 To: Bruno DOUTRIAUX - Youmé-TECH Cc: macports-users@lists.macosforge.org Subject: 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
Fwd:
i tried to type ctrl-c during the 'top process (command top) and it did nothing the command line application didn't stop. -- Message transféré -- De : Jason Swails jason.swa...@gmail.com Date : 9 mars 2011 16:16 Objet : Re: À : Bruno DOUTRIAUX - Youmé-TECH harloc...@gmail.com Cc : macports-users@lists.macosforge.org 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 -- -- 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
Re:
sorry it worked. Le 9 mars 2011 23:55, Bruno DOUTRIAUX - Youmé-TECH harloc...@gmail.com a écrit : i tried to type ctrl-c during the 'top process (command top) and it did nothing the command line application didn't stop. -- Message transféré -- De : Jason Swails jason.swa...@gmail.com Date : 9 mars 2011 16:16 Objet : Re: À : Bruno DOUTRIAUX - Youmé-TECH harloc...@gmail.com Cc : macports-users@lists.macosforge.org 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 -- -- 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 - -- -- 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
Re: Fwd:
That's because by typing ctrl-c while running top, you killed top itself. Not the port application. Do you know anything about Unix? On Wed, Mar 9, 2011, at 17:55, Bruno DOUTRIAUX - Youmé-TECH wrote: i tried to type ctrl-c during the 'top process (command top) and it did nothing the command line application didn't stop. -- Message transféré -- De : Jason Swails jason.swa...@gmail.com Date : 9 mars 2011 16:16 Objet : Re: À : Bruno DOUTRIAUX - Youmé-TECH harloc...@gmail.com Cc : macports-users@lists.macosforge.org 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 -- -- 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 -- Reality Artisans, Inc. # Network Wrangling and Delousing P.O. Box 565, Gracie Station # Apple Certified Consultant New York, NY 10028-0019# Apple Consultants Network member http://www.realityartisans.com # Apple Developer Connection member (212) 369-4876 (Voice) # My PGP public key can be found at https://keyserver.pgp.com smime.p7s Description: S/MIME cryptographic signature ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
i still have a lock
imac-de-meriem-lentz:~ harlock59$ sudo port upgrade outdated Waiting for lock on /opt/local/var/macports/registry/.registry.lock ^C imac-de-meriem-lentz:~ harlock59$ and i still don't know how to unlock it -- -- 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
Re: how long does it take to build gcc45?
When could we expect the port to be updated to qt-4.7.2. Perhaps that will fix issues. On Thu, Dec 9, 2010 at 4:04 AM, Gabriele Kahlout gabri...@mysimpatico.comwrote: I've installed qt with macports and managed to build the qt demo project, HOWEVER: /usr/bin/g++-4.2 this is what's used! The whole point was to use gcc45, installed with macports. Also, the ports qt is only the release config, and I also need the debug (which comes with the official sdk install). What to do? On 8 December 2010 15:45, Gabriele Kahlout gabri...@mysimpatico.comwrote: On 8 December 2010 15:10, Ryan Schmidt wrote: The answer provided on your Stack Overflow question is correct. No FSF release of gcc (e.g. the ports gcc46, gcc45, gcc44, gcc43, gcc42, gcc41, gcc40) recognizes the -arch switch. Only Apple's specially modified versions of gcc supplied with Xcode support that option. It's not a port but qt. Or actually I see there is a port: qt4-mac @4.7.1 (aqua), which is the same version I have. Omitting the -wall option from the makefile I get (on this qt demo project): torrent-build simpatico$ make g++ -c -pipe -g -gdwarf-2 -Wall -W -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I../torrent -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers -I/usr/include/QtNetwork -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/usr/include -I. -I. -I../torrent -I. -F/Library/Frameworks -o main.o ../torrent/main.cpp In file included from /Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45:0, from /Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45, from /Library/Frameworks/QtCore.framework/Headers/qobject.h:47, from /Library/Frameworks/QtCore.framework/Headers/qcoreapplication.h:45, from /Library/Frameworks/QtGui.framework/Versions/4/Headers/qapplication.h:45, from /Library/Frameworks/QtGui.framework/Versions/4/Headers/QApplication:1, from ../torrent/main.cpp:40: /Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration. You were probably adding -arch i386 to try to overcome this error? If so, use -m32 instead. That's what qmake generates. Replacing it manually (in the makefile) I no longer get the error but get some other error. g++ -headerpad_max_install_names -m32 -o torrent.app/Contents/MacOS/torrent main.o addtorrentdialog.o bencodeparser.o connectionmanager.o mainwindow.o metainfo.o peerwireclient.o ratecontroller.o filemanager.o torrentclient.o torrentserver.o trackerclient.o moc_addtorrentdialog.o moc_mainwindow.o moc_peerwireclient.o moc_ratecontroller.o moc_filemanager.o moc_torrentclient.o moc_torrentserver.o moc_trackerclient.o qrc_icons.o -F/Library/Frameworks -L/Library/Frameworks -framework QtGui -framework QtNetwork -framework QtCore ld: warning: in /opt/local/lib/gcc45/gcc/x86_64-apple-darwin10/4.5.1/crt3.o, *file was built for unsupported file format which is not the architecture being linked (i386)* ld: warning: in /opt/local/lib/gcc45/libstdc++.dylib, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in /opt/local/lib/gcc45/libgcc_ext.10.4.dylib, missing required architecture i386 in file ld: warning: in /opt/local/lib/gcc45/gcc/x86_64-apple-darwin10/4.5.1/libgcc.a, file was built for unsupported file format which is not the architecture being linked (i386) Undefined symbols: typeinfo for std::bad_alloc, referenced from: __ZN9QHashData9hasShrunkEv.lsda in connectionmanager.o __ZN9QHashData9hasShrunkEv.lsda in ratecontroller.o __ZN7QVectorIiE7reallocEii.lsda in torrentclient.o If you are getting that error when building a port, it's still likely a bug in that port, so a ticket should be filed. What should I do? I see /usr/local in your output above. Be aware that it is not supported to have things installed in /usr/local when using MacPorts as it can interfere, so I recommend you uninstall whatever you have in /usr/local and use MacPorts equivalents, i.e. use the qt4-mac port. I also use qxt which doesn't seem to have a port, although that's not the issue in this qt demo (not qxt). PS: Thank you very much for the support. -- Regards, K. Gabriele --- unchanged since 20/9/10 --- P.S. If the subject contains [LON] or the addressee acknowledges the receipt within 48 hours then I don't resend the email. subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x) Now + 48h) ⇒ ¬resend(I, this). If an email is sent by a sender that is not a trusted contact or the email does not contain a
Re: i still have a lock
See https://trac.macports.org/ticket/27238 . That might help explain things 2011/3/10 Bruno DOUTRIAUX - Youmé-TECH harloc...@gmail.com imac-de-meriem-lentz:~ harlock59$ sudo port upgrade outdated Waiting for lock on /opt/local/var/macports/registry/.registry.lock ^C imac-de-meriem-lentz:~ harlock59$ and i still don't know how to unlock it -- -- 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 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re:
On Mar 9, 2011, at 08:42, Bruno DOUTRIAUX - Youmé-TECH wrote: i was trying to install gcc45 using mac port but it hanged Unlikely; gcc45 just takes a very long time to build (hours, or even days on a slower PowerPC). so i did ctrl z and it stopped No, it suspended. It's still running, paused, waiting to be unsuspended. then i redid sudo port install gcc45 and then i had a lock. how can i unlock it ? Stop the process you suspended. Or resume it. Or, if you can't figure out how, restart your Mac. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Please send contents of current mysqld file
On Mar 9, 2011, at 16:09, David Gentry wrote: I can resolve that error by moving mysqld to the same directory as mysql_install_db We can't help you if you move things around after MacPorts has installed them into the proper locations... ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Please send contents of current mysqld file
On Mar 9, 2011, at 12:54, David Gentry wrote: I did not mean to imply that the MacPorts file, mysqld, is corrupt. Somehow it is getting corrupted on my system, and I intend to find out how. I did not know that every system will treat mysqld differently. That is good to know. However, that information just adds to the mystery. My system is a bread and butter Mac OS X version 10.6.6. Not *every* system. But it differs based on OS version and processor architecture, at least. So if I send you the mysqld generated on my 64-bit Intel machine running Snow Leopard, that won't work for you if your Snow Leopard machine only has a 32-bit processor. It probably also won't work if you're running Leopard or Tiger, or a PowerPC processor. The reason I asked for the file contents, such as a text file, is that if I get the executable file my system might mess it up. mysqld is not a text file. It is a compiled executable program. I will continue to pursue other avenues to solve the mystery of why my system corrupts the MacPorts mysqld. As I have more information, I will pass it on to the email list. It might help someone. I doubt your mysqld is corrupt. Assuming you are following the wiki instructions correctly, and they are not working for you, I believe you have files on your system that are interfering with the normal way of setting up MacPorts MySQL. Perhaps a rogue my.cnf somewhere containing references to the files in /usr/local/mysql* that you already deleted. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users