Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

CodeTyphon on OpenSUSE 12.2 11 years 8 months ago #3459

  • Sorin
  • Sorin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 1
I'm trying to install CodeTyphon on OpenSUSE 12.2. Problems and solutions:

1) install.sh
When I choose 3-Install System Libraries the installer says that my OS is Ubuntu an tries to use "apt-get" - not working, of course. My solution was to run the appropriate sh from installbin/scriptslln

Lazarus is working for Linux, no problem

2) When I try to build a cross-compiler from CodeTyphon CrossBuild>Freepascal 32bit>FPC build crosselement... I receive the following message in command box:

FPC Cross Elements Engine settings

lin32
i386-linux
ppc386
arm
android
ppcrossarm
arm-android

Cross Level 2 settings (Android) ----
lin32
i386-linux
ppc386
arm
android
ppcrossarm
arm-android
=====================================================================
Build Cross Element for arm-android
=====================================================================

[info]: Copy Files from ToolsChain Store...
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
Clean FreePascal ppc386
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
Stage 1: Build Cross Compiler Executable
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
sudo: no tty present and no askpass program specified
???????????????????????????????????????????????????????????
[ERROR]:Cross compiler ppcrossarm NOT Builded
sorry, Cross Build procedure STOP
??????????????????????????????????????????????????????????
sudo: no tty present and no askpass program specified
_______________________________________________________________

Terminate Action at 11-3-13 17:12:00
Total time: 00:00:00.461
ExitCode : 0

Can someone please help?

Please Log in or Create an account to join the conversation.

CodeTyphon on OpenSUSE 12.2 11 years 8 months ago #3460

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Did you have Sudo permissions ? help

If YES then at CTCenter=>CommandBox page select "Run in xterm"

"Run Embedded" if you have Sudo permissions and run all commands without password
ALL=(ALL) NOPASSWD: ALL
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Sorin

Please Log in or Create an account to join the conversation.

CodeTyphon on OpenSUSE 12.2 11 years 8 months ago #3461

  • FredyCC
  • FredyCC's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Database/Developer
  • Posts: 60
  • Thank you received: 10
After successfully build my toolchain for ARM-LINUX

[FINAL INFO]: Toolschains for arm-linux Build OK...!!!


Lazarus send me a error message

Compiler "/usr/lib/codetyphon/fpc/bin/x86_64-linux/fpc" does not support target arm-linux


I need a extra step to configure the compiler?

Thanks

Regards

Please Log in or Create an account to join the conversation.

CodeTyphon on OpenSUSE 12.2 11 years 8 months ago #3462

  • Sorin
  • Sorin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 1
"Run in xterm" worked! Thank you!
I successfully created the crosscompiler for arm.

Now I have another problem. When I try to build the project (target OS: Linux, processor: arm) I receive the following error:
fcllaz.pas(0,0) Fatal: Can not find unit system used by fcllaz of package FCL.

Any ideeas?

Please Log in or Create an account to join the conversation.

CodeTyphon on OpenSUSE 12.2 11 years 8 months ago #3463

  • Sorin
  • Sorin's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 1
Did you build the compiler? CrossBuild>>FreePascal32(64)>>FPC32(64) build cross element...
The following user(s) said Thank You: FredyCC

Please Log in or Create an account to join the conversation.

  • Page:
  • 1