Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Problems installing Rebol on Ubuntu

 [1/14] from: tim-johnsons:web at: 23-May-2007 15:55


I've just installed rebol on a ubuntu 64 bit computer. Even with chmod 775 I can't execute rebol. bash gives me a "No such file or directory". This a very *scary* - anyone have a solution for this? thanks tim -- Tim Johnson <tim-johnsons-web.com> Palmer, Alaska, USA

 [2/14] from: btiffin:rogers at: 23-May-2007 22:04


Umm, no experience with 64 bit ubuntu... trying $ strace rebol might gleam something (maybe a library can't be found etc). Cheers, Brian On Wednesday 23 May 2007 11:55, Tim Johnson wrote:

 [3/14] from: tim-johnsons::web::com at: 23-May-2007 18:31


On Thursday 24 May 2007 02:04, Brian Tiffin wrote:
> no experience with 64 bit ubuntu... > trying > $ strace rebol
Hi Brian: This is what I get: { execve("/usr/local/bin/rebol", ["rebol"], [/* 34 vars */]) = -1 ENOENT (No such file or directory) dup(2) = 3 fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) fstat(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 0x2ade3f0a8000 lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory ) = 40 close(3) = 0 munmap(0x2ade3f0a8000, 4096) = 0 exit_group(1) = ? Process 7535 detached } thanks tim -- Tim Johnson <tim-johnsons-web.com> Palmer, Alaska, USA

 [4/14] from: pwawood:g:mail at: 24-May-2007 10:45


Tim Perhaps the "No such file or directory" message refers to a missing library rather than the Rebol executable. If anything I would guess that Rebol requires 32-bit libraries to be installed. Did you try the Ubuntu forum pages on how to run 32-bit executables under 64-bit Ubuntu? Regards Peter On Wednesday, May 23, 2007, at 11:55 pm, Tim Johnson wrote:

 [5/14] from: tim-johnsons:web at: 23-May-2007 19:12


On Thursday 24 May 2007 02:45, Peter Wood wrote:
> Tim > > Perhaps the "No such file or directory" message refers to a missing > library rather than the Rebol executable. If anything I would guess > that Rebol requires 32-bit libraries to be installed. > > Did you try the Ubuntu forum pages on how to run 32-bit executables > under 64-bit Ubuntu?
Hey Peter: I did not. And I will. While I do this research - and it is late here, and I must start on this tomorrow - I'm going to ask another question: Has RT addressed this: If not - Why not? thanks for putting me on this track. tim -- Tim Johnson <tim-johnsons-web.com> Palmer, Alaska, USA

 [6/14] from: pwawood:gma:il at: 24-May-2007 13:32


