[OGo-Users] Fedora RPM repos content not consistent
Adam Tauno Williams
users@opengroupware.org
Fri, 05 Jan 2007 13:12:59 -0500
> Any tips on building all the RPMs from source on my 64bit box? There
> must be a script if it is being done nightly somehow. Can you point me
> to it?
I don't believe there are any x64 packages; and OGo itself wouldn't
really derive any benefit from being 64 bit. But given the myriad
versions of Apache it isn't uncommon to just build ngobjweb aside from
the packages. This should build a module that works with Apache 2.2.x:
rm -f sope-mod_ngobjweb-trunk-latest.tar.gz
curl -o sope-mod_ngobjweb-trunk-latest.tar.gz
http://download.opengroupware.org/nightly/sources/trunk/sope-mod_ngobjweb-trunk-latest.tar.gz
rm -fR sope-mod_ngobjweb
tar xf sope-mod_ngobjweb-trunk-latest.tar.gz
cd sope-mod_ngobjweb/
cp handler.c handler.c.original
sed "s/ap_http_method(/ap_http_scheme(/g" handler.c \
| sed "s/ap_run_http_method(/ap_run_http_scheme(/g" > handler_new.c
mv handler_new.c handler.c
/usr/sbin/apxs2 -c *.c
for file in *.o
do
ld -Bshareable -o $(basename $file .o).so $file
done
make all
cp mod_ngobjweb.so /usr/lib/apache2/
rcapache2 start
I usually "rpm -Fvh *.rpm" and then run the above to do any upgrade.