tblalock2 wrote:The only thing that I've seen under linux that would make this happen is that under some distros they automatically add "." (without the quotes) to the PATH. This allows programs to look in the same directory as you are in. Without this, you have to explicitly give the location of the license file. Try adding the . to the path like this:
PATH=PATH;.
or something like that. It depends on the shell that you are using on how to reference the system variables.
Hope this helps
PATH variable doesn't affects the error message about invalid license file.
see
znouza@ipd:~/maxwell$ ./mxcl
License not valid. Program aborted.
Check installation rules or re-install the software.
and strace:
...
open("/home/znouza/maxwell/license.txt", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=65, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=65, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x126000
read(3, "Tomas Meinlschmidt\r\nTomas Meinls"..., 4096) = 65
close(3)
so the license.txt has been founded, opened and readed. I tried to replace \r\n with \n only.. but no positive change, see
open("/home/znouza/maxwell/license.txt", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x126000
read(3, "Tomas Meinlschmidt\nTomas Meinlsc"..., 4096) = 62
close(3)
\r\n was replaced with \n ... don't know where's the problem