Tim From a quick check of the Ubuntu 64-bit forums ( http://ubuntuforums.org/forumdisplay.php?f=134 ), it seems that there is a 64-bit version of Wine which rund Windows 32-bit executables.. Running the windows Rebol under that may provide a quick workaround whilst you research a better solution. Regards Peter On Thursday, May 24, 2007, at 03:12 am, Tim Johnson wrote:

 [7/14] from: santilli::gabriele::gmail::com at: 24-May-2007 12:43


2007/5/23, Tim Johnson <tim-johnsons-web.com>:
> execve("/usr/local/bin/rebol", ["rebol"], [/* 34 vars */]) = -1 ENOENT (No > such file or directory)
Notice that it is looking for /usr/local/bin/rebol - is it installed there? If not, try with the full path to the rebol executable. HTH, Gabriele.

 [8/14] from: tim-johnsons:web at: 24-May-2007 7:15


On Thursday 24 May 2007 10:43, Gabriele Santilli wrote:
> 2007/5/23, Tim Johnson <tim-johnsons-web.com>: > > execve("/usr/local/bin/rebol", ["rebol"], [/* 34 vars */]) = -1 ENOENT > > (No such file or directory) > > Notice that it is looking for /usr/local/bin/rebol - is it installed > there? If not, try with the full path to the rebol executable.
I've tried that. It *is* being found. Screen dump below: tim-bart:~$ rebol bash: /usr/local/bin/rebol: No such file or directory I've found some comments from Carl that indicates that he has had problems with rebol and ubuntu, and even tho I downloaded the rebol binaries for ubuntu (both view and core) - this may mean that for rebol to work, a binary needs to be compiled for a 64-bit ubuntu. tim -- Tim Johnson <tim-johnsons-web.com> Palmer, Alaska, USA

 [9/14] from: santilli:gabriele::gmail at: 24-May-2007 17:33


2007/5/24, Tim Johnson <tim-johnsons-web.com>:
> I've found some comments from Carl that indicates that he has had problems > with rebol and ubuntu,
I'm running Ubuntu too, 32 bit version, without problems.
> and even tho I downloaded the rebol binaries for > ubuntu (both view and core) - this may mean that for rebol to work, a binary > needs to be compiled for a 64-bit ubuntu.
It's very likely, however, the error message is very strange. I'd also expect them to run 32 bit apps in some way, since 64bit is not that common yet... Regards, Gabriele.

 [10/14] from: tim-johnsons:web at: 24-May-2007 7:59


On Thursday 24 May 2007 15:33, Gabriele Santilli wrote:
> 2007/5/24, Tim Johnson <tim-johnsons-web.com>: > > I've found some comments from Carl that indicates that he has had
<<quoted lines omitted: 6>>
> expect them to run 32 bit apps in some way, since 64bit is not that > common yet...
I will post this problem to an ubuntu forum and see what they have to say: thanks tim -- Tim Johnson <tim-johnsons-web.com> Palmer, Alaska, USA

 [11/14] from: alanore:comcast at: 24-May-2007 9:43


At 12:59 AM 5/24/2007, you wrote:
> I will post this problem to an ubuntu forum and see what they > have to say: >thanks >tim
I tried to install View and Altme on Studio64-a 64 bit debian-and got a missing libstdc++.so.5 message during the install. How that version of debian has a libstdc++.so.6 so not sure why it did not install but I'm still new to Linux. I did install the libstdc++.so.5 and a reboot made the system not boot. Will be going to a linux meeting tonite and learn more.

 [12/14] from: tim-johnsons::web::com at: 24-May-2007 11:02


On Thursday 24 May 2007 07:59, Tim Johnson wrote:
> On Thursday 24 May 2007 15:33, Gabriele Santilli wrote: > > 2007/5/24, Tim Johnson <tim-johnsons-web.com>:
<<quoted lines omitted: 13>>
> say: thanks > tim
I have not yet seen any responses that clarify the matter. Gabriele, since you use ubuntu too, is there some protocol required when you install a binary by hand as opposed to using the repository? tim -- Tim Johnson <tim-johnsons-web.com> Palmer, Alaska, USA

 [13/14] from: btiffin::rogers::com at: 24-May-2007 18:46


Tim, So the strace shows that execve can't find rebol. Next diagnostic... $ ls -l /usr/local/bin see if it got ln'ed somehow etc... Next, ENOENT is returned from execve when: The file filename or a script or ELF interpreter does not exist, or a shared library needed for file or interpreter cannot be found. So, I can only assume other binaries run? $ ldd rebol will list the libraries required. If you are missing a library that rebol "loads" you will usually get a message stating what lib is missing. This is not getting that far. Just in case, More info on what libs are required (for the older 2.6.2 and 1.3.2 releases) http://www.rebol.net/builds/lib-dep.html I installed them way back, so have no idea if they would trip up the 2.7.5 build. Cheers, Brian On Thursday 24 May 2007 07:02, Tim Johnson wrote:

 [14/14] from: santilli::gabriele::gmail::com at: 25-May-2007 11:20


2007/5/24, Tim Johnson <tim-johnsons-web.com>:
> I have not yet seen any responses that clarify the matter. Gabriele, since > you use ubuntu too, is there some protocol required when you install a binary > "by hand" as opposed to using the repository?
Not that I know of. That is, you can install anything anywere, but of course if you wanted the system to take care of it automatically then of course you'd need to make a .deb. What's not clear to me in your case is the meaning of the error message. Usually you get messages that are more meaningful, like missing library and so on. If it told you "can't run this file" it would have made a lot more sense... Regards, Gabriele.

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted