Recent

Author Topic: Simple FPC/Lazarus SVN downloader WIP - suggestions?  (Read 29284 times)

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #30 on: March 01, 2012, 10:12:45 pm »
You might have better luck with the latest source version, which seems to work except it now refuses to install an FPC x64 crosscompiler for Windows...
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: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #31 on: March 02, 2012, 05:21:43 am »
The new version crashs on Windows XP:

Info: Module FPC: Getting/compiling FPC...
Info: Could not find svn executable in or under C:\development\fpcbootstrap\svn\
[FORMS.PP] ExceptionOccurred
  Sender=ESVNClientError
  Exception=No SVN executable found
  Stack trace:
  $00441DBA
  $00530F41
  $0043C489
  $0043A448
  $00403D18
TApplication.HandleException No SVN executable found
  Stack trace:
  $00441DBA
  $00530F41
  $0043C489
  $0043A448
  $00403D18
exception at 00441DBA:
No SVN executable found.

This should be fixed in commit 2a598f4eb875

@FabienWang: you were right: if you had svn.exe in your path (or in some well known program files directory), the exception did not happen...
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

miquelmatas

  • Jr. Member
  • **
  • Posts: 98
  • Beginner forever.
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #32 on: March 05, 2012, 01:05:19 pm »
No new fpcup.exe Windows version to download from your site yet?  :(

Cheers,
Miquel.

--
Cheers.
Miquel.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #33 on: March 05, 2012, 02:02:02 pm »
Hi Miquel,

You can always download the latest version from the site (e.g. in a zip archive) and compile it yourself if the binaries present are too old ;)

I'll probably upload a new version later today or tomorrow...

Thanks,
BigChimp
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

miquelmatas

  • Jr. Member
  • **
  • Posts: 98
  • Beginner forever.
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #34 on: March 05, 2012, 03:02:02 pm »
I'm going to try.

Cheers,
Miquel.

--
Cheers.
Miquel.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #35 on: March 05, 2012, 03:53:59 pm »
Thanks, Miquel, I just uploaded a new Windows version.

Let me know if you hit any problems - or if you have any ideas for improvement..

Regards,
BigChimp
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

miquelmatas

  • Jr. Member
  • **
  • Posts: 98
  • Beginner forever.
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #36 on: March 05, 2012, 06:29:11 pm »
Just downloaded and running with errors.

fpcup.log:

Quote
05/03/2012 17:48:19: fpcup started.
Bootstrap compiler dir: C:\development\fpcbootstrap\
FPC URL:                http://svn.freepascal.org/svn/fpc/branches/fixes_2_6
FPC options:           
FPC directory:          C:\development\fpc
Make/binutils path:     C:\development\fpcbootstrap\
Error running fpcup. Technical details: error executing sequence fpc; line: 2, param: FPC
Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc
05/03/2012 17:57:24: fpcup finished.
------------------------------------------------

Cheers,
Miquel. [Win7-64]
--
Cheers.
Miquel.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #37 on: March 05, 2012, 07:03:34 pm »
Hi Miquel,

I suppose you don't have an svn.exe or unzip.exe in your path, do you?
I'm running it on Vista x64, and it's working ok...

When I have time, I'll test it on a bare metal Windows install...

Regards,
Bigchimp
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

miquelmatas

  • Jr. Member
  • **
  • Posts: 98
  • Beginner forever.
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #38 on: March 05, 2012, 07:17:30 pm »
I've executed fpcup again and it has downloaded fpc and compiled it but now fpcup.log shows:
Quote
05/03/2012 18:33:07: fpcup started.
Bootstrap compiler dir: C:\development\fpcbootstrap\
FPC URL:                http://svn.freepascal.org/svn/fpc/branches/fixes_2_6
FPC options:           
FPC directory:          C:\development\fpc
Make/binutils path:     C:\development\fpcbootstrap\
Lazarus directory:      C:\development\lazarus
Lazarus URL:            http://svn.freepascal.org/svn/lazarus/trunk
Lazarus options:       
External program path:  C:\development\lazarus\bin\i386-win32;C:\development\fpcbootstrap\;C:\development\fpcbootstrap\svn\;C:\development\lazarus
ERROR running C:\development\fpcbootstrap\make.exe "FPC=C:\development\fpc\bin\i386-win32\fpc" "--directory=C:\development\lazarus" "FPCDIR=C:\development\fpc" "UPXPROG=echo" "COPYTREE=echo" "all"
Command returned non-zero ExitStatus: 2
Command path set to: C:\development\lazarus\bin\i386-win32;C:\development\fpcbootstrap\;C:\development\fpcbootstrap\svn\;C:\development\lazarus
Command current directory: C:\development\lazarus
Command output:
  output logged in C:\UseError running fpcup. Technical details: error executing sequence lazarus; line: 4, param: lazarus
Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 4, param: lazarus
05/03/2012 19:03:55: fpcup finished.
------------------------------------------------

--
Cheers.
Miquel.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #39 on: March 06, 2012, 07:01:42 am »
Quote
Make/binutils path:     C:\development\fpcbootstrap\
Error running fpcup. Technical details: error executing sequence fpc; line: 2, param: FPC
Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc
05/03/2012 17:57:24: fpcup finished.
Miquel.
Miquel,

Can reproduce this on a Win2K with only Delphi installed; we'll track this bug via https://bitbucket.org/reiniero/fpcup/issue/18/windows-bare-metal-installer-failure

Thanks for the report.
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: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #40 on: March 06, 2012, 10:35:56 am »
I've executed fpcup again and it has downloaded fpc and compiled it but now fpcup.log shows:

Hi Miquel, I've uploaded a new Windows binary that should fix your first issue at least.
You might try deleting your c:\development\fpc and c:\development\lazarus directories and trying again with that version.

Thanks,
BigChimp
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

miquelmatas

  • Jr. Member
  • **
  • Posts: 98
  • Beginner forever.
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #41 on: March 06, 2012, 10:38:13 am »
I've executed fpcup again and it has downloaded fpc and compiled it but now fpcup.log shows:

Hi Miquel, I've uploaded a new Windows binary that should fix your first issue at least.
You might try deleting your c:\development\fpc and c:\development\lazarus directories and trying again with that version.

Thanks,
BigChimp

Downloading and executing right now, thank you!


--
Cheers.
Miquel.

miquelmatas

  • Jr. Member
  • **
  • Posts: 98
  • Beginner forever.
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #42 on: March 06, 2012, 11:09:57 am »
Note: It crashes as before when it doesn't find svn. When I re-execute fpcup.exe, it downloads svn and now it is continuing to download fpc.
« Last Edit: March 06, 2012, 11:15:57 am by miquelmatas »
--
Cheers.
Miquel.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #43 on: March 06, 2012, 11:33:22 am »
Ok, with the same error messages as last time? Note: I didn't fix svn download, so maybe you found 2 bugs  :-X

I'll have another look at the svn downloading code...
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: Simple FPC/Lazarus SVN downloader WIP - suggestions?
« Reply #44 on: March 06, 2012, 11:56:43 am »
Miquel, I've just added some more diagnostic output/logging for the svn client download. I could not reproduce the issue though, so I've closed it.

If you have any more issues (which I hope you won't have), please don't hesitate to post, along with the relevant console output and log output (note: on crashes, the log may refer to a detailed log somewhere in %temp%; please add that as well).
Please feel free to do that in a personal message if you'd rather do that.

Thanks a lot for your efforts in reporting the bugs in fpcup; hope it works for you now.

Cheers,
BigChimp
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

 

TinyPortal © 2005-2018