Newbie questions about Pliant
Problems installing pliant 58
I cannot install pliant 58. I tried it on a i686 Windows NT 4.0 SP 6 with (1) precompiled binaries and (2) the cygwin (3 week old download) port.
|
Message posted by maybe Pasch Thomas on 2001/03/14 12:44:26 |
This is what I get with the precompiled pliant.{dll,exe} on Windows NT 4.0 SP6:
D:\Programme\pliant\pliant\install>install This script could not guess what Pliant path is
D:\Programme\pliant\pliant\install>install root d:\programme\pliant You seem to be running NT Installing Pliant executable in C:\WINNT\system32 Das System kann die angegebene Datei nicht finden. precompiling Pliant (debugging level 0) failed to load Pliant DLL ! precompiling Pliant (debugging level 1) failed to load Pliant DLL ! precompiling Pliant (debugging level 2) failed to load Pliant DLL !
This is the result of trying to build the cygwin port:
bash-2.04$ bash make-win32-i386-gcc You seem to be running an unknown Posix compliant system. Pliant will probably not work right out of the box on your system. compiling Pliant executable (debugging level 0) In file included from /pliant/pliant/install/pliant.c:85: /pliant/pliant/install/../language/startup/startup.c: In function `find_root_pat h': /pliant/pliant/install/../language/startup/startup.c:73: warning: passing arg 2 of `stat' from incompatible pointer type /cygdrive/c/TEMP/ccznx5cj.o(.text+0x163b0):pliant.c: multiple definition of `mai n' /usr/lib/libc.a(libcmain.o)(.text+0x0):libcmain.c: first defined here /usr/lib/libc.a(libcmain.o)(.text+0x6a):libcmain.c: undefined reference to `WinMain@16'
This is a second cygwin try (with a modified make-win32-i386-gcc.bat file and after copying lib\libkernel32.a to usr\lib\libkernel32.a):
D:\Programme\pliant\pliant\install>make-win32-i386-gcc.bat compiling Pliant loaders gcc: d:\cygwin/usr/lib/libkernel32.a: No such file or directory In file included from /usr/include/w32api/winnt.h:33, from /usr/include/w32api/windef.h:143, from /usr/include/w32api/windows.h:96, from d:\Programme\pliant\pliant\language\startup\loader.c:35: /usr/include/string.h:25: warning: conflicting types for built-in function `memcmp' /usr/include/string.h:26: warning: conflicting types for built-in function `memcpy' /usr/include/string.h:28: warning: conflicting types for built-in function `memset' /usr/include/string.h:31: warning: conflicting types for built-in function `strcmp' /usr/include/string.h:33: warning: conflicting types for built-in function `strcpy' /usr/include/string.h:36: warning: conflicting types for built-in function `strlen' /usr/include/string.h:57: warning: conflicting types for built-in function `ffs'
The rest seems all right but trying pliant-debug0.exe there is
D:\Programme\pliant\pliant\install>../../binary/pliant-debug0.exe failed to load Pliant DLL ! |
Message posted by maybe Hubert Tonneau on 2001/03/14 12:55:43 |
The explaination is simple: you are not allowed to install Pliant in d:\Programme
It can be either: d:\ or d:\Program Files\ (Please notice that the last name contains a space in the middle)
The explaination is that in module /pliant/language/startup/loader.c, the Pliant loader will search the Pliant DLL in these two directories, on all you drives, but nowhere else.
Nb: In facts, you might be allowed to install anywhere, but then, you have to use something like: install root d:/Programme/pliant/ or install root d:\Programme\pliant\ then use the same 'root' option each time you run Pliant. I have not tested this under Windows, so take with care, and rather install in the recommended directories unless you know what you do.
|