Hello, until today I prefered gpc's binary distribution. But there is no recent gpc binary for x86 Linux. So I've tried to compile gpc-19990813 on my machine, using SuSE Linux 6.1 with egcs-2.91.66 on a Intel P90 :-| First of all I've removed all old gpc releated files (I hope so) Followed by: su cd /usr/src tar -xvzf gpc-19990813.tar.gz mv gpc/p egcs-1.1/p cd /usr/src/egcs-1.1 chgrp -R users * chown -R achim * # I've done this to avoid problems with different rigths exit I've now the following structure: egcs source is in /usr/src/egcs-1.1 gcc source is in /usr/src/egcs-1.1/gcc gpc source is in /usr/src/egcs-1.1/gcc/p # now as user "achim": cd /usr/src/egcs-1.1/gcc ./configure make LANGUAGES=pascal 2>x.x cat x.x ------ Makefile:4869: warning: overriding commands for target `check-gpc' Makefile:4865: warning: ignoring old commands for target `check-gpc' make: Circular cplib2.ready <- pascal dependency dropped. cat: ./p/gpc_release: No such file or directory ^^^^^^^^^^^ this file exists! make: *** No rule to make target `prefix.h', needed by `gcj.o'. Stop. ------ So what goes wrong? Please Help! (I'm not very experienced in compiling source distributions) Achim -- Achim Kalwa Tel.: +49 (0) 5483 / 74265 Hofbreede 8 Fax : +49 (0) 5483 / 74266 D-49536 Lienen Mobil: +49 (0) 172 / 211 37 44 mailto:achim.kalwa@gmx.net PGP Public Key available.
Hallo, Achim!
So what goes wrong? Please Help!
Let us first examine the trivial possibilities. You write:
mv gpc/p egcs-1.1/p [...] gpc source is in /usr/src/egcs-1.1/gcc/p
No, it is in egcs-1.1/p. But it belongs into egcs-1.1/gcc/p.
Makefile:4869: warning: overriding commands for target `check-gpc' Makefile:4865: warning: ignoring old commands for target `check-gpc' make: Circular cplib2.ready <- pascal dependency dropped. cat: ./p/gpc_release: No such file or directory ^^^^^^^^^^^ this file exists! make: *** No rule to make target `prefix.h', needed by `gcj.o'. Stop.
Yes, the above could really be the problem. Please check. Noch viel Spass ;-) Peter -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: ftp://ftp.gerwinski.de/pub/keys/ - AntiSpam: http://spam.abuse.net
Achim Kalwa writes:
Hello,
until today I prefered gpc's binary distribution. But there is no recent gpc binary for x86 Linux.
Sure, there is. Look at http://www.debian.org/distrib/packages or http://cgi.debian.org/cgi-bin/search_packages.pl?keywords=gpc&searchon=names... Use alien to convert the package to rpm format (or install Debian GNU/Linux ;-).
participants (3)
-
Achim Kalwa -
Matthias Klose -
Peter Gerwinski