Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-09

Lazbuild on IBM Power6 (OpenSuse Linux)

13 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

As I must deploy a Lazarus CGI on this machine, an IBM 560 with a PowerPC processor using OpenSuse Linux, and I'm getting some Access Violations on places where the x86-64 works ok, I'm offering access to this machine to the Lazarus developers.

Then machine has Gnome 2.x (from 2006) installed, but I didn't tested, since I don't need it, I just have to log in using SSH, compile my app and run it.

I've installed FPC 2.7.1 from sources and Lazarus also from sources.

If anyone is interested in helping me with this, I can give a user/pass.

Regards,

Reply by email

Mark Morgan Lloyd
to Leonardo M. Ramé
Leonardo M. Ram? wrote 12 lines
As I must deploy a Lazarus CGI on this machine, an IBM 560 with a PowerPC processor using OpenSuse Linux, and I'm getting some Access Violations on places where the x86-64 works ok, I'm offering access to this machine to the Lazarus developers. Then machine has Gnome 2.x (from 2006) installed, but I didn't tested, since I don't need it, I just have to log in using SSH, compile my app and run it. I've installed FPC 2.7.1 from sources and Lazarus also from sources. If anyone is interested in helping me with this, I can give a user/pass.

Reality check for the record please: is this 64- or 32-bit? Also assuming FPC and Lazarus both trunk, what revision numbers?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Leonardo M. Ramé
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 18 lines
Leonardo M. Ram? wrote: >As I must deploy a Lazarus CGI on this machine, an IBM 560 with a >PowerPC processor using OpenSuse Linux, and I'm getting some Access >Violations on places where the x86-64 works ok, I'm offering access to >this machine to the Lazarus developers. > >Then machine has Gnome 2.x (from 2006) installed, but I didn't tested, >since I don't need it, I just have to log in using SSH, compile my app >and run it. > >I've installed FPC 2.7.1 from sources and Lazarus also from >sources. > >If anyone is interested in helping me with this, I can give a user/pass. Reality check for the record please: is this 64- or 32-bit? Also assuming FPC and Lazarus both trunk, what revision numbers?

Here's the info:

uname -a: Linux linux-uftu 2.6.16.60-0.21-ppc64 #1 SMP Tue May 6 12:41:02 UTC 2008 ppc64 ppc64 ppc64 GNU/Linux

FPC rev. 22377
Lazarus rev. 38627

Reply by email

Chavoux Luyt
to Leonardo M. Ramé

Hi Leonardo

Leonardo M. Ram? wrote 7 lines
On 2012-09-17 09:18:22 +0000, Mark Morgan Lloyd wrote: > Leonardo M. Ram? wrote: > > > >I've installed FPC 2.7.1 from sources and Lazarus also from > >sources. > >

Just one question: Are you sure Lazarus works with FPC2.7.1? I got the idea that it only works with FPC2.6? I might be wrong and it might not be a problem when installing from source, though. Just an idea to check.

Cheers
Chavoux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120917/d1bdb553/attachment.html>

Reply by email

Leonardo M. Ramé
to Chavoux Luyt
Chavoux Luyt wrote 18 lines
Hi Leonardo On 17 September 2012 13:53, Leonardo M. Ram? <[1]> wrote: On 2012-09-17 09:18:22 +0000, Mark Morgan Lloyd wrote: > Leonardo M. Ram? wrote: ? > > > >I've installed FPC 2.7.1 from sources and Lazarus also from > >sources. > > Just one question: Are you sure Lazarus works with FPC2.7.1? I got the idea that it only works with FPC2.6? I might be wrong and it might not be a problem when installing from source, though. Just an idea to check. Cheers Chavoux

Chavoux, yes, at least it works in my Ubuntu Linux x64, even cross compiling to Win32.

Reply by email

Mattias Gaertner
to Chavoux Luyt: Hi Leonardo Just one question: Are you sure Lazarus works with FPC2.7.1? I got the idea…
Show quoted text 14 lines
Hi Leonardo On 17 September 2012 13:53, Leonardo M. Ram? wrote: > On 2012-09-17 09:18:22 +0000, Mark Morgan Lloyd wrote: > > Leonardo M. Ram? wrote: > > > > > >I've installed FPC 2.7.1 from sources and Lazarus also from > > >sources. > > > > Just one question: Are you sure Lazarus works with FPC2.7.1? I got the idea that it only works with FPC2.6? I might be wrong and it might not be a problem when installing from source, though. Just an idea to check.

There were some fpc 2.7.1 revisions that didn't work with Lazarus, but usually and currently it does.

Mattias

Reply by email

