Recent

Author Topic: [SOLVED] Installation n SuSE 64-bits  (Read 3447 times)

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
[SOLVED] Installation n SuSE 64-bits
« on: February 08, 2013, 02:06:29 am »
Hi,
what is problem with SuSE? I have fpc 2.6.0 (I can run "fpc -iV"). I can run Lazarus (and compile project). I downloaded fpc 2.7.1 (via SVN). I compiled it (I ran "make distclean all") - no errors.
But when I try "sudo make install", it does not work.
Code: [Select]
[v1@linux-o1lc fpc]$ sudo make install
make: -iVSPTPSOTO: Command not found
make compiler_cycle RELEASE=1
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/home/v1/Lazarus_FPC/fpc'
make -C compiler cycle
make[2]: -iVSPTPSOTO: Command not found
etc.
AFAIK such output is usually when there's no binary FPC  but I have it.
Thanks.
« Last Edit: February 08, 2013, 02:37:35 pm by Blaazen »
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12266
  • FPC developer.
Re: Installation on SuSE 64-bits
« Reply #1 on: February 08, 2013, 12:00:15 pm »
The makefile can't find it.

you can try to pass it with FPC=/path/to/fpc

but it would be interesting to know what causes this.

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Installation on SuSE 64-bits
« Reply #2 on: February 08, 2013, 02:37:06 pm »
OK. Now it prompts:
Code: [Select]
[v1@linux-o1lc fpc]$ sudo make install FPC=/home/v1/Lazarus_FPC/fpc
make: execvp: /home/v1/Lazarus_FPC/fpc: Permission denied
make compiler_cycle RELEASE=1
make[1]: execvp: /home/v1/Lazarus_FPC/fpc: Permission denied
make[1]: Entering directory `/home/v1/Lazarus_FPC/fpc'
make -C compiler cycle
etc. So it now found the compiler.
Strange. Other distros don't have such problems.
In openSuSE, "sudo" is not enough.
I had to use "su" + admin password and "make install" worked well.
Then I changed symlink ppcx64, "exit" back from "su" to normal user and "fpc -iV" prompts 2.7.1.
Thanks.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

 

TinyPortal © 2005-2018