ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Linux PPC64 & minimals
@ 2010-02-01 14:43 Roger Mason
  2010-02-01 15:04 ` Thomas A. Schmitz
  2010-02-01 15:06 ` Mojca Miklavec
  0 siblings, 2 replies; 13+ messages in thread
From: Roger Mason @ 2010-02-01 14:43 UTC (permalink / raw)
  To: ntg-context

Hello,

I just tried to install the minimals on:

uname -a
Linux perthite 2.6.30-gentoo-r5 #6 SMP Wed Jan 13 17:59:36 NST 2010
ppc64 PPC970FX, altivec supported PowerMac7,3 GNU/Linux

but got:

sh ./first-setup.sh
Error: your system "Linux ppc64" is not supported yet.
Please report to the ConTeXt mailing-list (ntg-context@ntg.nl)

The machine reports as ppc64 but it is running a 64 bit kernel with 32
bit userland.

I'd like to know how to proceed.  If necessary I am quite willing to
build the minimals on this platform and contribute the binaries back to
the wiki.

Cheers,
Roger
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-01 14:43 Linux PPC64 & minimals Roger Mason
@ 2010-02-01 15:04 ` Thomas A. Schmitz
  2010-02-01 15:19   ` Roger Mason
  2010-02-01 15:06 ` Mojca Miklavec
  1 sibling, 1 reply; 13+ messages in thread
From: Thomas A. Schmitz @ 2010-02-01 15:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Feb 1, 2010, at 3:43 PM, Roger Mason wrote:

> Hello,
> 
> I just tried to install the minimals on:
> 
> uname -a
> Linux perthite 2.6.30-gentoo-r5 #6 SMP Wed Jan 13 17:59:36 NST 2010
> ppc64 PPC970FX, altivec supported PowerMac7,3 GNU/Linux
> 
> but got:
> 
> sh ./first-setup.sh
> Error: your system "Linux ppc64" is not supported yet.
> Please report to the ConTeXt mailing-list (ntg-context@ntg.nl)
> 
> The machine reports as ppc64 but it is running a 64 bit kernel with 32
> bit userland.
> 
> I'd like to know how to proceed.  If necessary I am quite willing to
> build the minimals on this platform and contribute the binaries back to
> the wiki.
> 
> Cheers,
> Roger

Oops, I thought we had fixed that... Anyways: the easiest solution is to open first-setup.sh in an editor. line 28 has

      ppc) platform="linux-ppc" ;;

you can either change that to 

      ppc64) platform="linux-ppc" ;;

or add such a new line after it. The minimals should work on your system (they do work on my ppc64 box). 

Good luck

Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-01 14:43 Linux PPC64 & minimals Roger Mason
  2010-02-01 15:04 ` Thomas A. Schmitz
@ 2010-02-01 15:06 ` Mojca Miklavec
  2010-02-01 15:24   ` Roger Mason
  1 sibling, 1 reply; 13+ messages in thread
From: Mojca Miklavec @ 2010-02-01 15:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Mon, Feb 1, 2010 at 15:43, Roger Mason wrote:
> Hello,
>
> I just tried to install the minimals on:
>
> uname -a
> Linux perthite 2.6.30-gentoo-r5 #6 SMP Wed Jan 13 17:59:36 NST 2010
> ppc64 PPC970FX, altivec supported PowerMac7,3 GNU/Linux
>
> but got:
>
> sh ./first-setup.sh
> Error: your system "Linux ppc64" is not supported yet.
> Please report to the ConTeXt mailing-list (ntg-context@ntg.nl)
>
> The machine reports as ppc64 but it is running a 64 bit kernel with 32
> bit userland.
>
> I'd like to know how to proceed.  If necessary I am quite willing to
> build the minimals on this platform and contribute the binaries back to
> the wiki.

Oh, it's nice to hear that Apple is not the only game spoiler :) :) :)

