Re: [Pharo-users] [Pharo-dev] [ANN} Pharo Consultants

2013-07-17 Thread Sven Van Caekenberghe

On 17 Jul 2013, at 07:47, Damien Cassou damien.cas...@gmail.com wrote:

 
 On Tue, Jul 16, 2013 at 7:39 PM, Sven Van Caekenberghe s...@stfx.eu wrote:
 Cool, right ?
 
 indeed, very cool. Should I add a link in the Community section of the 
 pharo.org website?

Yes please, I think just a link in the left menu would be enough

Damien, was it also you who initially did the contributors page ?
Any ideas of how we could extract the data quickly in a structured format ?

 -- 
 Damien Cassou
 http://damiencassou.seasidehosting.st
 
 Success is the ability to go from one failure to another without losing 
 enthusiasm. 
 Winston Churchill




Re: [Pharo-users] [ANN] BioSmalltalk published in Bioinformatics Journal

2013-07-17 Thread Marcus Denker

On Jul 16, 2013, at 9:31 PM, Hernán Morales Durand hernan.mora...@gmail.com 
wrote:

 Doru, I can access the article through the Full Text (PDF) link at the 
 right box titled This Article. Maybe you have the right columns collapsed? 
 There is an arrow button Show all columns if you cannot see the link.
 Let me know.
 

Publishing is the act of making Paper in-accessible to the Public (that's where 
the name comes from).

So what all serious publishers allow you to do is to make the version that you 
send them (not their version) available from your
website and/or an online-archive of your employer,

It is very important to do that, as people will not jump through hoops to get 
your paper (e.g. go to the library?). 
In the past I send emails to authors to get paper copies, but today I would 
just *never* do that. If *you* don't make your
paper available, why should I bother? i will just not read it and not cite it.

The journal publishing is just important for your CV and getting tenure and 
things like that, the paper the people
really *read* is the one they can download from your website.

Marcus


Re: [Pharo-users] [Pharo-dev] [ANN} Pharo Consultants

2013-07-17 Thread Damien Cassou
On Wed, Jul 17, 2013 at 8:14 AM, Sven Van Caekenberghe s...@stfx.eu wrote:
 Yes please, I think just a link in the left menu would be enough

That's not possible. But I added a page, referenced from the menu on
the left that show this page:
http://www.pharo-project.org/community/consultants

 Damien, was it also you who initially did the contributors page ?
 Any ideas of how we could extract the data quickly in a structured format ?

You may want to ask Laurent Laffont


--
Damien Cassou
http://damiencassou.seasidehosting.st

Success is the ability to go from one failure to another without
losing enthusiasm.
Winston Churchill



Re: [Pharo-users] [Pharo-dev] [ANN} Pharo Consultants

2013-07-17 Thread Sven Van Caekenberghe

On 17 Jul 2013, at 10:10, Damien Cassou damien.cas...@gmail.com wrote:

 On Wed, Jul 17, 2013 at 8:14 AM, Sven Van Caekenberghe s...@stfx.eu wrote:
 Yes please, I think just a link in the left menu would be enough
 
 That's not possible. But I added a page, referenced from the menu on
 the left that show this page:
 http://www.pharo-project.org/community/consultants

That is OK, thanks.

Maybe I can add a little section on that page describing what you have to do to 
get on the list.

 Damien, was it also you who initially did the contributors page ?
 Any ideas of how we could extract the data quickly in a structured format ?
 
 You may want to ask Laurent Laffont

Yes, of course. I will ask him.

 --
 Damien Cassou
 http://damiencassou.seasidehosting.st
 
 Success is the ability to go from one failure to another without
 losing enthusiasm.
 Winston Churchill
 




[Pharo-users] no SortedDictionary available?

2013-07-17 Thread Sabine Knöfel
Hi,

I am looking for a Dictionary which sorts its entries by the keys. 
Some Kind of SortedDictionary.
I assume, there is none - right?

I only found the OrderPreservingDictionary (which is not the same).

Background: storing exchangerates by date.

Sabine





--
View this message in context: 
http://forum.world.st/no-SortedDictionary-available-tp4699050.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] no SortedDictionary available?

2013-07-17 Thread Sabine Knöfel
correction/more precise: where I can define the sort order. If I add Dates as
keys in a dict, they are sorted by printstring (?). I need the dict to sort
date keys by time.
Sabine



--
View this message in context: 
http://forum.world.st/no-SortedDictionary-available-tp4699050p4699052.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



Re: [Pharo-users] Generate Bytecodes manually

2013-07-17 Thread Marcus Denker

On Jul 16, 2013, at 8:55 PM, Udo Schneider udo.schnei...@homeaddress.de wrote:

 On 16.07.13 17:15, Marcus Denker wrote:
 No. A decompiler has to be very specific for the code generated by the 
 compiler.
 I thought so.
 
 For Pharo3, we even opted to not support decompilation at all… (IR - AST). 
 We will instead save a higher-level representation that has much
 more information (e.g. names of variables). For deployment, people can strip 
 the names, giving them the same obfuscation the decompiler
 provides now.
 Sounds reasonable - so if I generate IR (- BC) from non-Smalltalk sources 
 ... is there any recommended way to make the non-Smalltalk-source visible in 
 browsers? Up to now I would simply generate IR/BC directly which would mean 
 that a class would have a method but w/o the source.
 
 Or do I miss a crucial piece here?
 

What you need to do for that is to implement a class that has the same public 
API as OpalCompiler and Compiler…
Then you can set this is the compiler of your class (override #compiler on the 
class side).

This compiler then takes care to create the CompiledMethod with your bytecode 
*and* your source.

The tools *should* be able to display just anything, but that needs to be 
double-checked as we changed the tools a lot
and there is no example of methods with non-smalltalk source right now. 

Implementing Debugger support is possible, too. For that you need to have a 
mapping between pc and source for your
language.

What we need is a tutorial how to all that based on a simple toy language ;-)


Marcus




Re: [Pharo-users] [Pharo-dev] [ANN} Pharo Consultants

2013-07-17 Thread Damien Cassou
On Wed, Jul 17, 2013 at 10:22 AM, Sven Van Caekenberghe s...@stfx.eu wrote:
 Maybe I can add a little section on that page describing what you have to do 
 to get on the list.


either that or we keep this page as short as possible and put
everything on consultants.pharo.org. As you wish

--
Damien Cassou
http://damiencassou.seasidehosting.st

Success is the ability to go from one failure to another without
losing enthusiasm.
Winston Churchill



Re: [Pharo-users] no SortedDictionary available?

2013-07-17 Thread Clément Bera
There is currently no sorted dictionary in Pharo.

There's only OrderedIdentityDictionary / OrderPreservingDictionary which
are different.

If you implement one or find an opensource implementation somewhere, Marcus
will be pleased to integrate it in Pharo.


2013/7/17 Sabine Knöfel sabine.knoe...@gmail.com

 correction/more precise: where I can define the sort order. If I add Dates
 as
 keys in a dict, they are sorted by printstring (?). I need the dict to sort
 date keys by time.
 Sabine



 --
 View this message in context:
 http://forum.world.st/no-SortedDictionary-available-tp4699050p4699052.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




Re: [Pharo-users] SerialPlugin

2013-07-17 Thread Bernat Romagosa
Ok, it seems the problem was not having the sources file in the same
directory as the image.

Anyway, now I've another problem when trying to compile. cmake runs fine,
but make fails with the following error:

Scanning dependencies of target B3DAcceleratorPlugin
[ 57%] Building C object
B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o
In file included from
/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c:36:0:
/home/bromagosa/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.h:8:19:
fatal error: GL/gl.h: El fitxer o directori no existeix
compilation terminated.
make[2]: ***
[B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o]
Error 1
make[1]: *** [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/all]
Error 2
make: *** [all] Error 2


Any ideas?

(For the record, I do not need the B3DAcceleratorPlugin, so I guess it
could just be left out, but I don't know how does one do that either)



2013/7/16 Friedrich Dominicus fr...@q-software-solutions.de

 Bernat Romagosa tibabenfortlapala...@gmail.com writes:

  Hi Friedrich,
 
  My machine is already a 32 bits one... here's the output of ldd:
 
  linux-gate.so.1 =  (0xb7782000)
  libm.so.6 = /lib/i386-linux-gnu/i686/cmov/libm.so.6
  (0xb7746000)
  libdl.so.2 = /lib/i386-linux-gnu/i686/cmov/libdl.so.2
  (0xb7742000)
  libpthread.so.0 =
  /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb7728000)
  libc.so.6 = /lib/i386-linux-gnu/i686/cmov/libc.so.6
  (0xb75c5000)
  /lib/ld-linux.so.2 (0xb7783000)
 
  Thanks! :)
 Well that looks fine to me. Sorry that I could not help

 Regards
 Friedrich




-- 
Bernat Romagosa.


Re: [Pharo-users] no SortedDictionary available?

2013-07-17 Thread Bernat Romagosa
Tony Fleig has an OrderedDictionary in a repo of his (
http://www.squeaksource.com/TFOrderedDictionary.html), but I think it's
pretty much the same as the OrderPreservingDictionary...


2013/7/17 Clément Bera bera.clem...@gmail.com

 There is currently no sorted dictionary in Pharo.

 There's only OrderedIdentityDictionary / OrderPreservingDictionary which
 are different.

 If you implement one or find an opensource implementation somewhere,
 Marcus will be pleased to integrate it in Pharo.


 2013/7/17 Sabine Knöfel sabine.knoe...@gmail.com

 correction/more precise: where I can define the sort order. If I add
 Dates as
 keys in a dict, they are sorted by printstring (?). I need the dict to
 sort
 date keys by time.
 Sabine



 --
 View this message in context:
 http://forum.world.st/no-SortedDictionary-available-tp4699050p4699052.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.





-- 
Bernat Romagosa.


Re: [Pharo-users] no SortedDictionary available?

2013-07-17 Thread Sabine Knöfel
Hi Clement,

thank you for the fast response.
I will use OrderPreservingDictionary instead.

Sabine

On Wed, Jul 17, 2013 at 11:32 AM, Clément Bera-4 [via Smalltalk]
ml-node+s1294792n4699062...@n4.nabble.com wrote:
 There is currently no sorted dictionary in Pharo.

 There's only OrderedIdentityDictionary / OrderPreservingDictionary which are
 different.

 If you implement one or find an opensource implementation somewhere, Marcus
 will be pleased to integrate it in Pharo.


 2013/7/17 Sabine Knöfel [hidden email]

 correction/more precise: where I can define the sort order. If I add Dates
 as
 keys in a dict, they are sorted by printstring (?). I need the dict to
 sort
 date keys by time.
 Sabine



 --
 View this message in context:
 http://forum.world.st/no-SortedDictionary-available-tp4699050p4699052.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.




 
 If you reply to this email, your message will be added to the discussion
 below:
 http://forum.world.st/no-SortedDictionary-available-tp4699050p4699062.html
 To unsubscribe from no SortedDictionary available?, click here.
 NAML




--
View this message in context: 
http://forum.world.st/no-SortedDictionary-available-tp4699050p4699068.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] SerialPlugin

2013-07-17 Thread Bernat Romagosa
I found out how to leave B3DAcceleratorPlugin out, but now I get this error
almost at the end of the compilation process:

[ 95%] Building C object
CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
In file included from
/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:41:0:
/home/bromagosa/blessed/platforms/Cross/vm/sqSCCSVersion.h:17:54: fatal
error: vmVersionInfo.h: El fitxer o directori no existeix
compilation terminated.
make[2]: ***
[CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
Error 1
make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
make: *** [all] Error 2


El fitxer o directori no existeix is Catalan for The file or directory
does not exist.

How comes this header isn't there?


2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 Ok, it seems the problem was not having the sources file in the same
 directory as the image.

 Anyway, now I've another problem when trying to compile. cmake runs fine,
 but make fails with the following error:

 Scanning dependencies of target B3DAcceleratorPlugin
 [ 57%] Building C object
 B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o
 In file included from
 /home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c:36:0:
 /home/bromagosa/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.h:8:19:
 fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o]
 Error 1
 make[1]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/all] Error 2
 make: *** [all] Error 2


 Any ideas?

 (For the record, I do not need the B3DAcceleratorPlugin, so I guess it
 could just be left out, but I don't know how does one do that either)



 2013/7/16 Friedrich Dominicus fr...@q-software-solutions.de

 Bernat Romagosa tibabenfortlapala...@gmail.com writes:

  Hi Friedrich,
 
  My machine is already a 32 bits one... here's the output of ldd:
 
  linux-gate.so.1 =  (0xb7782000)
  libm.so.6 = /lib/i386-linux-gnu/i686/cmov/libm.so.6
  (0xb7746000)
  libdl.so.2 = /lib/i386-linux-gnu/i686/cmov/libdl.so.2
  (0xb7742000)
  libpthread.so.0 =
  /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb7728000)
  libc.so.6 = /lib/i386-linux-gnu/i686/cmov/libc.so.6
  (0xb75c5000)
  /lib/ld-linux.so.2 (0xb7783000)
 
  Thanks! :)
 Well that looks fine to me. Sorry that I could not help

 Regards
 Friedrich




 --
 Bernat Romagosa.




