Installing Apache2 on Leopard

2009-01-24 Thread Jason Hirsh
I have successfully accomplished this... but frankly the process just  
doesn't sit well with my sense of things.. I now have two complete  
Apache installations...   and have to do work arounds to get the port  
installation to work


(apache2ctl etc)

Isn't there away to install the port version over the orginal  
installation?   it just seems the more orderly way of doing things




___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: error apache2 from macports 1.70 (RESOLVED)

2009-01-19 Thread Jason Hirsh
OK I deinstalled and re-installed.  Although I had done this before  
this time was much different and worked great


I have two machines really interlaced   so I guess I screwed up along  
the way


thanks for the help...

Jason

On Jan 18, 2009, at 11:53 PM, Ryan Schmidt wrote:


On Jan 18, 2009, at 21:23, Jason Hirsh wrote:


On Jan 18, 2009, at 7:54 PM, Bryan Blackburn wrote:


On Sun, Jan 18, 2009 at 07:12:45PM -0400, Jason Hirsh said:


sh: /opt/local/bin/bzip2: Bad CPU type in executable


Was this MacPorts install copied over from a different  
architecture (eg from

a PowerPC to Intel)?


presuming wrong type  howdoI correct




sudo port -nf upgrade bzip2

That will cause bzip2 to be rebuilt.

But if you copied this MacPorts installation from another machine,  
it's likely most or all of your other ports are also affected by  
this problem and you should do the same for all of them. But you  
would have to do it in the right order. It may be easier to  
uninstall all ports first, then install again what you need, which  
will do it in the right order for you.




___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: error apache2 from macports 1.70

2009-01-18 Thread Jason Hirsh


On Jan 18, 2009, at 7:54 PM, Bryan Blackburn wrote:


On Sun, Jan 18, 2009 at 07:12:45PM -0400, Jason Hirsh said:
[...]


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


Was this MacPorts install copied over from a different architecture  
(eg from

a PowerPC to Intel)?

Odd though that it continued on after that as it should have failed  
at this

point instead of continuing.

Bryan



presuming wrong type  howdoI correct

[...]
___
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


Fwd: error apache2 from macports 1.70

2009-01-18 Thread Jason Hirsh



Begin forwarded message:


From: Jason Hirsh 
Date: January 18, 2009 5:59:06 PM GMT-04:00
To: Bryan Blackburn 
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


error apache2 from macports 1.70

2009-01-18 Thread Jason Hirsh
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??



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


{solved}Re: Apache Apache 2.2.8 install fails -Error: Target org.macports.fetch returned: fetch failed

2008-06-14 Thread Jason Hirsh

On Jun 14, 2008, at 6:36 PM, Rainer Müller wrote:

> JasonHirsh wrote:
>> I have verified that my macports is up to date... any ideas??
>
> The file moved on the server. Use this command:
>
> $ sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/apache2  
> port -v fetch apache2
>
> Rainer


that did it
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users