Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
On 04/08/2016 02:22 PM, Sven Barth wrote: It should either be in /etc/fpc.cfg or ~/.fpc.cfg there is one in /etc/fpc.cfg it's rather long but it does include the lines -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/httpd22 i.e. without the /local". in fact in /usr/lib I do have /usr/lib/fpc/3.1.1/units/i386-linux/ "fpc" comes up with Free Pascal Compiler version 3.1.1 [2016/04/05] for i386 so $fpcversion = 3.1.1 and $fpctarget = i386-linux might be correct. *Later:** ** **deleting a seemingly broken ~/.fpc.cfg file **did the trick. ** ** **Thanks a lot for your help!** * -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
Am 08.04.2016 13:12 schrieb "Michael Schnell": > > On 04/07/2016 04:33 PM, Mattias Gaertner wrote: >> >> On Thu, 07 Apr 2016 16:25:26 +0200 >> Michael Schnell wrote: >> >>> On 04/07/2016 04:19 PM, Mattias Gaertner wrote: What -Fu paths do you have in your fpc.cfg? >>> >>> I did suppose something like this. >>> >>> Am I supposed to manually edit this file even for the unmodified svn d/l ? >> >> FPC does not care where the sources are coming from. >> You need a valid fpc.cfg, usually /etc/fpc.cfg . >> > I do have this. > > Here multiple times $fpcversion and $fpctarget are used which supposedly are provided by the compiler. > > Can it be that the compiler uses wrong values for those ? > > How can I check that ? (I did > > make FPC=`pwd`/compiler/ppc386 install INSTALL_PREFIX=/usr > > and hoped that would provide for this, and I suppose it did some time ago, as ) > Would you please test whether your installed trunk compiler works correctly (e.g. by compiling a simple helloworld program)? Maybe also add -vi if necessary so that the compiler will print its version information while compiling. Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
Am 08.04.2016 13:29 schrieb "Michael Schnell": > > On 04/07/2016 04:30 PM, Michael Van Canneyt wrote: >> >> >> I have this in my fpc.cfg, it is 2 lines long: > > > In my lazarus/trunk dir (created by svn), there is no fpc.cfg file. > > Do you suggest it should ? It should either be in /etc/fpc.cfg or ~/.fpc.cfg Regards, Sven -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
On 04/07/2016 04:30 PM, Michael Van Canneyt wrote: I have this in my fpc.cfg, it is 2 lines long: In my lazarus/trunk dir (created by svn), there is no fpc.cfg file. Do you suggest it should ? -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
On 04/07/2016 04:33 PM, Mattias Gaertner wrote: On Thu, 07 Apr 2016 16:25:26 +0200 Michael Schnellwrote: On 04/07/2016 04:19 PM, Mattias Gaertner wrote: What -Fu paths do you have in your fpc.cfg? I did suppose something like this. Am I supposed to manually edit this file even for the unmodified svn d/l ? FPC does not care where the sources are coming from. You need a valid fpc.cfg, usually /etc/fpc.cfg . I do have this. Here multiple times $fpcversion and $fpctarget are used which supposedly are provided by the compiler. Can it be that the compiler uses wrong values for those ? How can I check that ? (I did make FPC=`pwd`/compiler/ppc386 install INSTALL_PREFIX=/usr and hoped that would provide for this, and I suppose it did some time ago, as ) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
On Thu, 07 Apr 2016 16:25:26 +0200 Michael Schnellwrote: > On 04/07/2016 04:19 PM, Mattias Gaertner wrote: > > What -Fu paths do you have in your fpc.cfg? > I did suppose something like this. > > Am I supposed to manually edit this file even for the unmodified svn d/l ? FPC does not care where the sources are coming from. You need a valid fpc.cfg, usually /etc/fpc.cfg . Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
On Thu, 7 Apr 2016, Michael Schnell wrote: On 04/07/2016 04:19 PM, Mattias Gaertner wrote: What -Fu paths do you have in your fpc.cfg? I did suppose something like this. Am I supposed to manually edit this file even for the unmodified svn d/l ? Normally not. I have this in my fpc.cfg, it is 2 lines long: -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/usr/local/lib/fpc/$fpcversion/units/$fpctarget/httpd22 That is all. (on windows the path will look somewhat different) It has not been changed in years and I use it to compile everything. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
On 04/07/2016 04:19 PM, Mattias Gaertner wrote: What -Fu paths do you have in your fpc.cfg? I did suppose something like this. Am I supposed to manually edit this file even for the unmodified svn d/l ? -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
On Wed, 06 Apr 2016 09:47:34 +0200 Michael Schnellwrote: > It happened to me (again) :(. > > After upgrading fpc to the latest svn version, I can't compile the > latest svn version of Lazarus. > > The problem (first) occurs with RegisterFCL. > > (Currently the error is "Can't find unit db used by RegisterFCL", but > there had been other units before it did not find. For a test I moved > two of the to the dir it in fact searches for fpc units: > -Fu/usr/lib/fpc/3.1.1/units/i386-linux/rtl ) > > > Seemingly a unit search dir for some of the fpc stuff is missing. > > How to tell the Lazarus make process about those ? What -Fu paths do you have in your fpc.cfg? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
On Thu, 7 Apr 2016, Michael Schnell wrote: On 04/06/2016 09:47 AM, Michael Schnell wrote: It happened to me (again) :(. I resolved a lot of unit referenced to fpc RTL units by defining links for the files in /usr/lib/fpc/3.1.1/units/i386-linux/rtl (I suppose I should not do that this way, but I don't know another :( ) But later in the make process LCL units and resource files are requested. I could resolve a lot of references creating links in some LCL directory, but at some point this stopped working. Is it even possible to compile Lazarus with fpc 3.1.1 ? I do it almost daily. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
On 04/06/2016 09:47 AM, Michael Schnell wrote: It happened to me (again) :(. I resolved a lot of unit referenced to fpc RTL units by defining links for the files in /usr/lib/fpc/3.1.1/units/i386-linux/rtl (I suppose I should not do that this way, but I don't know another :( ) But later in the make process LCL units and resource files are requested. I could resolve a lot of references creating links in some LCL directory, but at some point this stopped working. Is it even possible to compile Lazarus with fpc 3.1.1 ? -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Cant compile the IDE with the most recent fpc (3.1.1)
It happened to me (again) :(. After upgrading fpc to the latest svn version, I can't compile the latest svn version of Lazarus. The problem (first) occurs with RegisterFCL. (Currently the error is "Can't find unit db used by RegisterFCL", but there had been other units before it did not find. For a test I moved two of the to the dir it in fact searches for fpc units: -Fu/usr/lib/fpc/3.1.1/units/i386-linux/rtl ) Seemingly a unit search dir for some of the fpc stuff is missing. How to tell the Lazarus make process about those ? thank, -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus