You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Steven Noels <st...@outerthought.org> on 2002/05/21 09:21:23 UTC

Forrest issues on Linux

Linux users out there,

normally I'm using W2K & Cygwin for my daily work, but this morning I
fetched Forrest from my Linux box (RH 7.2, Sun JDK 1.3.1, Ant 1.4.1).

Two issues:

* ./build.sh fails:

   [stevenn@otsrv1 xml-forrest]$ ./build.sh docs
   bash: ./build.sh: bad interpreter: Permission denied

* the Cocoon generation process fails, too, due to X missing:

   [java] Exception in thread "main" java.lang.InternalError:
          Can't connect to X11 window server using ':0.0' as the
          value of the DISPLAY variable.

David and other Linux users: do you experience the same problem?

</Steven>


Re: Forrest issues on Linux

Posted by David Crossley <cr...@indexgeo.com.au>.
Nicola Ken Barozzi wrote:
> Steven Noels wrote
> > others wrote:
> > > > AFAIK you have to change the permissions inside the CVS
> > > repo (i.e. on
> > > > the CVS server).
> > >
> > > Thanks Stefan, that is what i had expected but i was not sure.
> > > I will go to try it.
> >
> > I tried, too, but I suppose Nicola will have to do so. Permission
> > issues...
> 
> It's frustrating guys to have to cope with the deficiencies of my toy OS
> :'-(
> 
> ;-P
> 
> I guess I'll take the opportunity and learn how to do it.
> 
> Steven, could you please explain it to me (where to do it, the flags to
> set)? Thanks :-)

I would like to know too for future reference. However i am never
sure whether it is OK to discuss CVS internals on the public list.
Should stuff that requires login to cvs.apache.org be kept secret?
If so, then how do new committers know about it.

--David

Re: Forrest issues on Linux

Posted by Nicola Ken Barozzi <ni...@apache.org>.
From: "Steven Noels" <st...@outerthought.org>

> I suppose there's nothing too secretive about it since you need access
> in the first place before you can do anything...
>
> > Steven, could you please explain it to me (where to do it,
> > the flags to
> > set)? Thanks :-)
>
> This is an educated assumption:
>
> - login into cvs.apache.org using SSH and your user/pwd
> - cd /home/cvs/xml-forrest
> - chmod +x build.sh,v
>

Done (please cross-check!)  :-D

About deleting crap directories, how did you manage to do it?
It's a nifty trick ;-)

> </Steven>
>
> ps: Nicola, if you want to learn about a real OS, don't forget I set up
> an account for you in our playground ;-)

Yeah, I know, will do ASAP.

I've put a site-update target to Centipede and will like to use it instead
of the original Andy script.
I'm sorting out some things with Glenn, then I think that we can test it
there *without* scripts, but only Centipede and Ant.

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


RE: Forrest issues on Linux

Posted by Steven Noels <st...@outerthought.org>.
I suppose there's nothing too secretive about it since you need access
in the first place before you can do anything...

> Steven, could you please explain it to me (where to do it,
> the flags to
> set)? Thanks :-)

This is an educated assumption:

- login into cvs.apache.org using SSH and your user/pwd
- cd /home/cvs/xml-forrest
- chmod +x build.sh,v

Done (please cross-check!)

</Steven>

ps: Nicola, if you want to learn about a real OS, don't forget I set up
an account for you in our playground ;-)


Re: Forrest issues on Linux

Posted by Nicola Ken Barozzi <ni...@apache.org>.
From: "Steven Noels" <st...@outerthought.org>

> > >
> > > AFAIK you have to change the permissions inside the CVS
> > repo (i.e. on
> > > the CVS server).
> >
> > Thanks Stefan, that is what i had expected but i was not sure.
> > I will go to try it.
>
> I tried, too, but I suppose Nicola will have to do so. Permission
> issues...

It's frustrating guys to have to cope with the deficiencies of my toy OS
:'-(

;-P

I guess I'll take the opportunity and learn how to do it.

Steven, could you please explain it to me (where to do it, the flags to
set)? Thanks :-)

--
Nicola Ken Barozzi                   nicolaken@apache.org
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


RE: Forrest issues on Linux

Posted by Steven Noels <st...@outerthought.org>.
> >
> > AFAIK you have to change the permissions inside the CVS
> repo (i.e. on
> > the CVS server).
>
> Thanks Stefan, that is what i had expected but i was not sure.
> I will go to try it.

I tried, too, but I suppose Nicola will have to do so. Permission
issues...

</Steven>


Re: Forrest issues on Linux

Posted by David Crossley <cr...@indexgeo.com.au>.
Stefan Bodewig wrote:
> David Crossley wrote:
> 
> > I sent a message to forrest-dev about this last month because
> > i am not sure how to change the file permissions and reflect
> > that in CVS.
> 
> AFAIK you have to change the permissions inside the CVS repo (i.e. on
> the CVS server).

Thanks Stefan, that is what i had expected but i was not sure.
I will go to try it.
--David


Re: Forrest issues on Linux

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 21 May 2002, David Crossley <cr...@indexgeo.com.au> wrote:

> I sent a message to forrest-dev about this last month because
> i am not sure how to change the file permissions and reflect
> that in CVS.

AFAIK you have to change the permissions inside the CVS repo (i.e. on
the CVS server).

Stefan

Re: Forrest issues on Linux

Posted by David Crossley <cr...@indexgeo.com.au>.
Steven Noels wrote:
> Linux users out there,
> 
> normally I'm using W2K & Cygwin for my daily work, but this morning I
> fetched Forrest from my Linux box (RH 7.2, Sun JDK 1.3.1, Ant 1.4.1).
> 
> Two issues:
> 
> * ./build.sh fails:
> 
>    [stevenn@otsrv1 xml-forrest]$ ./build.sh docs
>    bash: ./build.sh: bad interpreter: Permission denied

I just did 'cvs update' and now this fails for me too. This is
a recent change because this was OK yesterday. The problem
is that the build script has the wrong permissions
 chmod +x build.sh
That fixes it for me. I made this change to my own working copy
a while back, so yesterday's updates must have changed it back.

I sent a message to forrest-dev about this last month because
i am not sure how to change the file permissions and reflect
that in CVS.
http://marc.theaimsgroup.com/?l=forrest-dev&m=101936132615617
Bug: build.sh file permissions are not correct

> * the Cocoon generation process fails, too, due to X missing:
> 
>    [java] Exception in thread "main" java.lang.InternalError:
>           Can't connect to X11 window server using ':0.0' as the
>           value of the DISPLAY variable.
> 
> David and other Linux users: do you experience the same problem?
> 
> </Steven>

I have not experienced this second issue, thankfully.
I see that Konstantin has answered that.
--David