Sign in Join

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

Mailing lists / fpc-devel / 2006-05

Compiling fpc 2.0.x without text IDE (errors in revision 3626)

11 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Graeme Geldenhuys

Hi

At the moment I am using the following to compile FPC.

make install INSTALL_PREFIX=/opt/fpc_2.0.x

I never use the text ide (fp) and am getting compiler errors with it, after getting a svn update (revision 3626).

1) Conflict in the ide/MakeFile was checked into SVN.
2) After fixing that, I get a keyboard.pp unit was not found.

All these errors occur in the ide/ directory. I use Lazarus, so really don't need to compile it.

Is there some other command line I can add to my "make install..." mentioned above, that will skip the text ide project?

Regards,
- Graeme -

There's no place like 127.0.0.1

Reply by email

Graeme Geldenhuys
to Graeme Geldenhuys

Hi,

I looked into the main Makefile, to see if I could spot anything, so tried:

make install INSTALL_PREFIX=/opt/fpc_2.0.x TARGET_DIRS_IDE=0

but that also didn't do it. It still tried to compile the text ide project.

Regards,
Graeme.

Graeme Geldenhuys wrote 27 lines
Hi At the moment I am using the following to compile FPC. make install INSTALL_PREFIX=/opt/fpc_2.0.x I never use the text ide (fp) and am getting compiler errors with it, after getting a svn update (revision 3626). 1) Conflict in the ide/MakeFile was checked into SVN. 2) After fixing that, I get a keyboard.pp unit was not found. All these errors occur in the ide/ directory. I use Lazarus, so really don't need to compile it. Is there some other command line I can add to my "make install..." mentioned above, that will skip the text ide project? Regards, - Graeme - -- There's no place like 127.0.0.1
There's no place like 127.0.0.1

Reply by email

Daniël Mantione
to Graeme Geldenhuys: Hi At the moment I am using the following to compile FPC. make install…

Op Mon, 22 May 2006, schreef Graeme Geldenhuys:

Show quoted text 17 lines
Hi At the moment I am using the following to compile FPC. make install INSTALL_PREFIX=/opt/fpc_2.0.x I never use the text ide (fp) and am getting compiler errors with it, after getting a svn update (revision 3626). 1) Conflict in the ide/MakeFile was checked into SVN. 2) After fixing that, I get a keyboard.pp unit was not found. All these errors occur in the ide/ directory. I use Lazarus, so really don't need to compile it. Is there some other command line I can add to my "make install..." mentioned above, that will skip the text ide project?

You can make individual subprojects, for example
"make compiler_cycle rtl fv fcl", however, I don't think this is comfortable. Better fix the IDE compilation, try "fpcmake -Tall" in the IDE directory.

Daniël

Reply by email

Graeme Geldenhuys
to Daniël Mantione
Daniël Mantione wrote
You can make individual subprojects, for example "make compiler_cycle rtl fv fcl", however, I don't think this is comfortable. Better fix the IDE compilation, try "fpcmake -Tall" in the IDE directory.

OK, I did that fpcmake, though I ain't sure what it did. I did say something of creating a new Makefile.

I then did my normal make install with my install prefix and still got a error...

The last few line:
-------------------------------------
[....]
make[2]: Leaving directory `/opt/svn/fpc_2.0.x/src' make ide_distinstall FPC=/opt/svn/fpc_2.0.x/src/compiler/ppc386 RELEASE=1 make[2]: Entering directory `/opt/svn/fpc_2.0.x/src' make -C ide distinstall
make[3]: Entering directory `/opt/svn/fpc_2.0.x/src/ide' make buildfp
make[4]: Entering directory `/opt/svn/fpc_2.0.x/src/ide' make compilerunits
make[5]: Entering directory `/opt/svn/fpc_2.0.x/src/ide' make[5]: Nothing to be done for `compilerunits'.
make[5]: Leaving directory `/opt/svn/fpc_2.0.x/src/ide' make testgdb
make[5]: Entering directory `/opt/svn/fpc_2.0.x/src/ide' LibGDB not found
LIBGDBFILE=
GDBLIBDIR=/opt/svn/fpc_2.0.x/src/libgdb/linux