-- 
Bernat Romagosa.


Re: [Pharo-users] SerialPlugin

2013-07-17 Thread Guillermo Polito
Hi!

before compiling you have to, inside the build folder, execute
codegen-scripts/extract-commit-info.sh

Besides, I was looking at luc's tutorial and it lacks one step to have
serial plugin built: install the patch he made [1]. Did you do that? I
added a comment in the blog entry just in case...

Guille

[1] https://code.google.com/p/cog/issues/detail?id=119q=luc


On Wed, Jul 17, 2013 at 12:18 PM, Bernat Romagosa 
tibabenfortlapala...@gmail.com wrote:

 I found out how to leave B3DAcceleratorPlugin out, but now I get this
 error almost at the end of the compilation process:

 [ 95%] Building C object
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:41:0:
 /home/bromagosa/blessed/platforms/Cross/vm/sqSCCSVersion.h:17:54: fatal
 error: vmVersionInfo.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
 Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
 make: *** [all] Error 2


 El fitxer o directori no existeix is Catalan for The file or directory
 does not exist.

 How comes this header isn't there?


 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 Ok, it seems the problem was not having the sources file in the same
 directory as the image.

 Anyway, now I've another problem when trying to compile. cmake runs fine,
 but make fails with the following error:

 Scanning dependencies of target B3DAcceleratorPlugin
 [ 57%] Building C object
 B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o
 In file included from
 /home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c:36:0:
 /home/bromagosa/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.h:8:19:
 fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o]
 Error 1
 make[1]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/all] Error 2
 make: *** [all] Error 2


 Any ideas?

 (For the record, I do not need the B3DAcceleratorPlugin, so I guess it
 could just be left out, but I don't know how does one do that either)



 2013/7/16 Friedrich Dominicus fr...@q-software-solutions.de

 Bernat Romagosa tibabenfortlapala...@gmail.com writes:

  Hi Friedrich,
 
  My machine is already a 32 bits one... here's the output of ldd:
 
  linux-gate.so.1 =  (0xb7782000)
  libm.so.6 = /lib/i386-linux-gnu/i686/cmov/libm.so.6
  (0xb7746000)
  libdl.so.2 = /lib/i386-linux-gnu/i686/cmov/libdl.so.2
  (0xb7742000)
  libpthread.so.0 =
  /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb7728000)
  libc.so.6 = /lib/i386-linux-gnu/i686/cmov/libc.so.6
  (0xb75c5000)
  /lib/ld-linux.so.2 (0xb7783000)
 
  Thanks! :)
 Well that looks fine to me. Sorry that I could not help

 Regards
 Friedrich




 --
 Bernat Romagosa.




 --
 Bernat Romagosa.



Re: [Pharo-users] SerialPlugin

2013-07-17 Thread Bernat Romagosa
ouch! I forgot to execute the script this time, and didn't install the
patch either.. trying again, thanks! :)


