Results 1 to 10 of 40

Thread: New Get Lazarus Initiative

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Thanks SilverWarior for your hard investigation work too!

    cheers,
    Paul

  2. #2
    @sysrpl - I'm running into issues when I try and follow your instructions here:
    http://www.getlazarus.org/setup/making/

    at this point:
    Code:
    cd fpcmake all & make install INSTALL_PREFIX=%BASE%\fpc
    I get a whole bunch of errors like below:
    Code:
    Error makefile 2843: Command syntax errorError makefile 2844: Command syntax error
    Error makefile 2845: Command syntax error
    Error makefile 2853: Redefinition of target 'UTILS'
    Error makefile 2853: Command syntax error
    Error makefile 2854: Command syntax error
    Error makefile 2855: Command syntax error
    Error makefile 2856: Redefinition of target 'IDE'
    Error makefile 2856: Command syntax error
    Error makefile 2857: Command syntax error
    Error makefile 2858: Command syntax error
    Error makefile 2863: Redefinition of target 'UTILS'
    Error makefile 2863: Command syntax error
    Error makefile 2864: Command syntax error
    Error makefile 2865: Command syntax error
    Error makefile 2866: Redefinition of target 'IDE'
    Error makefile 2866: Command syntax error
    Error makefile 2867: Command syntax error
    Error makefile 2868: Command syntax error
    Error makefile 2871: Command syntax error
    Error makefile 2872: Command syntax error
    Error makefile 2873: Command syntax error
    *** 1344 errors during make ***
    
    
    C:\Development\FreePascal\fpc>
    Any ideas?
    cheers,
    Paul

  3. #3
    Make sure "cd fpc" and "make all" are on separate lines. Also before you do "make all", check that you are in the new "fpc" folder. Type "fpc -iV", it should return 2.6.4 at that point, otherwise you path order is messed up. Type "echo %PATH%" and paste the result back here.

  4. #4
    I did do "cd fpc" and "make all" on separate lines, but when I tried the "fpc -iV" it said it couldn't find fpc...

    Here is my path from the command line (I haven't closed or changed it since I tried compiling fpc):
    Code:
    C:\Development\FreePascal\fpc>echo %PATH%C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\Oracle\Jav
    a\javapath;C:\Program Files (x86)\CollabNet;C:\Embarcadero\Studio\14.0\bin;C:\Us
    ers\Public\Documents\Embarcadero\Studio\14.0\Bpl;C:\Embarcadero\Studio\14.0\bin6
    4;C:\Users\Public\Documents\Embarcadero\Studio\14.0\Bpl\Win64;C:\Program Files (
    x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;
    C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
    C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program File
    s\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\I
    ntel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) M
    anagement Engine Components\IPT;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\
    x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\R
    emObjects Software\Oxygene\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files
     (x86)\Windows Live\Shared;C:\Program Files (x86)\CineForm\Tools;C:\Program File
    s (x86)\QuickTime\QTSystem\;C:\Program Files\Calibre2\;C:\Program Files\Microsof
    t SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Bin
    n\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Progr
    am Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\C2J\Bin;C:\Android\android-sdk/
    tools;C:\Android\android-sdk/platform-tools;C:\Program Files (x86)\Java\jre7\bin
    ;C:\Program Files (x86)\Java\jdk1.7.0_17;;C:\HaxeToolkit\haxe\;C:\HaxeToolkit\ne
    ko
    
    
    C:\Development\FreePascal\fpc>
    cheers,
    Paul

  5. #5
    Paul: Ouch I'm sorry. I've seen this problem before and am 100% sure of the problem. Your PATH is too long, seriously. When you open a cmd window, some of those entries are being ignored.

    http://superuser.com/questions/63508...-path-variable

    You can copy your existing path to a text file, delete a bunch of entries. Add sliksvn and fpc.2.6.4 to the front. Type "fpc -iV" and see if "2.6.4" is returned. the proceed as normal. When done, re-edit your path, but I'd consider making different command prompt shortcuts with different path variables to reduce the size permanently.
    Last edited by sysrpl; 09-02-2015 at 11:58 AM.

  6. #6
    Quote Originally Posted by sysrpl View Post
    Your PATH is too long, seriously. When you open a cmd window, some of those entries are being ignored.

    http://superuser.com/questions/63508...-path-variable

    but I'd consider making different command prompt shortcuts with different path variables to reduce the size permanently.
    I agree with @sysrpl on this. I'm wondering how you haven't already expirienced problems with other programs due to this already. Delphi is known to be especially touchy about this.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •