Sign in Join

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

Mailing lists / fpc-pascal / 2011-01

command for Linux for me to create fp ?

7 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

Pew (piffle.the.cat

Hi all,

I am trying to build fp from 3.5.1 snapshot and I don't know what the command is.

I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to /juni/fpc and downloaded fpcbuild.zip and extracted to /juni/3.5.1/.

I cannot find any instructions on how I can build fp from the source. What is the command for Linux for me to create fp ?

Best Regards,
pew

Reply by email

Robert Wolfe
to Pew (piffle.the.cat
Pew wrote 17 lines
Hi all, I am trying to build fp from 3.5.1 snapshot and I don't know what the command is. I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to /juni/fpc and downloaded fpcbuild.zip and extracted to /juni/3.5.1/. I cannot find any instructions on how I can build fp from the source. What is the command for Linux for me to create fp ? Best Regards, pew _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Pew, knowling how to build anything under linux is a fundamental skill that's necessary to run linux. However, the usual way to build binaries from source code is to run ./configure first from the source code parent directory, then run make then run 'make install' as sudo.

Reply by email

Mark Morgan Lloyd
to Robert Wolfe
Robert Wolfe wrote 23 lines
On 01/16/2011 11:03 AM, Pew (piffle.the.cat) wrote: > Hi all, > > I am trying to build fp from 3.5.1 snapshot and I don't know what the > command is. > > I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to > /juni/fpc and downloaded fpcbuild.zip and extracted to /juni/3.5.1/. > > I cannot find any instructions on how I can build fp from the source. > What is the command for Linux for me to create fp ? > > Best Regards, > pew > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > Pew, knowling how to build anything under linux is a fundamental skill that's necessary to run linux. However, the usual way to build binaries from source code is to run ./configure first from the source code parent directory, then run make then run 'make install' as sudo.

Robert, I'm not sure you're being helpful since FPC does not use ./configure.

Peter, I do not claim to be an experienced builder and I usually work from a source release (currently 2.4.2) rather than from SVN so your mileage may vary.

You will need the standard Linux binary utilities (as, ar, ld, make), how you get those depends on what distro you're using.

cd ..../fpcsrc
make NOGDB=1 clean all
make install

then check that the ppcXXXX symlink in /usr/local is correct.

There is a build FAQ for this which you will need when you start trying to do anything clever.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Pew (piffle.the.cat
to Mark Morgan Lloyd

Hi Robert,

Mark Morgan Lloyd wrote 37 lines
Robert Wolfe wrote: > On 01/16/2011 11:03 AM, Pew (piffle.the.cat) wrote: >> Hi all, >> >> I am trying to build fp from 3.5.1 snapshot and I don't know what the >> command is. >> >> I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to >> /juni/fpc and downloaded fpcbuild.zip and extracted to /juni/3.5.1/. >> >> I cannot find any instructions on how I can build fp from the source. >> What is the command for Linux for me to create fp ? >> >> Best Regards, >> pew >> _______________________________________________ >> fpc-pascal maillist - >> http://lists.freepascal.org/mailman/listinfo/fpc-pascal >> > > Pew, knowling how to build anything under linux is a fundamental skill > that's necessary to run linux. However, the usual way to build > binaries from source code is to run ./configure first from the source > code parent directory, then run make then run 'make install' as sudo. Robert, I'm not sure you're being helpful since FPC does not use ./configure. Peter, I do not claim to be an experienced builder and I usually work from a source release (currently 2.4.2) rather than from SVN so your mileage may vary. You will need the standard Linux binary utilities (as, ar, ld, make), how you get those depends on what distro you're using. cd ..../fpcsrc make NOGDB=1 clean all

This command worked.

make install

This command did not work.

ls shows these files.

createbranch.sh
demo
fpcdocs
fpcsrc
install
logs
ls_result
Makefile
Makefile.fpc
readme.rev

sh ./createbranch.sh > temp1
gives this temp1 output.

Usage: createbranch.sh <branch/tag name>

Example: createbranch.sh branches/fixes_2_1
createbranch.sh tags/release_2_0_4

This makes no sense to someone please explain this to me.

Best Regards,
pew

Show quoted text 6 lines
then check that the ppcXXXX symlink in /usr/local is correct. There is a build FAQ for this which you will need when you start trying to do anything clever.

Reply by email

Mark Morgan Lloyd
to Pew (piffle.the.cat
Pew wrote 17 lines
On 01/17/2011 03:59 AM, Mark Morgan Lloyd wrote: > Peter, I do not claim to be an experienced builder and I usually work > from a source release (currently 2.4.2) rather than from SVN so your > mileage may vary. > > You will need the standard Linux binary utilities (as, ar, ld, make), > how you get those depends on what distro you're using. > > cd ..../fpcsrc > make NOGDB=1 clean all This command worked. > make install This command did not work.

/How/ did not work?

Show quoted text 6 lines
ls shows these files. createbranch.sh demo fpcdocs fpcsrc

You're in the wrong directory, or have a vey badly screwed directory structure.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Tomas Hajny
to Pew (piffle.the.cat: This command worked. This command did not work. ls shows these files. createbranch.sh demo
Pew wrote 69 lines
Hi Robert, On 01/17/2011 03:59 AM, Mark Morgan Lloyd wrote: > Robert Wolfe wrote: >> On 01/16/2011 11:03 AM, Pew (piffle.the.cat) wrote: >>> Hi all, >>> >>> I am trying to build fp from 3.5.1 snapshot and I don't know what the >>> command is. >>> >>> I have downloaded fpc-2.5.1.i386-linux.tar.gz and extracted to >>> /juni/fpc and downloaded fpcbuild.zip and extracted to /juni/3.5.1/. >>> >>> I cannot find any instructions on how I can build fp from the source. >>> What is the command for Linux for me to create fp ? >>> >>> Best Regards, >>> pew >>> _______________________________________________ >>> fpc-pascal maillist - >>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal >>> >> >> Pew, knowling how to build anything under linux is a fundamental skill >> that's necessary to run linux. However, the usual way to build >> binaries from source code is to run ./configure first from the source >> code parent directory, then run make then run 'make install' as sudo. > > Robert, I'm not sure you're being helpful since FPC does not use > ./configure. > > Peter, I do not claim to be an experienced builder and I usually work > from a source release (currently 2.4.2) rather than from SVN so your > mileage may vary. > > You will need the standard Linux binary utilities (as, ar, ld, make), > how you get those depends on what distro you're using. > > cd ..../fpcsrc > make NOGDB=1 clean all This command worked. > make install This command did not work. ls shows these files. createbranch.sh demo fpcdocs fpcsrc install logs ls_result Makefile Makefile.fpc readme.rev sh ./createbranch.sh > temp1 gives this temp1 output. Usage: createbranch.sh <branch/tag name> Example: createbranch.sh branches/fixes_2_1 createbranch.sh tags/release_2_0_4 This makes no sense to someone please explain this to me.

createbranch.sh is not relevant for you, don't worry about it. Go to fpcsrc ("cd fpcsrc") and use the make command proposed in the other e- mail.

Tomas

Reply by email

Tomas Hajny
to Mark Morgan Lloyd: /How/ did not work? You're in the wrong directory, or have a vey badly screwed directory…
Mark Morgan Lloyd wrote 30 lines
Pew (piffle.the.cat) wrote: > On 01/17/2011 03:59 AM, Mark Morgan Lloyd wrote: >> Peter, I do not claim to be an experienced builder and I usually work >> from a source release (currently 2.4.2) rather than from SVN so your >> mileage may vary. >> >> You will need the standard Linux binary utilities (as, ar, ld, make), >> how you get those depends on what distro you're using. >> >> cd ..../fpcsrc >> make NOGDB=1 clean all > > This command worked. > >> make install > > This command did not work. /How/ did not work? > ls shows these files. > > createbranch.sh > demo > fpcdocs > fpcsrc You're in the wrong directory, or have a vey badly screwed directory structure.

Most probably the former. This is the contents of the fpcbuild SVN repository, fpcsrc is inside this one (as suggested by the directory listing).

Tomas

Reply by email