2013/7/17 Guillermo Polito guillermopol...@gmail.com

 Hi!

 before compiling you have to, inside the build folder, execute
 codegen-scripts/extract-commit-info.sh

 Besides, I was looking at luc's tutorial and it lacks one step to have
 serial plugin built: install the patch he made [1]. Did you do that? I
 added a comment in the blog entry just in case...

 Guille

 [1] https://code.google.com/p/cog/issues/detail?id=119q=luc


 On Wed, Jul 17, 2013 at 12:18 PM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:

 I found out how to leave B3DAcceleratorPlugin out, but now I get this
 error almost at the end of the compilation process:

 [ 95%] Building C object
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:41:0:
 /home/bromagosa/blessed/platforms/Cross/vm/sqSCCSVersion.h:17:54: fatal
 error: vmVersionInfo.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
 Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
  make: *** [all] Error 2


 El fitxer o directori no existeix is Catalan for The file or directory
 does not exist.

 How comes this header isn't there?


 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 Ok, it seems the problem was not having the sources file in the same
 directory as the image.

 Anyway, now I've another problem when trying to compile. cmake runs
 fine, but make fails with the following error:

 Scanning dependencies of target B3DAcceleratorPlugin
 [ 57%] Building C object
 B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o
 In file included from
 /home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c:36:0:
 /home/bromagosa/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.h:8:19:
 fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o]
 Error 1
 make[1]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/all] Error 2
 make: *** [all] Error 2


 Any ideas?

 (For the record, I do not need the B3DAcceleratorPlugin, so I guess it
 could just be left out, but I don't know how does one do that either)



 2013/7/16 Friedrich Dominicus fr...@q-software-solutions.de

 Bernat Romagosa tibabenfortlapala...@gmail.com writes:

  Hi Friedrich,
 
  My machine is already a 32 bits one... here's the output of ldd:
 
  linux-gate.so.1 =  (0xb7782000)
  libm.so.6 = /lib/i386-linux-gnu/i686/cmov/libm.so.6
  (0xb7746000)
  libdl.so.2 = /lib/i386-linux-gnu/i686/cmov/libdl.so.2
  (0xb7742000)
  libpthread.so.0 =
  /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb7728000)
  libc.so.6 = /lib/i386-linux-gnu/i686/cmov/libc.so.6
  (0xb75c5000)
  /lib/ld-linux.so.2 (0xb7783000)
 
  Thanks! :)
 Well that looks fine to me. Sorry that I could not help

 Regards
 Friedrich




 --
 Bernat Romagosa.




 --
 Bernat Romagosa.





-- 
Bernat Romagosa.


Re: [Pharo-users] SerialPlugin

2013-07-17 Thread Bernat Romagosa
Okay, it seems the patch is already included in the latest VMMaker image,
so no need to apply it.

Still, having executed the script, I get yet another error, this time
related to gl.h (why does it need it? I left B3DAcceleratorPlugin out):

[ 95%] Building C object
CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
In file included from
/home/bromagosa/blessed/platforms/unix/vm/SqDisplay.h:16:0,
 from
/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:140:
/home/bromagosa/blessed/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:21:22:
fatal error: GL/gl.h: El fitxer o directori no existeix
compilation terminated.
make[2]: ***
[CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
Error 1
make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
make: *** [all] Error 2



2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 ouch! I forgot to execute the script this time, and didn't install the
 patch either.. trying again, thanks! :)


 2013/7/17 Guillermo Polito guillermopol...@gmail.com

 Hi!

 before compiling you have to, inside the build folder, execute
 codegen-scripts/extract-commit-info.sh

 Besides, I was looking at luc's tutorial and it lacks one step to have
 serial plugin built: install the patch he made [1]. Did you do that? I
 added a comment in the blog entry just in case...

 Guille

 [1] https://code.google.com/p/cog/issues/detail?id=119q=luc


 On Wed, Jul 17, 2013 at 12:18 PM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:

 I found out how to leave B3DAcceleratorPlugin out, but now I get this
 error almost at the end of the compilation process:

 [ 95%] Building C object
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:41:0:
 /home/bromagosa/blessed/platforms/Cross/vm/sqSCCSVersion.h:17:54: fatal
 error: vmVersionInfo.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
 Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
  make: *** [all] Error 2


 El fitxer o directori no existeix is Catalan for The file or
 directory does not exist.

 How comes this header isn't there?


 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 Ok, it seems the problem was not having the sources file in the same
 directory as the image.

 Anyway, now I've another problem when trying to compile. cmake runs
 fine, but make fails with the following error:

 Scanning dependencies of target B3DAcceleratorPlugin
 [ 57%] Building C object
 B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o
 In file included from
 /home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c:36:0:
 /home/bromagosa/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.h:8:19:
 fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o]
 Error 1
 make[1]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/all] Error 2
 make: *** [all] Error 2


 Any ideas?

 (For the record, I do not need the B3DAcceleratorPlugin, so I guess it
 could just be left out, but I don't know how does one do that either)



 2013/7/16 Friedrich Dominicus fr...@q-software-solutions.de

 Bernat Romagosa tibabenfortlapala...@gmail.com writes:

  Hi Friedrich,
 
  My machine is already a 32 bits one... here's the output of ldd:
 
  linux-gate.so.1 =  (0xb7782000)
  libm.so.6 = /lib/i386-linux-gnu/i686/cmov/libm.so.6
  (0xb7746000)
  libdl.so.2 = /lib/i386-linux-gnu/i686/cmov/libdl.so.2
  (0xb7742000)
  libpthread.so.0 =
  /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb7728000)
  libc.so.6 = /lib/i386-linux-gnu/i686/cmov/libc.so.6
  (0xb75c5000)
  /lib/ld-linux.so.2 (0xb7783000)
 
  Thanks! :)
 Well that looks fine to me. Sorry that I could not help

 Regards
 Friedrich




 --
 Bernat Romagosa.




 --
 Bernat Romagosa.





 --
 Bernat Romagosa.




-- 
Bernat Romagosa.


Re: [Pharo-users] SerialPlugin

2013-07-17 Thread Guillermo Polito
On Wed, Jul 17, 2013 at 12:39 PM, Bernat Romagosa 
tibabenfortlapala...@gmail.com wrote:

 Okay, it seems the patch is already included in the latest VMMaker image,
 so no need to apply it.


That's nice :). Anyone with grants in the issue tracker can close it?? :D



 Still, having executed the script, I get yet another error, this time
 related to gl.h (why does it need it? I left B3DAcceleratorPlugin out):

 [ 95%] Building C object
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from
 /home/bromagosa/blessed/platforms/unix/vm/SqDisplay.h:16:0,
  from
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:140:
 /home/bromagosa/blessed/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:21:22:
 fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
 Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
 make: *** [all] Error 2


