Recent

Author Topic: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX  (Read 292651 times)

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #15 on: February 21, 2012, 06:44:10 pm »
Just uploaded x86 Linux; when given a once over, the x64 version will also be uploaded.
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: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #16 on: March 11, 2012, 12:47:52 pm »
Uploaded new Linux x86, x64 and Windows versions. Thanks again to Ludo for developing and Miquel for testing.
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: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #17 on: March 11, 2012, 01:39:06 pm »
Uploaded OSX Intel version...
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

goldenfox

  • New Member
  • *
  • Posts: 47
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #18 on: March 20, 2012, 07:06:37 am »
Congratulations for a job well done. One suggestion though, it will be cool if fcup will have a progress indicator when downloading stuff.  :D

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #19 on: March 20, 2012, 07:30:15 am »
Thanks!

Good idea - would you know how you can tell the svn client to output this information so we could capture that?
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

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #20 on: March 20, 2012, 08:24:00 am »
Hi BigChimp,

Thanks for this. Looks awesome... if I could just get it to execute!

I am obviously calling this wrong from the command line. It is a bash script correct?

I try:
<cd to directory> ./fpcup_linux_x86   ( I get: permission denied)
                               sudo su ./fpcup_linux_x86   (get: unknown id)
                               sudo su fpcup_linux_x86     (get: unknown id)

What am I doing wrong?

Thanks in advance
                           

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #21 on: March 20, 2012, 08:43:17 am »
It's a compiled Lazarus application (command line only though)
what about doing
Code: [Select]
cd <wherever>
chmod u+rx fpcup_linux_x86
./fpcup_linux_x86 --help

Running as root is not needed... it will install fpc/lazarus into ~/fpc and ~/lazarus by default...
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

patyi

  • Full Member
  • ***
  • Posts: 168
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #22 on: March 20, 2012, 08:46:34 am »
Hi !

I try to install Fpc and Lazarus on laptop (clean install - XUbuntu).
FpcUp is finished successful but when i start lazarus, in configure lazarus ide box haw an error message:
"Error: fpc.cfg is missing" !  I double check: fpc.dfg is there in ../fpc/bin/i386-linux/

What can I do to get it work ?  Thanks, Patyi.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #23 on: March 20, 2012, 08:58:40 am »
Patyi,

Just to confirm: you did start lazarus with the ~/Lazarus_trunk link, didn't you?

The error message indicates the settings (environmentoptions.xml) that specify where fpc.cfg, the fpc compiler etc are are incorrect... Note that fpcup creates a separate --primary-config-path directory for you so it can coexist with existing systemwide Lazarus installs...
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

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #24 on: March 20, 2012, 09:09:49 am »
Thanks,
I had to check the execution priveleges checkbox in the permissions tab. Duh!  :-[


patyi

  • Full Member
  • ***
  • Posts: 168
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #25 on: March 20, 2012, 09:37:44 am »
"Just to confirm: you did start lazarus with the ~/Lazarus_trunk link, didn't you?"

No I don't !   :-[
It works when I started with ~/Lazarus_trunk link !!!    :D

Thanks, Patyi

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #26 on: April 16, 2012, 06:51:54 am »
Hi,

I'm trying to use fpcup to get the trunk version of fpc (2.7.1) and am hitting a snag setting options (win32).

I have tried setting them in several ways

1. By running the fpcup.exe and setting the fpcURL option directly on the (YES/no) prompt like so:  fpcURL= http://svn.freepascal.org/svn/fpc/trunk

2. I set the same options in the fpcup.config file in the same directory as fpcup.exe (in the [general] section at the beginning)

None of these are setting the url correctly and it is downloading the default url instead.

Where am I going wrong here?

Thanks



BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #27 on: April 16, 2012, 09:28:25 am »
CaptBill,
Thanks for reporting.

You'll have to specify the options on the command line, e.g. (untested, may differ):
Code: [Select]
fpcup --fpcurl=http://svn.freepascal.org/svn/fpc/trunk --fpcdir=c:\some\directory
See
Code: [Select]
fpcup --help for more details

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

CaptBill

  • Sr. Member
  • ****
  • Posts: 435
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #28 on: April 17, 2012, 12:07:11 am »
Thanks Bigchimp,

That was indeed what I was doing wrong (sheesh, how did I miss that). Although I am only able to set one variable at a time on the command line it seems so I am unable to have a "trunk" and a "current release" both installed, sharing common directory structure(can only set fpcURL iow).

Also setting the variable in the fpcup.ini and specifying the configfile=fpcup.ini isn't working either. This would be the preferable way I would think and just keep several .ini files. Seems strange that this is not working. Doesn't the fpcup.exe use the fpcup.ini as it's way of setting the "stock" setup? According to the help file the fpcup.ini file is used by default (which I have modified with settings). This is not working and reverts to the standard "branches/fixes_2.6" config.

My work around was to simply start from scratch and just set the fpcURL variable from the command line to the "trunk" version. All goes well with the downloading, but something goes wrong with the compiling. Apparently the fpc.exe is not compiling. Stange thing is that the fp.exe (freepascal GUI) is compiling fine, just not the fpc.exe (?).

Thanks in advance.

Well anyway here is a dump of the log:
Quote
------------------------------------------------
4/16/2012 7:57:08: fpcup started.
Bootstrap compiler dir: C:\development\fpcbootstrap\
FPC URL:                http://svn.freepascal.org/svn/fpc/trunk
FPC options:           
FPC directory:          C:\development\fpc
Make/binutils path:     C:\development\fpcbootstrap\
External program path:  C:\development\fpcbootstrap\;C:\development\fpcbootstrap\;C:\development\fpcbootstrap\svn\;C:\development\fpc\bin\i386-win32
opment\fpcbootstrap\
External progError running fpcup. Technical details: error executing sequence fpc; line: 4, param: FPC
Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc
4/16/2012 8:33:22: fpcup finished.
------------------------------------------------

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPCUp FPC/Lazarus SVN installer/updater for Windows, Linux, soon OSX
« Reply #29 on: April 17, 2012, 08:46:24 am »
Yes, you can only set one fpcurl at the same time. You could call fpcup twice with different URL parameters but I'd think the source and compiled units will interfere with each other!??
What kind of structure are you trying to get? Perhaps we can modify the program.

fpcup.ini is ONLY used for "external modules" right now. See the readme file and the html file in the source distribution. Just place fpcup.ini in the same directory as fpcup.exe.
Could you confirm something like
Code: [Select]
fpcup --configfile=c:\windows\temp\fpcup.ini
doesn't work? Which version of fpcup? The binary win32 version?

Re: compile errors: you might want to try with the newest dev version. Note the list of bugs on the bugtracker though...

Edit: note: the log snippet you gave me doesn't really tell me what went wrong. You can increase detail by specifying --verbose; that might help... Thanks.

Thanks for your report & perseverance,

BigChimp
« Last Edit: April 17, 2012, 08:50:02 am by 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