Re: [Pharo-users] How to set library path for UFFI on Linux?

2017-09-30 Thread Dan Wilczak
One obstacle to fixing these problems properly is that handling of library search paths is not centralized, but it really should be. A Pharo package for sqlite or cairo or whatever should provide only the library name; UFFI or some associated package should deal with the search for it. Otherwise th

Re: [Pharo-users] How to set library path for UFFI on Linux?

2017-09-30 Thread herby
On October 1, 2017 12:33:04 AM GMT+02:00, "p...@highoctane.be" wrote: >Usually there are a number of names to try but on Linux, there are less >users and more distros, so people are not adding more libs to try. > >So, yes, symlink in the plugin directory works usually. > >Alternative would be t

Re: [Pharo-users] How to set library path for UFFI on Linux?

2017-09-30 Thread p...@highoctane.be
Usually there are a number of names to try but on Linux, there are less users and more distros, so people are not adding more libs to try. So, yes, symlink in the plugin directory works usually. Alternative would be to use LD_LIBRARY_PATH or pkg_config support to do this cleanly (not done at this

Re: [Pharo-users] How to set library path for UFFI on Linux?

2017-09-30 Thread Herby Vojčík
Dan Wilczak wrote: Hernan - I haven't opened an issue - how do I do it? (I'm very new to Pharo.) About continuing the search - I only mean continuing the search of the LD_LIBRARY_PATH directories, not the whole filesystem. Two changes would be needed to accomplish this: FWIW, I had problem wi

Re: [Pharo-users] How to make pharo find sqlite?

2017-09-30 Thread Herby Vojčík
p...@highoctane.be wrote: Is https://pharo.fogbugz.com/f/cases/19990 showing again? What is the module being loaded ? This seems to be the important question. It seems FFI for some reason struggles with 'lib' and/or '.so.0' things in linux (even if LD_LIBRARY_PATH is properly set). I had t

Re: [Pharo-users] How to set library path for UFFI on Linux?

2017-09-30 Thread Herby Vojčík
Stephane Ducasse wrote: Would you pls care to look at the sibling thread "How to make pharo find SQLite", it seems that it struggles with similar problem, is it supposed to created symlinks on linux, or it should be able to fund the library but somehow fails? Thanks, Herby https://pharo.fo

Re: [Pharo-users] How to make pharo find sqlite?

2017-09-30 Thread Herby Vojčík
Herby Vojčík wrote: p...@highoctane.be wrote: I am using UDBCSQLite on Windows without problems. Me, too; when developing. The problem was on Linux, where I deploy. Things begin to look as if it was really that the module is not found, though. Now that I saw into the code CairoLibrary does

Re: [Pharo-users] How to set library path for UFFI on Linux?

2017-09-30 Thread Stephane Ducasse
https://pharo.fogbugz.com On Sat, Sep 30, 2017 at 6:53 PM, Dan Wilczak wrote: > Hernan - > > I haven't opened an issue - how do I do it? (I'm very new to Pharo.) > > About continuing the search - I only mean continuing the search of the > LD_LIBRARY_PATH directories, not the whole filesystem. Two

Re: [Pharo-users] How to make pharo find sqlite?

2017-09-30 Thread Herby Vojčík
p...@highoctane.be wrote: I am using UDBCSQLite on Windows without problems. Me, too; when developing. The problem was on Linux, where I deploy. Things begin to look as if it was really that the module is not found, though. I added more diagnostic output, to ExternalFunction >> invokeWith

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-30 Thread Igor Stasenko
On 30 September 2017 at 17:51, J.F. Rick wrote: > Hi Igor et al., > > thanks for taking a look at this. I appreciate it a lot. I've been swamped > with work et al. but I'm back. If I understand it correctly, Igor is still > fighting with drivers to make it work on his system. Let me know when you

Re: [Pharo-users] How to make pharo find sqlite?

2017-09-30 Thread p...@highoctane.be
I am using UDBCSQLite on Windows without problems. Phil On Sat, Sep 30, 2017 at 9:11 PM, Herby Vojčík wrote: > p...@highoctane.be wrote: > >> Also, did you try with this VM: >> >> http://get.pharo.org/vmTLatest60 >> > > 18:51:46.191 + curl get.pharo.org/vmTLatest60 > 18:51:46.207 % Total%

Re: [Pharo-users] Spec "bindings"

2017-09-30 Thread Stephane Ducasse
Hi rob I wrote this missing chapter and I think that it exhibits the changes you wanted to introduce. So let me know. Stef On Sat, Sep 30, 2017 at 9:13 AM, Stephane Ducasse wrote: > Hi rob > > where can I find your code because I'm really thinking that something > is missing in Spec. > I'm wri