Mark Morgan Lloyd
to Mattias Gaertner
Mattias Gaertner wrote
On Mon, 17 Sep 2012 14:02:30 +0200Chavoux Luyt wrote: > Hi Leonardo> > On 17 September 2012 13:53, Leonardo M. Ram? wrote:> > > On 2012-09-17 09:18:22 +0000, Mark Morgan Lloyd wrote:> > > Leonardo M. Ram? wrote:> > > >> > > >I've installed FPC 2.7.1 from sources and Lazarus also from> > > >sources.> > > >> >> Just one question: Are you sure Lazarus works with FPC2.7.1? I got the idea> that it only works with FPC2.6? I might be wrong and it might not be a> problem when installing from source, though. Just an idea to check. There were some fpc 2.7.1 revisions that didn't work with Lazarus, butusually and currently it does.

I don't know whether this helps, but overnight I've built Lazarus trunk (r38724) on FPC 2.7.1 (r22414) for 32-bit PPC on Debian and basic operation appears OK.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Leonardo M. Ramé
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 13 lines
Mattias Gaertner wrote: >On Mon, 17 Sep 2012 14:02:30 +0200Chavoux Luyt wrote: >>Hi Leonardo> > On 17 September 2012 13:53, Leonardo M. Ram? wrote:> > > On 2012-09-17 09:18:22 +0000, Mark Morgan Lloyd wrote:> > > Leonardo M. Ram? wrote:> > > >> > > >I've installed FPC 2.7.1 from sources and Lazarus also from> > > >sources.> > > >> >> Just one question: Are you sure Lazarus works with FPC2.7.1? I got the idea> that it only works with FPC2.6? I might be wrong and it might not be a> problem when installing from source, though. Just an idea to check. >There were some fpc 2.7.1 revisions that didn't work with Lazarus, butusually and currently it does. I don't know whether this helps, but overnight I've built Lazarus trunk (r38724) on FPC 2.7.1 (r22414) for 32-bit PPC on Debian and basic operation appears OK. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk

I've compiled FPC Trunk from 10 minutes ago, also updated Lazarus SVN Trunk and compiled. I'm getting some linking errors.

Here's the result:
...
Linking ../startlazarus
/usr/bin/ld: saltando el /opt/gnome/lib//libgdk_pixbuf-2.0.so incompatible mientras se buscaba -lgdk_pixbuf-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libgtk-x11-2.0.so incompatible mientras se buscaba -lgtk-x11-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libgdk-x11-2.0.so incompatible mientras se buscaba -lgdk-x11-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libgobject-2.0.so incompatible mientras se buscaba -lgobject-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libgobject-2.0.a incompatible mientras se buscaba -lgobject-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libglib-2.0.so incompatible mientras se buscaba -lglib-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libglib-2.0.a incompatible mientras se buscaba -lglib-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libgthread-2.0.so incompatible mientras se buscaba -lgthread-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libgthread-2.0.a incompatible mientras se buscaba -lgthread-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libgmodule-2.0.so incompatible mientras se buscaba -lgmodule-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libgmodule-2.0.a incompatible mientras se buscaba -lgmodule-2.0
/usr/bin/ld: saltando el /opt/gnome/lib//libpango-1.0.so incompatible mientras se buscaba -lpango-1.0
/usr/bin/ld: saltando el /opt/gnome/lib//libatk-1.0.so incompatible mientras se buscaba -latk-1.0
474 lines compiled, 6.3 sec
make[2]: Leaving directory `/home/leonardo/lazarus/ide' make[1]: Leaving directory `/home/leonardo/lazarus/ide'

Maybe those are causing the problems with my CGI app. Aparently all those are related to Gnome, is it possible to compile lazarus nogui?. I don't need the ide, I just need to compile an app.

Regards,

Reply by email

Vincent Snijders
to Leonardo M. Ramé

2012/9/18 Leonardo M. Ram? :

Maybe those are causing the problems with my CGI app. Aparently all those are related to Gnome, is it possible to compile lazarus nogui?. I don't need the ide, I just need to compile an app.

Then, don't compile lazarus, but just lazbuild:

make clean lazbuild

Vincent

Reply by email

Mattias Gaertner
to Leonardo M. Ramé: I've compiled FPC Trunk from 10 minutes ago, also updated Lazarus SVN Trunk and compiled.…

"Leonardo M. Ram?" hat am 18. September 2012 um 14:47 geschrieben:

Show quoted text 5 lines
On 2012-09-18 09:36:02 +0000, Mark Morgan Lloyd wrote: [...] Maybe those are causing the problems with my CGI app. Aparently all those are related to Gnome, is it possible to compile lazarus nogui?. I don't need the ide, I just need to compile an app.

This builds lazbuild
make clean lazbuild

Then compile your project with nogui:
./lazbuild --ws=nogui /path/to/your/project.lpi

Mattias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120918/c39c8f7a/attachment.html>

Reply by email

