OK, I'm able to build the site locally based on the instructions. I get
what could be considered an error message, but content is generated and it
looks (on first glance) to be correct.

    apache_cms_build dave$ perl build_site.pl --source-base ../roller_cms/
--target-base /tmp/roller_cms_test
    Building site...
    Can't open cgi-bin [skipping]: No such file or directory at
build_site.pl line 124.
    All done.

A couple of questions, if you please:

Should I be concerned about that "Can't open" message?

What remains to be done to get our site up and running and how can I help?

Once we get setup, will we ever need to do "local builds" again or will we
be able to do everything through the web based tools? i.e.
http://s.apache.org/cms-tutorial.

Thanks,
- Dave




On Wed, Dec 26, 2012 at 1:21 PM, David Johnson <[email protected]> wrote:
>
> On Dec 26, 2012, at 12:38 PM, Glen Mazza <[email protected]> wrote:
>
> > I'm not sure why you needed to compile C source code (maybe something
specific with your OS)--I didn't have to, at least not with Ubuntu Linux.
 Remember, as the instructions stress there's *two* folders you have to
deal with -- one where the CMS scripts are ("the build script directory")
and other where the Roller CMS site is (trunk/cmssite off of subversion).
That command you're having trouble with below needs to be run from the
*former*, and it should have these files within it:
> >
> > gmazza@gmazza-work:/media/work1/opensource/cms$ ls
> > build_external.pl  build_file.pl  build_site.pl  build_svn.pl lib
 markdownd.py  mdx_elementid.py  mdx_elementid.pyc
> >
> > The last sentence of the first paragraph here:
http://apache.org/dev/cmsref.html#local-build tells you where to get the
build scripts, and it indeed does have markdownd.py there.
>
> Thanks for that tip. I'll give it another shot later today I hope.
>
> - Dave
>
>
>
> >
> > On 12/26/2012 12:21 PM, Dave wrote:
> >> Thanks for getting this setup!
> >>
> >> I'm trying to follow those instructions and after a couple hour
nightmare
> >> of downloading Python and Perl dependencies, and compiling stuff from C
> >> source code I get stuck at this point:
> >>
> >> Once everything is installed, navigate to the root folder of your CMS
site
> >> and run the following command:
> >>
> >> $ export MARKDOWN_SOCKET=`pwd`/markdown.socket PYTHONPATH=`pwd`
> >>
> >> Next, navigate back to the build script directory (preferably in the
same
> >> command window, as the above environment variables must be set) and
run:
> >>
> >> $ python markdownd.py
> >>
> >>
> >>    roller_cms dave$ python markdownd.py
> >>    python: can't open file 'markdownd.py': [Errno 2] No such file or
> >> directory
> >>
> >> This is somewhat mysterious as the "sudo easy_install Markdown" command
> >> finished successfully. Any idea what I am doing wrong?
> >>
> >> - Dave
> >>
> >>
> >>
> >> On Sat, Dec 15, 2012 at 8:45 PM, Glen Mazza <[email protected]>
wrote:
> >>
> >>> Hi Team, I was working this evening on creating an Apache CMS version
of
> >>> the Roller website (quite thankfully, most of Roller is on the
Confluence
> >>> Wiki and that doesn't need conversion): https://issues.apache.org/**
> >>> jira/browse/INFRA-5631 <
https://issues.apache.org/jira/browse/INFRA-5631>. This was in response to
an email sent to the CXF PMC* listing our project
> >>> among a few dozen needing an upgrade.
> >>>
> >>> To create the site, I did exactly what the incubating Apache JSPWiki
does:
> >>> http://incubator.apache.org/**jspwiki/development/edit_**website.html<
http://incubator.apache.org/jspwiki/development/edit_website.html>.  Note
the instructions on that page, as well as the instructions that it
> >>> links to on building the CMS site locally before committing (
> >>> http://apache.org/dev/cmsref.**html#local-build<
http://apache.org/dev/cmsref.html#local-build>)
> >>> were updated earlier by me and I tried to make the instructions as
clear as
> >>> possible.
> >>>
> >>> It would be good if others besides me tried to build the "cmssite" on
> >>> their local machine ( https://svn.apache.org/repos/**
> >>> asf/roller/trunk/cmssite/<
https://svn.apache.org/repos/asf/roller/trunk/cmssite/>)
> >>> using the instructions above, just so you know how to do it.  Once
this is
> >>> in place, I suspect this will be a rare process as the Apache CMS
allows
> >>> you to make updates on-the-page for those with committer rights, quite
> >>> similar to Confluence.  The problem with building locally, however,
is that
> >>> for some reason the stylesheets do not get activated (even building
Apache
> >>> JSPWiki locally I encountered the same problem, although I thought I
had it
> >>> working before with them...), even though they are available and being
> >>> called seemingly properly by the HTMLs.  I think my next step is to
see if
> >>> Infra can create a staging (non-production) area or a temporary
> >>> roller2.apache.org for me to test that the stylesheets are getting
> >>> activated if hosted on a web server.  Once this process is working,
then we
> >>> can switch the Apache CMS version to roller.apache.org.  Thoughts,
> >>> comments welcome.
> >>>
> >>> Regards,
> >>> Glen
> >

Reply via email to