Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2018-06

Compiling 3.1.1 trunk

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jim Lee

Hi, newbie to fpc (but not Pascal) here.

I'm trying to compile the fpc trunk from svn on linux.  I managed to find the buildfaq, but I'm running into problems.

I've done this:

$ svn checkout http://svn.freepascal.org/svn/fpcbuild fpcbuild
$ cd fpcbuild/trunk/fpcsrc/compiler
$ make cycle  # (no errors, leaves me with a ppcx64 executable)
$ cd ../..
$ make all

[output truncated]

make[3]: Entering directory
'/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc/packages' make[3]: *** No rule to make target 'fpmake.pp', needed by 'fpmake'.  Stop. make[3]: Leaving directory
'/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc/packages' make[2]: *** [Makefile:2651: packages_smart] Error 2 make[2]: Leaving directory '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc' make[1]: *** [Makefile:2806: build-stamp.x86_64-linux] Error 2 make[1]: Leaving directory '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc' make: *** [Makefile:2278: fpcsrc/build-stamp.x86_64-linux] Error 2

What am I missing?

Thanks,

-Jim

Reply by email

Jonas Maebe
to Jim Lee
Jim Lee wrote 29 lines
I'm trying to compile the fpc trunk from svn on linux.  I managed to find the buildfaq, but I'm running into problems. I've done this: $ svn checkout http://svn.freepascal.org/svn/fpcbuild fpcbuild $ cd fpcbuild/trunk/fpcsrc/compiler $ make cycle  # (no errors, leaves me with a ppcx64 executable) $ cd ../.. $ make all [output truncated] make[3]: Entering directory '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc/packages' make[3]: *** No rule to make target 'fpmake.pp', needed by 'fpmake'.  Stop. make[3]: Leaving directory '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc/packages' make[2]: *** [Makefile:2651: packages_smart] Error 2 make[2]: Leaving directory '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc' make[1]: *** [Makefile:2806: build-stamp.x86_64-linux] Error 2 make[1]: Leaving directory '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc' make: *** [Makefile:2278: fpcsrc/build-stamp.x86_64-linux] Error 2 What am I missing?

Do you have a complete installation of FPC 3.0.4?

Jonas

Reply by email

Jim Lee
to Jonas Maebe
Jonas Maebe wrote 37 lines
On 23/06/18 06:24, Jim Lee wrote: > I'm trying to compile the fpc trunk from svn on linux.  I managed to > find the buildfaq, but I'm running into problems. > > I've done this: > > $ svn checkout http://svn.freepascal.org/svn/fpcbuild fpcbuild > > $ cd fpcbuild/trunk/fpcsrc/compiler > > $ make cycle  # (no errors, leaves me with a ppcx64 executable) > > $ cd ../.. > > $ make all > > [output truncated] > > make[3]: Entering directory > '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc/packages' > make[3]: *** No rule to make target 'fpmake.pp', needed by 'fpmake'.  > Stop. > make[3]: Leaving directory > '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc/packages' > make[2]: *** [Makefile:2651: packages_smart] Error 2 > make[2]: Leaving directory '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc' > make[1]: *** [Makefile:2806: build-stamp.x86_64-linux] Error 2 > make[1]: Leaving directory '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc' > make: *** [Makefile:2278: fpcsrc/build-stamp.x86_64-linux] Error 2 > > What am I missing? Do you have a complete installation of FPC 3.0.4? Jonas

Yes, I do.  I was able to compile fpc from
http://svn.freepascal.org/svn/fpc/trunk successfully, but not http://svn.freepascal.org/svn/fpcbuild.  I assumed that fpbuild is the repository I would want for current fpc, lazarus, and other tools all in one.  I'm having major issues in figuring out which online documentation is even remotely current, and which should be ignored.  I'm reminded of the old days playing Zork and finding my way out of the maze of twisty little passages... :)

-Jim

Reply by email

Sven Barth
to Jim Lee: Hi, newbie to fpc (but not Pascal) here. I'm trying to compile the fpc trunk from svn on…

Jim Lee schrieb am Sa., 23. Juni 2018, 17:34:

Show quoted text 17 lines
Hi, newbie to fpc (but not Pascal) here. I'm trying to compile the fpc trunk from svn on linux. I managed to find the buildfaq, but I'm running into problems. I've done this: $ svn checkout http://svn.freepascal.org/svn/fpcbuild fpcbuild $ cd fpcbuild/trunk/fpcsrc/compiler $ make cycle # (no errors, leaves me with a ppcx64 executable) $ cd ../.. $ make all

You only need the fpc/trunk checkout. The fpcbuild repository is for release building.
In the trunk checkout top level directory do a "make clean all". That should do it.

After that you can do an install with the INSTALL_PREFIX set to where you want the whole installation (binaries plus compiled units) to go to.

Regards,
Sven

Reply by email

Jim Lee
to Sven Barth
Sven Barth wrote 31 lines
Jim Lee < > schrieb am Sa., 23. Juni 2018, 17:34: Hi, newbie to fpc (but not Pascal) here. I'm trying to compile the fpc trunk from svn on linux.  I managed to find the buildfaq, but I'm running into problems. I've done this: $ svn checkout http://svn.freepascal.org/svn/fpcbuild fpcbuild $ cd fpcbuild/trunk/fpcsrc/compiler $ make cycle  # (no errors, leaves me with a ppcx64 executable) $ cd ../.. $ make all You only need the fpc/trunk checkout. The fpcbuild repository is for release building. In the trunk checkout top level directory do a "make clean all". That should do it. After that you can do an install with the INSTALL_PREFIX set to where you want the whole installation (binaries plus compiled units) to go to. Regards, Sven

Thanks, Sven.  I did just that last night successfully.  Thanks for clearing up the purpose of the fpcbuild repository.

-Jim

Reply by email