Re: [Pharo-users] How to make pharo find sqlite?

2017-09-30 Thread Herby Vojčík
p...@highoctane.be wrote: Also, did you try with this VM: http://get.pharo.org/vmTLatest60 18:51:46.191 + curl get.pharo.org/vmTLatest60 18:51:46.207 % Total% Received % Xferd Average Speed Time Time Time Current 18:51:46.208 Dload Upload Tota

Re: [Pharo-users] [ Spec ]How can I get input and field with a fixed height?

2017-09-30 Thread Stephane Ducasse
Thanks a lot. I was rereading the book for that. On Fri, Sep 29, 2017 at 10:36 PM, Peter Uhnák wrote: > You can say `add:height:` in the layout. > > You also have to add an empty row at the end that will take the remaining of > the space, because otherwise the input fields will fill the window.

Re: [Pharo-users] How to make pharo find sqlite?

2017-09-30 Thread Herby Vojčík
p...@highoctane.be wrote: Is https://pharo.fogbugz.com/f/cases/19990 showing again? Actually, maybe not, as can be seen in the other thread I posted for the error - it seems sqlite3 is used ok until finalizers kick in, when it crashes for some reason... but maybe it relates to this error some

Re: [Pharo-users] How to make pharo find sqlite?

2017-09-30 Thread Herby Vojčík
p...@highoctane.be wrote: Is https://pharo.fogbugz.com/f/cases/19990 showing again? What is the module being loaded ? It is taken from this message send: UDBCSQLite3Library >> library Smalltalk os isMacOS ifTrue: [ ^ #sqlite3 ]. ^ 'sqlite3' So, sqlite3. Phil On Sat, Sep

Re: [Pharo-users] How to make pharo find sqlite?

2017-09-30 Thread p...@highoctane.be
Also, did you try with this VM: http://get.pharo.org/vmTLatest60 Phil On Sat, Sep 30, 2017 at 1:28 PM, Herby Vojčík wrote: > p...@highoctane.be wrote: > >> What about >> >> LD_LIBRARY_PATH=;$LD_LIBRARYPATH ./pharo-ui some.image >> >> Phil >> > > Thanks for answer, did not help. > > In fact it

Re: [Pharo-users] How to make pharo find sqlite?

2017-09-30 Thread p...@highoctane.be
Is https://pharo.fogbugz.com/f/cases/19990 showing again? What is the module being loaded ? Phil On Sat, Sep 30, 2017 at 1:28 PM, Herby Vojčík wrote: > p...@highoctane.be wrote: > >> What about >> >> LD_LIBRARY_PATH=;$LD_LIBRARYPATH ./pharo-ui some.image >> >> Phil >> > > Thanks for answer,

Re: [Pharo-users] How to set library path for UFFI on Linux?

2017-09-30 Thread Dan Wilczak
Hernan - I haven't opened an issue - how do I do it? (I'm very new to Pharo.) About continuing the search - I only mean continuing the search of the LD_LIBRARY_PATH directories, not the whole filesystem. Two changes would be needed to accomplish this: 1) Athens-Cairo >> CairoLibrary would have t

Re: [Pharo-users] X11 options on Ubuntu VM / Athens rendering problems

2017-09-30 Thread J.F. Rick
Hi Igor et al., thanks for taking a look at this. I appreciate it a lot. I've been swamped with work et al. but I'm back. If I understand it correctly, Igor is still fighting with drivers to make it work on his system. Let me know when you want me to try something. Cheers, Jeff On Fri, Sep 29,

[Pharo-users] Pharo 6.1 UDCBSQLite problem, masked behind "Error: External module not found"?

2017-09-30 Thread Herby Vojčík
Hello! I got the strange error first reported as "External module not found", but after putting a few diagnostic transcript outputs to the code: TowergameSyncTests >> setUp Transcript cr; show: self; cr; show: 'ENTER setUp'; cr. dao := Towergame daoForLogin: self loginToTempora

Re: [Pharo-users] How to make pharo find sqlite?

2017-09-30 Thread Herby Vojčík
p...@highoctane.be wrote: What about LD_LIBRARY_PATH=;$LD_LIBRARYPATH ./pharo-ui some.image Phil Thanks for answer, did not help. In fact it must be something different. As can be seen in the stack, it fails during finalizers, and as can be seen by looking at UDBCSQLite3DatabaseExternalOb

Re: [Pharo-users] Spec "bindings"

2017-09-30 Thread Stephane Ducasse
Hi rob where can I find your code because I'm really thinking that something is missing in Spec. I'm writing a little editor for a gameItem and I should go through and I would like to use it as an example of what I do not like. In fact I would like to have all the models to work on aspect of the d