Sign in Join

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

Mailing lists / lazarus / 2010-02

Without root rights on Ubuntu, how?

6 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Osvaldo Filho

On Ubuntu, from subversion!

How do I find information about FPC (svn) and Lazarus (svn) to install them without root rights?

Compile?
~/.fpc.cfg
etc

Reply by email

Marc Weustink
to Osvaldo Filho
Osvaldo Filho wrote 8 lines
On Ubuntu, from subversion! How do I find information about FPC (svn) and Lazarus (svn) to install them without root rights? Compile? ~/.fpc.cfg etc

for compiling fpc, see my reply on the fpc-pascal mailinglist.

for lazarus:
have the svn version of lazarus downloded in say ~/lazarus

then in a command shell in the ~/lazarus dir run:
make

thats all (no need to install lazarus)

then you can run lazarus from the same dir in the same shell by ./lazarus

Marc

Reply by email

Osvaldo Filho
to Marc Weustink

Environment:
Ubuntu Karmic x86_64
FPC 2.4.1 from svn
Lazarus from svn

The problem of FPC is resolved.
But it uses the ppc compiler from ubuntu.

And for Lazarus, another problem:
The problem is that the Make of lazarus not find the files needed for compilation.
How can i say where is my directory ~/fpc/bin ?

Error:
-------
$ make
make: -iVSPTPSOTO: Command not found
make: -iSP: Command not found
make: -iTP: Command not found
make: -iSO: Command not found
make: -iTO: Command not found
make -C ide ide
make[1]: -iSP: Command not found
...
-------

My process:

1) download FPC and Lazarus from subversion (x86_64)
2) install fp-compiler, fp-utils
3) on fpc svn directory:
$ make all
$ make install PREFIX=/mnt/deskx/desenvolvimento/fpc_inst/fpc_x64 FPC_VERSION=2.4.1
4) uninstall fp-compiler, fp-utils, fp-units-rtl
5) move /etc/fpc.cfg to ~/.fpc.cfg
6) change ~/.fpc.cfg to point for my fpc install directory ##### ~/.fpc.cfg #####
...
#IFDEF FPCAPACHE_1_3
-Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget/httpd13/ #ELSE
#IFDEF FPCAPACHE_2_0
-Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget/httpd20 #ELSE
-Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget/httpd22 #ENDIF
#ENDIF

# searchpath for units and other system dependent things -Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget -Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget/rtl #-Fu~/fpc/packages/base/*/units/;~/fpc/fcl/units/;~/fpc/rtl/units/ ##########

The problem is that the Make of lazarus not find the files needed for compilation.
How can i say where is my directory ~/fpc/bin ?

2010/2/18 Marc Weustink :

Show quoted text 34 lines
Osvaldo Filho wrote: > > On Ubuntu, from subversion! > > How do I find information about FPC (svn) and Lazarus (svn) to install > them without root rights? > > Compile? > ~/.fpc.cfg > etc for compiling fpc, see my reply on the fpc-pascal mailinglist. for lazarus: have the svn version of lazarus downloded in say ~/lazarus then in a command shell in the ~/lazarus dir run: ?make thats all (no need to install lazarus) then you can run lazarus from the same dir in the same shell by ?./lazarus Marc -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Osvaldo Filho
to Osvaldo Filho

Need create 3 symbolic links on /usr/bin:
ppcx64
fpc
fpcres

2010/2/20 Osvaldo Filho :

Show quoted text 97 lines
Environment: Ubuntu Karmic x86_64 FPC 2.4.1 from svn Lazarus from svn The problem of FPC is resolved. But it uses the ppc compiler from ubuntu. And for Lazarus, another problem: The problem is that the Make of lazarus not find the files needed for compilation. How can i say where is my directory ~/fpc/bin ? Error: ------- $ make make: -iVSPTPSOTO: Command not found make: -iSP: Command not found make: -iTP: Command not found make: -iSO: Command not found make: -iTO: Command not found make -C ide ide make[1]: -iSP: Command not found ... ------- My process: 1) download FPC and Lazarus from subversion (x86_64) 2) install fp-compiler, fp-utils 3) on fpc svn directory: $ make all $ make install PREFIX=/mnt/deskx/desenvolvimento/fpc_inst/fpc_x64 FPC_VERSION=2.4.1 4) uninstall fp-compiler, fp-utils, fp-units-rtl 5) move /etc/fpc.cfg to ~/.fpc.cfg 6) change ~/.fpc.cfg to point for my fpc install directory ##### ~/.fpc.cfg ?##### ... #IFDEF FPCAPACHE_1_3 -Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget/httpd13/ #ELSE #IFDEF FPCAPACHE_2_0 -Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget/httpd20 #ELSE -Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget/httpd22 #ENDIF #ENDIF # searchpath for units and other system dependent things -Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget -Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/mnt/deskx/desenvolvimento/aplicativos/fpc/lib/fpc/$fpcversion/units/$fpctarget/rtl #-Fu~/fpc/packages/base/*/units/;~/fpc/fcl/units/;~/fpc/rtl/units/ ########## The problem is that the Make of lazarus not find the files needed for compilation. How can i say where is my directory ~/fpc/bin ? 2010/2/18 Marc Weustink : > Osvaldo Filho wrote: >> >> On Ubuntu, from subversion! >> >> How do I find information about FPC (svn) and Lazarus (svn) to install >> them without root rights? >> >> Compile? >> ~/.fpc.cfg >> etc > > for compiling fpc, see my reply on the fpc-pascal mailinglist. > > for lazarus: > have the svn version of lazarus downloded in say ~/lazarus > > then in a command shell in the ~/lazarus dir run: > ?make > > thats all (no need to install lazarus) > > then you can run lazarus from the same dir in the same shell by > ?./lazarus > > Marc > > > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >

Reply by email

Marc Weustink
to Osvaldo Filho
Osvaldo Filho wrote
Need create 3 symbolic links on /usr/bin: ppcx64 fpc fpcres

Then you didn't have to move the fpc.cfg to your ~/.fpc.cfg, but you could have edited the original /etc/fpc.cfg.

(anothe roption is to create those symlinks in your ~/bin)

Marc

Reply by email

Osvaldo Filho
to Marc Weustink

Thank you

2010/2/21 Marc Weustink :

Show quoted text 22 lines
Osvaldo Filho wrote: > > Need create 3 symbolic links on /usr/bin: > ppcx64 > fpc > fpcres Then you didn't have to move the fpc.cfg to your ~/.fpc.cfg, but you could have edited the original /etc/fpc.cfg. (anothe roption is to create those symlinks in your ~/bin) Marc -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email