Hmm, which configuration are you using to copile? I think there is a
UnixNoGLConfiguration or something like that... So either you install the
gl libraries or use the no gl configuration to generate the sources :).
In any case, I really don't know why there is that dependency with opengl...



 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 ouch! I forgot to execute the script this time, and didn't install the
 patch either.. trying again, thanks! :)


 2013/7/17 Guillermo Polito guillermopol...@gmail.com

 Hi!

 before compiling you have to, inside the build folder, execute
 codegen-scripts/extract-commit-info.sh

 Besides, I was looking at luc's tutorial and it lacks one step to have
 serial plugin built: install the patch he made [1]. Did you do that? I
 added a comment in the blog entry just in case...

 Guille

 [1] https://code.google.com/p/cog/issues/detail?id=119q=luc


 On Wed, Jul 17, 2013 at 12:18 PM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:

 I found out how to leave B3DAcceleratorPlugin out, but now I get this
 error almost at the end of the compilation process:

 [ 95%] Building C object
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:41:0:
 /home/bromagosa/blessed/platforms/Cross/vm/sqSCCSVersion.h:17:54: fatal
 error: vmVersionInfo.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
 Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
  make: *** [all] Error 2


 El fitxer o directori no existeix is Catalan for The file or
 directory does not exist.

 How comes this header isn't there?


 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 Ok, it seems the problem was not having the sources file in the same
 directory as the image.

 Anyway, now I've another problem when trying to compile. cmake runs
 fine, but make fails with the following error:

 Scanning dependencies of target B3DAcceleratorPlugin
 [ 57%] Building C object
 B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o
 In file included from
 /home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c:36:0:
 /home/bromagosa/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.h:8:19:
 fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o]
 Error 1
 make[1]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/all] Error 2
 make: *** [all] Error 2


 Any ideas?

 (For the record, I do not need the B3DAcceleratorPlugin, so I guess it
 could just be left out, but I don't know how does one do that either)



 2013/7/16 Friedrich Dominicus fr...@q-software-solutions.de

 Bernat Romagosa tibabenfortlapala...@gmail.com writes:

  Hi Friedrich,
 
  My machine is already a 32 bits one... here's the output of ldd:
 
  linux-gate.so.1 =  (0xb7782000)
  libm.so.6 = /lib/i386-linux-gnu/i686/cmov/libm.so.6
  (0xb7746000)
  libdl.so.2 = /lib/i386-linux-gnu/i686/cmov/libdl.so.2
  (0xb7742000)
  libpthread.so.0 =
  /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb7728000)
  libc.so.6 = /lib/i386-linux-gnu/i686/cmov/libc.so.6
  (0xb75c5000)
  /lib/ld-linux.so.2 (0xb7783000)
 
  Thanks! :)
 Well that looks fine to me. Sorry that I could not help

 Regards
 Friedrich




 --
 Bernat Romagosa.




 --
 Bernat Romagosa.





 --
 Bernat Romagosa.




 --
 Bernat Romagosa.



Re: [Pharo-users] SerialPlugin

2013-07-17 Thread Bernat Romagosa
So I compiled two VMs, one with the SerialPlugin as an internal plugin, the
other one as an external plugin.

On a Debian box, I connect an Arduino Diecimila board and I get its handler
at /dev/ttyUSB0. However, on both VMs with fresh Pharo 2.0 images:

SerialPort new openPort: '/dev/ttyUSB0'


Fails with a generic error.

What's wrong with SerialPort? The cannot open port error message is about
as informative as sorry, not gonna happen :(


2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 Great! I was missing the gl and alsa headers. All done now, thanks a lot :)


 2013/7/17 Guillermo Polito guillermopol...@gmail.com


 On Wed, Jul 17, 2013 at 12:39 PM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:

 Okay, it seems the patch is already included in the latest VMMaker
 image, so no need to apply it.


 That's nice :). Anyone with grants in the issue tracker can close it?? :D



 Still, having executed the script, I get yet another error, this time
 related to gl.h (why does it need it? I left B3DAcceleratorPlugin out):

 [ 95%] Building C object
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from
 /home/bromagosa/blessed/platforms/unix/vm/SqDisplay.h:16:0,
  from
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:140:
 /home/bromagosa/blessed/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:21:22:
 fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
 Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
 make: *** [all] Error 2


 Hmm, which configuration are you using to copile? I think there is a
 UnixNoGLConfiguration or something like that... So either you install the
 gl libraries or use the no gl configuration to generate the sources :).
 In any case, I really don't know why there is that dependency with
 opengl...



 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 ouch! I forgot to execute the script this time, and didn't install the
 patch either.. trying again, thanks! :)


 2013/7/17 Guillermo Polito guillermopol...@gmail.com

 Hi!

 before compiling you have to, inside the build folder, execute
 codegen-scripts/extract-commit-info.sh

 Besides, I was looking at luc's tutorial and it lacks one step to have
 serial plugin built: install the patch he made [1]. Did you do that? I
 added a comment in the blog entry just in case...

 Guille

 [1] https://code.google.com/p/cog/issues/detail?id=119q=luc


 On Wed, Jul 17, 2013 at 12:18 PM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:

 I found out how to leave B3DAcceleratorPlugin out, but now I get this
 error almost at the end of the compilation process:

 [ 95%] Building C object
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:41:0:
 /home/bromagosa/blessed/platforms/Cross/vm/sqSCCSVersion.h:17:54:
 fatal error: vmVersionInfo.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
 Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
  make: *** [all] Error 2


 El fitxer o directori no existeix is Catalan for The file or
 directory does not exist.

 How comes this header isn't there?


 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 Ok, it seems the problem was not having the sources file in the same
 directory as the image.

 Anyway, now I've another problem when trying to compile. cmake runs
 fine, but make fails with the following error:

 Scanning dependencies of target B3DAcceleratorPlugin
 [ 57%] Building C object
 B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o
 In file included from
 /home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c:36:0:
 /home/bromagosa/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.h:8:19:
 fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o]
 Error 1
 make[1]: ***
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/all] Error 2
 make: *** [all] Error 2


 Any ideas?

 (For the record, I do not need the B3DAcceleratorPlugin, so I guess
 it could just be left out, but I don't know how does one do that either)



 2013/7/16 Friedrich Dominicus fr...@q-software-solutions.de

 Bernat Romagosa tibabenfortlapala...@gmail.com writes:

  Hi Friedrich,
 
  My machine is already a 32 bits one... here's the output of ldd:
 
  linux-gate.so.1 =  (0xb7782000)
  libm.so.6 = /lib/i386-linux-gnu/i686/cmov/libm.so.6
  

Re: [Pharo-users] SerialPlugin

2013-07-17 Thread Esteban Lorenzano
It is indeed annoying and obviously buggy. 
I kinda fixed it last year but since I didn't had any serial port stuff to 
test it, it was just in abstract (Luc was using it, thought)

There was a report a couple of weeks ago to try using double slash. 

SerialPort new openPort: '/dev//ttyUSB0'


Esteban

On Jul 17, 2013, at 1:47 PM, Bernat Romagosa tibabenfortlapala...@gmail.com 
wrote:

 So I compiled two VMs, one with the SerialPlugin as an internal plugin, the 
 other one as an external plugin.
 
 On a Debian box, I connect an Arduino Diecimila board and I get its handler 
 at /dev/ttyUSB0. However, on both VMs with fresh Pharo 2.0 images:
 
 SerialPort new openPort: '/dev/ttyUSB0'
 
 Fails with a generic error.
 
 What's wrong with SerialPort? The cannot open port error message is about 
 as informative as sorry, not gonna happen :(
 
 
 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com
 Great! I was missing the gl and alsa headers. All done now, thanks a lot :)
 
 
 2013/7/17 Guillermo Polito guillermopol...@gmail.com
 
 On Wed, Jul 17, 2013 at 12:39 PM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:
 Okay, it seems the patch is already included in the latest VMMaker image, so 
 no need to apply it.
 
 That's nice :). Anyone with grants in the issue tracker can close it?? :D
  
 
 Still, having executed the script, I get yet another error, this time related 
 to gl.h (why does it need it? I left B3DAcceleratorPlugin out):
 
 [ 95%] Building C object 
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from 
 /home/bromagosa/blessed/platforms/unix/vm/SqDisplay.h:16:0,
  from 
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:140:
 /home/bromagosa/blessed/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:21:22:
  fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: *** 
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
  Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
 make: *** [all] Error 2
 
 Hmm, which configuration are you using to copile? I think there is a 
 UnixNoGLConfiguration or something like that... So either you install the gl 
 libraries or use the no gl configuration to generate the sources :).
 In any case, I really don't know why there is that dependency with opengl...
 
 
 
 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com
 ouch! I forgot to execute the script this time, and didn't install the patch 
 either.. trying again, thanks! :)
 
 
 2013/7/17 Guillermo Polito guillermopol...@gmail.com
 Hi!
 
 before compiling you have to, inside the build folder, execute 
 codegen-scripts/extract-commit-info.sh
 
 Besides, I was looking at luc's tutorial and it lacks one step to have serial 
 plugin built: install the patch he made [1]. Did you do that? I added a 
 comment in the blog entry just in case...
 
 Guille
 
 [1] https://code.google.com/p/cog/issues/detail?id=119q=luc
 
 
 On Wed, Jul 17, 2013 at 12:18 PM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:
 I found out how to leave B3DAcceleratorPlugin out, but now I get this error 
 almost at the end of the compilation process:
 
 [ 95%] Building C object 
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from 
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:41:0:
 /home/bromagosa/blessed/platforms/Cross/vm/sqSCCSVersion.h:17:54: fatal 
 error: vmVersionInfo.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: *** 
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
  Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
 make: *** [all] Error 2
 
 El fitxer o directori no existeix is Catalan for The file or directory 
 does not exist.
 
 How comes this header isn't there?
 
 
 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com
 Ok, it seems the problem was not having the sources file in the same 
 directory as the image.
 
 Anyway, now I've another problem when trying to compile. cmake runs fine, but 
 make fails with the following error:
 
 Scanning dependencies of target B3DAcceleratorPlugin
 [ 57%] Building C object 
 B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o
 In file included from 
 /home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c:36:0:
 /home/bromagosa/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.h:8:19:
  fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: *** 
 [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o]
  Error 1
 make[1]: *** [B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/all] 
 Error 2
 make: *** [all] Error 2
 
 Any ideas? 
 
 (For the 

Re: [Pharo-users] SerialPlugin

2013-07-17 Thread Bernat Romagosa
Yep, I found that thread and tried all possible combinations:

'/dev/ttyUSB0'
'/dev//ttyUSB0'
'/dev/ttyusb0'
'/dev//ttyusb0'
'ttyUSB0'
'ttyusb0'

and none worked... :(


2013/7/17 Esteban Lorenzano esteba...@gmail.com

 It is indeed annoying and obviously buggy.
 I kinda fixed it last year but since I didn't had any serial port stuff
 to test it, it was just in abstract (Luc was using it, thought)

 There was a report a couple of weeks ago to try using double slash.

 SerialPort new openPort: '/dev//ttyUSB0'



 Esteban

 On Jul 17, 2013, at 1:47 PM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:

 So I compiled two VMs, one with the SerialPlugin as an internal plugin,
 the other one as an external plugin.

 On a Debian box, I connect an Arduino Diecimila board and I get its
 handler at /dev/ttyUSB0. However, on both VMs with fresh Pharo 2.0 images:

 SerialPort new openPort: '/dev/ttyUSB0'


 Fails with a generic error.

 What's wrong with SerialPort? The cannot open port error message is
 about as informative as sorry, not gonna happen :(


 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 Great! I was missing the gl and alsa headers. All done now, thanks a lot
 :)


 2013/7/17 Guillermo Polito guillermopol...@gmail.com


 On Wed, Jul 17, 2013 at 12:39 PM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:

 Okay, it seems the patch is already included in the latest VMMaker
 image, so no need to apply it.


 That's nice :). Anyone with grants in the issue tracker can close it?? :D



 Still, having executed the script, I get yet another error, this time
 related to gl.h (why does it need it? I left B3DAcceleratorPlugin out):

 [ 95%] Building C object
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from
 /home/bromagosa/blessed/platforms/unix/vm/SqDisplay.h:16:0,
  from
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:140:
 /home/bromagosa/blessed/platforms/unix/plugins/B3DAcceleratorPlugin/sqUnixOpenGL.h:21:22:
 fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
 Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
 make: *** [all] Error 2


 Hmm, which configuration are you using to copile? I think there is a
 UnixNoGLConfiguration or something like that... So either you install the
 gl libraries or use the no gl configuration to generate the sources :).
 In any case, I really don't know why there is that dependency with
 opengl...



 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 ouch! I forgot to execute the script this time, and didn't install the
 patch either.. trying again, thanks! :)


 2013/7/17 Guillermo Polito guillermopol...@gmail.com

 Hi!

 before compiling you have to, inside the build folder, execute
 codegen-scripts/extract-commit-info.sh

 Besides, I was looking at luc's tutorial and it lacks one step to
 have serial plugin built: install the patch he made [1]. Did you do 
 that? I
 added a comment in the blog entry just in case...

 Guille

 [1] https://code.google.com/p/cog/issues/detail?id=119q=luc


 On Wed, Jul 17, 2013 at 12:18 PM, Bernat Romagosa 
 tibabenfortlapala...@gmail.com wrote:

 I found out how to leave B3DAcceleratorPlugin out, but now I get
 this error almost at the end of the compilation process:

 [ 95%] Building C object
 CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o
 In file included from
 /home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c:41:0:
 /home/bromagosa/blessed/platforms/Cross/vm/sqSCCSVersion.h:17:54:
 fatal error: vmVersionInfo.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 [CMakeFiles/CogVM.dir/home/bromagosa/blessed/platforms/unix/vm/sqUnixMain.c.o]
 Error 1
 make[1]: *** [CMakeFiles/CogVM.dir/all] Error 2
  make: *** [all] Error 2


 El fitxer o directori no existeix is Catalan for The file or
 directory does not exist.

 How comes this header isn't there?


 2013/7/17 Bernat Romagosa tibabenfortlapala...@gmail.com

 Ok, it seems the problem was not having the sources file in the
 same directory as the image.

 Anyway, now I've another problem when trying to compile. cmake runs
 fine, but make fails with the following error:

 Scanning dependencies of target B3DAcceleratorPlugin
 [ 57%] Building C object
 B3DAcceleratorPlugin/CMakeFiles/B3DAcceleratorPlugin.dir/home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c.o
 In file included from
 /home/bromagosa/blessed/src/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.c:36:0:
 /home/bromagosa/blessed/platforms/Cross/plugins/B3DAcceleratorPlugin/B3DAcceleratorPlugin.h:8:19:
 fatal error: GL/gl.h: El fitxer o directori no existeix
 compilation terminated.
 make[2]: ***
 

