Recent

Author Topic: Lazarus under Debian/Sparc  (Read 6638 times)

litie

  • Newbie
  • Posts: 3
Lazarus under Debian/Sparc
« on: July 18, 2006, 03:32:00 pm »
hello world,

i use Debian Sarge over my SPARC/Ultra 5. Is it possible to install lazarus on my machine? are there a .deb file or .rpm  good for Sparc/Debian?

Thanks

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
RE: Lazarus under Debian/Sparc
« Reply #1 on: July 18, 2006, 05:11:39 pm »
Yes, it is possible, but we don´t have pre-compiled packages for Sparc.

Please install Free Pascal and then use it to compile Lazarus source code.

Compiling lazarus is as easy as: make clean all

On Free Pascal website I see that only Free Pascal 2.0.0 is available for Sparc/Linux:

http://www.freepascal.org/download.html

Since the latest lazarus requires FPC >= 2.0.2 to compile you have some options:

* Use FPC 2.0.0 to compile FPC 2.0.2 source code on your computer and then use it to compile Lazarus 0.9.16

* Ask for a kind soul to create a fpc 2.0.2 release for sparc/linux for you.

* Use FPC 2.0.0 to compile a older lazarus, like 0.9.12 perhaps.

Also notice that FPC 2.0.4 is about to be released and in the spirit of open source, you may want to consider creating a binary version of FPC 2.0.4 for Sparc/Linux, so the install process of it and Lazarus will be easier for others after you. It should be easy, just compile the compiler, and package the result. If you need help doing this, please ask on free pascal mailling list.

I hope the instructions aren´t too long. Don´t hesitate to ask for more help!

litie

  • Newbie
  • Posts: 3
RE: Lazarus under Debian/Sparc
« Reply #2 on: August 02, 2006, 06:32:07 pm »
Ok...thanks!

but,now i've another problem? where is the source.tgz of lazarus.0.9.12???On the web i see only 0.9.12 for window :-( but i want to use lazarus on my Debian/Sparc ....

Thanks for all!

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: Lazarus under Debian/Sparc
« Reply #3 on: August 02, 2006, 08:58:56 pm »
You can download it from:
http://prdownloads.sourceforge.net/lazarus/lazarus-0.9.12-0.tar.gz

Or do
Code: [Select]

svn export ttp://svn.freepascal.org/svn/lazarus/tags/lazarus_0_9_12/

litie

  • Newbie
  • Posts: 3
Lazarus under Debian/Sparc
« Reply #4 on: August 17, 2006, 04:02:28 pm »
:cry:

....noooo ... BIG problem!!!

now i can compile the source code...good!   but when i start the program....  
Quote

./lazarus
TApplication.IconChanged - TODO: convert this message...no implementation in gtk or win32
Note: environment config file not found - using defaults
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
Nota: non è stato trovato il file configurazione codetools - uso i valori predefiniti

NOTE: FPC Source Directory not set! (see Environment Options)

Nota: impossibile creare il modello define per i sorgenti del Free Pascal
NOTE: help options config file not found - using defaults
TMainIDE.DoNewProject A
TMainIDE.DoNewEditorFile A NewFilename=
TPascalParserTool.BuildTree B OnlyIntf=False  project1.lpr
[TCustomFormEditor.CreateComponent] Class='TForm'
TPascalParserTool.BuildTree B OnlyIntf=False  project1.lpr
TMainIDE.DoNewEditorFile end unit1.pas
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $00000008
TApplication.HandleException Access violation
  Stack trace:
  $00000008
Note: GetTextBuf is overridden for:
[FORMS.PP] ExceptionOccurred
[FORMS.PP] ExceptionOccurred


there is this  error          " ACCES VIOLATION"  and the program shutdown....


 :cry:  :cry:  :cry:  :cry:
why?please,help me

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Lazarus under Debian/Sparc
« Reply #5 on: August 17, 2006, 05:01:56 pm »
Can you create a back trace. See wiki for a short description how to do that.

 

TinyPortal © 2005-2018