Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #31561 > unrolled thread

building gforth from sources on linux x64

Started byArkady Rost <arkrost@gmail.com>
First post2014-06-15 11:58 -0700
Last post2014-06-21 13:59 -0700
Articles 7 — 5 participants

Back to article view | Back to comp.lang.forth


Contents

  building gforth from sources on linux x64 Arkady Rost <arkrost@gmail.com> - 2014-06-15 11:58 -0700
    Re: building gforth from sources on linux x64 Bernd Paysan <bernd.paysan@gmx.de> - 2014-06-16 02:12 +0200
    Re: building gforth from sources on linux x64 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-06-16 07:46 +0000
      Re: building gforth from sources on linux x64 "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-06-16 04:38 -0400
      Re: building gforth from sources on linux x64 Arkady Rost <arkrost@gmail.com> - 2014-06-18 11:35 -0700
        Re: building gforth from sources on linux x64 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-06-20 11:37 +0000
          Re: building gforth from sources on linux x64 Arkadii Rost <arkrost@gmail.com> - 2014-06-21 13:59 -0700

#31561 — building gforth from sources on linux x64

FromArkady Rost <arkrost@gmail.com>
Date2014-06-15 11:58 -0700
Subjectbuilding gforth from sources on linux x64
Message-ID<098b3f6a-cbf5-4ef8-91c0-9a143062c2a5@googlegroups.com>
Hi all

I'm trying to build gforth from repository on gentoo x64, but some errors appear during make.

Running: make
if test -r version && test x'0.7.9_20140402' = x`cat version` ; then true ; else echo 0.7.9_20140402 > version ; fi
GFORTH="./preforth -p ".:~+:."" ./gfgen
Makefile:901: recipe for target 'engine/prim_lab.i' failed


Does anyone know how to resolve this problem?

[toc] | [next] | [standalone]


#31575

FromBernd Paysan <bernd.paysan@gmx.de>
Date2014-06-16 02:12 +0200
Message-ID<lnlcol$24q$1@online.de>
In reply to#31561
Arkady Rost wrote:

> Hi all
> 
> I'm trying to build gforth from repository on gentoo x64, but some errors
> appear during make.
> 
> Running: make
> if test -r version && test x'0.7.9_20140402' = x`cat version` ; then true
> ; else echo 0.7.9_20140402 > version ; fi GFORTH="./preforth -p ".:~+:.""
> ./gfgen Makefile:901: recipe for target 'engine/prim_lab.i' failed
> 
> 
> Does anyone know how to resolve this problem?

You need a running Gforth (0.7.0 does fine) to build Gforth from scratch.

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://bernd-paysan.de/

[toc] | [prev] | [next] | [standalone]


#31584

Fromanton@mips.complang.tuwien.ac.at (Anton Ertl)
Date2014-06-16 07:46 +0000
Message-ID<2014Jun16.094601@mips.complang.tuwien.ac.at>
In reply to#31561
Arkady Rost <arkrost@gmail.com> writes:
>Hi all
>
>I'm trying to build gforth from repository on gentoo x64, but some errors appear during make.
>
>Running: make
>if test -r version && test x'0.7.9_20140402' = x`cat version` ; then true ; else echo 0.7.9_20140402 > version ; fi
>GFORTH="./preforth -p ".:~+:."" ./gfgen
>Makefile:901: recipe for target 'engine/prim_lab.i' failed

My guess is that you don't have Gforth installed already, and this is
a step that needs Gforth.  When you build from the tarball of Gforth
(from GNU), the result of this step is already present and this step
is not performed.  My guess is that the Gentoo package does not
contain the resulting files, or they are older than the source files
they are generated from.

>Does anyone know how to resolve this problem?

Install Gforth from the tarball.  Then the Gentoo package should work, too.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2014: http://www.euroforth.org/ef14/

[toc] | [prev] | [next] | [standalone]


#31586

From"Rod Pemberton" <dont_use_email@xnothavet.cqm>
Date2014-06-16 04:38 -0400
Message-ID<op.xhjgyjmw6zenlw@localhost>
In reply to#31584
On Mon, 16 Jun 2014 03:46:01 -0400, Anton Ertl  
<anton@mips.complang.tuwien.ac.at> wrote:
> Arkady Rost <arkrost@gmail.com> writes:

>> I'm trying to build gforth from repository on gentoo x64, but some
>> errors appear during make.
>>
>> Running: make
>> if test -r version && test x'0.7.9_20140402' = x`cat version` ; then
>> true ; else echo 0.7.9_20140402 > version ; fi
>> GFORTH="./preforth -p ".:~+:."" ./gfgen
>> Makefile:901: recipe for target 'engine/prim_lab.i' failed
>> [...]
>> Does anyone know how to resolve this problem?
>

BP> You need a running Gforth (0.7.0 does fine) to build
BP> Gforth from scratch.

AE> Install Gforth from the tarball.  Then the Gentoo package
AE> should work, too.

I'm surprised you two decried JonesForth. Couldn't it be fixed
and modified to generate what's needed?  If so, that would at
least fix the bootstrap or cross-compile issue for users of
Linux and Windows, the two major home operating systems.
Wouldn't that be an interesting and useful project for those
here, even if it would be a non-GNU, Savannah project?


Rod Pemberton

[toc] | [prev] | [next] | [standalone]


#31643