So: 32-bit binaries are working on 64-bit machine, but 64-bit binaries
would fit better if they existed?

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-01 15:04 ` Thomas A. Schmitz
@ 2010-02-01 15:19   ` Roger Mason
  2010-02-01 15:41     ` Roger Mason
  0 siblings, 1 reply; 13+ messages in thread
From: Roger Mason @ 2010-02-01 15:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

hello Thomas,

"Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de> writes:

> On Feb 1, 2010, at 3:43 PM, Roger Mason wrote:
>
>> Hello,
>> 
>> I just tried to install the minimals on:
>> 
>> uname -a
>> Linux perthite 2.6.30-gentoo-r5 #6 SMP Wed Jan 13 17:59:36 NST 2010
>> ppc64 PPC970FX, altivec supported PowerMac7,3 GNU/Linux
>
> Oops, I thought we had fixed that... Anyways: the easiest solution is to open first-setup.sh in an editor. line 28 has
>
>       ppc) platform="linux-ppc" ;;
>
> you can either change that to 
>
>       ppc64) platform="linux-ppc" ;;
>
> or add such a new line after it. The minimals should work on your system (they do work on my ppc64 box). 

Thanks. It is downloading now.  I'll let you know how it turns out.

Cheers,
Roger
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-01 15:06 ` Mojca Miklavec
@ 2010-02-01 15:24   ` Roger Mason
  0 siblings, 0 replies; 13+ messages in thread
From: Roger Mason @ 2010-02-01 15:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mojca Miklavec <mojca.miklavec.lists@gmail.com> writes:

> On Mon, Feb 1, 2010 at 15:43, Roger Mason wrote:
>> Hello,
>>
>> I just tried to install the minimals on:
>>
>> uname -a
>> Linux perthite 2.6.30-gentoo-r5 #6 SMP Wed Jan 13 17:59:36 NST 2010
>> ppc64 PPC970FX, altivec supported PowerMac7,3 GNU/Linux
>>
>
> Oh, it's nice to hear that Apple is not the only game spoiler :) :) :)
>
> So: 32-bit binaries are working on 64-bit machine, but 64-bit binaries
> would fit better if they existed?

Dunno.  I _think_ I need the 32 bit binaries: everything else on
the machine was (or should have been) built as 32 bit even though the
kernel is 64 bit.

The linux-ppc binaries are downloading now, I'll let you know what
happens.

Cheers,
Roger
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-01 15:19   ` Roger Mason
@ 2010-02-01 15:41     ` Roger Mason
  2010-02-01 19:03       ` Hans Hagen
  2010-02-02  7:36       ` Mojca Miklavec
  0 siblings, 2 replies; 13+ messages in thread
From: Roger Mason @ 2010-02-01 15:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Roger Mason <rmason@mun.ca> writes:

>
> Thanks. It is downloading now.  I'll let you know how it turns out.
>

MKII  works:

texexec --mode=manuscript --result=Manuscript.pdf --purge TheFourCs.tex

ConTeXt  ver: 2010.02.01 11:19 MKII  fmt: 2010.2.1  int: english/english
....

The document is made correctly, but the texexec run ends with:

TeXExec | renaming TheFourCs to Manuscript
TeXExec | restoring TheFourCs
sh: CtxTools: command not found
sh: version: command not found
sh: line 2: CtxTools: command not found
sh: line 2: --bbeditinterface: command not found
sh: line 3: CtxTools: command not found
sh: line 3: --brandfiles: command not found
sh: line 4: CtxTools: command not found
sh: line 4: --contextversion: command not found
sh: line 5: CtxTools: command not found
sh: line 5: --dependencies: command not found
sh: line 5: filenames]]: command not found
sh: line 6: CtxTools: command not found
sh: line 6: --disarmutfbom: command not found
sh: line 7: CtxTools: command not found
sh: line 7: --documentation: command not found
sh: line 8: CtxTools: command not found
sh: line 8: --dpxmapfiles: command not found
sh: line 9: CtxTools: command not found
sh: line 9: --jeditinterface: command not found
sh: line 10: CtxTools: command not found
sh: line 10: --listentities: command not found
sh: line 11: CtxTools: command not found
sh: line 11: --patternfiles: command not found
sh: line 12: CtxTools: command not found
sh: line 12: --platformize: command not found
sh: line 13: CtxTools: command not found
sh: line 13: --purgefiles: command not found
sh: line 14: CtxTools: command not found
sh: line 14: --rawinterface: command not found
sh: line 15: CtxTools: command not found
sh: line 15: --sciteinterface: command not found
sh: line 16: CtxTools: command not found
sh: line 16: --touchcontextfile: command not found
sh: line 17: CtxTools: command not found
sh: line 17: --updatecontext: command not found
sh: line 18: --purge: command not found

I doubt this has anything to do with 32 vs 64 bit binaries, however, as
I see the same message on a X86_64 machine at home and that one is all
64 bit.

Thanks,
Roger
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-01 15:41     ` Roger Mason
@ 2010-02-01 19:03       ` Hans Hagen
  2010-02-02  7:36       ` Mojca Miklavec
  1 sibling, 0 replies; 13+ messages in thread
