Error: port activate failed: Registry error: No port of e installed.
dgentry@localbusinesswebsites.com
localbusinesswebsites at earthlink.net
Tue Oct 12 16:34:01 PDT 2010
Rainer,
I installed Xcode successfully.
When I ran "sudo port install apache2," I got:
"sudo: /etc/sudoers is mode 0666, should be 0440
Segmentation fault"
I googled that result and then I ran "chmod 0440 /etc/sudoers." The result was:
"chmod: Unable to change file mode on /etc/sudoers: Operation not permitted."
I ran "port install apache2" and, quoting just the last several lines, I got:
"---> Staging apache2 into destroot
Error: Target org.macports.destroot returned: shell command failed
Log for apache2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>"
Here are the last lines of the main.log file:
":info:destroot /opt/local/share/apr-1/build/libtool --silent --mode=install cp mod_rewrite.la /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/destroot/opt/local/apache2/modules/
:info:destroot libtool: install: warning: remember to run `libtool --finish /opt/local/apache2/modules'
:info:destroot Making install in support
:info:destroot cp: utimes: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/destroot/opt/local/apache2/modules/httpd.exp: Operation not permitted
:info:destroot make[1]: *** [install] Error 1
:info:destroot make: *** [install-recursive] Error 1
:info:destroot shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/httpd-2.2.16" && /usr/bin/make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/work/destroot " returned error 2
:error:destroot Target org.macports.destroot returned: shell command failed
:debug:destroot Backtrace: shell command failed
while executing
"command_exec destroot"
(procedure "portdestroot::destroot_main" line 2)
invoked from within
"$procedure $targetname"
:info:destroot Warning: the following items did not execute (for apache2): org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Log for apache2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_apache2/main.log"
Your help is most appreciated.
David
-----Original Message-----
>From: Rainer Müller <raimue at macports.org>
>Sent: Oct 11, 2010 3:43 PM
>To: David Gentry <localbusinesswebsites at earthlink.net>, macports-users <macports-users at lists.macosforge.org>
>Subject: Re: Error: port activate failed: Registry error: No port of e installed.
>
>Please use "Reply all", so your answers also go to the list.
><http://trac.macports.org/wiki/MailingLists#intro.reply>
>
>On 2010-10-11 21:53 , David Gentry wrote:
>> Rainer,
>>
>> When I ran "port installed apache2 mysql5," I got "None of the specified ports are installed."
>>
>> When I ran "install mysql5," I got the following usage guidance which doesn't mean much to me. Could you give me a simple description of a command I could run to install ports?
>>
>> usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>> [-o owner] file1 file2
>> install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>> [-o owner] file1 ... fileN directory
>> install -d [-v] [-g group] [-m mode] [-o owner] directory ...
>>
>> David
>
>You should run "sudo port install mysql5".
>
>Rainer
>_______________________________________________
>macports-users mailing list
>macports-users at lists.macosforge.org
>http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list