Recent

Author Topic: fpc install problem on power 8  (Read 2831 times)

letrath

  • Newbie
  • Posts: 1
fpc install problem on power 8
« on: July 20, 2015, 11:49:47 am »
Hello i am using power 8 and powerkvm. ubuntu 14.04.02 le edition and debian big endian.
i donwload  ftp://ftp.freepascal.org/fpc/dist/2.6.4/powerpc64-linux/fpc-2.6.4.powerpc64-linux.tar and when i install at the end in both i get the error;


Install demos (Y/n) ?
Install demos in [/home/local/fpc-2.6.4/share/doc/fpc-2.6.4/examples] :
Installing demos in /home/local/fpc-2.6.4/share/doc/fpc-2.6.4/examples ...
Done.

Running on linux
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpc: 1: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpc: Syntax error: word unexpected (expecting ")")
No write premission in /etc.
Writing sample configuration file to /home/ronald/.fpc.cfg
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: 3: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: Syntax error: "|" unexpected (expecting ")")
Writing sample configuration file to /home/ronald/fpc-2.6.4/lib/fpc//ide/text/fp.cfg
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: 3: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: Syntax error: "|" unexpected (expecting ")")
Writing sample configuration file to /home/ronald/fpc-2.6.4/lib/fpc//ide/text/fp.ini
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: 3: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: Syntax error: "|" unexpected (expecting ")")
Writing sample configuration file to /home/ronald/.config/fppkg.cfg
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: 3: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: Syntax error: "|" unexpected (expecting ")")
Writing sample configuration file to /home/ronald/.fppkg/config/default
/home/local/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: 3: /home/ronald/fpc-2.6.4/lib/fpc/../../bin/fpcmkcfg: Syntax error: "|" unexpected (expecting ")")

End of installation.

Refer to the documentation for more information.

On debian it works(havent fully tested. only compiled a basic hello world)  but on ubuntu it doesnt.

a@local:~/fpc-2.6.4.powerpc64-linux$ fpc
-bash: /usr/local/bin/fpc: cannot execute binary file: Exec format error


So whats wrong and how do i fix it?

thank you.


ferseiti

  • Newbie
  • Posts: 4
Re: fpc install problem on power 8
« Reply #1 on: July 29, 2015, 10:37:04 pm »
Hello letrath.
I am also struggling with fpc on power8, but it is not that simple.
The binaries you are trying to install are not suitable for ppc64le, since the ABI is not the same.
If you wish to know more, follow this thread:
http://forum.lazarus.freepascal.org/index.php/topic,29209.0.html
Maybe you can also give it a try so we share our experiences.

Thanks and regards.

 

TinyPortal © 2005-2018