Re: Rakudo Star installation under MacOS X

2010-08-01 Thread Christian Aperghis-Tramoni

Alberto Simões a écrit :

Hello

After installing Rakudo Star on my MacOS X under /opt/rakudo, and adding
/opt/rakudo/bin to the PATH env, I get:

[a...@rachmaninoff ~]$ perl6
src/io/api.c:306: failed assertion 'pmc'
Backtrace - Obtained 22 stack frames (max trace depth is 32).
0   libparrot.dylib 0x00e0b83d
Parrot_do_check_events + 173
[...]
abort trap

After
export DYLD_FALLBACK_LIBRARY_PATH=/opt/rakudo/lib/
things get working.

I am not aware of how this can be fixed, but I am almost sure it can (I
have a subversion installed in /opt/subversion and it did not require
such a path).

Other than this, keep the good work :)
Alberto

PS: I have other "complains" but that can be discussed on later releases.
  


I do not have any problrm in my Rakudo star install
My mac iconfiguration is

2.66 Ghz Intel Core 2 Duo
Mac OS X 10.6.4 (10F569)
Noyau  Darwin 10.4.0

Every tests are ok.

Just a question it seems that spectest are no more present, does 
rakude-test perform the same thing ?


Congratulations.

--
 \|||/
 (o o)
   +--ooO-( )-Ooo--+
   |      Christian Aperghis-Tramoni   |
   |   |
   | Case Postale 901  Tel : (33) 04 91 82 92 49   |
   | 163 Avenue de Luminy  SFR : (33) 06 18 93 10 70   |
   | 13288 Marseille Cedex 09  Fax : (33) 04 91 82 92 75   |
   | FranceMel : ch...@dil.univ-mrs.fr |
  /) ch...@aperghis.net(\
 / ) WEB : http://www.dil.univ-mrs.fr/~chris   ( \
