RE: [bitflux-cms] Installationsbeschrieb f?r Bitflux CMS on Mac

"Roger Fischer" <[email protected]> Fri, 24 Jan 2003 16:47:05 +0100
Newsgroups gmane.comp.cms.bitflux.general.german
Message-ID <[email protected]>
Hi Albert

Great. (^_^)
I just post your script as plain text to the german list as well.
See first:
http://blog.bitflux.ch/p54.html
http://blog.bitflux.ch/p59.html

Gruss
Roger



- install expat
fink install expat

- install apache from source

./configure \
"--with-layout=Apache" \
"--enable-module=so" \
"--enable-module=rewrite" \
"--prefix=/usr/local/bxphp/apache" \
"--disable-rule=EXPAT"
make
make install

add to /usr/local/bxphp/apache/conf/httpd.conf

AddType application/x-httpd-php .php

eventually adjust the Listen in httpd.conf
(I changed "Listen 8000")
(Also changed AllowOverride All for .htaccess to work)
DirectoryIndex index.php



- install iconv from fink

- install sablotron

get cvs sources. see http://www.gingerall.com/charlie/ga/xml/p_sab.xml for
details.
the Sablot-0.97 tar sources end with an undefined symbols error...

then
export CC=gcc2
export CXX=g++2
(or if your using tcsh:
setenv CC "gcc2"
setenv CXX "g++2"
)
I had to "sh reconf" to make the configure script.
Then I also had to "cp /usr/share/libtool/ltmain.sh
ga/sablot/tools/ltmain.sh"

edit configure, change line 3331 to
"allow_undefined_flag='-flat_namespace -undefined suppress'"
without the double quotes.

./configure  --prefix=/usr/local/bxphp --with-expat-prefix=/sw/ --with-iconv
-prefix=/sw/
make
make install

- install libxml2 from fink
- install libxslt from fink

- install libpng from fink

- install php

'./configure' \
'--with-config-file-path=/usr/local/bxphp/apache/conf' \
'--prefix=/usr/local/bxphp/' \
'--with-apxs=/usr/local/bxphp/apache/bin/apxs' \
'--with-dom=/sw/' \
'--with-zlib' \
'--with-iconv=/sw/' \
'--with-dom-xslt=/sw/' \
'--with-dom-exslt=/sw/' \
'--with-mysql' \
'--with-png-dir=/sw/' \
'--with-expat-dir=/sw/' \
'--with-iconv-dir=/sw/'  \
'--with-xml=/sw/' \
'--with-gd' \
'--enable-xslt' \
'--with-xslt-sablot=/usr/local/bxphp' \
'--without-sablot-js'

make
make install

now. everything should be ok.

start apache
/usr/local/bxphp/apache/bin/apachectl start

and then open your browser and type

http://localhost/

if you have another port defined, at it as well.

install lynx with fink

instal wget from fink

create db cmsdemo

add /sw/bin/ and mysql binary path to PATH env var in /private/etc/csh.login

run script

/sw/bin/lynx -source http://bitflux.org/download/go-bitflux | sh

pointed DocumentRoot 	to /usr/local/bxphp/apache/htdocs/demo/www/

changed demo/www/.htaccess in this way:

SetEnv BX_BITLIB_DIR "/usr/local/bxphp/apache/htdocs/bitlib/"
SetEnv BX_PROJECT_DIR "/usr/local/bxphp/apache/htdocs/demo/"

# the include paths..
php_value include_path
"/usr/local/bxphp/apache/htdocs/bitlib/php/:./:/usr/local/bxphp/lib/php"

and disabled the demo/www/admin/.htaccess file by renaming it .htaccess_bk





> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Albert Lash
> Sent: Friday, January 24, 2003 3:44 PM
> To: Christian Stocker
> Cc: [email protected]
> Subject: Re: [bitflux-cms] script
>
>
> I just got it running. Looks awesome. Can't wait to dig in
> some more. I
> can send you the .htaccess file I use in the base www directory (the
> basic SetEnv work for me), and also I had to turn off the one in the
> admin folder for some reason to get the graphics to work.
>
> Let me know if there's anything in particular I can assist with. Are
> you going to ever include the wysiwyg editor in the demo?
>
> I went ahead and attached the notes I made while getting it running
> just in case it may serve some purpose in creating the script &
> instructions.
>
>