[openbeos] Re: Apache 2.0
- From: "Peter Moore" <petermoore253@xxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Wed, 26 Jun 2002 21:31:18 +1000
From your prompt in Terminal you might have to add in the CFLAGS="-DBEOS"
option:
/boot/home>CFLAGS="-DBEOS" ./configure --prefix=/boot/home/where-ever; make;
make install
Just setting -DBEOS will set the default path to be /boot/home/apache2 but
if you want your own path use the --prefix option.
On BONE i have CFLAGS and LIBS set in my environment so that anything i try
and port will pick up the required libraries and environmentals.
This is my default:
$CFLAGS=-DBEOS
$LIBS=-lbe -lroot -lbind -lsocket
if i am doing anything to do with capturing packets i redefine LIBS to also
have -lpcap as well.
Other things which are useful is setting LD_LIBRARY_PATH and C_INCLUDE_PATH
to point to /boot/home/config/lib and /boot/home/config/include as well as
the default.
eg export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/boot/home/config/lib
cheers
peter
http://beos.loved.com/
From: "Nick Derewianka" <nick@xxxxxxxxxxxxxx>
Reply-To: openbeos@xxxxxxxxxxxxx
To: openbeos@xxxxxxxxxxxxx
Subject: [openbeos] Apache 2.0
Date: Tue, 25 Jun 2002 20:30:56 GMT
Hello all,
Has anyone had any luck running apache 2.0.39 (w/o BONE) ??
It configures/makes/make installs fine for me, however on launch it
says:
httpd: could not open document config file /usr/local/apache2/conf/
httpd.conf
which is obviously a hardcoded linux path, despite the fact that i used
the --prefix=/boot/home/apache/ in ./configure.
Just want to check if i am not making any mistakes before i file a bug.
Regards,
Nick
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
Other related posts:
- » [openbeos] Apache 2.0
- » [openbeos] Re: Apache 2.0
- » [openbeos] Re: Apache 2.0
- » [openbeos] Re: Apache 2.0
- » [openbeos] Re: Apache 2.0
- » [openbeos] Re: Apache 2.0
- » [openbeos] Re: Apache 2.0
- » [openbeos] Re: Apache 2.0
From: "Nick Derewianka" <nick@xxxxxxxxxxxxxx> Reply-To: openbeos@xxxxxxxxxxxxx To: openbeos@xxxxxxxxxxxxx Subject: [openbeos] Apache 2.0 Date: Tue, 25 Jun 2002 20:30:56 GMT
Hello all,
Has anyone had any luck running apache 2.0.39 (w/o BONE) ??
It configures/makes/make installs fine for me, however on launch it says: httpd: could not open document config file /usr/local/apache2/conf/ httpd.conf
which is obviously a hardcoded linux path, despite the fact that i used the --prefix=/boot/home/apache/ in ./configure.
Just want to check if i am not making any mistakes before i file a bug.
Regards, Nick