Re: [Pharo-users] XML library for Pharo

2013-07-17 Thread Juraj Kubelka
Thank you all.

Cheers,
Jura


2013/7/17 Stéphane Ducasse stephane.duca...@inria.fr

 you have also pastell and soup to query XML

 On Jul 15, 2013, at 11:47 PM, Sven Van Caekenberghe s...@stfx.eu wrote:

  Hi Juraj,
 
  On 15 Jul 2013, at 23:10, Juraj Kubelka juraj.kube...@gmail.com wrote:
 
  Hi!
 
  I want to parse, search, manipulate and save XML document in Pharo.
 What libraries are the best to use?
 
  I want to do search operations like, all elements named with attribute
 named.
  And I want to do manipulation like, put between parent element and his
 child elements a new element.
 
  Thank you a lot,
  Jura
 
  The libraries are called XMLParser (
 http://www.smalltalkhub.com/#!/~PharoExtras/XMLParser) and XMLWriter (
 http://www.smalltalkhub.com/#!/~PharoExtras/XMLWriter). Together these
 can do what you want. I guess there must be documentation somewhere, maybe
 somebody else can point to that.
 
  HTH,
 
  Sven
 
 
  --
  Sven Van Caekenberghe
  http://stfx.eu
  Smalltalk is the Red Pill
 
 





Re: [Pharo-users] widget to show progress

2013-07-17 Thread Benjamin
Absolutely none :)

Ben

On Jul 17, 2013, at 3:05 PM, Usman Bhatti usman.bha...@gmail.com wrote:

 
 
 
 On Sun, May 19, 2013 at 1:12 PM, Benjamin 
 benjamin.vanryseghem.ph...@gmail.com wrote:
 Me too :)
 
 I think I will implement one soon :)
 
 Any progress on this ? ;)
  
 Ben
 
 On May 19, 2013, at 1:08 PM, Usman Bhatti usman.bha...@gmail.com wrote:
 
 Hello all,
 
 I am looking for a widget/control in Pharo that shows the progress of a 
 process that takes undeterministic time.
 
 
 usman
 
 
 



Re: [Pharo-users] Generate Bytecodes manually

2013-07-17 Thread Udo Schneider

On 17.07.13 11:05, Marcus Denker wrote:

What you need to do for that is to implement a class that has the same public 
API as OpalCompiler and Compiler…
Then you can set this is the compiler of your class (override #compiler on the 
class side).

This compiler then takes care to create the CompiledMethod with your bytecode 
*and* your source.

