Squeak 5.0 on 64-bit Linux ignores -headless and -nodisplay - linux

I am trying to run the new Squeak 5.0 on 64-bit Linux with no display driver.
On an older server I always used -nodisplay or -headless and they worked, however now they are ignored and I get this error message:
squeak: could not find any display driver
Further details:
squeak was installed via apt-get
command line: sudo squeak Squeak5.0-15113.image -headless -nodisplay
The Linux is a Ubuntu, newly installed by 1&1.

For those who have this problem in the future:
The parameters were ignored because they were not passed from the squeak shellscript to the squeak executable.
You can find the executable in: Squeak-5.0-All-in-One.app/Contents/LinuxAndWindows/Linux-i686/lib/squeak/5.0-3397
Sidenote: Another trap is if ./squeak throws the error file not found then the permissions are not set (maybe you extracted the file on windows like me and uploaded it to a linux server, the permissions were lost on windows) - then you can sudo chmod +x squeak.

Related

Cava Packger executable (made from perl) not working in 64 bit Ubuntu 14.04

I have prepared executable from my perl code for distribution
It works fine on my own ubuntu 12.04 where it was created
It should work without perl on any system
But After execution of executable on Ubuntu 14.04 LTS, (64 bit) it gives
Error:
Can't load '/home/osboxes/Version-1/lib/vrt/16e8aba612e215bf6a5195289f1a16d8/Prima.so' for module Prima: libgif.so.4: cannot open shared object file: No such file or directory at <content>/DynaLoader.pm line 157.
After installing libgif4 it gave error
libtiff.so.4: cannot open shared object file: No such file or directory
What may be the cause for this and solution for this.
Ubuntu 14.04 LTS includes libtiff5 by default. Versions up to 13.04 had libtiff4. I made the executable compatible with libtiff4. also just installing libtiff4 by Ubuntu Software Center did not help so I installed it manually.
Downloaded it from here and installed by command:
sudo dpkg -i ./libtiff4_3.9.7-2ubuntu1_amd64.deb

Qt Creator 3.0.1 + GDB 7.4 : debug doesn't work

On my Linux Mint 13, if I try to debug my Qt application, I see in the output:
&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
If I try to break execution, I see in the status line: Stop requested... , and after several seconds: Attempting to interrupt. That's it, nothing more.
I've seen some old questions related to similar issue, and I found the only answer here, but it doesn't work for me, unfortunately: I have created file /etc/ld.so.conf.d/Qt.conf with the following contents:
# Qt libraries
/opt/Qt5.2.1/5.2.1/gcc/lib
But nothing changed.
UPD: After Qt Creator restart, behavior changed a bit: now it stucks on the "Setting breakpoints..." stage, and after 40 seconds shows this message:
The gdb process has not responded to a command within 40 second(s).
This could mean it is stuck in an endless loop or taking longer than
expected to perform the operation. You can choose between waiting
longer or aborting debugging.
I also upgraded gdb to latest 7.7: I installed libncurses5-dev package: sudo apt-get install libncurses5-dev , which is needed to build gdb.
I downloaded latest gz archive from http://ftp.gnu.org/gnu/gdb to the temporary folder, and executed the following commands:
tar xvfz gdb-*.gz
cd gdb*
./configure
make
cp gdb/gdb /usr/local/bin
I also set up my Qt project to use gdb from /usr/local/bin . It is used now, but nothing is changed.
By the way, in Windows it works. How to solve it in Ubuntu 12.04 (Linux Mint 13)?

Installing web2py on windows xp

How does one install web2py on Windows XP using cygwin? I've just installed cygwin and downloaded web2py in cygwin using
curl -O http://www.web2py.com/examples/static/web2py_src.zip
but when I try to unzip it using
unzip web2py_src.zip
it doesn't work (returns the error: -bash: unzip: command not found)
What do I do?
I was actually trying to open web2py from cygwin command prompt. Instead I used Windows CMD (after a day's crash course on it) and have been able to open web2py from the WCMD. I simply cd'd to the directory web2py was (I moved it from Downloads to drive C), then ran the -S projectname command, and voila, my project has been created and I'm able to work from the WCMD.Please I may be asking more questions as my journey progresses. Thanks to Regexident for your swift attempt to help!

Cygwin terminal crashes

I installed Cygwin on windows 7 64 bit ultimate and after starting cygwin terminal it crashes and creates a file named mintty.exe.stackdump, and in this file there is a line i.e
Exception: STATUS_ACCESS_VIOLATION at eip=61004DF6
After searching it on google; it seems that this exception occurs if their are two cygwin1.dll in system. There is only one that is inside the installation directory of cygwin.
I had installed mingw, but even after uninstalling mingw it still crashes. I didn't worked on cygwin before can anybody guide me how I could get rid of this problem
cygwin1.dll gets installed by some other programs that get ported from Linux to Windows, such as OpenSSH. It's possible that you have another version of it somewhere else on your system that was installed by a different application.
It doesn't necessarily need to be in your Cygwin install dir either. Just being in a directory that's in your PATH env variable, for instance, would be enough for it to cause confusion for Cygwin.
If you know exactly of a likely culprit (think Windows ports of traditionally Linux programs and tools), I would check those first. Otherwise, try digging in the different directories in your path var (you can see them by firing up a cmd.exe terminal and running the command echo %path%).

Error installing Alfresco Community 4.0.b - Unterminated Uqoted String

When trying to install Alfresco 4.0.b in text mode on Ubuntu 10.04, I get the error:
./alfresco-community-4.0.b-installer-linux-x64.bin: 1: Syntax error: Unterminated quoted string
Is this related to the installer or Ubuntu? Some help to get it running?
Either corruption, or you are working on 32bit Operating System, use the command : uname -m to know this, if it gives something other than : x86_64 then you are not using a compatible version of UBUNTU, you have either to install a 64bit release of UBUNTU or choose the hard coded installation of Alfresco since the 4th version doesn't have a 32bit Alfresco installer.
Had the same issue but resolved it by making sure the .bin was executable by:
chmod 777 <filename>
You also need to run it as root and have './' before the filename:
$ ./alfresco-community-4.0.b-installer-linux-x64.bin
I used sh as I'm used to running shell/bash scripts. I think that's why it came up with the "unquoted string' error.
Could also have been that I used chmod +a instead of chmod 777.

Resources