From: Hans Hagen @ 2010-02-01 19:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 1-2-2010 16:41, Roger Mason wrote:
> Roger Mason<rmason@mun.ca>  writes:
>
>>
>> Thanks. It is downloading now.  I'll let you know how it turns out.
>>
>
> MKII  works:
>
> texexec --mode=manuscript --result=Manuscript.pdf --purge TheFourCs.tex
>
> ConTeXt  ver: 2010.02.01 11:19 MKII  fmt: 2010.2.1  int: english/english
> .....
>
> The document is made correctly, but the texexec run ends with:
>
> TeXExec | renaming TheFourCs to Manuscript
> TeXExec | restoring TheFourCs
> sh: CtxTools: command not found
> sh: version: command not found

this is a strange error (--purge triggers it)

looks like the banner is executed or so

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-01 15:41     ` Roger Mason
  2010-02-01 19:03       ` Hans Hagen
@ 2010-02-02  7:36       ` Mojca Miklavec
  2010-02-02  9:33         ` Thomas A. Schmitz
  2010-02-02 14:15         ` Roger Mason
  1 sibling, 2 replies; 13+ messages in thread
From: Mojca Miklavec @ 2010-02-02  7:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Two remarks:

1.) Thomas, can you please send me the patch (I can write it myself,
but I will not be 100% to get it right). It seems that we need to
modify that in several different places (mtx-something.lua, setuptex
and first-setup.sh).

2.) The error is not related to minimals/wrong architecture. There may
be several reasons. Different shell? Missing mkiv formats? (Can you
try "luatools --generate"? It could be that mtxrun doesn't find
ctxtools.) Something third?

Does compiling a simple document work?

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-02  7:36       ` Mojca Miklavec
@ 2010-02-02  9:33         ` Thomas A. Schmitz
  2010-02-02 14:15         ` Roger Mason
  1 sibling, 0 replies; 13+ messages in thread
From: Thomas A. Schmitz @ 2010-02-02  9:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Feb 2, 2010, at 8:36 AM, Mojca Miklavec wrote:

> Two remarks:
>
> 1.) Thomas, can you please send me the patch (I can write it myself,
> but I will not be 100% to get it right). It seems that we need to
> modify that in several different places (mtx-something.lua, setuptex
> and first-setup.sh).
>

Will do tonight. I have only changed it in one place (first-setup.sh)  
and have been using the minimals on this computer without any problems  
(but I have my own script to adjust path etc.).

> 2.) The error is not related to minimals/wrong architecture. There may
> be several reasons. Different shell? Missing mkiv formats? (Can you
> try "luatools --generate"? It could be that mtxrun doesn't find
> ctxtools.) Something third?
>

Yes, we need more info.

Best

Thomas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-02  7:36       ` Mojca Miklavec
  2010-02-02  9:33         ` Thomas A. Schmitz