The tools *should* be able to display just anything, but that needs to be 
double-checked as we changed the tools a lot
and there is no example of methods with non-smalltalk source right now.
Thanks for the detailed steps - I think I have all the pieces now for 
tackling a really crazy idea I have.



Implementing Debugger support is possible, too. For that you need to have a 
mapping between pc and source for your
language.
I didn't even think of the debugger. Mapping the source I have and the 
pc should be easy - although I'm not quite sure whether it's useful for 
what I'm trying. But we'll see.


Udo





Re: [Pharo-users] [ANN] BioSmalltalk published in Bioinformatics Journal

2013-07-17 Thread Hernán Morales Durand
Hi Marcus,

Thank you for the comments, I have been checking the link distribution
conditions and they say people can access the article only from the Oxford
Journals website for academic purposes, so here it is:

http://bioinformatics.oxfordjournals.org/content/early/2013/07/09/bioinformatics.btt398.full.pdf?keytype=refijkey=Y2j8jNeEKVNl0rD

Sorry for the inconvenience.
Cheers,

Hernán



2013/7/17 Marcus Denker marcus.den...@inria.fr


 On Jul 16, 2013, at 9:31 PM, Hernán Morales Durand 
 hernan.mora...@gmail.com wrote:

  Doru, I can access the article through the Full Text (PDF) link at the
 right box titled This Article. Maybe you have the right columns
 collapsed? There is an arrow button Show all columns if you cannot see
 the link.
  Let me know.
 

 Publishing is the act of making Paper in-accessible to the Public (that's
 where the name comes from).

 So what all serious publishers allow you to do is to make the version that
 you send them (not their version) available from your
 website and/or an online-archive of your employer,

 It is very important to do that, as people will not jump through hoops to
 get your paper (e.g. go to the library?).
 In the past I send emails to authors to get paper copies, but today I
 would just *never* do that. If *you* don't make your
 paper available, why should I bother? i will just not read it and not cite
 it.

 The journal publishing is just important for your CV and getting tenure
 and things like that, the paper the people
 really *read* is the one they can download from your website.

 Marcus



[Pharo-users] development image memory use: 180MB in Pharo 2 vs. 40MB in Pharo 1.4.....

2013-07-17 Thread Paul DeBruicker
I've been developing in the same Pharo2 image for a couple weeks and its
now 180MB.  I use the same development habits as in Pharo 1.4 but there
the image would only be about 40MB.

Using SpaceTally I can see that I have 40 MB of Arrays. And 10MB of
Bitmaps. 8MB of Floats, Strings,  OrderedCollections.

My domain objects comprise about 20MB of the image.


Is there a way to check for memory leaks over a long period of time?

Thanks

Paul



Re: [Pharo-users] development image memory use: 180MB in Pharo 2 vs. 40MB in Pharo 1.4.....

2013-07-17 Thread Camillo Bruni
Did you check on Dictionaries / Sets (+ their Identity* versions) and Symbols 
as well?
Another possibility would non terminated Processes (process browser)?

The Arrays themselves already look suspicious. 

Usually the way to track such objects down is to find and interesting candidate 
and inspect it, then right click and explore strong pointers.

I hope this helps

On 2013-07-17, at 21:59, Paul DeBruicker pdebr...@gmail.com wrote:
 I've been developing in the same Pharo2 image for a couple weeks and its
 now 180MB.  I use the same development habits as in Pharo 1.4 but there
 the image would only be about 40MB.
 
 Using SpaceTally I can see that I have 40 MB of Arrays. And 10MB of
 Bitmaps. 8MB of Floats, Strings,  OrderedCollections.
 
 My domain objects comprise about 20MB of the image.
 
 
 Is there a way to check for memory leaks over a long period of time?
 
 Thanks
 
 Paul
 




Re: [Pharo-users] no SortedDictionary available?

2013-07-17 Thread Hernán Morales Durand

Have a look at:

http://www.smalltalkhub.com/#!/~hernan/SortedDictionary

use at your own risk, given I have no time for writing tests now.
Cheers,

Hernán

El 17/07/2013 5:31, Sabine Knöfel escribió:

Hi,

I am looking for a Dictionary which sorts its entries by the keys.
Some Kind of SortedDictionary.
I assume, there is none - right?

I only found the OrderPreservingDictionary (which is not the same).

Background: storing exchangerates by date.

Sabine





--
View this message in context: 
http://forum.world.st/no-SortedDictionary-available-tp4699050.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

.






Re: [Pharo-users] no SortedDictionary available?

2013-07-17 Thread Carlo
Hi

Have you tried: http://www.squeaksource.com/BTree
Used it long ago and worked well.

Regards
Carlo

On 18 Jul 2013, at 2:10 AM, Hernán Morales Durand hernan.mora...@gmail.com 
wrote:

Have a look at:

http://www.smalltalkhub.com/#!/~hernan/SortedDictionary

use at your own risk, given I have no time for writing tests now.
Cheers,

Hernán

El 17/07/2013 5:31, Sabine Knöfel escribió:
 Hi,
 
 I am looking for a Dictionary which sorts its entries by the keys.
 Some Kind of SortedDictionary.
 I assume, there is none - right?
 
 I only found the OrderPreservingDictionary (which is not the same).
 
 Background: storing exchangerates by date.
 
 Sabine
 
 
 
 
 
 --
 View this message in context: 
 http://forum.world.st/no-SortedDictionary-available-tp4699050.html
 Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
 
 .
 






Re: [Pharo-users] installing Seaside on Pharo 2.0

2013-07-17 Thread sminni
Thanks ... got the Zinc server to work

but could not get to smalltalkhub.com
I just get a Loading please wait message that sits till I give up
What is the way to get the HOSeaside Package

regards
Sanjay



-
---
Regards, Sanjay
--
View this message in context: 
http://forum.world.st/installing-Seaside-on-Pharo-2-0-tp4698685p4699247.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.