FromArkady Rost <arkrost@gmail.com>
Date2014-06-18 11:35 -0700
Message-ID<76f9991d-b85e-4e5e-834a-1bbd5e54a449@googlegroups.com>
In reply to#31584
On Monday, June 16, 2014 11:46:01 AM UTC+4, Anton Ertl wrote:
> Arkady Rost <arkrost@gmail.com> writes:
> 
> >Hi all
> 
> >
> 
> >I'm trying to build gforth from repository on gentoo x64, but some errors appear during make.
> 
> >
> 
> >Running: make
> 
> >if test -r version && test x'0.7.9_20140402' = x`cat version` ; then true ; else echo 0.7.9_20140402 > version ; fi
> 
> >GFORTH="./preforth -p ".:~+:."" ./gfgen
> 
> >Makefile:901: recipe for target 'engine/prim_lab.i' failed
> 
> 
> 
> My guess is that you don't have Gforth installed already, and this is
> 
> a step that needs Gforth.  When you build from the tarball of Gforth
> 
> (from GNU), the result of this step is already present and this step
> 
> is not performed.  My guess is that the Gentoo package does not
> 
> contain the resulting files, or they are older than the source files
> 
> they are generated from.
> 
> 
> 
> >Does anyone know how to resolve this problem?
> 
> 
> 
> Install Gforth from the tarball.  Then the Gentoo package should work, too.
> 
> 
> 
> - anton
> 
> -- 
> 
> M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
> 
> comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
> 
>      New standard: http://www.forth200x.org/forth200x.html
> 
>    EuroForth 2014: http://www.euroforth.org/ef14/

Sorry for not answering for so long. I've tried to install gforth-0.7.0 from http://www.complang.tuwien.ac.at/forth/gforth/ but got the following issue. 

Binary files - and ./test/coretest.out differ
Makefile:669: recipe for target 'checkone' failed
make[3]: *** [checkone] Error 2
make[3]: Leaving directory '/home/ark/Downloads/gforth-0.7.0'
Makefile:815: recipe for target 'gforth-noll' failed
make[2]: *** [gforth-noll] Error 2
make[2]: Leaving directory '/home/ark/Downloads/gforth-0.7.0'
Makefile:826: recipe for target 'optgforth' failed
make[1]: *** [optgforth] Error 2
make[1]: Leaving directory '/home/ark/Downloads/gforth-0.7.0'
Makefile:815: recipe for target 'gforth' failed
make: *** [gforth] Error 2

Any ideas?

[toc] | [prev] | [next] | [standalone]


#31695

Fromanton@mips.complang.tuwien.ac.at (Anton Ertl)
Date2014-06-20 11:37 +0000
Message-ID<2014Jun20.133753@mips.complang.tuwien.ac.at>
In reply to#31643
Arkady Rost <arkrost@gmail.com> writes:
>Sorry for not answering for so long. I've tried to install gforth-0.7.0 from http://www.complang.tuwien.ac.at/forth/gforth/ but got the following issue. 
>
>Binary files - and ./test/coretest.out differ
>Makefile:669: recipe for target 'checkone' failed
>make[3]: *** [checkone] Error 2
>make[3]: Leaving directory '/home/ark/Downloads/gforth-0.7.0'
>Makefile:815: recipe for target 'gforth-noll' failed
>make[2]: *** [gforth-noll] Error 2
>make[2]: Leaving directory '/home/ark/Downloads/gforth-0.7.0'
>Makefile:826: recipe for target 'optgforth' failed
>make[1]: *** [optgforth] Error 2
>make[1]: Leaving directory '/home/ark/Downloads/gforth-0.7.0'
>Makefile:815: recipe for target 'gforth' failed
>make: *** [gforth] Error 2
>
>Any ideas?

My guess: New gcc meets old Gforth.  Try the 0.7.3 tarball.  It has
all the known build issues fixed.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2014: http://www.euroforth.org/ef14/

[toc] | [prev] | [next] | [standalone]


#31725

FromArkadii Rost <arkrost@gmail.com>
Date2014-06-21 13:59 -0700
Message-ID<75caeffd-8205-4772-ad17-dca81d8a833f@googlegroups.com>
In reply to#31695
On Friday, June 20, 2014 3:37:53 PM UTC+4, Anton Ertl wrote:
> Arkady Rost <arkrost@gmail.com> writes:
> 
> >Sorry for not answering for so long. I've tried to install gforth-0.7.0 from http://www.complang.tuwien.ac.at/forth/gforth/ but got the following issue. 
> 
> >
> 
> >Binary files - and ./test/coretest.out differ
> 
> >Makefile:669: recipe for target 'checkone' failed
> 
> >make[3]: *** [checkone] Error 2
> 
> >make[3]: Leaving directory '/home/ark/Downloads/gforth-0.7.0'
> 
> >Makefile:815: recipe for target 'gforth-noll' failed
> 
> >make[2]: *** [gforth-noll] Error 2
> 
> >make[2]: Leaving directory '/home/ark/Downloads/gforth-0.7.0'
> 
> >Makefile:826: recipe for target 'optgforth' failed
> 
> >make[1]: *** [optgforth] Error 2
> 
> >make[1]: Leaving directory '/home/ark/Downloads/gforth-0.7.0'
> 
> >Makefile:815: recipe for target 'gforth' failed
> 
> >make: *** [gforth] Error 2
> 
> >
> 
> >Any ideas?
> 
> 
> 
> My guess: New gcc meets old Gforth.  Try the 0.7.3 tarball.  It has
> 
> all the known build issues fixed.
> 
> 
> 
> - anton
> 
> -- 
> 
> M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
> 
> comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
> 
>      New standard: http://www.forth200x.org/forth200x.html
> 
>    EuroForth 2014: http://www.euroforth.org/ef14/

It helped. Thanks!

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.forth


csiph-web