Recent

Author Topic: install fpc from SVN  (Read 5093 times)

Middlecope

  • Jr. Member
  • **
  • Posts: 92
install fpc from SVN
« on: April 26, 2013, 09:28:16 pm »
I "SVN"ed fpc in /home/user/fpc
Then I started  "make" and all went well
Now I like to install the fpc-2.7.1 over the fpc-2.6.2
I get "permission denied" So I su as root.
I gave the command "make install FPC=/home/user/fpc-2.6.2"
The output is:
make install FPC=/home/user/fpc-2.6.2
make: execvp: /home/user/fpc-2.6.2: Permission denied
make compiler_cycle RELEASE=1
etc.
I still get premission denied. Any suggestions how to do it correctly?
OpenSUSE 12.3

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12297
  • Debugger - SynEdit - and more
    • wiki
Re: install fpc from SVN
« Reply #1 on: April 26, 2013, 09:38:49 pm »
DFid you mean

make install INSTALL_PREFIX=/home/user/fpc-2.6.2

assuming /home/user/fpc-2.6.2is an empty folder

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12771
  • FPC developer.
Re: install fpc from SVN
« Reply #2 on: April 26, 2013, 10:01:58 pm »
 su - instead of just su ?

Middlecope

  • Jr. Member
  • **
  • Posts: 92
Re: install fpc from SVN
« Reply #3 on: April 26, 2013, 11:23:36 pm »
UNFOTUNATLY
See here input and output (after su root)
make install INSTALL_PREFIX=/home/user/fpc-2.7.1
Makefile:197: *** The Makefile doesn't support target can't-executed,, please run fpcmake first.  Stop.
I ran fpcmake
Same result as above
Any suggestion how to solve this problem is welcome
Thanks Teunis

« Last Edit: April 27, 2013, 03:19:16 am by Middlecope »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12771
  • FPC developer.
Re: install fpc from SVN
« Reply #4 on: April 27, 2013, 12:50:08 pm »
UNFOTUNATLY
See here input and output (after su root)
make install INSTALL_PREFIX=/home/user/fpc-2.7.1
Makefile:197: *** The Makefile doesn't support target can't-executed,, please run fpcmake first.  Stop.
I ran fpcmake
Same result as above
Any suggestion how to solve this problem is welcome

It looks to me it can find the fronteloader fpc binary, but can't execute it, or it can't execute the real compiler, ppc386 (ppcx64 if 64-bit).  Maybe execute permission problems?

Middlecope

  • Jr. Member
  • **
  • Posts: 92
Re: install fpc from SVN
« Reply #5 on: April 27, 2013, 03:52:00 pm »
Here is the binary:
teunis@linux-0iq0:~/fpc-2.6.2/lib/fpc/2.6.2> ls -l
total 2820
drwxr-xr-x 3 teunis users    4096 Apr 26 15:04 ide
drwxr-xr-x 2 teunis users    4096 Feb 16 07:31 msg
-rwxrwxrwx 1 teunis users 2868088 Feb 16 07:31 ppcx64
-rwxr-xr-x 1 teunis users    2785 Feb 16 07:31 samplecfg
drwxr-xr-x 3 teunis users    4096 Feb 16 07:31 units
It looks executable
By the way the problem is in the execvp command
I can't find a binary with that name. If I do "whereis" I only see the manuals
« Last Edit: April 27, 2013, 04:55:44 pm by Middlecope »

 

TinyPortal © 2005-2018