Recent

Author Topic: Building 1.1  (Read 21977 times)

Giu

  • Full Member
  • ***
  • Posts: 131
Building 1.1
« on: April 22, 2013, 02:16:23 pm »
Hi all,

I'm trying to get 1.1 to try Brook Framework (I get problems under 1.0.8).
I want to update too because I got a lot of problems in the past, always I want to try comething related to CGIs (FreeSpider, and so on).

I installed a clean copy of FPC 2.6.2 under C:\FPC\2.6.2 and added to PATH.
I downloaded lazarus-1.1-40868-20130422-src.zip from daily snapshots.

I get this.

Code: [Select]
make clean bigide

Free Pascal Compiler version 2.6.2 [2013/02/12] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling ..\lcl.pas
Compiling alllclintfunits.pas
Compiling interfaces.pp
Compiling noguiint.pp
Compiling noguiwsfactory.pas
735 lines compiled, 1.7 sec
C:/FPC/2.6.2/bin/i386-win32/cp.exe -f Makefile.compiled ../../units/i386-win32/n
ogui/LCL.compiled
make[3]: Leaving directory `C:/Dev/lazsvn/lcl/interfaces/nogui'
make[2]: Leaving directory `C:/Dev/lazsvn/lcl/interfaces'
make[1]: Leaving directory `C:/Dev/lazsvn/lcl'
make -C tools
makefile:2332: warning: overriding commands for target `.'
makefile:2330: warning: ignoring old commands for target `.'
make[1]: Entering directory `C:/Dev/lazsvn/tools'
echo
sh: C:\Program: No such file or directory
make[1]: *** [all] Error 127
make[1]: Leaving directory `C:/Dev/lazsvn/tools'
make: *** [lazbuild] Error 2

Same with svn version updated.

Some idea?

Some idea too why daily snapshots are freezed?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Building 1.1
« Reply #1 on: April 22, 2013, 04:05:58 pm »
Seems like it tries to execute a something that resides in Program Files. Do you have MinGW (MSYS) / Cygwin installed under Program Files?

Giu

  • Full Member
  • ***
  • Posts: 131
Re: Building 1.1
« Reply #2 on: April 22, 2013, 04:32:45 pm »
Seems like it tries to execute a something that resides in Program Files. Do you have MinGW (MSYS) / Cygwin installed under Program Files?

I will check but must be other think, I don't remember installing it in this computer.

Giu

  • Full Member
  • ***
  • Posts: 131
Re: Building 1.1
« Reply #3 on: April 22, 2013, 06:28:12 pm »
No, MingW (MSYS) and/or cygwin no installed.

I don't know what to do  %)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Building 1.1
« Reply #4 on: April 23, 2013, 08:50:59 am »
Need to find out what the makefile tries to execute. Got something in PATH that contains Program Files?

Giu

  • Full Member
  • ***
  • Posts: 131
Re: Building 1.1
« Reply #5 on: April 23, 2013, 09:54:26 am »
Need to find out what the makefile tries to execute. Got something in PATH that contains Program Files?

A lot of things. Something is wrong for sure, because now, tells me about make needing gnu utils. I uninstalled Laz 1.0.8 but I had installed in C:/Dev not Program Files.

For the moment, I installed Laz 1.1 with FPC 2.6.2 from somewhere to test brook, and can play with it, but always I like to have a svn folder to test new things, for this reason I would like to compile without problems.

Now I'm out from my PC, I will post my path later to see if I'm missing something.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Building 1.1
« Reply #6 on: April 23, 2013, 10:19:57 am »
<advertisement>You can try fpcup (see bitbucket link in my signature). It compiles/builds even with competing make.exe etc in the path.

Now with handy ini file to store/modify your options ;)
</advertisement>
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12841
  • FPC developer.
Re: Building 1.1
« Reply #7 on: April 23, 2013, 03:43:35 pm »
Next time you have such problems, try to simplify the path (on the cmdline with PATH X) as much as possible (e..g  c:\path\to\fpc\bin\target;c:\windows;c:\windows\system32 or so) and start lazarus from that cmdline box. (so that it will inherit that environment).

If the problem is then gone, it is something in your path, or the position of the FPC dir in that path.

Giu

  • Full Member
  • ***
  • Posts: 131
Re: Building 1.1
« Reply #8 on: April 23, 2013, 05:17:18 pm »
<advertisement>You can try fpcup (see bitbucket link in my signature). It compiles/builds even with competing make.exe etc in the path.

Now with handy ini file to store/modify your options ;)
</advertisement>

at make time, it crash with fpcup64, and with fpcup gives me an Acces Violation.

Quote
Next time you have such problems, try to simplify the path (on the cmdline with PATH X) as much as possible (e..g  c:\path\to\fpc\bin\target;c:\windows;c:\windows\system32 or so) and start lazarus from that cmdline box. (so that it will inherit that environment).

If the problem is then gone, it is something in your path, or the position of the FPC dir in that path.

When have time I will try again, thanks.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Building 1.1
« Reply #9 on: April 23, 2013, 05:20:27 pm »
Sorry to hear that. Bug reports with details welcome as usual on the fpcup thread.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Giu

  • Full Member
  • ***
  • Posts: 131
Re: Building 1.1
« Reply #10 on: April 23, 2013, 05:44:42 pm »
Sorry to hear that. Bug reports with details welcome as usual on the fpcup thread.

Can you point me please to this thread?

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Building 1.1
« Reply #11 on: April 23, 2013, 05:55:31 pm »
Sure:
http://lazarus.freepascal.org/index.php/topic,15919.0.html

When reporting a bug, please include:
- the output of fpcup.log
- the output of an fpcup --verbose --noconfirm run (e.g. fpcup --verbose --noconfirm > c:\windows\temp\mylog.txt)
If you have edited/created your own ini section with settings, please include that as well.

Hope we can get this fpcup problem sorted... and thanks for the help!

Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Building 1.1
« Reply #12 on: April 23, 2013, 06:45:31 pm »
No idea, tbh. The log still points to an invalid directory that make is trying to access... but it doesn't show what directory.
Then it exits with error code 2 and tprocess throws an access violation.

@Marco: have you ever seen this with 2.6.2?

Perhaps the fpc makefile has a verbose switch or something (I can't remember any but my memory is hardly authorative).
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Giu

  • Full Member
  • ***
  • Posts: 131
Re: Building 1.1
« Reply #13 on: April 23, 2013, 07:00:20 pm »
Seems like I deleted the post while you replied.

Attached log again.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12841
  • FPC developer.
Re: Building 1.1
« Reply #14 on: April 24, 2013, 09:27:59 am »
From that log I see you have problems updating from SVN.   Running a build in an incompletely updated SVN of course can lead to random results.

fpcup should probably report this, and not progress to build stage.

 

TinyPortal © 2005-2018