Here's what I got when I installed Apache2.0 on my Mac Pro running 10.5.6 (being a dodo, I am wondering why my port command fetched from http://distfiles.macports.org/apache2 rather than from http://www.ibiblio.org/pub/mirrors/apache/httpd):

t...@cotopaxi:~$ sudo port install apache2
Password:
--->  Fetching apr
--->  Attempting to fetch apr-1.3.3.tar.bz2 from 
http://distfiles.macports.org/apr
--->  Verifying checksum(s) for apr
--->  Extracting apr
--->  Configuring apr
--->  Building apr
--->  Staging apr into destroot
--->  Installing apr @1.3.3_1
--->  Activating apr @1.3.3_1
--->  Cleaning apr
--->  Fetching apr-util
--->  Attempting to fetch apr-util-1.3.4.tar.bz2 from 
http://distfiles.macports.org/apr-util
--->  Verifying checksum(s) for apr-util
--->  Extracting apr-util
--->  Configuring apr-util
--->  Building apr-util
--->  Staging apr-util into destroot
--->  Installing apr-util @1.3.4_1
--->  Activating apr-util @1.3.4_1
--->  Cleaning apr-util
--->  Fetching apache2
--->  Attempting to fetch httpd-2.2.11.tar.bz2 from 
http://distfiles.macports.org/apache2
--->  Verifying checksum(s) for apache2
--->  Extracting apache2
--->  Applying patches to apache2
--->  Configuring apache2
--->  Building apache2
--->  Staging apache2 into destroot
--->  Creating launchd control script
###########################################################
# A startup item has been generated that will aid in
# starting apache2 with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo launchctl load -w /Library/LaunchDaemons/ org.macports.apache2.plist
###########################################################
Warning: apache2 requests to install files outside the common directory structure!
--->  Installing apache2 @2.2.11_0+darwin_9
--->  Activating apache2 @2.2.11_0+darwin_9
--->  Cleaning apache2

Tim

On Jan 18, 2009, at 4:12 PM, Jason Hirsh wrote:



Begin forwarded message:

From: Jason Hirsh <hir...@att.net>
Date: January 18, 2009 5:59:06 PM GMT-04:00
To: Bryan Blackburn <b...@macports.org>
Subject: Re: error apache2 from macports 1.70


On Jan 18, 2009, at 5:29 PM, Bryan Blackburn wrote:

On Sun, Jan 18, 2009 at 05:13:23PM -0400, Jason Hirsh said:
I am trying to install Apache 2.0 on a Power Mac G5 running Leopard
10.5.4
I get  the folowing error

--->  Fetching apache2
--->  Attempting to fetch httpd-2.2.11.tar.bz2 from 
http://www.ibiblio.org/pub/mirrors/apache/httpd
--->  Verifying checksum(s) for apache2
--->  Extracting apache2
Error: reinplace: couldn't read file "/opt/local/var/macports/ build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_www_apache2/work/httpd-2.2.11/ configure": no
such file or directory
Error: Target org.macports.extract returned: reinplace sed(1) failed
Error: Status 1 encountered during processing.


It would seem there is an issue with the what I fetched??

If the file downloaded wasn't right, it would have failed during the
checksum, so the download should be okay.  Try running

$ sudo port clean --work apache2
$ sudo port -d extract apache2

and see if that gives us some more information on what's going on. FWIW, I
have that version of apache2 installed here without such issues.

Bryan

Ok ther still seems to be an issue with that configure directory not being created I took a llok and I have nothing in the tree under work in the path shown in the error

[Bluefish:/opt/local] jason% sudo port -d extract apache2
DEBUG: Found port in 
file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/www/apache2
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/www/apache2
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: adding the default universal variant
DEBUG: Requested variant powerpc is not provided by port apache2.
DEBUG: Requested variant macosx is not provided by port apache2.
DEBUG: Executing variant darwin provides darwin
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Executing org.macports.main (apache2)
--->  Fetching apache2
DEBUG: Executing org.macports.fetch (apache2)
--->  Verifying checksum(s) for apache2
DEBUG: Executing org.macports.checksum (apache2)
--->  Checksumming httpd-2.2.11.tar.bz2
DEBUG: Correct (md5) checksum for httpd-2.2.11.tar.bz2
DEBUG: Correct (sha1) checksum for httpd-2.2.11.tar.bz2
DEBUG: Correct (rmd160) checksum for httpd-2.2.11.tar.bz2
DEBUG: setting option extract.cmd to /opt/local/bin/bzip2
--->  Extracting apache2
DEBUG: Executing org.macports.extract (apache2)
--->  Extracting httpd-2.2.11.tar.bz2
DEBUG: setting option extract.args to /opt/local/var/macports/ distfiles/apache2/httpd-2.2.11.tar.bz2
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_www_apache2/work" && /opt/local/bin/ bzip2 -dc /opt/local/var/macports/distfiles/apache2/ httpd-2.2.11.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -'
sh: /opt/local/bin/bzip2: Bad CPU type in executable
DEBUG: Executing proc-post-org.macports.extract-extract-0
DEBUG: couldn't read file "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_www_apache2/work/httpd-2.2.11/ configure": no such file or directory
   while executing
"exec /usr/bin/sed {s|-export-symbols-regex ssl_module||g} < /opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_p..."
   ("eval" body line 1)
   invoked from within
"eval exec $cmdline"
Error: reinplace: couldn't read file "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_www_apache2/work/httpd-2.2.11/ configure": no such file or directory
Error: Target org.macports.extract returned: reinplace sed(1) failed
Warning: the following items did not execute (for apache2): org.macports.extract
Error: Status 1 encountered during processing.


Its probably me... but can't figure how I screwed up



_______________________________________________
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

Attachment: 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

Reply via email to