Leonardo M. Ramé
to Mattias Gaertner
Mattias Gaertner wrote 18 lines
"Leonardo M. Ram?" hat am 18. September 2012 um 14:47 geschrieben: > On 2012-09-18 09:36:02 +0000, Mark Morgan Lloyd wrote: >[...] > Maybe those are causing the problems with my CGI app. Aparently all > those are related to Gnome, is it possible to compile lazarus nogui?. I > don't need the ide, I just need to compile an app. This builds lazbuild make clean lazbuild ? Then compile your project with nogui: ./lazbuild --ws=nogui /path/to/your/project.lpi ? ? Mattias ? ?

That didn't work:

....
Compiling ./nogui/noguiwsfactory.pas
Assembling noguiwsfactory
interfaces.pp(32,18) Hint: Unit "NoGUIWSFactory" not used in Interfaces Assembling interfaces
alllclintfunits.pas(6,8) Hint: Unit "NoGUIInt" not used in AllLCLIntfUnits
alllclintfunits.pas(7,8) Hint: Unit "NoGUIWSFactory" not used in AllLCLIntfUnits
Assembling alllclintfunits
lcl.pas(10,3) Hint: Unit "AllLCLIntfUnits" not used in LCL TExternalToolList.Run Se produjo un fallo al ejecutar la herramienta Access violation
Stack trace:
$0000000000000000
$000000001012F8B8
$000000001012E728
$000000001012E130
$0000000010163440
$00000000101BEF24
$00000000101A26E8
$00000000101A0DF4
$00000000100042C0
$000000001000199C
$00000000100089E8
$000000001000BC54
$0000000010000938

$00000000101D11B8
$0000000010067A40
$00000000100014D0
$000000001011FE50
$0000000010163884
$00000000101BEF24
$00000000101A26E8
$00000000101A0DF4
$00000000100042C0
ERROR: Se produjo un fallo al ejecutar la herramienta No se ha podido ejecutar la herramienta "Compilando paquete LCL 1.0.1": Access violation
lazbuild no es interactivo, abortando.

Reply by email

Mark Morgan Lloyd
to Leonardo M. Ramé: I've compiled FPC Trunk from 10 minutes ago, also updated Lazarus SVN Trunk and compiled.…
Leonardo M. Ram? wrote 22 lines
On 2012-09-18 09:36:02 +0000, Mark Morgan Lloyd wrote: > Mattias Gaertner wrote: >> On Mon, 17 Sep 2012 14:02:30 +0200Chavoux Luyt wrote: >>> Hi Leonardo> > On 17 September 2012 13:53, Leonardo M. Ram? wrote:> > > On 2012-09-17 09:18:22 +0000, Mark Morgan Lloyd wrote:> > > Leonardo M. Ram? wrote:> > > >> > > >I've installed FPC 2.7.1 from sources and Lazarus also from> > > >sources.> > > >> >> Just one question: Are you sure Lazarus works with FPC2.7.1? I got the idea> that it only works with FPC2.6? I might be wrong and it might not be a> problem when installing from source, though. Just an idea to check. >> There were some fpc 2.7.1 revisions that didn't work with Lazarus, butusually and currently it does. > I don't know whether this helps, but overnight I've built Lazarus > trunk (r38724) on FPC 2.7.1 (r22414) for 32-bit PPC on Debian and > basic operation appears OK. > > -- > Mark Morgan Lloyd > markMLl .AT. telemetry.co .DOT. uk > I've compiled FPC Trunk from 10 minutes ago, also updated Lazarus SVN Trunk and compiled. I'm getting some linking errors. Here's the result: ... Linking ../startlazarus /usr/bin/ld: saltando el /opt/gnome/lib//libgdk_pixbuf-2.0.so incompatible mientras se buscaba -lgdk_pixbuf-2.0

Wasn't there a recent change where the prerequisite version of gtk was incremented? Try building for Qt or (as suggested) lazbuild only.

However unless you really need trunk I think you ought to be using Lazarus 1.0 + FPC 2.6.0: there are still issues in later versions e.g. http://mantis.freepascal.org/view.php?id=22463

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Leonardo M. Ramé
Mattias Gaertner wrote 19 lines
On Sun, 16 Sep 2012 20:30:50 -0300 Leonardo M. Ram? wrote: > As I must deploy a Lazarus CGI on this machine, an IBM 560 with a > PowerPC processor using OpenSuse Linux, and I'm getting some Access > Violations on places where the x86-64 works ok, I'm offering access to > this machine to the Lazarus developers. > > Then machine has Gnome 2.x (from 2006) installed, but I didn't tested, > since I don't need it, I just have to log in using SSH, compile my app > and run it. > > I've installed FPC 2.7.1 from sources and Lazarus also from sources. > > If anyone is interested in helping me with this, I can give a user/pass. I can take a look. Mattias

Thanks I've sent a private email.

Reply by email