make[5]: Leaving directory `/opt/svn/fpc_2.0.x/src/ide' make fpc_all
make[5]: Entering directory `/opt/svn/fpc_2.0.x/src/ide' /opt/svn/fpc_2.0.x/src/compiler/ppc386 -Ur -Xs -OG2p3 -n -Sg -Fu/opt/svn/fpc_2.0.x/src/rtl/units/i386-linux
-Fu/opt/svn/fpc_2.0.x/src/fv/units/i386-linux
-Fu/opt/svn/fpc_2.0.x/src/packages/base/gdbint/units/i386-linux -Fu/opt/svn/fpc_2.0.x/src/packages/base/regexpr/units/i386-linux -FE. -FUunits/i386-linux -Fl/usr/lib/gcc/i486-linux-gnu/4.0.2 -Fl/usr/lib/libc5-compat -Fl/lib/libc5-compat
-Fl/usr/i486-linuxlibc1/lib -Fl/usr/lib/kylix3 -Fl/usr/lib -Fl/usr/local/lib -di386 -dRELEASE -dNODEBUG fp.pas keyboard.pp(76,10) Fatal: Can't find unit keyboard keyboard.pp(76,10) Fatal: Compilation aborted
make[5]: *** [fp] Error 1
make[5]: Leaving directory `/opt/svn/fpc_2.0.x/src/ide' make[4]: *** [buildfp] Error 2
make[4]: Leaving directory `/opt/svn/fpc_2.0.x/src/ide' make[3]: *** [gdb] Error 2
make[3]: Leaving directory `/opt/svn/fpc_2.0.x/src/ide' make[2]: *** [ide_distinstall] Error 2
make[2]: Leaving directory `/opt/svn/fpc_2.0.x/src' make[1]: *** [installother] Error 2
make[1]: Leaving directory `/opt/svn/fpc_2.0.x/src' make: *** [install] Error 2
-------------------------------------

Graeme.

There's no place like 127.0.0.1

Reply by email

Daniël Mantione
to Graeme Geldenhuys

Op Mon, 22 May 2006, schreef Graeme Geldenhuys:

On 5/22/06, Daniël Mantione wrote: > OK, I did that fpcmake, though I ain't sure what it did. I did say > something of creating a new Makefile.

That is what it does indeed.

> -Fu/opt/svn/fpc_2.0.x/src/rtl/units/i386-linux

It adds the rtl directory correctly. Please check is keyboard.ppu is present there.

Daniël

Reply by email

Graeme Geldenhuys
to Daniël Mantione
Daniël Mantione wrote
> > -Fu/opt/svn/fpc_2.0.x/src/rtl/units/i386-linux It adds the rtl directory correctly. Please check is keyboard.ppu is present there.

Yup!

ls -l keyboard.*
-rw-r--r-- 1 graemeg graemeg 27020 2006-05-19 09:45 keyboard.o -rw-r--r-- 1 graemeg graemeg 29753 2006-05-19 09:45 keyboard.ppu

I do notice that the date on those files are from the previous time I built fpc 2.0.3. I guess if keyboard.pp hasn't change since then, "make install ..." wouldn't recompile it. Or does 'make install...' clean out everything before it starts a new build?

Regards,
- Graeme -

Show quoted text 9 lines
Daniël _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel
There's no place like 127.0.0.1

Reply by email

Graeme Geldenhuys
to Marco van de Voort

I did notice that if I renamed the ide directory to ide.old, it managed to compile, but I wasn't sure if it would maybe skip other units it shouldn't have, so wondered it there was a parameter I could pass to make, to do it correctly.

I will try the IDE=0 now...

Graeme.

Marco van de Voort wrote 13 lines
> > At the moment I am using the following to compile FPC. > > make install INSTALL_PREFIX=/opt/fpc_2.0.x Try IDE=0, if that doesn't work, try renaming the fv dir. Both used to work, but don't know if they still do. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel
There's no place like 127.0.0.1

Reply by email

Graeme Geldenhuys
to Marco van de Voort: Try IDE=0, if that doesn't work, try renaming the fv dir. Both used to work, but don't…

Using IDE=0 doesn't work here, it still tried to compile the ide directory.

Graeme.

Marco van de Voort wrote 13 lines
> > At the moment I am using the following to compile FPC. > > make install INSTALL_PREFIX=/opt/fpc_2.0.x Try IDE=0, if that doesn't work, try renaming the fv dir. Both used to work, but don't know if they still do. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel
There's no place like 127.0.0.1

Reply by email

Daniël Mantione
to Graeme Geldenhuys: Yup! ls -l keyboard.* -rw-r--r-- 1 graemeg graemeg 27020 2006-05-19 09:45 keyboard.o…

Op Mon, 22 May 2006, schreef Graeme Geldenhuys:

Show quoted text 22 lines
On 5/22/06, Daniël Mantione wrote: > > > -Fu/opt/svn/fpc_2.0.x/src/rtl/units/i386-linux > > > > > > > > It adds the rtl directory correctly. Please check is > > > keyboard.ppu is > > > > present there. > > > > > > Yup! > > > > > > ls > > > -l keyboard.* > > > -rw-r--r-- 1 graemeg graemeg 27020 2006-05-19 09:45 keyboard.o > > > -rw-r--r-- 1 graemeg graemeg 29753 2006-05-19 09:45 > > > keyboard.ppu > > > > > > I do notice that the date on those files are from the previous > > > time I > > > built fpc 2.0.3. I guess if keyboard.pp hasn't change since > > > then, > > > "make install ..." wouldn't recompile it. Or does 'make > > > install...' > > > clean out everything before it starts a new build?

I think this might be the source of the problem, try a clean before making it. The 2.0 svn repository compiles fine here, so the problem must be on your computer.

Daniël

Reply by email

Graeme Geldenhuys
to Daniël Mantione
Daniël Mantione wrote 11 lines
> > > > I do notice that the date on those files are from the previous > > > > time I > > > > built fpc 2.0.3. I guess if keyboard.pp hasn't change since > > > > then, > > > > "make install ..." wouldn't recompile it. Or does 'make > > > > install...' > > > > clean out everything before it starts a new build? I think this might be the source of the problem, try a clean before making it. The 2.0 svn repository compiles fine here, so the problem must be on your computer.

Finally success!! Doing a 'make clean' before the 'make install ...' did the trick.
Thanks guys...!

Regards,
Graeme.

There's no place like 127.0.0.1

Reply by email