Sign in Join

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

Mailing lists / lazarus / 2003-09

File "/home/amead/interfacebase.pp" not found

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Mattias Gaertner
to Mattias Gaertner: On Thu, 25 Sep 2003 19:58:42 -0700 (PDT) You are still not using /etc/fpc.cfg, but…
Show quoted text 39 lines
--- Mattias Gaertner wrote: [...] > On Thu, 25 Sep 2003 19:58:42 -0700 (PDT) > Alan Mead wrote: > > > I'm still having trouble getting started with Lazarus 0.9.0.4. > When > > I try to run a project (by clicking the 'play' button) I get a > dialog > > saying "File "/home/amead/interfacebase.pp" not found". > > > > In the messages window, it says: > > > > syslinux.pp(5,1) Hint: Conditional I386 was set at startup in > last > > compilation of syslinux.pp > > interfacebase.pp(6,13) Fatal: Can't find unit CLASSES > > > > Here's my the output of 'ppc386 -vt foo': > > > > amead]$ ppc386 -vt foo > > Searching file ppc386.cfg... not found > > Searching file /home/amead/.ppc386.cfg... not found > > Searching file /etc/ppc386.cfg... not found > > Searching file fpc.cfg... found > > You are still not using /etc/fpc.cfg, but fpc.cfg in the current > directory. > Why do you have so many config files? You are not really a > beginner, are you > ;) I'm definitely a 've used freepascal for a while. I'll delete the extra file when I get home. I have two questions: (1) What does the error message about interfacebase.pp mean? Why would the file be in my home directory?

The compiler checked interfacebase.ppu and recursively checked used units, like the classes.ppu. It didn't found classes.ppu and so it gives an error. But instead of saying 'interfacebase.ppu: classes.ppu not found', it writes 'interfacebase.pp (y,x): ...', that was never involved. The IDE sees an error line and tries to jump to the error. Of course it must fail. After unsuccessfull search the IDE shows the first tested filename. Not very clever. I changed it in cvs.

(2) I've always installed from RPM but maybe my rpm is broken or something, I've had this "file or directory not found" errors on other src packages.

What other src packages?

Is there a short outline for how I would get the sources (i.e., a tarball or use the installed src RPM) and make them from scratch?

You must delete the fpc.cfg, so that /etc/fpc.cfg is used anyway. Then fpc should work.
I recommend to use the lazarus cvs.

The rpms are the easiest way.
The fpc install.sh is also very easy, although uninstall is not that comfortable.
Lazarus itself is just one big directory. So, install/uninstall is very easy.

Of course installing several versions and/or not cleaning up the last can make trouble.

Mattias

Reply by email

Alan Mead
to Mattias Gaertner: On Thu, 25 Sep 2003 19:58:42 -0700 (PDT) You are still not using /etc/fpc.cfg, but…
--- Mattias Gaertner wrote 29 lines
On Thu, 25 Sep 2003 19:58:42 -0700 (PDT) Alan Mead wrote: > I'm still having trouble getting started with Lazarus 0.9.0.4. When > I try to run a project (by clicking the 'play' button) I get a dialog > saying "File "/home/amead/interfacebase.pp" not found". > > In the messages window, it says: > > syslinux.pp(5,1) Hint: Conditional I386 was set at startup in last > compilation of syslinux.pp > interfacebase.pp(6,13) Fatal: Can't find unit CLASSES > > Here's my the output of 'ppc386 -vt foo': > > amead]$ ppc386 -vt foo > Searching file ppc386.cfg... not found > Searching file /home/amead/.ppc386.cfg... not found > Searching file /etc/ppc386.cfg... not found > Searching file fpc.cfg... found You are still not using /etc/fpc.cfg, but fpc.cfg in the current directory. Why do you have so many config files? You are not really a beginner, are you ;)

I'm definitely a 've used freepascal for a
while. I'll delete the extra file when I get home. I have two questions:

(1) What does the error message about interfacebase.pp mean? Why would the file be in my home directory?

(2) I've always installed from RPM but maybe my rpm is broken or something, I've had this "file or directory not found" errors on other src packages. Is there a short outline for how I would get the sources (i.e., a tarball or use the installed src RPM) and make them from scratch?

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com

Reply by email

Mattias Gaertner
to Alan Mead: I'm still having trouble getting started with Lazarus 0.9.0.4. When I try to run a…
Show quoted text 17 lines
I'm still having trouble getting started with Lazarus 0.9.0.4. When I try to run a project (by clicking the 'play' button) I get a dialog saying "File "/home/amead/interfacebase.pp" not found". In the messages window, it says: syslinux.pp(5,1) Hint: Conditional I386 was set at startup in last compilation of syslinux.pp interfacebase.pp(6,13) Fatal: Can't find unit CLASSES Here's my the output of 'ppc386 -vt foo': amead]$ ppc386 -vt foo Searching file ppc386.cfg... not found Searching file /home/amead/.ppc386.cfg... not found Searching file /etc/ppc386.cfg... not found Searching file fpc.cfg... found

You are still not using /etc/fpc.cfg, but fpc.cfg in the current directory. Why do you have so many config files? You are not really a beginner, are you ;)

Mattias

Reply by email

