Re: COCANWIKI - ExtLib
Cocanwiki:
I believe I have it working now. It does complain because I don't have
any hostname for the box it is running on. I will need to find a
work-around or perhaps change my ISP provider. I am currently just
running on a residential high speed cable provide(CableOne.net).
I had to add the following sym-links in
cd /usr/lib
ln -s /usr/lib/ocaml/3.08.3/stublibs/dllnums.so dllnums.so
ln -s /usr/lib/ocaml/3.08.3/stublibs/dllpostgres.so dllpostgres.so
cd /usr/lib/ocaml/3.08.3
ln -s /usr/lib/ocaml/3.08/apache apache
ln -s /usr/lib/ocaml/3.08/dbi dbi
ln -s /usr/lib/ocaml/3.08/gregoriandate gregoriandate
In the cocanwiki file I needed to add the following
CamlLoad /usr/lib/ocaml/3.08.3/nums.cma
CamlLoad /usr/share/mod_caml/registry.cmo
CamlLoad /usr/lib/ocaml/3.08.3/extlib/extLib.cma
CamlLoad /usr/lib/ocaml/3.08.3/postgres/postgres.cma
CamlLoad /usr/lib/ocaml/3.08/dbi/dbi.cma
CamlLoad /usr/lib/ocaml/3.08/dbi/dbi_postgres.cmo
CamlLoad /usr/lib/ocaml/3.08/gregoriandate/gregorianDate.cma
The allow for admin has a hardcoded ip address which I replaced with my
ip address. Possibly something should be done differently there?
The "make install" doesn't move the files over to /usr/share..." So I
moved the files.
Added a note to the cocanwiki web installation web page about needing to
create user "www-data" in the postgres database.
Possibly some other changes I forgotten.
--JayR
On Sat, 2005-04-02 at 08:07 +0200, Sven Luther wrote:
> On Fri, Apr 01, 2005 at 02:16:13PM -0700, Jay Riddle wrote:
> >
> > Excellent. Thank you. That seems to have worked. I will need to do
> > some more reading about subversion and the setup at debian then I will
> > probably understand the differences between:
>
> Read the subversion book at subversion.tigris.org.
>
> > svn co
> > svn://@svn.debian.org/svn/pkg-ocaml-maint/packages/cocanwiki/trunk
> > cocanwiki
>
> This one checks out trunk, and renames it as cocanwiki locally.
>
> > and
> >
> > svn co
> > svn://pkg-ocaml-maint.alioth.debian.org/pkg-ocaml-maint/packages/cocanwiki
>
> This one checks out the parent dir of the above trunk.
>
> The other version is svn.debian.org vs pkg-ocaml-maint.alioth.debian.org. The
> former is to be prefered, since the later will/may break when alioth moves as
> it happeened recently. Or vice-versa. The @ is not needed, as it is used for
> non-anonymous access, with svn+ssh://<user>@sven.debian.org.
>
> The packages in the debian/ocaml repo are in debian dir + upstream tarball
> form, and you use opkg-buildpackage (from pkg-ocaml-maint/tools) to build
> them. Alternatively, you can make an export (to get ride of the .svn dirs),
> and then copy the debian dir in the upstream tarball by hand, but
> opkg-buildpackage is more handy.
>
> Friendly,
>
> Sven Luther
>
Reply to: