On Dec 16, 2007, at 18:03, Charlse Darwin wrote:
"The MacPorts binary installer places a .profile file in your home
directory (view files preceded by a dot with 'ls -a'). The contents
of this ~/.profile file adds the MacPorts paths in front of the
standard Unix paths for the default BASH sh
Thanks for your input Ryan; really informative.
I found the quote below here: http://trac.macosforge.org/projects/
macports/wiki/InstallingMacPorts
"The MacPorts binary installer places a .profile file in your home
directory (view files preceded by a dot with 'ls -a'). The contents
of this
On Dec 16, 2007, at 15:05, Charlse Darwin wrote:
$ env
PATH=/Users/***/Documents/scripts/:/opt/local/bin:/opt/local/sbin:/
bin:/sbin:/usr/bin:/usr/sbin:/Library/Frameworks/Python.framework/
Versions/Current/bin/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/
usr/local/teTeX/bin/powerpc-apple-d
$ env
PATH=/Users/***/Documents/scripts/:/opt/local/bin:/opt/local/sbin:/
bin:/sbin:/usr/bin:/usr/sbin:/Library/Frameworks/Python.framework/
Versions/Current/bin/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/
local/teTeX/bin/powerpc-apple-darwin-current
$
Is my env set up `correctly'?
On
It works! Thanks. However still we've got the following:
$ which apachectl
/usr/sbin/apachectl
# as opposed to (which as an example shows my env is set up correctly)
$ which bash
/opt/local/bin/bash
$
On Dec 16, 2007, at 3:09 PM, William Davis wrote:
On Dec 16, 2007, at 1:27 PM, Charlse Darwin
On Dec 16, 2007, at 1:27 PM, Charlse Darwin wrote:
$ sudo cp /opt/local/apache2/conf/httpd.conf.sample /opt/local/
apache2/conf/
Password:
cp: /opt/local/apache2/conf/httpd.conf.sample and /opt/local/apache2/
conf/httpd.conf.sample are identical (not copied).
$
/snip/
Yes, you don't hav
$ sudo /opt/local/apache2/bin/apachectl start
httpd: Syntax error on line 63 of /opt/local/apache2/conf/httpd.conf:
ServerRoot must be a valid directory
$
On Dec 16, 2007, at 1:24 PM, Daniel J. Luke wrote:
On Dec 16, 2007, at 11:59 AM, Charlse Darwin wrote:
Here is the situation:
$ sudo ap
$ sudo cp /opt/local/apache2/conf/httpd.conf.sample /opt/local/
apache2/conf/
Password:
cp: /opt/local/apache2/conf/httpd.conf.sample and /opt/local/apache2/
conf/httpd.conf.sample are identical (not copied).
$
On Dec 16, 2007, at 1:24 PM, Daniel J. Luke wrote:
On Dec 16, 2007, at 11:59 AM,
On Dec 16, 2007, at 11:59 AM, Charlse Darwin wrote:
Here is the situation:
$ sudo apachectl start
dyld: Library not loaded: /usr/local/lib/libexpat.0.1.0.dylib
Referenced from: /usr/sbin/httpd
Reason: image not found
/usr/sbin/apachectl: line 187: 3046 Trace/BPT trap $HTTPD
/usr/sbin/
Reinstalled Xcode, then installed
http://www.opensource.apple.com/darwinsource/tarballs/other/
apache-729.tar.gz
Here is the situation:
$ sudo apachectl start
dyld: Library not loaded: /usr/local/lib/libexpat.0.1.0.dylib
Referenced from: /usr/sbin/httpd
Reason: image not found
/usr/sbin/apa
On 2007-12-14 , at 19:10 , Ryan Schmidt wrote:
Ok, so your MacPorts has been inadvertently linked with the rogue
readline that was in /usr/local/lib. You should now rebuild
MacPorts, either by building from source, or by reinstalling it
from the latest disk image for your OS version and t
http://www.opensource.apple.com/darwinsource/Current/apache1-696/
apache1/INSTALL
$ ./configure --prefix=PREFIX
NOTE: PREFIX is not the string "PREFIX". Instead use the Unix
filesystem path under which Apache should be installed. For
instance use "/usr/local/apache" for PRE
I am going to get the source code from here:
http://www.opensource.apple.com/darwinsource/tarballs/other/
apache-729.tar.gz
http://www.opensource.apple.com/darwinsource/tarballs/other/
apache1-696.tar.gz
what do you think?
On Dec 15, 2007, at 9:17 AM, Jochen Küpper wrote:
On 15.12.2007, at
On 15.12.2007, at 13:41, Ryan Schmidt wrote:
(MacPorts keeps track of what it installed where so that it can
uninstall it later with "port uninstall", but normal unix software
installed by hand provides no such mechanism.) Then you will have
no apache.
autotools often do provide similar m
Let me see what I can do, thanks.
On Dec 15, 2007, at 7:41 AM, Ryan Schmidt wrote:
Well, you're not getting the same output as me: your httpd is
linked against /usr/lib/libSystem and /usr/local/lib/libexpat. Mine
is linked against /usr/lib/libSystem and /usr/lib/libgcc.
Apple does not prov
Well, you're not getting the same output as me: your httpd is linked
against /usr/lib/libSystem and /usr/local/lib/libexpat. Mine is
linked against /usr/lib/libSystem and /usr/lib/libgcc.
Apple does not provide any software in /usr/local so you must have
manually compiled expat in prefix /u
I am getting the same:
$ otool -L /usr/sbin/httpd
/usr/sbin/httpd:
/usr/local/lib/libexpat.0.1.0.dylib (compatibility version
2.0.0, current version 2.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 88.1.10)
$
I have tried installing Apache from
Why is your /usr/sbin/httpd linked against anything in /usr/local/
lib? This is what it should be linked with, at least on Tiger:
$ otool -L /usr/sbin/httpd
/usr/sbin/httpd:
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)
/usr/lib/libSystem.B.dyli
$ sudo apachectl start
dyld: Library not loaded: /usr/local/lib/libexpat.0.1.0.dylib
Referenced from: /usr/sbin/httpd
Reason: image not found
/usr/sbin/apachectl: line 187: 16752 Trace/BPT trap $HTTPD
/usr/sbin/apachectl start: httpd could not be started
$
On Dec 14, 2007, at 9:12 PM
Well, you should probably just move /usr/local aside first. Other
software (including MacPorts ports) may be inadvertently linked with
the libraries in /usr/local/lib. As you discover these, rebuild those
ports to link them properly with the MacPorts-provided libraries.
Once you're no longe
On Dec 14, 2007, at 20:01, Chris Janton wrote:
On 2007-12-14 , at 18:53 , Charlse Darwin wrote:
$ mv mv /usr/local mv /usr/local-off
mac 1 # sudo mv /usr/local /usr/local1
mac 2 # sudo port install apache2
Library not loaded: /usr/local/lib/libreadline.5.1.dylib
Referenced from: /opt/loca
Um it was anticipated to have been in /usr/local/lib but I don't
see it there either.
Try moving the entire /usr/local aside (e.g. rename it "/usr/local-
off") and see if that helps.
On Dec 14, 2007, at 19:14, Charlse Darwin wrote:
Where is readline?
$ ls /usr/local/*
/usr/local/Berk
Good, so something in /usr/local was conflicting.
I see now all the other libs that you do have in /usr/local/lib.
Those will probably also conflict with MacPorts-installed programs.
This is why we recommend not having anything in /usr/local/lib.
Instead, install all software you need using
On 2007-12-14 , at 18:53 , Charlse Darwin wrote:
$ mv mv /usr/local mv /usr/local-off
mac 1 # sudo mv /usr/local /usr/local1
mac 2 # sudo port install apache2
Library not loaded: /usr/local/lib/libreadline.5.1.dylib
Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/
Pextlib.dylib
$ mv mv /usr/local mv /usr/local-off
Password:
$ sudo port install apache2
---> Building db44 with target all
---> Staging db44 into destroot
---> Installing db44 4.4.20_1+darwin_8
---> Activating db44 4.4.20_1+darwin_8
---> Cleaning db44
---> Fetching gawk
---> Attempting to fetch gawk-3.1
Where is readline?
$ ls /usr/local/*
/usr/local/BerkeleyDB.4.2:
bin docsinclude lib
/usr/local/OpenSourceLicenses:
MySQL.txt RemoteDesktop.txt
/usr/local/OpenSourceVersions:
MySQL.plist RemoteDesktop.plist
/usr/local/apache:
bin include libexec sbinsha
No no -- you need to remove (or temporarily move aside) the readline
libraries in /usr/local, *not* the readline installed by MacPorts
into /opt/local, which is perfectly fine to have.
On Dec 14, 2007, at 16:54, Charles Darwin wrote:
$ sudo port uninstall readline
---> Unable to uninstall
$ sudo port uninstall readline
---> Unable to uninstall readline 5.2.007_0, the following ports
depend on it:
--->bash
--->gnupg
Error: port uninstall failed: Please uninstall the ports that depend
on readline first.
$ sudo port -f uninstall readline
---> Unable to uninstall readli
On Dec 14, 2007, at 12:40 PM, Chris Janton wrote:
On 2007-12-13 , at 21:08 , Daniel J. Luke wrote:
Error: The following dependencies failed to build: apr-util db44
sqlite3 gawk openssl
Error: Status 1 encountered during processing.
This is probably related to:
http://trac.macports.org/proje
On 2007-12-13 , at 21:08 , Daniel J. Luke wrote:
Error: The following dependencies failed to build: apr-util db44
sqlite3 gawk openssl
Error: Status 1 encountered during processing.
This is probably related to:
http://trac.macports.org/projects/macports/ticket/12040
I have the dreaded "
On Dec 13, 2007, at 1:25 PM, Charles Darwin wrote:
$ sudo port install apache2
---> Building db44 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_databases_db44/wor
31 matches
Mail list logo