Thomas M Langley (
notdefined) wrote in
dw_dev2009-07-30 08:24 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Entry tags:
Problem installing Dreamwidth.....
I'm following the dialogue to install dreamwidth under Ubuntu 9.04. All is going well until I execute the bin/checkconfig.pl. I get this error:
dw@web01:~$ bin/checkconfig.pl --no=ljconfig
[Checking for Perl Modules....]
[Checking LJ Environment...]
Problem:
* Failed to load ljlib.pl: Can't locate DW/Hooks.pm in @INC (@INC contains: /home/dw/cgi-bin /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/dw/cgi-bin/ljlib-local.pl line 6.
BEGIN failed--compilation aborted at /home/dw/cgi-bin/ljlib-local.pl line 6. Compilation failed in require at /home/dw/cgi-bin/ljlib.pl line 119. Compilation failed in require at bin/checkconfig.pl line 233.
Any clue what I'm doing wrong??
dw@web01:~$ bin/checkconfig.pl --no=ljconfig
[Checking for Perl Modules....]
[Checking LJ Environment...]
Problem:
* Failed to load ljlib.pl: Can't locate DW/Hooks.pm in @INC (@INC contains: /home/dw/cgi-bin /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/dw/cgi-bin/ljlib-local.pl line 6.
BEGIN failed--compilation aborted at /home/dw/cgi-bin/ljlib-local.pl line 6. Compilation failed in require at /home/dw/cgi-bin/ljlib.pl line 119. Compilation failed in require at bin/checkconfig.pl line 233.
Any clue what I'm doing wrong??
no subject
no subject
I wonder if it's possible they're stuck at an earlier revision of the repo, though?
To the OP, what does
cd $LJHOME/cvs/dw-free
hg parents
show you?
no subject
no subject
no subject
no subject
no subject
Be aware that updating your code will probably overwrite what that patch did.
no subject
no subject
no subject
BTW, is there any advantage/disadvantage or restriction that would make it undesirable to run as a development site? I'm sure at some point, I will not be able to keep my coding fingers safely in my pockets and will be wanting to tweak things.
no subject
Obviously, the code works well enough to run a production system on -- we're doing it, after all -- but we're doing very rapid development and iteration as we identify glitches and flaws, and our documentation is lagging behind our actual code (a perpetual problem, she says, wearily, and in fact as you notice things that need documenting better, we'd love it if you note them down on the wiki). During beta, we're also working without a lot of the QA/staged deployment systems we want to have in place by full site 'launch', so there's a pretty good risk you're going to get something mildly buggy if you update from tip. (she says, having been the person who broke the site four times in the past month...)
None of this is an argument against running a production site on DW code, and indeed we'd love to see you doing it -- the more people running the code, with as many use cases as possible, the more bugs we can shake out and fix and the more suggestions for improvements we can find -- but it's a good idea to know what you're getting into! It's probably a good idea to create a local repository of the code and work from that, rather than just updating directly from tip, so you can roll back to a "known good" version in case something breaks. It's also a good idea to be watching
And if your coding fingers creep out of your pockets, we'd love to see you contribute some code :)
Welcome to the DW community! I'm really excited to see you here and using our code to build something -- let us all know when you get the site running so we can drop by and say hi :)
no subject
no subject
"You don't have permission to access /attachment.cgi on this server."
no subject
no subject
no subject
To make sure I'm going about it right, how should I be doing it?
no subject
First off, the problem described in this entry shouldn't happen anymore -- we fixed it a while back. If you're still having problems, you should make a new toplevel post to
Secondly, we've got some documentation on the wiki to help you get started (both with Mercurial and with the DW development process in general):
http://wiki.dwscoalition.org/notes/Category:Development
http://wiki.dwscoalition.org/notes/Dev_Getting_Started
http://wiki.dwscoalition.org/notes/Mercurial_Queues_Walkthrough
http://wiki.dwscoalition.org/notes/Dreamwidth_Development_Handbook
A new top-level post to the community with the specifics of what problems you're running into will get a much more useful answer! (I Am Not The Geek.)