Recent

Author Topic: Compiling fpc from svn  (Read 4080 times)

dryzone

  • New Member
  • *
  • Posts: 13
Compiling fpc from svn
« on: February 25, 2018, 09:32:08 pm »
I have trouble compiling fpc from svn
Using
svn checkout http://svn.freepascal.org/svn/fpc/trunk fpc
I only get packages folder and not the familiar source tree.

So what is the procedure to get make / make install working on the svn version ?
the tar.gz sources all compile fine, but I want the latest sources.

Alternatively is there a wget or svn available for the latest  tar.gz sources ?

Thanks

Bart

  • Hero Member
  • *****
  • Posts: 5275
    • Bart en Mariska's Webstek
Re: Compiling fpc from svn
« Reply #1 on: February 25, 2018, 10:34:16 pm »
My checkout of trunk (all beit a liitle old) is intact:
Code: [Select]
Working Copy Root Path: C:\devel\fpc\trunk
URL: https://svn.freepascal.org/svn/fpc/trunk
Relative URL: ^/trunk

Try https?

Bart

rvk

  • Hero Member
  • *****
  • Posts: 6112
Re: Compiling fpc from svn
« Reply #2 on: February 25, 2018, 10:52:56 pm »
http should be fine too (I have it in my script).

What do you call "the familiar source tree"??
There is a rtl, compiler and packages directory (and more) which contain the source.

make all should do the rest (depending on platform/options/requirements/etc).

If you're not familiar with compiling from trunk maybe fpcupdeluxe is an option for you.


dryzone

  • New Member
  • *
  • Posts: 13
Re: Compiling fpc from svn
« Reply #3 on: February 25, 2018, 11:25:14 pm »
Somehow the svn command as listed above only downloads one directory in the fpc directory as I mention in my original message and I must assume it must be terminating prematurely. It is becoming widespread problem with these nefarious  free cloud services which usually belongs to entities that want to legally read your content and has no interest in performance.

The only reason I want to use svn is that I only need to run a script periodically to have the latest version. I couldnt find a latest URL where the latest source resides else I would have used trusty wget rather than svn.

Anyway, I will retry a couple of times with a different DNS and see if I can get the entire tree.

engkin

  • Hero Member
  • *****
  • Posts: 3112
Re: Compiling fpc from svn
« Reply #4 on: February 26, 2018, 01:47:57 am »
I couldnt find a latest URL where the latest source resides else I would have used trusty wget rather than svn.

What about this:
ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/source/fpc.zip

dryzone

  • New Member
  • *
  • Posts: 13
Re: Compiling fpc from svn
« Reply #5 on: February 26, 2018, 03:17:39 am »
As I thought, it repeatedly interrupts.
"svn: E120108: Error retrieving REPORT: The server unexpectedly closed the connection."
Subversion really is a bunch of g'bage. Wasted a lot of my time. It is tryuly worse than CVS, the latter who did not give me much trouble in the past.

Thanks for the link, that of course works fine.
Will see if it contains the latest.

The ftp archive you list doesnt contain the documentation.
I get the documentation from
svn checkout http://svn.freepascal.org/svn/fpcdocs/trunk fpcdocsm
but to keep all in the same vein, do you have a tar.gz or zip link for the docs ?
Svn for docs as above  works for the docs at least, but it is rather slooow.

engkin

  • Hero Member
  • *****
  • Posts: 3112
Re: Compiling fpc from svn
« Reply #6 on: February 26, 2018, 04:13:12 am »
Check that same ftp folder:
ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/source/

You'll see fpcbuild.zip which I believe includes the docs.

Edit:
Precompiled binaries ftp://ftp.freepascal.org/pub/fpc/snapshot/trunk/
« Last Edit: February 26, 2018, 04:44:43 am by engkin »

dryzone

  • New Member
  • *
  • Posts: 13
Re: Compiling fpc from svn
« Reply #7 on: February 26, 2018, 07:30:43 am »
solved thanks

ccrause

  • Hero Member
  • *****
  • Posts: 845
Re: Compiling fpc from svn
« Reply #8 on: February 26, 2018, 01:02:34 pm »
Subversion really is a bunch of g'bage. Wasted a lot of my time. It is tryuly worse than CVS, the latter who did not give me much trouble in the past.
solved thanks
I closely follow fpc trunk using
Code: [Select]
svn update on Linux without any problems I can recall.  Perhaps you are experiencing a time-out of the connection because of the duration of a full checkout of trunk?

 

TinyPortal © 2005-2018