Re: problem initializing macports
Thanks Ryan, I followed the steps and it worked :) On Nov 26, 2007 12:59 PM, Ryan Schmidt <[EMAIL PROTECTED]> wrote: > > > On Nov 26, 2007, at 04:39, tania habib wrote: > > > I have Macbook Pro with mac osx 10.4, I previously installed the > > macports on the same machine and it was running perfectly. Then I did > > not use it for a while and now when I go to the terminal window, and > > type port it gives me this error > > no suitable image found. Did find: > > /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: > > mach-o, but wrong architecture > > while executing > > "load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib" > > ("package ifneeded" script) > > invoked from within > > "package_native require Pextlib 1.0" > > ("eval" body line 1) > > invoked from within > > "eval package_native $args" > > (procedure "package" line 14) > > invoked from within > > "package require Pextlib 1.0" > > (procedure "dportinit" line 311) > > invoked from within > > "dportinit ui_options global_options global_variations" > > Error: /opt/local/bin/port: Failed to initialize ports system, no > > suitable image found. Did find: > > /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: > > mach-o, but wrong architecture > > > > Should I uninstall the whole thing and start from the beginning or is > > there any other way? > > I'd like to know what architecture the pextlib library is on your > computer... What is the output of this command? > > file /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib > > It should say it's an i386 library. If it says it's a ppc library, > then that's certainly the problem, though I can't imagine how it > happened, if you didn't migrate your installation from a PowerPC > machine. > > > > I have tried this command > >>> cd /opt/local/var/db/dports/receipts/ > >>> find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$% > >>> \1 @\2%' > > but I do not know what to do next! > > What output does this produce? The goal is to get a list of the > installed ports and their variants so that if you need to reinstall > the whole mess, then you'll know what ports to reinstall. > > If you already know what ports you want to have, and what variants of > those ports you want, you don't need this list. > > > > Please let me know an easier way out of this mess! > > Short of a complete uninstall and reinstallation, it's hard to > suggest a solution, since we don't yet know the cause of the problem. > But... > > You could try installing MacPorts again, on top of your existing > installation. If any files are missing or wrong, this should fix it. > This is also what was suggested in a previous thread about this error > message. > > http://lists.macosforge.org/pipermail/macports-users/2007-May/ > 003524.html > > Note that you can't use the installer for MacPorts 1.5.0 or later, as > that will almost certainly not work, and will make a big mess, since > the internal layout of MacPorts has radically changed from the layout > that your version uses. The "selfupdate" process takes this into > account and rearranges your MacPorts layout if necessary, but the > disk image installer does not, as far as I know. The new layout > appeared in MacPorts 1.5.0, so you must be using MacPorts 1.4.x or > earlier. So you would want to use the MacPorts 1.4.0 installer. > > http://svn.macports.org/repository/macports/downloads/MacPorts-1.4.0/ > MacPorts-1.4.0-10.4.dmg > > Once that's installed, the port command should work again. And then > "sudo port selfupdate" would hopefully update you to MacPorts 1.5.2. > And "port outdated" will show you which of your ports have newer > versions available. And "sudo port upgrade foo" will upgrade any port > foo that you indicate. And "sudo port upgrade outdated" might even > upgrade all your outdated ports for you all at once. (I usually do it > one at a time though.) > > > Before you do any of this, please ensure that you have Xcode 2.4.1 or > 2.5 installed. Get Info on /Developer/Applications/Xcode to see what > version you have. Download a newer Xcode from http:// > developer.apple.com/ if necessary. Earlier versions of Xcode often > cause problems. > > > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem initializing macports
On Nov 26, 2007, at 04:39, tania habib wrote: I have Macbook Pro with mac osx 10.4, I previously installed the macports on the same machine and it was running perfectly. Then I did not use it for a while and now when I go to the terminal window, and type port it gives me this error no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture while executing "load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib" ("package ifneeded" script) invoked from within "package_native require Pextlib 1.0" ("eval" body line 1) invoked from within "eval package_native $args" (procedure "package" line 14) invoked from within "package require Pextlib 1.0" (procedure "dportinit" line 311) invoked from within "dportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize ports system, no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture Should I uninstall the whole thing and start from the beginning or is there any other way? I'd like to know what architecture the pextlib library is on your computer... What is the output of this command? file /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib It should say it's an i386 library. If it says it's a ppc library, then that's certainly the problem, though I can't imagine how it happened, if you didn't migrate your installation from a PowerPC machine. I have tried this command cd /opt/local/var/db/dports/receipts/ find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$% \1 @\2%' but I do not know what to do next! What output does this produce? The goal is to get a list of the installed ports and their variants so that if you need to reinstall the whole mess, then you'll know what ports to reinstall. If you already know what ports you want to have, and what variants of those ports you want, you don't need this list. Please let me know an easier way out of this mess! Short of a complete uninstall and reinstallation, it's hard to suggest a solution, since we don't yet know the cause of the problem. But... You could try installing MacPorts again, on top of your existing installation. If any files are missing or wrong, this should fix it. This is also what was suggested in a previous thread about this error message. http://lists.macosforge.org/pipermail/macports-users/2007-May/ 003524.html Note that you can't use the installer for MacPorts 1.5.0 or later, as that will almost certainly not work, and will make a big mess, since the internal layout of MacPorts has radically changed from the layout that your version uses. The "selfupdate" process takes this into account and rearranges your MacPorts layout if necessary, but the disk image installer does not, as far as I know. The new layout appeared in MacPorts 1.5.0, so you must be using MacPorts 1.4.x or earlier. So you would want to use the MacPorts 1.4.0 installer. http://svn.macports.org/repository/macports/downloads/MacPorts-1.4.0/ MacPorts-1.4.0-10.4.dmg Once that's installed, the port command should work again. And then "sudo port selfupdate" would hopefully update you to MacPorts 1.5.2. And "port outdated" will show you which of your ports have newer versions available. And "sudo port upgrade foo" will upgrade any port foo that you indicate. And "sudo port upgrade outdated" might even upgrade all your outdated ports for you all at once. (I usually do it one at a time though.) Before you do any of this, please ensure that you have Xcode 2.4.1 or 2.5 installed. Get Info on /Developer/Applications/Xcode to see what version you have. Download a newer Xcode from http:// developer.apple.com/ if necessary. Earlier versions of Xcode often cause problems. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem initializing macports
On Nov 26, 2007, at 5:39 AM, tania habib wrote: I have Macbook Pro with mac osx 10.4, I previously installed the macports on the same machine and it was running perfectly. Then I did not use it for a while and now when I go to the terminal window, and type port it gives me this error no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture while executing "load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib" ("package ifneeded" script) invoked from within "package_native require Pextlib 1.0" ("eval" body line 1) invoked from within "eval package_native $args" (procedure "package" line 14) invoked from within "package require Pextlib 1.0" (procedure "dportinit" line 311) invoked from within "dportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize ports system, no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture Should I uninstall the whole thing and start from the beginning or is there any other way? I have tried this command cd /opt/local/var/db/dports/receipts/ find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$% \1 @\2%' but I do not know what to do next! Please let me know an easier way out of this mess! tania Tania, I think Paul wanted you to copy the results of that command (or the other one he gave you) and tell it to us. However looking at error output above shows a reference to /opt/local/ share/darwinports/ There is no darwinports directory in my own installation (version 1.52) and I dont think the term "darwinports" has been used anywhere in a very long time since the Project is now called MacPorts. This suggests you have a [b] very [/b] old version of the Macports system. Others can tell you if its updatable. If you bash shell told you command not found when you tried to do sudo port -d selfupdate then your path is surely wrong. So you have two problems. Were you in an xterm window or a Terminal window? were you logged in? if you try the command env you will see yor environment values printed on screen. PATH should START: PATH=/opt/local/bin:/opt/local/sbin:bunch_of_other_stuff Does it? On Nov 25, 2007 10:39 PM, paul beard <[EMAIL PROTECTED]> wrote: On 11/25/07, Ryan Schmidt <[EMAIL PROTECTED]> wrote: On Nov 25, 2007, at 13:29, paul beard wrote: On 11/25/07, Ryan Schmidt wrote: What Mac do you have? Did you previously have a different Mac, back when you originally installed MacPorts? Maybe you used Migration Assistant to transfer everything (including MacPorts) from the old Mac to the new Mac? IF the old Mac was PowerPC-based and the new one is Intel-based, that could explain the error you're seeing, and you should really uninstall everything and start over. You can use "port installed" to see what ports are installed. How will that work if the port command doesn't run? Good question. It might not work then. We might have to dig deeper to see what's installed. Like this: cd /opt/local/var/macports/receipts/ find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$% \1 @ \2%' Watch the line-wrap: that \2% should stay on the same line. Same below . . . . Or, for the user's version of DarwinPorts before the new layout, I hope this is it: cd /opt/local/var/db/dports/receipts/ find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$% \1 @\2%' It also sounds like your PATH is not correct since it can't find the port command. Actually, it does seem to find it OK: if the user types 'port ' and the result is Error: /opt/local/bin/port: Failed to initialize ports system, no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture it sounds like the command is there but if the error message is right, that the architecture is wrong. It sounds to me like the user is having to run "/opt/local/bin/port" because when just "port" is run this error was shown: On Nov 25, 2007, at 11:14, tania habib wrote: On Nov 25, 2007 2:11 PM, William Davis wrote: Did you try : sudo port -d selfupdate ? Yes I did, but it comes with the error that "port:command not found". I feel there is some path problem. Can please guide me through the procedure of setting the path variable in X11! -- Paul Beard / www.paulbeard.org/ <[EMAIL PROTECTED]/[EMAIL PROTECTED]> ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users William Davis frstanATbellsouthDOTnet Mac OS X.5.1 Darwin 9.1.0 Xquartz-1.2a11 Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non ___ macports-users mailing list macports-users@lists.m
Re: problem initializing macports
I have Macbook Pro with mac osx 10.4, I previously installed the macports on the same machine and it was running perfectly. Then I did not use it for a while and now when I go to the terminal window, and type port it gives me this error no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture while executing "load /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib" ("package ifneeded" script) invoked from within "package_native require Pextlib 1.0" ("eval" body line 1) invoked from within "eval package_native $args" (procedure "package" line 14) invoked from within "package require Pextlib 1.0" (procedure "dportinit" line 311) invoked from within "dportinit ui_options global_options global_variations" Error: /opt/local/bin/port: Failed to initialize ports system, no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture Should I uninstall the whole thing and start from the beginning or is there any other way? I have tried this command >>cd /opt/local/var/db/dports/receipts/ >>find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$%\1 @\2%' but I do not know what to do next! Please let me know an easier way out of this mess! tania On Nov 25, 2007 10:39 PM, paul beard <[EMAIL PROTECTED]> wrote: > > > > On 11/25/07, Ryan Schmidt <[EMAIL PROTECTED]> wrote: > > > > On Nov 25, 2007, at 13:29, paul beard wrote: > > > > > On 11/25/07, Ryan Schmidt wrote: > > > > > >> What Mac do you have? Did you previously have a different Mac, back > > >> when you originally installed MacPorts? Maybe you used Migration > > >> Assistant to transfer everything (including MacPorts) from the old > > >> Mac to the new Mac? IF the old Mac was PowerPC-based and the new one > > >> is Intel-based, that could explain the error you're seeing, and you > > >> should really uninstall everything and start over. You can use "port > > >> installed" to see what ports are installed. > > > > > > How will that work if the port command doesn't run? > > > > Good question. It might not work then. We might have to dig deeper to > > see what's installed. Like this: > > > > cd /opt/local/var/macports/receipts/ > > find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$%\1 @ > > \2%' > > Watch the line-wrap: that \2% should stay on the same line. Same below . . . > . > > > Or, for the user's version of DarwinPorts before the new layout, I > > hope this is it: > > > > cd /opt/local/var/db/dports/receipts/ > > find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$%\1 @\2%' > > > > > > >> It also sounds like your PATH is not correct since it can't find the > > >> port command. > > > > > > Actually, it does seem to find it OK: if the user types 'port > > > ' and the result is > > > > > > Error: /opt/local/bin/port: Failed to initialize ports system, no > > > suitable image found. Did find: > > >/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: > > > mach-o, but wrong architecture > > > > > > it sounds like the command is there but if the error message is > > > right, that the architecture is wrong. > > > > It sounds to me like the user is having to run "/opt/local/bin/port" > > because when just "port" is run this error was shown: > > > > On Nov 25, 2007, at 11:14, tania habib wrote: > > > > > On Nov 25, 2007 2:11 PM, William Davis wrote: > > >> > > > > > >> Did you try : > > >> sudo port -d selfupdate > > >> ? > > > > > > Yes I did, but it comes with the error that "port:command not found". > > > I feel there is some path problem. Can please guide me through the > > > procedure of setting the path variable in X11! > > > > > > > > > > > -- > Paul Beard / www.paulbeard.org/ > <[EMAIL PROTECTED]/[EMAIL PROTECTED]> > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem initializing macports
On 11/25/07, Ryan Schmidt <[EMAIL PROTECTED]> wrote: > > > On Nov 25, 2007, at 13:29, paul beard wrote: > > > On 11/25/07, Ryan Schmidt wrote: > > > >> What Mac do you have? Did you previously have a different Mac, back > >> when you originally installed MacPorts? Maybe you used Migration > >> Assistant to transfer everything (including MacPorts) from the old > >> Mac to the new Mac? IF the old Mac was PowerPC-based and the new one > >> is Intel-based, that could explain the error you're seeing, and you > >> should really uninstall everything and start over. You can use "port > >> installed" to see what ports are installed. > > > > How will that work if the port command doesn't run? > > Good question. It might not work then. We might have to dig deeper to > see what's installed. Like this: > > cd /opt/local/var/macports/receipts/ > find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$%\1 @ > \2%' Watch the line-wrap: that \2% should stay on the same line. Same below . . . . Or, for the user's version of DarwinPorts before the new layout, I > hope this is it: > > cd /opt/local/var/db/dports/receipts/ > find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$%\1 @ > \2%' > > > >> It also sounds like your PATH is not correct since it can't find the > >> port command. > > > > Actually, it does seem to find it OK: if the user types 'port > > ' and the result is > > > > Error: /opt/local/bin/port: Failed to initialize ports system, no > > suitable image found. Did find: > >/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: > > mach-o, but wrong architecture > > > > it sounds like the command is there but if the error message is > > right, that the architecture is wrong. > > It sounds to me like the user is having to run "/opt/local/bin/port" > because when just "port" is run this error was shown: > > On Nov 25, 2007, at 11:14, tania habib wrote: > > > On Nov 25, 2007 2:11 PM, William Davis wrote: > >> > > > >> Did you try : > >> sudo port -d selfupdate > >> ? > > > > Yes I did, but it comes with the error that "port:command not found". > > I feel there is some path problem. Can please guide me through the > > procedure of setting the path variable in X11! > > > -- Paul Beard / www.paulbeard.org/ <[EMAIL PROTECTED]/[EMAIL PROTECTED]> ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem initializing macports
On Nov 25, 2007, at 13:29, paul beard wrote: On 11/25/07, Ryan Schmidt wrote: What Mac do you have? Did you previously have a different Mac, back when you originally installed MacPorts? Maybe you used Migration Assistant to transfer everything (including MacPorts) from the old Mac to the new Mac? IF the old Mac was PowerPC-based and the new one is Intel-based, that could explain the error you're seeing, and you should really uninstall everything and start over. You can use "port installed" to see what ports are installed. How will that work if the port command doesn't run? Good question. It might not work then. We might have to dig deeper to see what's installed. Like this: cd /opt/local/var/macports/receipts/ find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$%\1 @ \2%' Or, for the user's version of DarwinPorts before the new layout, I hope this is it: cd /opt/local/var/db/dports/receipts/ find . -name receipt.bz2 | sed -E 's%^\./(.*)/(.*)/receipt\.bz2$%\1 @ \2%' It also sounds like your PATH is not correct since it can't find the port command. Actually, it does seem to find it OK: if the user types 'port ' and the result is Error: /opt/local/bin/port: Failed to initialize ports system, no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture it sounds like the command is there but if the error message is right, that the architecture is wrong. It sounds to me like the user is having to run "/opt/local/bin/port" because when just "port" is run this error was shown: On Nov 25, 2007, at 11:14, tania habib wrote: On Nov 25, 2007 2:11 PM, William Davis wrote: Did you try : sudo port -d selfupdate ? Yes I did, but it comes with the error that "port:command not found". I feel there is some path problem. Can please guide me through the procedure of setting the path variable in X11! ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem initializing macports
On 11/25/07, Ryan Schmidt <[EMAIL PROTECTED]> wrote: > > What Mac do you have? Did you previously have a different Mac, back > when you originally installed MacPorts? Maybe you used Migration > Assistant to transfer everything (including MacPorts) from the old > Mac to the new Mac? IF the old Mac was PowerPC-based and the new one > is Intel-based, that could explain the error you're seeing, and you > should really uninstall everything and start over. You can use "port > installed" to see what ports are installed. How will that work if the port command doesn't run? Once you reinstall > MacPorts, you can manually reinstall all those ports. To uninstall > MacPorts, follow these instructions: > > http://trac.macosforge.org/projects/macports/wiki/ > FAQ#HowdoIremoveoruninstallMacPorts > > If you're sure MacPorts previously worked on this Mac, then it > shouldn't be necessary to uninstall, though I can't yet explain what > else might be going on. > > It also sounds like your PATH is not correct since it can't find the > port command. Actually, it does seem to find it OK: if the user types 'port ' and the result is Error: /opt/local/bin/port: Failed to initialize ports system, no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture it sounds like the command is there but if the error message is right, that the architecture is wrong. -- Paul Beard / www.paulbeard.org/ <[EMAIL PROTECTED]/[EMAIL PROTECTED]> ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem initializing macports
What Mac do you have? Did you previously have a different Mac, back when you originally installed MacPorts? Maybe you used Migration Assistant to transfer everything (including MacPorts) from the old Mac to the new Mac? IF the old Mac was PowerPC-based and the new one is Intel-based, that could explain the error you're seeing, and you should really uninstall everything and start over. You can use "port installed" to see what ports are installed. Once you reinstall MacPorts, you can manually reinstall all those ports. To uninstall MacPorts, follow these instructions: http://trac.macosforge.org/projects/macports/wiki/ FAQ#HowdoIremoveoruninstallMacPorts If you're sure MacPorts previously worked on this Mac, then it shouldn't be necessary to uninstall, though I can't yet explain what else might be going on. It also sounds like your PATH is not correct since it can't find the port command. Instructions for installing MacPorts properly, including setting the PATH (which doesn't really have anything to do with X11 in this case) are currently here: http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts On Nov 25, 2007, at 11:32, tania habib wrote: so do i need to uninstall the macport and reinstall it? I do not understand one thing as the last time it was working on my system and I installed various packages! Please let me know if there is a way of saving the packages I installed through macports before I delete it from my system? On Nov 25, 2007 6:21 PM, paul beard <[EMAIL PROTECTED]> wrote: On 11/25/07, tania habib <[EMAIL PROTECTED]> wrote: Dear List, It has been long since I installed macports on my mac osx 10.4. I used the ports to install many packages but then I went on to do some other things and did not use ports for a while. Last week, when I tried to intialize the port, it did not work! When I go to and X11 terminal and type port , it gives me the following error message Error: /opt/local/bin/port: Failed to initialize ports system, no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture sounds like you have an Intel system with a PPC code base installed. the problem isn't in your PATH, as it find port correctly, but can't run it. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem initializing macports
so do i need to uninstall the macport and reinstall it? I do not understand one thing as the last time it was working on my system and I installed various packages! Please let me know if there is a way of saving the packages I installed through macports before I delete it from my system? On Nov 25, 2007 6:21 PM, paul beard <[EMAIL PROTECTED]> wrote: > > > On 11/25/07, tania habib <[EMAIL PROTECTED]> wrote: > > Dear List, > > It has been long since I installed macports on my mac osx 10.4. I used > > the ports to install many packages but then I went on to do some > > other things and did not use ports for a while. Last week, when I > > tried to intialize the port, it did not work! > > When I go to and X11 terminal and type port , it gives me the > > following error message > > > > Error: /opt/local/bin/port: Failed to initialize ports system, no > > suitable image found. Did find: > > /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: > > mach-o, but wrong architecture > > > > > > sounds like you have an Intel system with a PPC code base installed. the > problem isn't in your PATH, as it find port correctly, but can't run it. > > > -- > Paul Beard / www.paulbeard.org/ > <[EMAIL PROTECTED]/[EMAIL PROTECTED]> > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem initializing macports
On 11/25/07, tania habib <[EMAIL PROTECTED]> wrote: > > Dear List, > It has been long since I installed macports on my mac osx 10.4. I used > the ports to install many packages but then I went on to do some > other things and did not use ports for a while. Last week, when I > tried to intialize the port, it did not work! > When I go to and X11 terminal and type port , it gives me the > following error message > > Error: /opt/local/bin/port: Failed to initialize ports system, no > suitable image found. Did find: > /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: > mach-o, but wrong architecture > > sounds like you have an Intel system with a PPC code base installed. the problem isn't in your PATH, as it find port correctly, but can't run it. -- Paul Beard / www.paulbeard.org/ <[EMAIL PROTECTED]/[EMAIL PROTECTED]> ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem initializing macports
Yes I did, but it comes with the error that "port:command not found". I feel there is some path problem. Can please guide me through the procedure of setting the path variable in X11! thanks tania On Nov 25, 2007 2:11 PM, William Davis <[EMAIL PROTECTED]> wrote: > > > On Nov 25, 2007, at 7:23 AM, tania habib wrote: > > > Dear List, > > It has been long since I installed macports on my mac osx 10.4. I used > > the ports to install many packages but then I went on to do some > > other things and did not use ports for a while. Last week, when I > > tried to intialize the port, it did not work! > > When I go to and X11 terminal and type port , it gives me the > > following error message > > > > Error: /opt/local/bin/port: Failed to initialize ports system, no > > suitable image found. Did find: > >/opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: > > mach-o, but wrong architecture > > > > > > Please help me out here as I even thought of uninstalling and > > re-installing it again but I will lose all the packages I installed > > with it and currently I need them for my work. Kindly let me know if > > there is a work around this problem! > > > > Regards, > > Tania > > ___ > > macports-users mailing list > > macports-users@lists.macosforge.org > > http://lists.macosforge.org/mailman/listinfo/macports-users > > Did you try : > sudo port -d selfupdate > ? > > William Davis > frstanATbellsouthDOTnet > Mac OS X.5.1 Darwin 9.1.0 > Xquartz-1.2a11 > Mac Mini Intel Duo @ 1.86 GHz > > Mundus vult decepi, ego non > > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: problem initializing macports
On Nov 25, 2007, at 7:23 AM, tania habib wrote: Dear List, It has been long since I installed macports on my mac osx 10.4. I used the ports to install many packages but then I went on to do some other things and did not use ports for a while. Last week, when I tried to intialize the port, it did not work! When I go to and X11 terminal and type port , it gives me the following error message Error: /opt/local/bin/port: Failed to initialize ports system, no suitable image found. Did find: /opt/local/share/darwinports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture Please help me out here as I even thought of uninstalling and re-installing it again but I will lose all the packages I installed with it and currently I need them for my work. Kindly let me know if there is a work around this problem! Regards, Tania ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users Did you try : sudo port -d selfupdate ? William Davis frstanATbellsouthDOTnet Mac OS X.5.1 Darwin 9.1.0 Xquartz-1.2a11 Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users