BTT start problems on Mac OS X
Mark Millikan
mmillikan@REDACTED
Fri Feb 4 21:42:10 CET 2005
I have downloaded the source snapshot of BTT
1. ./configure seems to like 'powerpc-apple-bsd' as machine type and
completes
2. make local' completes with many warnings of unused variables
3. yaws -i works fine.
[m17:~] markmill% yaws -i
Erlang (BEAM) emulator version 5.4.3 [source]
Eshell V5.4.3 (abort with ^G)
1>
=INFO REPORT==== 4-Feb-2005::13:32:18 ===
Yaws: Using config file /Users/markmillikan/yaws.conf
=INFO REPORT==== 4-Feb-2005::13:32:18 ===
Warning usage of deprecated auth users inside config file
use .yaws_auth file instead
=INFO REPORT==== 4-Feb-2005::13:32:18 ===
Warning usage of deprecated auth users inside config file
use .yaws_auth file instead yaws:Add path
"/Users/markmillikan/yaws/scripts/../examples/ebin"
yaws:Add path "/Users/markmillikan/yaws/examples/ebin"
yaws:Running with id="default"
Running with debug checks turned on (slower server)
Logging to directory "/Users/markmillikan/yaws_logs"
=INFO REPORT==== 4-Feb-2005::13:32:18 ===
Yaws: Listening to 0.0.0.0:8000 for servers
- http://m17.bos.vfa:8000:8000 under
/Users/markmillikan/yaws/scripts/../www
- http://localhost:8000:8000 under /tmp
=INFO REPORT==== 4-Feb-2005::13:32:18 ===
Yaws: Listening to 0.0.0.0:4443 for servers
- https://m17.bos.vfa:4443:4443 under /tmp
4. btt -i aborts with:
[m17:~] markmill% btt -i
Erlang (BEAM) emulator version 5.4.3 [source]
Eshell V5.4.3 (abort with ^G)
1> {"init terminating in
do_boot",{badarg,[{btt_yconf,ycall,1},{btt_yconf,get_gconf,0},{btt_yconf
,get_yawsconf,0},{btt_yaws,configure_yaws,0},{btt_yaws,start,0},{init,st
art_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
5. btt.conf is:
#
# Define where the Web server should be running
#
BTT_WWW_IP = 127.0.0.1
BTT_WWW_PORT = 8337
#
# Directory where all the WWW stuff is located
#
BTT_DOCROOT = /Users/markmillikan/btt_local_install/www
#
# Directory where the Database is located
#
BTT_DB_DIR = /Users/markmillikan/btt_local_install/db
#
# Directory where the received mails are stored
#
BTT_MAIL_DIR = /Users/markmillikan/btt_local_install/mail
#
# Directory where the logfiles are stored
#
#BTT_LOG_DIR = /Users/markmillikan/btt_local_install/logs/btt
BTT_LOG_DIR = /tmp
#
# Change the below if you want to use the command line interface.
#
BTT_ENABLE_CMD = no
BTT_CMD_IP = 127.0.0.1
BTT_CMD_PORT = 9338
Any hints as to how to proceed?
More information about the erlang-questions
mailing list