( (+---+) )
((\ \)  / )/ ) (/ //)
(\\\ \_/ / \ \_/ ///)
\  /   \  /
___\___ / \/
print join('',map({$i=1-$i;$a=$i?10*$_."\b\b":pack"c",$a+$_+0x16}split
(//,"5110789279758710838810587992861093898779948387799310")),"...\n");
___




Hello everybody.

2004-09-23 Thread Christian Aperghis-Tramoni
I am the french teacher who is trying to initiate my students to the 
pleaasure of assembly language using Parrot.

For those who car read french, you can check our site :
http://www.dil.univ-mrs.fr/lic.ue.html#L-O3-5
I am trying to write a french document for my students, but the most 
important problem is to find enough information.

__
   \|||/
   (o o)
 +--ooO-( )-Ooo--+
 |  Christian Aperghis-Tramoni   |
 |   |
 | Case Postale 901  Tel : (33) 04 91 82 92 49   |
 | 163 Avenue de Luminy  SFR : (33) 06 18 93 10 70   |
 | 13288 Marseille Cedex 09  Fax : (33) 04 91 82 92 75   |
 | FranceMel : [EMAIL PROTECTED] |
/) [EMAIL PROTECTED](\
   / ) WEB : http://www.dil.univ-mrs.fr/~chris   ( \
  ( (+---+) )
 ((\ \)  / )   / ) (/ //)
 (\\\ \_/ /\ \_/ ///)
  \ /\ /
___\___/__\___/
print join('',map({$i=1-$i;$a=$i?10*$_."\b\b":pack"c",$a+$_+0x16}split
(//,"5110789279758710838810587992861093898779948387799310")),"...\n");
___


Error under Solaris 9

2004-11-02 Thread Christian Aperghis-Tramoni
I have this error when installing under Solaris 9 :
/bin/sh ../mkinstalldirs /export/profs/aperghis/parrot/blib/lib
.././install-sh -c -m 644 libicudata.a 
/export/profs/aperghis/parrot/blib/lib/li
bicudata.a
make[1]: Leaving directory 
`/export/profs/aperghis/parrot/icu/source/stubdata'
perl -e 'chdir shift @ARGV; system q{make}, @ARGV; exit $? >> 8;' 
icu/source/com
mon install
make[1]: Entering directory 
`/export/profs/aperghis/parrot/icu/source/common'
generating dependency information for strprep.cpp
c++: language M not recognized
ld: fatal :  bibliothèque -libmil : introuvable
ld: fatal :  fichier strprep.cpp : type de fichier inconnu
ld: fatal :  Erreurs dans le traitement des fichiers. Aucun résultat 
n'a été écr
it dans a.out
collect2: ld returned 1 exit status
make[1]: *** [strprep.d] Error 1
make[1]: Leaving directory 
`/export/profs/aperghis/parrot/icu/source/common'
make: *** [blib/lib/libicuuc.a] Error 2

__
   \|||/
   (o o)
 +--ooO-( )-Ooo--+
     |  Christian Aperghis-Tramoni   |
 |   |
 | Case Postale 901  Tel : (33) 04 91 82 92 49   |
 | 163 Avenue de Luminy  SFR : (33) 06 18 93 10 70   |
 | 13288 Marseille Cedex 09  Fax : (33) 04 91 82 92 75   |
 | FranceMel : [EMAIL PROTECTED] |
/) [EMAIL PROTECTED](\
   / ) WEB : http://www.dil.univ-mrs.fr/~chris   ( \
  ( (+---+) )
 ((\ \)  / )   / ) (/ //)
 (\\\ \_/ /\ \_/ ///)
  \ /\ /
___\___/__\___/
print join('',map({$i=1-$i;$a=$i?10*$_."\b\b":pack"c",$a+$_+0x16}split
(//,"5110789279758710838810587992861093898779948387799310")),"...\n");
___


Please, Help on I/O

2004-11-04 Thread Christian Aperghis-Tramoni
I have the folowing program :
print   "Give me an integer number : ¥n"
getstdinP0
readline S1,P0
Its execution gives :
10
Give me an integer number :
How is it possible to flush stdout before reading the number.
It means the equivalent of the $| in Perl.
__
   \|||/
   (o o)
 +--ooO-( )-Ooo--+
 |  Christian Aperghis-Tramoni   |
 |   |
 | Case Postale 901  Tel : (33) 04 91 82 92 49   |
 | 163 Avenue de Luminy  SFR : (33) 06 18 93 10 70   |
 | 13288 Marseille Cedex 09  Fax : (33) 04 91 82 92 75   |
 | FranceMel : [EMAIL PROTECTED] |
/) [EMAIL PROTECTED](\
   / ) WEB : http://www.dil.univ-mrs.fr/~chris   ( \
  ( (+---+) )
 ((\ \)  / )   / ) (/ //)
 (\\\ \_/ /\ \_/ ///)
  \ /\ /
___\___/__\___/
print join('',map({$i=1-$i;$a=$i?10*$_."\b\b":pack"c",$a+$_+0x16}split
(//,"5110789279758710838810587992861093898779948387799310")),"...\n");
___


Re: Error under Solaris 9

2005-01-05 Thread Christian Aperghis-Tramoni
This is how we did solve the problem :
 First start configure as :
# perl Configure.pl  --ask  --icuplatform=SOLARISGCC
Each answer to questions must be gcc or g++ depending.
then we start gmake :
# gmake
before test we must export the perl5lib as :
# export PERL5LIB=/usr/local/lib/perl5/5.8.0/
and finish the installation.
# gmake test
# gmake install
Le 5 janv. 05, à 21:32, Nicholas Clark a écrit :
On Tue, Nov 02, 2004 at 01:39:25PM +0100, Christian Aperghis-Tramoni 
wrote:
I have this error when installing under Solaris 9 :

make[1]: Entering directory
`/export/profs/aperghis/parrot/icu/source/common'
generating dependency information for strprep.cpp
c++: language M not recognized
ld: fatal :  bibliothèque -libmil : introuvable
ld: fatal :  fichier strprep.cpp : type de fichier inconnu
ld: fatal :  Erreurs dans le traitement des fichiers. Aucun résultat
n'a été écr
it dans a.out
collect2: ld returned 1 exit status
make[1]: *** [strprep.d] Error 1
make[1]: Leaving directory
`/export/profs/aperghis/parrot/icu/source/common'
make: *** [blib/lib/libicuuc.a] Error 2
Aha. I have this error under Solaris 10. I tracked it down to gmake 
auto-
generating dependency files (as it is supposed to do) and using g++ 
specific
command options. I'm not sure if this is an ICU bug. (the bug being 
assuming
g++ too early)

I don't know how to solve this, as gmake is extremely unhelpful at 
providing
any debugging info when it comes to automatically generating files 
included
into the main Makefile, which is how ICU's dependency files are 
implemented.

Nicholas Clark

__
   \|||/
   (o o)
 +--ooO-( )-Ooo--+
 |      Christian Aperghis-Tramoni   |
 |   |
 | Case Postale 901  Tel : (33) 04 91 82 92 49   |
 | 163 Avenue de Luminy  SFR : (33) 06 18 93 10 70   |
 | 13288 Marseille Cedex 09  Fax : (33) 04 91 82 92 75   |
 | FranceMel : [EMAIL PROTECTED] |
/) [EMAIL PROTECTED](\
   / ) WEB : http://www.dil.univ-mrs.fr/~chris   ( \
  ( (+---+) )
 ((\ \)  / )   / ) (/ //)
 (\\\ \_/ /\ \_/ ///)
  \ /\ /
___\___/__\___/
print join('',map({$i=1-$i;$a=$i?10*$_."\b\b":pack"c",$a+$_+0x16}split
(//,"5110789279758710838810587992861093898779948387799310")),"...\n");
___


Re: [perl #52288] [install] undefined reference to `Parrot_set_executable_name', linking failed

2008-04-01 Thread Christian Aperghis-Tramoni
I have exactly the same problem under a Debian system.
Configure works properly but make ends with the same message error :

pbc_to_exe.o: In function `main':
pbc_to_exe.c:(.text+0x64): undefined reference to
`Parrot_set_executable_name'
collect2: ld returned 1 exit status
linking failed
current instr.: 'link_file' pc 769 (pbc_to_exe.pir:369)
called from Sub 'main' pc 124 (pbc_to_exe.pir:32)
make: *** [pbc_to_exe] Error 1

Note that this problem does not appear on a Centos or a MacOsX System.



> Hi!
> I was done make realclean, svn up(and new checkout too), perl
> Cofigure.pl and new make many times before I send bug report.
> So, I done it again, but with same results :(
> Do you need any additional information about my system? anything else can
> help?
>
> Excuse my bad English.
>
> pbc_to_exe.o: In function `main':
> pbc_to_exe.c:(.text+0x64): undefined reference to
> `Parrot_set_executable_name'
> collect2: ld returned 1 exit status
> linking failed
> current instr.: 'link_file' pc 769 (pbc_to_exe.pir:369)
> called from Sub 'main' pc 124 (pbc_to_exe.pir:32)
> make: *** [pbc_to_exe] Error 1
>
> On 01/04/2008, chromatic via RT <[EMAIL PROTECTED]> wrote:
>> On Sunday 30 March 2008 23:15:53 Ilya Belikin wrote:
>>
>>  > Hi!
>>  > I can`t make Parrot:
>>  > ---
>>  > osname= linux
>>  > osvers= 2.6.15.7
>>  > arch=   i486-linux-gnu-thread-multi
>>  > cc= cc
>>  > ---
>>  >
>>  > > pbc_to_exe.pir
>>  >
>>  > ./parrot -o pbc_to_exe.pbc pbc_to_exe.pir
>>  > ./parrot pbc_to_exe.pir pbc_to_exe.pbc
>>
>>  ...
>>
>>  > Compiled: pbc_to_exe.o
>>  > cc -o pbc_to_exe pbc_to_exe.o -Wl,-E  -L/usr/local/lib -Wl,-E
>>  > -L/home/ihrd/svn/parrot/blib/lib -lparrot
>>  > -Wl,-rpath=/home/ihrd/svn/parrot/blib/lib -ldl -lm -lpthread -lcrypt
>>  > -lrt -lgmp -lreadline -lcrypto
>>  > /home/ihrd/svn/parrot/src/parrot_config.o
>>  > pbc_to_exe.o: In function `main':
>>  > pbc_to_exe.c:(.text+0x64): undefined reference to
>>  > `Parrot_set_executable_name' collect2: ld returned 1 exit status
>>  > linking failed
>>  > current instr.: 'link_file' pc 769 (pbc_to_exe.pir:369)
>>  > called from Sub 'main' pc 124 (pbc_to_exe.pir:32)
>>  > make: *** [pbc_to_exe] Error 1
>>
>>  That's highly weird.  If your linker can't find
>> Parrot_set_executable_name in
>>  libparrot for pbc_to_exe, how did it find it in libparrot for parrot?
>>
>>  Does this persist if you do:
>>
>> $ make realclean
>> $ svn up
>> $ perl Configure.pl
>> $ make
>>
>>  -- c
>>
>>
>>
>


-- 
  Christian Aperghis-Tramoni
Case Postale 901   Tel : (33) 04 91 82 92 49
163 Avenue de Luminy   SFR : (33) 06 18 93 10 70
13288 MarseilleFax : (33) 04 91 82 92 75
Cedex 09 FranceMel : [EMAIL PROTECTED]
 [EMAIL PROTECTED]
   WEB : http://www.dil.univ-mrs.fr/~chris

print join('',map({$i=1-$i;$a=$i?10*$_."\b\b":pack"c",$a+$_+0x16}split
(//,"5110789279758710838810587992861093898779948387799310")),"...\n");