@ 2010-02-02 14:15         ` Roger Mason
  2010-02-02 14:34           ` Mojca Miklavec
  1 sibling, 1 reply; 13+ messages in thread
From: Roger Mason @ 2010-02-02 14:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Mojca,

Mojca Miklavec <mojca.miklavec.lists@gmail.com> writes:

> 2.) The error is not related to minimals/wrong architecture. There may
> be several reasons. 

Agreed.  I see the same problem on an X86_64 system.

> Different shell? 

echo $SHELL -> /bin/bash (4.0_p28)

> Missing mkiv formats? (Can you
> try "luatools --generate"? It could be that mtxrun doesn't find
> ctxtools.)

Tried that.  I still get the same error.

> Something third?

As Hans remarked: it is --purge that triggers the error.

> Does compiling a simple document work?

% simple.tex
\starttext
\input knuth
\stoptext

texexec --purge simple.tex -> Output written on simple.pdf (1 page,
28424 bytes).

texexec simple.tex -> Output written on simple.pdf (1 page, 28424
bytes).

The document is always produced correctly, but --purge does not do its
job and produces the errors listed in my original post.

Cheers,
Roger
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-02 14:15         ` Roger Mason
@ 2010-02-02 14:34           ` Mojca Miklavec
  2010-02-02 14:40             ` Taco Hoekwater
  0 siblings, 1 reply; 13+ messages in thread
From: Mojca Miklavec @ 2010-02-02 14:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Feb 2, 2010 at 15:15, Roger Mason wrote:
> Hi Mojca,
>
> texexec --purge simple.tex -> Output written on simple.pdf (1 page,
> 28424 bytes).
>
> texexec simple.tex -> Output written on simple.pdf (1 page, 28424
> bytes).
>
> The document is always produced correctly, but --purge does not do its
> job and produces the errors listed in my original post.

OK, that's reproducible here as well.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-02 14:34           ` Mojca Miklavec
@ 2010-02-02 14:40             ` Taco Hoekwater
  2010-02-02 16:16               ` Roger Mason
  0 siblings, 1 reply; 13+ messages in thread
From: Taco Hoekwater @ 2010-02-02 14:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Mojca Miklavec wrote:
> On Tue, Feb 2, 2010 at 15:15, Roger Mason wrote:
>> Hi Mojca,
>>
>> texexec --purge simple.tex -> Output written on simple.pdf (1 page,
>> 28424 bytes).
>>
>> texexec simple.tex -> Output written on simple.pdf (1 page, 28424
>> bytes).
>>
>> The document is always produced correctly, but --purge does not do its
>> job and produces the errors listed in my original post.
> 
> OK, that's reproducible here as well.

Different ruby version?  I have no errors here, and

   $ ruby -v
   ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

Best wishes,
Taco
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Linux PPC64 & minimals
  2010-02-02 14:40             ` Taco Hoekwater
@ 2010-02-02 16:16               ` Roger Mason
  0 siblings, 0 replies; 13+ messages in thread
From: Roger Mason @ 2010-02-02 16:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Taco Hoekwater <taco@elvenkind.com> writes:

> Different ruby version?  I have no errors here, and
>
>   $ ruby -v
>   ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

ruby 1.8.6 (2009-06-08 patchlevel 369) [powerpc-linux]

Cheers,
Roger
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-02-02 16:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-01 14:43 Linux PPC64 & minimals Roger Mason
2010-02-01 15:04 ` Thomas A. Schmitz
2010-02-01 15:19   ` Roger Mason
2010-02-01 15:41     ` Roger Mason
2010-02-01 19:03       ` Hans Hagen
2010-02-02  7:36       ` Mojca Miklavec
2010-02-02  9:33         ` Thomas A. Schmitz
2010-02-02 14:15         ` Roger Mason
2010-02-02 14:34           ` Mojca Miklavec
2010-02-02 14:40             ` Taco Hoekwater
2010-02-02 16:16               ` Roger Mason
2010-02-01 15:06 ` Mojca Miklavec
2010-02-01 15:24   ` Roger Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).