I am have FPC v. 2.6.2 installed on linux/ubuntu server A. I am sure I did some change to zeos library in server A, but I cannot remember details.
I'd like to have the same version of FPC installed on a new linux/ubuntu server B. I found that FPC v. 3.0.2 was already installed on server B. Using my poor skills in linux, I took the following steps: 1. deleted directory /usr/lib/fpc/3.0.2 of server B 2. copied directory /usr/lib/fpc/2.6.2 of server A into server B (used scp) Now a few strange things happen: a. if I try to run fpc from - say - /usr/lib/cgi-bin , I get the message Error: ppcx64 can't be executed, error message: Failed to execute "ppcx64", error code: 127 b. if I try to run fpc from /usr/lib/fpc/2.6.2, a lot of Zeos lib units are compiled EVERY TIME. This for sure was not happening before (see below). I did something silly, right ? Any help in order to fix the install ? Thank you Peppe root@web:/usr/lib/fpc/2.6.2# fpc 106693.pp Compiling 106693.pp Free Pascal Compiler version 2.6.2-8 [2014/01/22] for x86_64 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling 106693.pp Compiling ./zeosdbo/component/ZConnection.pas Compiling ./zeosdbo/component/ZAbstractConnection.pas Compiling ./zeosdbo/dbc/ZDbcDbLib.pas Compiling ./zeosdbo/dbc/ZDbcConnection.pas Compiling ./zeosdbo/core/ZClasses.pas Compiling ./zeosdbo/core/ZMessages.pas Compiling ./zeosdbo/core/ZCompatibility.pas ZCompatibility.pas(426,33) Warning: Some fields coming after "ZAlias" weren't initialized ZCompatibility.pas(431,28) Warning: Some fields coming before "ClientCodePage" weren't initialized ZCompatibility.pas(457,10) Warning: Some fields coming after "WriteFormatSettings" weren't initialized Writing Resource String Table file: ZMessages.rst Compiling ./zeosdbo/dbc/ZDbcIntfs.pas Compiling ./zeosdbo/core/ZCollections.pas Compiling ./zeosdbo/core/ZTokenizer.pas Compiling ./zeosdbo/core/ZFastCode.pas ZFastCode.pas(2511,25) Warning: Function result variable does not seem to initialized ZFastCode.pas(2573,18) Warning: Function result variable does not seem to initialized ZFastCode.pas(2633,18) Warning: Function result variable does not seem to initialized ZFastCode.pas(3191,18) Warning: Function result variable does not seem to initialized ZFastCode.pas(3246,18) Warning: Function result variable does not seem to initialized ... This is what happens when I try to compile a small application in server B root@KedekUbuntu:/usr/lib/cgi-bin# fpc 106693.pp Free Pascal Compiler version 2.6.2-8 [2014/01/22] for x86_64 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for x86-64 Compiling 106693.pp Linking 106693 /usr/bin/ld.bfd: warning: link.res contains output sections; did you forget -T? 43 lines compiled, 0.2 sec root@KedekUbuntu:/usr/lib/cgi-bin# _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal