Compiling 3.1.1 trunk

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling 3.1.1 trunk

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



_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling 3.1.1 trunk

Jonas Maebe-3
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
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling 3.1.1 trunk

Jim Lee


On 06/23/2018 08:46 AM, Jonas Maebe wrote:

> 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



_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling 3.1.1 trunk

Free Pascal - General mailing list
In reply to this post by Jim Lee
Jim Lee <[hidden email]> 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 

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Compiling 3.1.1 trunk

Jim Lee

On 06/23/2018 02:18 PM, Sven Barth via fpc-pascal wrote:
Jim Lee <[hidden email]> 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


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal