Sign in Join

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

Mailing lists / fpc-pascal / 2013-03

newbie question

9 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

duilio foschi

I had somebody install fpc and brook framework into my linux server (as probably I would not had been able to do it)

Then I tried to compile the first 'hello world' example of the brook framework.

Soon I discovered that

- fpc configuration file is called /etc/fpc.cfg
- Fu switch must be used to set the paths to units
- Fi switch must be used to set the paths to includes

After that at compile time I get the errors shown in the following screenshot:
http://i46.tinypic.com/2n66mhd.jpg

It seems that I am missing some other switch at command line or in the configure file.

Any hint ?

Thank you
Peppe

Reply by email

waldo kitty
to duilio foschi: I had somebody install fpc and brook framework into my linux server (as probably I would…
duilio foschi wrote 8 lines
I had somebody install fpc and brook framework into my linux server (as probably I would not had been able to do it) Then I tried to compile the first 'hello world' example of the brook framework. Soon I discovered that - fpc configuration file is called /etc/fpc.cfg

that's the main one that's used when there's no dedicated one for the individual users... generally speaking, you'd also have ~/.fpc.cfg or such... how this arrives in ~/ i don't know as i've not (yet) attempted fpc on a *nix system...

sorry i can't help with the rest...

Reply by email

Marco van de Voort
to waldo kitty

In our previous episode, waldo kitty said:

that's the main one that's used when there's no dedicated one for the individual users... generally speaking, you'd also have ~/.fpc.cfg or such... how this arrives in ~/ i don't know as i've not (yet) attempted fpc on a *nix system...

Most versions will install in / if you install as root, and keep everything in ~ if you install as normal user.

Reply by email

duilio foschi
to leledumbo: FPC version? Please read the requirements before installing View this message in context:…

the version is:

Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for x86_64 Copyright (c) 1993-2010 by Florian Klaempfl

Please read the requirements before installing

somebody else did the installation.

Could you expand on this ?

You suspect that some requirement was not met ?

Thank you
Peppe

2013/3/30 leledumbo

Show quoted text 12 lines
FPC version? Please read the requirements before installing -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/newbie-question-tp5713912p5713913.html Sent from the Free Pascal - General mailing list . _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Jonas Maebe
to duilio foschi
duilio foschi wrote 8 lines
the version is: Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for x86_64 Copyright (c) 1993-2010 by Florian Klaempfl > Please read the requirements before installing somebody else did the installation.

You may want to ask that person to install the latest release (2.6.2) instead.

Jonas

Reply by email

duilio foschi
to Jonas Maebe

ok, it is clear now :)

Thank you
Peppe

2013/3/30 Jonas Maebe

Show quoted text 24 lines
On 30 Mar 2013, at 20:14, duilio foschi wrote: the version is: Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for x86_64 Copyright (c) 1993-2010 by Florian Klaempfl Please read the requirements before installing somebody else did the installation. You may want to ask that person to install the latest release (2.6.2) instead. Jonas _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

leledumbo
to duilio foschi: the version is: Free Pascal Compiler version 2.4.4-3.1 [2012/01/04] for x86_64 Copyright…

Read system requirements part in:
https://github.com/silvioprog/brookframework (also available in readme.markdown in the downloaded package)

Lesson: NEVER ignore README because it's meant to be READ :)

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/newbie-question-tp5713912p5713922.html Sent from the Free Pascal - General mailing list .

Reply by email

waldo kitty
to Marco van de Voort: In our previous episode, waldo kitty said: Most versions will install in / if you install…
Marco van de Voort wrote 7 lines
In our previous episode, waldo kitty said: > that's the main one that's used when there's no dedicated one for the individual > users... generally speaking, you'd also have ~/.fpc.cfg or such... how this > arrives in ~/ i don't know as i've not (yet) attempted fpc on a *nix system... Most versions will install in / if you install as root, and keep everything in ~ if you install as normal user.

i was thinking about the situations where root does the install and then some users actually use it but not root since he's admin only and doesn't have the knowledge to write code ;) O:)

Reply by email