Andrew Johnson

its looking in the home dir probably because you have managed to screw everything up with having multiple config files. Since Upgrading rpms or removing rpms afaik will remove or backup configs I can only guess, but either you have been forcing rpms to install instead of upgrading or removing first, or as you say the rpms are broken. I would check for what fpc rpm's you have installed and then just remove them all. make sure all fpc and ppc386 configs are gone from the search path(both home dir and /etc), and install over again with a fresh install of the lazarus fpc and fpcsrc rpm from sourceforge(NOT the .src.rpm unless you know what you are doing). Then get a fresh copy of lazarus source from cvs and try a simple make, then run from the current directory the resulting ./lazarus and try and run a simple program. If that still doesn't fix it then I am clueless, there is only so much you can do to screw it up if you follow the proper way of doing things.

Andrew

Earlier message 62 lines
-----Original Message----- From: Alan Mead Sent: Sep 26, 2003 11:31 AM To: Subject: Re: [lazarus] File "/home/amead/interfacebase.pp" not found --- Mattias Gaertner wrote: > On Thu, 25 Sep 2003 19:58:42 -0700 (PDT) > Alan Mead wrote: > > > I'm still having trouble getting started with Lazarus 0.9.0.4. > When > > I try to run a project (by clicking the 'play' button) I get a > dialog > > saying "File "/home/amead/interfacebase.pp" not found". > > > > In the messages window, it says: > > > > syslinux.pp(5,1) Hint: Conditional I386 was set at startup in > last > > compilation of syslinux.pp > > interfacebase.pp(6,13) Fatal: Can't find unit CLASSES > > > > Here's my the output of 'ppc386 -vt foo': > > > > amead]$ ppc386 -vt foo > > Searching file ppc386.cfg... not found > > Searching file /home/amead/.ppc386.cfg... not found > > Searching file /etc/ppc386.cfg... not found > > Searching file fpc.cfg... found > > You are still not using /etc/fpc.cfg, but fpc.cfg in the current > directory. > Why do you have so many config files? You are not really a > beginner, are you > ;) I'm definitely a 've used freepascal for a while. I'll delete the extra file when I get home. I have two questions: (1) What does the error message about interfacebase.pp mean? Why would the file be in my home directory? (2) I've always installed from RPM but maybe my rpm is broken or something, I've had this "file or directory not found" errors on other src packages. Is there a short outline for how I would get the sources (i.e., a tarball or use the installed src RPM) and make them from scratch? __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Alan Mead

I'm still having trouble getting started with Lazarus 0.9.0.4. When I try to run a project (by clicking the 'play' button) I get a dialog saying "File "/home/amead/interfacebase.pp" not found".

In the messages window, it says:

syslinux.pp(5,1) Hint:  Conditional I386 was set at startup in last
compilation of syslinux.pp
interfacebase.pp(6,13) Fatal: Can't find unit CLASSES

Here's my the output of 'ppc386 -vt foo':

amead]$ ppc386 -vt foo
Searching file ppc386.cfg... not found
Searching file /home/amead/.ppc386.cfg... not found Searching file /etc/ppc386.cfg... not found
Searching file fpc.cfg... found
Searching file foo.pp... not found
Searching file foo.pas... not found
Searching file /lib/ld-linux.so.2... found
Searching file /lib/ld-2.0.*... not found
Compiler: /usr/lib/fpc/1.0.10/ppc386
Using executable path: /usr/lib/fpc/1.0.10/
Using unit path: /usr/lib/fpc/1.0.10/units/linux/
Using unit path: /usr/lib/fpc/1.0.10/units/linux/rtl/ Using unit path: /usr/lib/fpc/1.0.10/
Using library path: /lib/
Using library path: /usr/lib/
Using library path: /usr/X11R6/lib/
Using library path: /usr/lib/fpc/1.0.10/units/linux/ Using library path: /usr/lib/fpc/1.0.10/units/linux/rtl/ Using library path: /usr/lib/fpc/1.0.10/
Using object path: /usr/lib/fpc/1.0.10/units/linux/ Using object path: /usr/lib/fpc/1.0.10/units/linux/rtl/ Using object path: /usr/lib/fpc/1.0.10/
Fatal: Can't open file foo

Here's the output of 'rpm -qa | grep -i fpc':

amead]$ rpm -qa | grep -i fpc
fpc-docs-1.0.10-0
fpc-1.0.10-0
fpcsrc-1.0.10-0
lazarus-0.9.0.4-fpc_1.0.10_030911

Here's /etc/fpc.cfg:

amead]$ cat /etc/fpc.cfg | grep -v '^$' | grep -v '^#' -OG2p3
-Xs
#WRITE Compiling Release Version
-g
-Crtoi
#WRITE Compiling Debug Version
-Sgic
-Fu/usr/lib/fpc/1.0.10/units/$target
-Fu/usr/lib/fpc/1.0.10/units/$target/fcl
-Fu/usr/lib/fpc/1.0.10/units/$target/*
-Fu/usr/lib/fpc/1.0.10/units/$target/rtl
-Fl/usr/lib/gcc-lib/i386-redhat-linux/2.96
-Xs
-l
-viwn

-Alan

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com

Reply by email