Sign in Join

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

Mailing lists / lazarus / 2003-03

Newbie question

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Luis Mineiro

Hi,

I'm sorry if this has been answered before. I'm a new lazarus user and just got the RPMs from the FTP and installed them on my RedHat 8 box.

I installed fpcsrc and lazarus packages.

I start lazarus in a konsole with the command "lazarus". After it shows up I try to run the default project with the empty form in it. No code or objects are added.

I'm getting an error stating:

/tmp/project1.lpr(6,13) Fatal: Can't find unit INTERFACES

Many of you know the straight answer for this, so I'm asking kindly if someone could point me my error.

TIA.

Luis Mineiro () ZBit Software, Lda. (http://www.zbit.pt)

Reply by email

Mattias Gaertner
to Luis Mineiro
Show quoted text 6 lines
Hi Luis, If I'm understanding your issue correctly, in Lazarus, goto Environment->Environment Options and in the FPC Source directory edit box, type in the path of your source units (if you've installed with an RPM, it most likely should be /usr/bin/ppc386).

The RPM installs everything at default places, which is recognized by the IDE automatically. Also the IDE does some checks at startup and warns if the basic paths look suspicious. So it is not an src path issue. The error indicates that the interface unit was not compiled with the same compiler version. Maybe he has installed the wrong lazarus rpm for the fpc rpm. Anyway, this can be solved by using the lazarus src rpm and rebuilding it, which he did.

Mattias

Show quoted text 42 lines
Then try recompiling, hopefully it will work this time. Hope this helps. Cheers DC On Wed, 2003-03-26 at 22:43, Luis Mineiro wrote: > Hi, > > I'm sorry if this has been answered before. I'm a new lazarus user and > just got the RPMs from the FTP and installed them on my RedHat 8 box. > > I installed fpcsrc and lazarus packages. > > I start lazarus in a konsole with the command "lazarus". After it shows > up I try to run the default project with the empty form in it. No code > or objects are added. > > I'm getting an error stating: > > /tmp/project1.lpr(6,13) Fatal: Can't find unit INTERFACES > > Many of you know the straight answer for this, so I'm asking kindly if > someone could point me my error. > > TIA. > -- > Luis Mineiro () > ZBit Software, Lda. (http://www.zbit.pt) > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Luis Mineiro: I'm sorry if this has been answered before. I'm a new lazarus user and just got the RPMs…
Show quoted text 17 lines
Hi, I'm sorry if this has been answered before. I'm a new lazarus user and just got the RPMs from the FTP and installed them on my RedHat 8 box. I installed fpcsrc and lazarus packages. I start lazarus in a konsole with the command "lazarus". After it shows up I try to run the default project with the empty form in it. No code or objects are added. I'm getting an error stating: /tmp/project1.lpr(6,13) Fatal: Can't find unit INTERFACES Many of you know the straight answer for this, so I'm asking kindly if someone could point me my error.

This is the first rpm problem.
What fpc, fpcsrc and lazarus rpm do you use?

Plz run lazarus in a terminal and increase the verbosity of the compiler: Run -> Compiler Options -> Messages -> Show Everything

Compile again and send the output to this list.

Mattias

Reply by email

Luis Mineiro
to Luis Mineiro: I'm sorry if this has been answered before. I'm a new lazarus user and just got the RPMs…
Mattias Gaertner wrote 16 lines
This is the first rpm problem. What fpc, fpcsrc and lazarus rpm do you use? Plz run lazarus in a terminal and increase the verbosity of the compiler: Run -> Compiler Options -> Messages -> Show Everything Compile again and send the output to this list. Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

I think I've managed to get through the previous error. I did a full recompile both fpcsrc and lazarus. Re-installed the fpc RPM (1.1).

The only interface available is gtk? I was looking forward to use Qt. Maybe you could give me some help on this. The previous problem was solved.

Thanks.

Luis Mineiro () ZBit Software, Lda. (http://www.zbit.pt)

Reply by email

David Creelman
to Luis Mineiro: I'm sorry if this has been answered before. I'm a new lazarus user and just got the RPMs…

Hi Luis,

If I'm understanding your issue correctly, in Lazarus, goto Environment->Environment Options and in the FPC Source directory edit box, type in the path of your source units (if you've installed with an RPM, it most likely should be /usr/bin/ppc386).

Then try recompiling, hopefully it will work this time.

Hope this helps.

Cheers
DC

Luis Mineiro wrote 27 lines
Hi, I'm sorry if this has been answered before. I'm a new lazarus user and just got the RPMs from the FTP and installed them on my RedHat 8 box. I installed fpcsrc and lazarus packages. I start lazarus in a konsole with the command "lazarus". After it shows up I try to run the default project with the empty form in it. No code or objects are added. I'm getting an error stating: /tmp/project1.lpr(6,13) Fatal: Can't find unit INTERFACES Many of you know the straight answer for this, so I'm asking kindly if someone could point me my error. TIA. -- Luis Mineiro () ZBit Software, Lda. (http://www.zbit.pt) _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

David Creelman
to Luis Mineiro: I'm sorry if this has been answered before. I'm a new lazarus user and just got the RPMs…

Hi Mattias,

Yep, I got that wrong.

Cheers
DC

Mattias Gaertner wrote 69 lines
On 27 Mar 2003 20:07:54 +1100 David Creelman wrote: > Hi Luis, > > If I'm understanding your issue correctly, in Lazarus, goto > Environment->Environment Options and in the FPC Source directory edit > box, type in the path of your source units (if you've installed with an > RPM, it most likely should be /usr/bin/ppc386). The RPM installs everything at default places, which is recognized by the IDE automatically. Also the IDE does some checks at startup and warns if the basic paths look suspicious. So it is not an src path issue. The error indicates that the interface unit was not compiled with the same compiler version. Maybe he has installed the wrong lazarus rpm for the fpc rpm. Anyway, this can be solved by using the lazarus src rpm and rebuilding it, which he did. Mattias > > Then try recompiling, hopefully it will work this time. > > Hope this helps. > > Cheers > DC > > On Wed, 2003-03-26 at 22:43, Luis Mineiro wrote: > > Hi, > > > > I'm sorry if this has been answered before. I'm a new lazarus user and > > just got the RPMs from the FTP and installed them on my RedHat 8 box. > > > > I installed fpcsrc and lazarus packages. > > > > I start lazarus in a konsole with the command "lazarus". After it shows > > up I try to run the default project with the empty form in it. No code > > or objects are added. > > > > I'm getting an error stating: > > > > /tmp/project1.lpr(6,13) Fatal: Can't find unit INTERFACES > > > > Many of you know the straight answer for this, so I'm asking kindly if > > someone could point me my error. > > > > TIA. > > -- > > Luis Mineiro () > > ZBit Software, Lda. (http://www.zbit.pt) > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.lazarus.freepascal.org/mailarchives > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email