Sign in Join

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

Mailing lists / lazarus / 2008-07

Carbon: Error rebuilding Lazarus

8 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Bent Normann Olsen

Hi all,

I have installed the latest Lazarus snapshot for Mac i386 (0.9.25beta, FPC 2.2.2, r15730), and managed to set it up to be stable, compile test programs and applications, and they are all working exactly as they would with previous installation with FPC 2.2.0.

Now I need to rebuild Lazarus, so I can install different packages. I checked all parts of Lazarus to Clean+Build, checked "Clean All" and "With packages", and hit build.

The compilation goes through all parts with no errors, except at the end, which says:

[snip]
make[2]: Entering directory `/usr/local/share/lazarus/ide' /usr/local/bin/ppc386 -gl -Fu../lcl/units/i386-darwin -Fu../lcl/units/i386-darwin/carbon
-Fu../components/codetools/units/i386-darwin
-Fu../components/synedit/units/i386-darwin -Fu../components/custom -Fu../components/mpaslex -Fu../ideintf/units/i386-darwin -Fu../designer -Fu../designer/jitform/units/i386-darwin -Fu../debugger -Fu../converter -Fu../packager -Fu../packager/units/i386-darwin -Fu../units/i386-darwin -Fu. -Fu/usr/local/lib/fpc/2.2.2/units/i386-darwin/rtl
-Fu/usr/local/lib/fpc/2.2.2/units/i386-darwin/regexpr -Fiinclude -Fiinclude/darwin -Fi../images -FE.. -FU../units/i386-darwin -Fl/usr/X11R6/lib -Fl/sw/lib @/Users/bent/.lazarus/idemake.cfg -k-framework -kcarbon -k-framework -kOpenGL -k-dylib_file
-k/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dyl ib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dy lib -di386 lazarus.pp
Free Pascal Compiler version 2.2.2rc1 [2008/07/10] for i386 Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Darwin for i386
Compiling lazarus.pp
PPU Loading
/usr/local/share/lazarus/lcl/units/i386-darwin/carbon/carbonint.ppu PPU Source: carbonint.pas not found
PPU Source: carbondebug.inc not found
PPU Source: carbonwinapih.inc not found
PPU Source: carbonlclintfh.inc not found
PPU Source: carbonobject.inc not found
PPU Source: carbonwinapi.inc not found
PPU Source: carbonlclintf.inc not found
PPU Source: carbonimages.lrs not found
Recompiling CarbonInt, checksum changed for MacOSAll carbonint.pas(74,11) Fatal: Can't find unit CarbonInt used by Interfaces

I can find the *.ppu and *.o files in
/usr/local/share/lazarus/lcl/units/i386-darwin/carbon/, and they're all freshly compiled.
Lazarus finds CarbonInt.pas in
/usr/local/share/lazarus/lcl/interface/carbon/, and breaks at line 74 (11), which makes no sense, except if the compiled unit is different than the source found.

What do I need to do?

Thanks, and best regards,
Normann

Reply by email

Bent Normann Olsen
to Bent Normann Olsen

I found out what happened - I forgot to delete old compiled units under a subfolder for a specific package.

[snip]

Show quoted text 15 lines
Target OS: Darwin for i386 Compiling lazarus.pp PPU Loading /usr/local/share/lazarus/lcl/units/i386-darwin/carbon/carbonint.ppu PPU Source: carbonint.pas not found PPU Source: carbondebug.inc not found PPU Source: carbonwinapih.inc not found PPU Source: carbonlclintfh.inc not found PPU Source: carbonobject.inc not found PPU Source: carbonwinapi.inc not found PPU Source: carbonlclintf.inc not found PPU Source: carbonimages.lrs not found Recompiling CarbonInt, checksum changed for MacOSAll carbonint.pas(74,11) Fatal: Can't find unit CarbonInt used by Interfaces

[snip]

Thanks,
Normann

Reply by email

Bruno Chavez
to Bent Normann Olsen

Hi all!!

I need to create a project, but I want to make it with lazarus, only if it can be done...

Lazarus can create a project that every 5 seconds open a web page, php, and the php give to it some instructions, like copy a file, then the lazarus open a ftp to the server and download a file, or upload a file, or open a web page in php with some post information???

do you think that lazarus can support this???

Regards
Bruno Ch?vez

__________________________________________________ Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ?gratis! Reg?strate ya - http://correo.yahoo.com.mx/

Reply by email

Mattias Gaertner
to Bruno Chavez
Show quoted text 11 lines
Hi all!! I need to create a project, but I want to make it with lazarus, only if it can be done... Lazarus can create a project that every 5 seconds open a web page, php, and the php give to it some instructions, like copy a file, then the lazarus open a ftp to the server and download a file, or upload a file, or open a web page in php with some post information??? do you think that lazarus can support this???

Yes. What you need is one of the internet packages, like Synapse, Indy or lnet. I assume the php runs on apache?

Mattias

Reply by email

Bruno Chavez
to Mattias Gaertner

Hi

Yes, Runs on apache... what of all is more easy to use? because I don't be expert in lazarus...

Regards
Bruno Ch?vez

--- El vie 11-jul-08, Mattias Gaertner escribi?:

Show quoted text 33 lines
De:: Mattias Gaertner Asunto: Re: [Lazarus] FTP, web page, etc. controls A: Fecha: viernes, 11 julio, 2008, 7:35 am On Fri, 11 Jul 2008 07:06:55 -0700 (PDT) Bruno Chavez wrote: > Hi all!! > > I need to create a project, but I want to make it with lazarus, only > if it can be done... > > Lazarus can create a project that every 5 seconds open a web page, > php, and the php give to it some instructions, like copy a file, then > the lazarus open a ftp to the server and download a file, or upload a > file, or open a web page in php with some post information??? > > do you think that lazarus can support this??? Yes. What you need is one of the internet packages, like Synapse, Indy or lnet. I assume the php runs on apache? Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

__________________________________________________ Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ?gratis! Reg?strate ya - http://correo.yahoo.com.mx/

Reply by email

matt shaffer
to Bee

Well if you mean having yourwebsite.com/myphpfile.php giving instructions to your application, that's very possible. Simple connect to the server and act like you're 'downloading' the file. Then, the server will automatically execute the php code and pass what you want. Then use string handling functions.

Bee wrote 14 lines
> So basically you need a network framework for the communication and a > fastcgi/cgi interface to talk with PHP. > > Not trivial but doable. Check out extpascal (http://extpascal.googlecode.com). It has fast cgi unit, also cgi gateway to fast cgi. The TS could start from it. -Bee- _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080711/a4c488f1/attachment.html

Reply by email