Click here to register.
      
Bazaar


     Install/Upgrade Help > WRE install on Ubuntu Goto page «Previous Page   1 2 3    Next Page»

WRE install on Ubuntu

User SteveD
Date 9/3/2008 7:44 pm
Views 2133
Rating 0    Rate [
|
]
Previous · Next
User Message
SteveD

Greetings,

I'm currently trying to set up the WRE 0.8.4 on Ubuntu 8.04.  I've been trying both the binary and the source install, hitting dead ends on both. 


From Source:

I am hitting the error documented in the troubleshooting as:

If you get the following error:
  make[1]: *** No rule to make target `<command-line>', needed by `hash.o'.  Stop.
Delete all of the lines with <command-line> in makefile and x2p/makefile as posted here.

However, upon removing the lines, when I run build.sh, it simply rewrites the makefile and re-inserts them.  D'oh.

So, I gave up with that for now.

 

Just doing the binary install, when I get to the step:

cd /data/wre/sbin
    . setenvironment.sh
    wreconsole.pl

For the third line I get:

bash: /data/wre/sbin/wreconsole.pl: /data/wre/prereqs/bin/perl: bad interpreter: No such file or directory

Which is confusing.  Running it with sudo (just in case):

:/data/wre/sbin$ sudo wreconsole.pl
sudo: wreconsole.pl: command not found

Even though ls shows it as being right there...


If anyone has any ideas, would quite appreciate it!


Cheers,

SteveD

--- (Edited on 9/3/2008 7:44 pm [GMT-0500] by SteveD) ---



Back to Top
Rate [
|
]
 
 
jonie_e2000

try this and observe the back slash; go to:

    /data/wre/sbin

and then type:

    ./setenvironment.sh

finally type:

    ./wreconsole.pl

this will take you to

    http://127.0.0.1:60834  or  http://localhost:60834

browse that and so on...Cool

 

jonie evangelista

ComputersPlus/Palau

--- (Edited on 9/4/2008 3:38 pm [GMT+0900] by jonie_e2000) ---



Back to Top
Rate [
|
]
 
 
SteveD

Ah, yeah, I had already figured out the "./" bits, and meant to point out how the instructions were odd in that regard.  However, the error above when I tried to run ./wreconsole.pl is what came up.

And when I try to run it with sudo, "sudo ./wreconsole.pl", it tells me the file does not exist, yet I can see it is quite clearly right there.

--- (Edited on 9/4/2008 11:04 am [GMT-0500] by SteveD) ---



Back to Top
Rate [
|
]
 
 
knowmad

Steve,

We've been using WRE on Ubuntu for years with very few problems. The error message you report makes it sound like you have a corrupted version of the WRE binary. Try running this command and print what it returns:

  /data/wre/prereqs/bin/perl -v

 

Good luck,
William

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 9/4/2008 8:37 pm [GMT-0400] by knowmad) ---



Back to Top
Rate [
|
]
 
 
SteveD

I'll get you the exact output in the morning, off the top of my head, it's 5.8.8.

 

I also just realized I might have 64bit Ubuntu installed.  I almost imagine, that would make a difference, though again, I will have to check that in the morning.  In the mean time, I'm just playing around with it on my home Wubi install of Kubuntu 8.04 which is 64bit.

Apparently there are changes I need to make to build.sh though?  I wonder if this is where my compile problem stems from.

--- (Edited on 9/5/2008 1:56 am [GMT-0500] by SteveD) ---



Back to Top
Rate [
|
]
 
 
knowmad

Yes, you do need to make some edits for building under 64-bit. I'm running a 64-bit, self-compiled version of WRE on Hardy. Did you read the WRE-Building wiki entry? I can send you the patch mentioned in item 4 of "Building for AMD64 on Ubuntu..." if you give me your email.

 

William

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 9/5/2008 2:09 pm [GMT-0400] by knowmad) ---



Back to Top
Rate [
|
]
 
 
SteveD

Yes, you do need to make some edits for building under 64-bit. I'm running a 64-bit, self-compiled version of WRE on Hardy. Did you read the WRE-Building wiki entry? I can send you the patch mentioned in item 4 of "Building for AMD64 on Ubuntu..." if you give me your email.


To clarify, this is indeed what I'm looking for, I guess.  Again, my email address is in my profile if you get a minute, knowmad.  

Also, are there any other "gotchya's" with running my own compiled version, particularly in regards to upgrading down the road, and such?  Is it "get it going and run with it?"  Would I be better off running it in 32bit?  (We are flexible right now.)


Cheers,

SteveD

--- (Edited on 9/8/2008 1:46 pm [GMT-0700] by SteveD) ---



Back to Top
Rate [
|
]
 
 
knowmad

Also, are there any other "gotchya's" with running my own compiled version, particularly in regards to upgrading down the road, and such?  Is it "get it going and run with it?"  Would I be better off running it in 32bit?  (We are flexible right now.)

I have not tried upgrading it yet, but it would probably entail rebuilding the WRE, copying it over the existing WRE then running the upgrade script. You'll have to check docs on that.

If you're flexible, I'd suggest 32-bit install as it is my understanding that PlainBlack is not testing on 64-bit installs yet. Currently, we deploy our production servers onto 32-bit systems (actually they are 32-bit Ubuntu servers running inside a 64-bit Ubuntu host using VMware server 1.0).

 

William

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 9/8/2008 5:32 pm [GMT-0400] by knowmad) ---



Back to Top
Rate [
|
]
 
 
SteveD

Ahh, yes.  Address should be in my profile.

--- (Edited on 9/5/2008 4:19 pm [GMT-0700] by SteveD) ---



Back to Top
Rate [
|
]
 
 
koen

William, could you put the patch in the bazaar?

Koen de Jonge - ProcoliX
http://www.procolix.com
Hosting - WebGUI - Virtualization

--- (Edited on 8-September-2008 23:06 [GMT+0200] by koen) ---



Back to Top
Rate [
|
]
 
 
     Install/Upgrade Help > WRE install on Ubuntu Goto page «Previous Page   1 2 3    Next Page»



Recent Discussions Color Key

Design:

Development:

Et Cetera:

Install/Upgrade:  

Smoketest:

Template Group:


Re: Shortcut of a thread by knowmad - Thu @ 07:33am

Re: Synopsis search results by knowmad - Thu @ 07:21am

Re: Templates workspace site by rogier - Thu @ 04:24am

Re: Templates workspace site by rogier - Thu @ 02:59am

Re: Shortcut of a thread by perlDreamer - Wed @ 11:46pm

Re: Ubuntu Load on Startup by SteveD - Wed @ 04:37pm

Shortcut of a thread by arjan - Wed @ 04:11pm

Re: preventing email spam mailto by lrobinson - Wed @ 03:51pm

preventing email spam mailto by sandraqu - Wed @ 03:39pm

Re: Data Form and Form Controls by martink - Tue @ 11:05am

Re: Synopsis search results by marieken - Tue @ 06:10am

Re: Übersetzungen vor dem nächsten Treffen by koen - Tue @ 04:24am

Re: Übersetzungen vor dem nächsten Treffen - Translations to be done before the next meeting will take place. by bernd - Tue @ 01:15am