[lazarus] Newbie Q : Can't find classes.pas...

marius popa mapopa at reea.net
Thu Aug 22 12:50:16 EDT 2002


This should be put inside the howto 
realy worth it 
> Also note that the "missing" gtk.ppu was solved for me when I deleted a 
> stale /etc/ppc386.cfg (now only /etc/fpc.cfg should it used). Look if 
> you have the /etc/ppc386.cfg and if so, remove it and see what happens.

I have tried to compile lazarus and now works good :)


> 
> Michal
> 
> David Creelman wrote:
> 
> >Hi Mattias,
> >
> >Here it is.
> >
> >The only change I made was in Makefile.fpc to try to get it to find gtk
> >
> >	unitdir=lcl/units /usr/lib/fpc/1.0.6/units/linux/gtk lcl/u....
> >
> >This didn't work, copying the ppu did. I'm using the 1.0.6 fpc rpm and 
> >downloaded and installed the source rpm as well.
> >
> >Cheers
> >DC
> >On Sat, 2002-06-29 at 01:14, Mattias Gaertner wrote:
> >  
> >
> >>On 29 Jun 2002 00:46:48 +1000
> >>David Creelman <dave at geko.net.au> wrote:
> >>
> >>    
> >>
> >>>>Also you mentioned, that you just copied gtk.pp. I guess you ment gtk.ppu.
> >>>>        
> >>>>
> >>>Yes.
> >>>      
> >>>
> >>>>What about the other files in the /usr/lib/fpc/1.0.6/units/linux/gtk/ directory?
> >>>>        
> >>>>
> >>>Yes I couldn't get it to compile until I copied over the .ppu to the
> >>>./lcl/units/gtk/ directory. The Makefile didn't seem to find them. I
> >>>looked at the directions in the FAQ and everything was okay, so I
> >>>thought I'd try copying the .ppus and it worked.....
> >>>      
> >>>
> >>Hmm. You are now the third person with the gtk.ppu problem. It seems, that the compiler sometimes don't like it's own units. It always disappears mysteriously. Can you add the -va option to your fpc.cfg and do a 'make clean all' and send me the log plz? Perhaps I find out what the problem is.
> >>This 'make clean all' should erase your .ppus in lcl/units/gtk.
> >>
> >>
> >>    
> >>
> >>>>>I don't have too much spare time, but I'd like to tinker. What needs
> >>>>>doing ?
> >>>>>          
> >>>>>
> >>>>A lot of things. 
> >>>>Do you like to help with the IDE (form editing, codetools, source editor, debugger, documentation), the LCL (components, images, docs) or the interfaces (components, images, docs)?
> >>>>        
> >>>>
> >>>Are events working ? I tried to setup a FormShow event and it didn't
> >>>seem to work....
> >>>
> >>>Form editing sounds interesting. There are lots of todos in
> >>>customformeditor.pas, the code looks pretty complicated. I'll give it a
> >>>go though.
> >>>      
> >>>
> >>It would be nice, if you would send me comments/notes/annotations for the code. So that the next one will have it easier to participate. 
> >>
> >>
> >>    
> >>
> >>>Is this where I'd start looking ?
> >>>      
> >>>
> >>Yes. Almost all form editing code can be found in the designer/ directory and in customformeditor.pp and main.pp. I'm currently busy with the gtk2 bindings, but I hope to return to the form editing next week.
> >>
> >>
> >>    
> >>
> >>>....Also is there a unit test suite set up ???
> >>>      
> >>>
> >>No. But we definitely need one. Does anyone know a nice one?
> >>
> >>
> >>Mattias
> >>
> >>_________________________________________________________________
> >>     To unsubscribe: mail lazarus-request at miraclec.com with
> >>                "unsubscribe" as the Subject
> >>    archives at http://www.miraclec.com/list_archives/lazarus
> >>    
> >>
> >
> >  
> >
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus






More information about the Lazarus mailing list