Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have exhausted my typical guru friends on this question, although I only did their instructions, as I could not give them access to my server itself. I am trying to set up Cincom's VisualWorks on my server so I can deploy my smalltalk programs on it. If you have used VisualWorks before, you will know that it heavily relies on X. The program copies by copying a directory /vw7.6nc/ to somewhere on your server. The program works on my other computer with:
Can anyone explain why this is happening? A guru I know recommended strace, and he told me its a problem with the X libraries, but I don't know how to interpret it.
Code:
bryanjp@bryanserver:~$ strace /usr/local/vw7.6nc/bin/linux86/visual /home/bryanjp/demo.im -headless
execve("/usr/local/vw7.6nc/bin/linux86/visual", ["/usr/local/vw7.6nc/bin/linux86/v"..., "/home/bryanjp/demo.im", "-headless"], [/* 19 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|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff260f43000
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(0x7ff260f43000, 4096) = 0
exit_group(1) = ?
Process 5113 detached
That will startup with no UI hooks. You'll have to make sure (using a subsystem is the easiest way) that your application starts up when the image starts. For more tips, visit Smalltalk Daily - which I can't post the url to (the site blocked my attempt) - just Google it. Also Google for the Cincom Smalltalk Website for more help.
You can also see Smalltalk Daily by visiting my blog - again, Google me (James Robertson) to find that.
That will startup with no UI hooks. You'll have to make sure (using a subsystem is the easiest way) that your application starts up when the image starts. For more tips, visit Smalltalk Daily - which I can't post the url to (the site blocked my attempt) - just Google it. Also Google for the Cincom Smalltalk Website for more help.
You can also see Smalltalk Daily by visiting my blog - again, Google me (James Robertson) to find that.
Code:
bryanjp@bryanserver:~$ visual -NOLOGO demo.im -nogui
-bash: /usr/local/vw7.6nc/bin/linux86/visual: No such file or directory
Hi James,
I've since tracked the problem down using strace to ENOENT being the return. This is only returned when the file doesn't exist, or a library is missing. In my case it is a library missing. I also found that running the 64 bit VM does work, but I haven't had time to convert my code to the 64 bit VM. Again thank you!
Also, I am a HUGE fan of your smalltalk daily. I love watching them and it seems like everytime I have an issue, it is answered with your Smalltalk Daily
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.