Hello Sven,
I'm writeing my results, "desktop" is my computer name
desktop:/$ fpc -iV
2.7.1

desktop:/$ ppcx64
Free Pascal Compiler version 2.7.1 [2014/03/03] for x86_64
.....

desktop:/$ echo $PATH
/opt/freepascal/2.7.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

desktop:/$ sudo find / -name fpc
/bin/fpc
/opt/freepascal/2.7.1/lib/fpc
/opt/freepascal/2.7.1/bin/fpc
/opt/freepascal/2.7.1/utils/javapp/src/fpc
/usr/lib/fpc

desktop:/$ sudo find / -name ppcx64
/opt/freepascal/2.7.1/lib/fpc/2.7.1/ppcx64
/usr/bin/ppcx64    <-- this is link

/usr/lib/fpc <-- fpc is folder and link to "/opt/freepascal/2.7.1/lib/fpc"
in "/opt/freepascal/2.7.1/lib/fpc" folder has 3 folder
/2.6.0 <-- this folder is empty, and "ftp://ftp.freepascal.org/fpc/snapshot/v27/x86_64-linux/fpc-2.7.1.x86_64-linux.tar.gz"; created, after untar this folder
/2.7.1
/lexyacc

sudo dpkg -i fpc_2.6.2-0_amd64.deb
sudo dpkg -i fpc-src_2.6.2-0_amd64.deb

after this command I looked in /usr/bin/ folder:
just ppcx64 link was there and this files was there "fp, fpc, fpclasschart, fpcmake, fpcmkcfg, fpcres, fpcsubst, fpdoc, fppkg, fprcp" after my installation script: ppcx64 link was there, I made it, other files links in /bin folder, I'm not made after installation


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

esktop:/$ fpc
Free Pascal Compiler version 2.7.1 [2014/03/03] for x86_64
Copyright (c) 1993-2014 by Florian Klaempfl and others
/opt/freepascal/2.7.1/bin/fpc [options] <inputfile> [options]
.......

But for make again ' cos run "svn update" command I have make new changed cod

desktop:/opt/freepascal/2.7.1$ make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1
........
/bin/rm -f build-stamp.*
/bin/rm -f base.build-stamp.*
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.
....


in Makefile:2731

versioncheckstartingcompiler:
ifndef CROSSCOMPILE
ifneq ($(FPC_VERSION),$(REQUIREDVERSION))
ifneq ($(FPC_VERSION),$(REQUIREDVERSION2))
ifndef OVERRIDEVERSIONCHECK
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 )
else
@$(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.
endif
endif
endif
endif

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.

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.
<http://bugs.freepascal.org/view_user_page.php?id=322> Any idea?

Thank you

03-03-2014 13:07 tarihinde, Sven Barth yazdı:
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...

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to