hello, I have installed popt-1.11, one of the dependencies of gnome. the installation was made manually, with success. but the installation of gnome aborts with the message: ---> Configuring popt Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work/popt-1.11" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-libintl-prefix=/opt/local --with-libiconv-prefix=/opt/local " returned error 1 Command output: configure: error: cannot run /bin/sh ./config.sub and I have the same message when I try to install popt directly with macports. Have you got an idea (cleaning...) to solve my problem? Thank you, lolveley.
On Jul 14, 2007, at 17:55, olivier SAINT-EVE wrote:
I have installed popt-1.11, one of the dependencies of gnome. the installation was made manually, with success.
There are a few exceptions, but as you may know, as a rule, MacPorts deliberately does not make use of software you have installed manually. The FAQ explains: http://trac.macosforge.org/projects/macports/wiki/ FAQ#WhyisMacPortsusingitsownlibraries
but the installation of gnome aborts with the message:
---> Configuring popt Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel _popt/work/popt-1.11" && ./configure --prefix=/opt/local --mandir=/ opt/local/share/man --with-libintl-prefix=/opt/local --with- libiconv-prefix=/opt/local " returned error 1 Command output: configure: error: cannot run /bin/sh ./config.sub
and I have the same message when I try to install popt directly with macports.
Have you got an idea (cleaning...) to solve my problem?
I didn't get any error installing popt 1.11_1 just now. Could you please clean the work directory with "sudo port clean --work popt" and then show us the output of "sudo port -dv install popt"? Thanks.
Here is the result: DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/popt DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/popt DEBUG: Requested variant i386 is not provided by port popt. DEBUG: Requested variant macosx is not provided by port popt. DEBUG: Executing variant darwin provides darwin DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext DEBUG: Requested variant darwin is not provided by port gettext. DEBUG: Requested variant i386 is not provided by port gettext. DEBUG: Requested variant macosx is not provided by port gettext. DEBUG: Searching for dependency: gettext DEBUG: Found Dependency: receipt exists for gettext DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Requested variant darwin is not provided by port libiconv. DEBUG: Requested variant i386 is not provided by port libiconv. DEBUG: Requested variant macosx is not provided by port libiconv. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Executing org.macports.main (popt) ---> Fetching popt DEBUG: Executing org.macports.fetch (popt) ---> Verifying checksum(s) for popt DEBUG: Executing org.macports.checksum (popt) ---> Checksumming popt-1.11.tar.gz DEBUG: Correct (md5) checksum for popt-1.11.tar.gz ---> Extracting popt DEBUG: Executing org.macports.extract (popt) ---> Extracting popt-1.11.tar.gz DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/popt/popt-1.11.tar.gz DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work" && gzip -dc /opt/local/var/macports/distfiles/popt/popt-1.11.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (popt) ---> Applying patches to popt ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/popt/files/patch-poptint.c DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work/popt-1.11" && patch -p0' patching file poptint.c ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/popt/files/patch-popt.c DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work/popt-1.11" && patch -p0' patching file ./popt.c DEBUG: Executing proc-post-org.macports.patch-patch-0 ---> Configuring popt DEBUG: Executing org.macports.configure (popt) DEBUG: Environment: CXXFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CFLAGS='-O2' LDFLAGS='-L/opt/local/lib' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work/popt-1.11" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-libintl-prefix=/opt/local --with-libiconv-prefix=/opt/local' configure: error: cannot run /bin/sh ./config.sub Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work/popt-1.11" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-libintl-prefix=/opt/local --with-libiconv-prefix=/opt/local " returned error 1 Command output: configure: error: cannot run /bin/sh ./config.sub Warning: the following items did not execute (for popt): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. lolveley.
On Jul 14, 2007, at 18:12, olivier SAINT-EVE wrote:
Here is the result: [snip]
I was hoping it would say more, but it really doesn't say more than:
configure: error: cannot run /bin/sh ./config.sub
There are some reports of that error in Google. Let's start with the basics. Does /bin/sh exist and can you run it? On my system: $ ls -l /bin/sh -r-xr-xr-x 1 root wheel 1068844 Dec 12 2006 /bin/sh $ /bin/sh $ exit $ What OS are you on? What processor? What version of Xcode?
Here are the results of the command "ls -l /bin/sh" : one line of rwx's, the same of yours, no error message. The OS is macosx 10.4.10, the processor the famous intel-based one. I will search for the version of XCode. Lolveley.
hello, I dont't know if ryan is here. I have some informations concerning the installation of popt: here a brief summary of the thing: I try to install gnome, but I can't install one of its dependencies, popt. With or without macports, it aborts: ---> Configuring popt Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_popt/work/popt-1.11" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-libintl-prefix=/opt/local --with-libiconv-prefix=/opt/local " returned error 1 Command output: configure: error: cannot run /bin/sh ./config.sub but when I try to uninstall popt, I've got: mach4:~ oliviersaint-eve$ port uninstall popt Error: port uninstall failed: Registry error: popt not registered as installed. mach4:~ oliviersaint-eve$ port uninstall -f popt Error: port uninstall failed: Registry error: popt not registered as installed. it's amazing : macports does not tell me that popt is not installed(it does not appear after "port installed"). do you know a way to erase popt, in the purpose of reinstalling it? thank you, lolveley.
On Jul 15, 2007, at 20:37, olivier SAINT-EVE wrote:
here a brief summary of the thing: I try to install gnome, but I can't install one of its dependencies, popt. With or without macports, it aborts:
---> Configuring popt Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel _popt/work/popt-1.11" && ./configure --prefix=/opt/local --mandir=/ opt/local/share/man --with-libintl-prefix=/opt/local --with- libiconv-prefix=/opt/local " returned error 1 Command output: configure: error: cannot run /bin/sh ./config.sub
but when I try to uninstall popt, I've got:
mach4:~ oliviersaint-eve$ port uninstall popt Error: port uninstall failed: Registry error: popt not registered as installed. mach4:~ oliviersaint-eve$ port uninstall -f popt Error: port uninstall failed: Registry error: popt not registered as installed.
it's amazing : macports does not tell me that popt is not installed (it does not appear after "port installed").
do you know a way to erase popt, in the purpose of reinstalling it?
Well, as the message says, popt is not registered as installed. Therefore there is nothing to uninstall. The best you can do is clean the work directory. "sudo port clean -- work popt". I thought you said before that it worked outside of MacPorts. But if it doesn't work outside of MacPorts either, then I think we can rule out MacPorts as the source of the problem. I'd look rather to some other component of your OS as a problem. Try reinstalling Xcode 2.4.1 for example.
participants (2)
-
olivier SAINT-EVE
-
Ryan Schmidt