<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello Sven,<br>
I'm writeing my results, "desktop" is my computer name<br>
desktop:/$ fpc -iV<br>
2.7.1<br>
<br>
desktop:/$ ppcx64 <br>
Free Pascal Compiler version 2.7.1 [2014/03/03] for x86_64<br>
.....<br>
<br>
desktop:/$ echo $PATH<br>
/opt/freepascal/2.7.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games<br>
<br>
desktop:/$ sudo find / -name fpc<br>
/bin/fpc<br>
/opt/freepascal/2.7.1/lib/fpc<br>
/opt/freepascal/2.7.1/bin/fpc<br>
/opt/freepascal/2.7.1/utils/javapp/src/fpc<br>
/usr/lib/fpc<br>
<br>
desktop:/$ sudo find / -name ppcx64<br>
/opt/freepascal/2.7.1/lib/fpc/2.7.1/ppcx64<br>
/usr/bin/ppcx64 <-- this is link<br>
<br>
/usr/lib/fpc <-- fpc is folder and link to
"/opt/freepascal/2.7.1/lib/fpc"<br>
in "/opt/freepascal/2.7.1/lib/fpc" folder has 3 folder<br>
/2.6.0 <-- this folder is empty, and
<a class="moz-txt-link-rfc2396E" href="ftp://ftp.freepascal.org/fpc/snapshot/v27/x86_64-linux/fpc-2.7.1.x86_64-linux.tar.gz">"ftp://ftp.freepascal.org/fpc/snapshot/v27/x86_64-linux/fpc-2.7.1.x86_64-linux.tar.gz"</a>
created, after untar this folder<br>
/2.7.1<br>
/lexyacc<br>
<br>
sudo dpkg -i fpc_2.6.2-0_amd64.deb<br>
sudo dpkg -i fpc-src_2.6.2-0_amd64.deb<br>
<br>
after this command I looked in /usr/bin/ folder:<br>
just ppcx64 link was there and this files was there "fp, fpc,
fpclasschart, fpcmake, fpcmkcfg, fpcres, fpcsubst, fpdoc, fppkg,
fprcp"<br>
after my installation script: ppcx64 link was there, I made it,
other files links in /bin folder, I'm not made after installation<br>
<br>
<br>
after my installation script: On any folder and vithout root user
permissions, from console, fp-> freepascal editor is run and
about box, Version 1.0.12 2014/03/03 ( Compiler Version 2.7.1 )
printing<br>
<br>
esktop:/$ fpc<br>
Free Pascal Compiler version 2.7.1 [2014/03/03] for x86_64<br>
Copyright (c) 1993-2014 by Florian Klaempfl and others<br>
/opt/freepascal/2.7.1/bin/fpc [options] <inputfile> [options]<br>
.......<br>
<br>
But for make again ' cos run "svn update" command I have make new
changed cod<br>
<br>
desktop:/opt/freepascal/2.7.1$ make clean all install
INSTALL_PREFIX=/opt/freepascal/2.7.1<br>
........<br>
/bin/rm -f build-stamp.*<br>
/bin/rm -f base.build-stamp.*<br>
Makefile:2731: *** The only supported starting compiler version is
2.6.2. You are trying to build with 2.7.1. If you are absolutely
sure that the current compiler is built from the exact same
version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to
override . Stop.<br>
....<br>
<br>
<br>
in Makefile:2731<br>
<br>
versioncheckstartingcompiler: <br>
ifndef CROSSCOMPILE<br>
ifneq ($(FPC_VERSION),$(REQUIREDVERSION))<br>
ifneq ($(FPC_VERSION),$(REQUIREDVERSION2))<br>
ifndef OVERRIDEVERSIONCHECK<br>
line 2731->> $(error The only supported starting compiler
version is $(REQUIREDVERSION). You are trying to build with
$(FPC_VERSION). If you are absolutely sure that the current compiler
is built from the exact same version/revision, you can try to use
OVERRIDEVERSIONCHECK=1 to override )<br>
else<br>
@$(ECHO) You have overriden the starting compiler versioncheck
while using starting compiler version $(FPC_VERSION). This situation
is not supported and strange things and errors may happen. Remove
OVERRIDEVERSIONCHECK=1 to fix this. <br>
endif<br>
endif<br>
endif<br>
endif<br>
<br>
In bugtraker #0025804 jonas Maebe "...its not supported exactly..."
I'm NOT add this parameter in Makefile. My english is not good but
I can understand "you can try to use" what mean. long time I use svn
.svn folder bean more then 200 mb, I delete everything from disk,
and did test all, I use sam script always. yesterday I get fatal
error and can not make fpc. but now "OVERRIDEVERSIONCHECK=1" can
make now again, with out any error, lazarus too.<br>
<br>
I wrote on up, I have only one version of fpc, but required version
is diffrent ?? Sorry been long message but I tried give all detail.<br>
<a href="http://bugs.freepascal.org/view_user_page.php?id=322"></a>
Any idea?<br>
<br>
Thank you<br>
<br>
<div class="moz-cite-prefix">03-03-2014 13:07 tarihinde, Sven Barth
yazdı:<br>
</div>
<blockquote cite="mid:53146263.4080209@googlemail.com" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
You don't seem to specify the FPC to use. So if you now have your
/opt/freepascal/2.7.1/bin in PATH then the 2.7.1 compiler will be
used which is wrong. So explicitely specify the compiler to use
with the make option FPC=/usr/bin/fpc (or whereever it is in your
system). Check beforehand though whether "fpc -iV" returns 2.6.2
instead of 2.7.1 (it might be that the 2.6.2 compiler driver "fpc"
nevertheless finds the 2.7.1 compilers "ppcXXX"). If it uses the
wrong compiler then you should at best remove the
/opt/freepascal/2.7.1/ directories from path...<br>
<br>
Regards,<br>
Sven<br>
</blockquote>
<br>
</body>
</html>